.page-home {
  --home-gap: clamp(16px, 2.4vw, 28px);
  background: var(--hs-space);
}

.page-home .hs-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 7vw, 80px) 0 clamp(38px, 7vw, 88px);
  border-bottom: 1px solid var(--hs-line);
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(0, 229, 255, 0.14), transparent 58%),
    radial-gradient(85% 70% at 98% 14%, rgba(255, 122, 26, 0.12), transparent 62%),
    var(--hs-space);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--hs-line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hs-line-soft) 1px, transparent 1px);
  background-size: 78px 78px;
  opacity: 0.5;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 76%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 76%);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: -22%;
  right: -24%;
  width: min(620px, 70vw);
  aspect-ratio: 1 / 1;
  background: linear-gradient(140deg, rgba(0, 229, 255, 0.14), rgba(255, 122, 26, 0.07) 58%, transparent);
  clip-path: polygon(28% 0, 100% 0, 100% 68%, 68% 100%, 0 100%, 0 28%);
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 52px);
}

.page-home .home-hero__title {
  margin: 16px 0 0;
  font-size: clamp(2.5rem, 9vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--hs-white);
}

.page-home .home-hero__title span {
  color: var(--hs-cyan);
}

.page-home .home-hero__lede {
  margin: clamp(18px, 3vw, 26px) 0 0;
  max-width: 34em;
  color: var(--hs-silver);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 4vw, 32px);
}

.page-home .home-hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 14px clamp(14px, 3vw, 34px);
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--hs-line);
}

.page-home .home-hero__fact dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--hs-mist);
  text-transform: uppercase;
}

.page-home .home-hero__fact dd {
  margin: 6px 0 0;
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1;
  color: var(--hs-white);
}

.page-home .home-hero__fact dd em {
  font-style: normal;
  font-size: 0.5em;
  margin-left: 4px;
  color: var(--hs-mist);
}

.page-home .home-hero__visual {
  position: relative;
}

.page-home .home-hero__media {
  margin: 0;
  border: 1px solid var(--hs-line);
}

.page-home .home-hero__badge {
  position: absolute;
  left: clamp(10px, 2vw, 18px);
  bottom: clamp(10px, 2vw, 18px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--hs-white);
  background: rgba(5, 11, 26, 0.82);
  border: 1px solid var(--hs-line);
}

@media (min-width: 980px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }
}

/* ---------- 赛前数据 ---------- */
.page-home .home-live__head {
  max-width: 720px;
}

.page-home .home-live__lead {
  margin-top: 14px;
}

.page-home .home-live__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .home-live__panel {
  position: relative;
}

.page-home .home-live__media {
  margin: 0;
  border: 1px solid var(--hs-line);
}

.page-home .home-live__clock {
  position: absolute;
  right: clamp(12px, 2.5vw, 20px);
  bottom: clamp(12px, 2.5vw, 20px);
  width: clamp(96px, 26vw, 116px);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(5, 11, 26, 0.82);
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.page-home .home-live__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home .home-live__clock-value {
  position: relative;
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  line-height: 1;
  color: var(--hs-cyan);
}

.page-home .home-live__clock-unit {
  position: relative;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--hs-mist);
}

.page-home .home-live__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-home .home-match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "top score"
    "time score";
  align-items: center;
  gap: 4px 16px;
  padding: 16px clamp(14px, 2.4vw, 22px);
  background: var(--hs-panel);
  border: 1px solid var(--hs-line);
  border-left: 2px solid var(--hs-line);
  transition: border-color 0.25s var(--hs-ease), background-color 0.25s var(--hs-ease);
}

.page-home .home-match__top {
  grid-area: top;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.page-home .home-match__league {
  font-size: 0.88rem;
  color: var(--hs-silver);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .home-match__time {
  grid-area: time;
  font-size: 0.74rem;
  color: var(--hs-mist);
}

.page-home .home-match__score {
  grid-area: score;
  font-size: clamp(1.2rem, 3.4vw, 1.55rem);
  letter-spacing: 0.04em;
  color: var(--hs-white);
  white-space: nowrap;
}

.page-home .home-match:hover {
  background: #0d1b3a;
  border-left-color: var(--hs-cyan);
}

.page-home .home-live__foot {
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding-left: 14px;
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--hs-mist);
  border-left: 2px solid var(--hs-line);
}

@media (min-width: 900px) {
  .page-home .home-live__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }
}

/* ---------- 视频集锦 ---------- */
.page-home .home-clips__head {
  max-width: 720px;
}

.page-home .home-clips__lead {
  margin-top: 14px;
}

.page-home .home-clips__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .home-clip {
  position: relative;
  padding: clamp(18px, 2.6vw, 26px);
  background: var(--hs-panel);
  border: 1px solid var(--hs-line);
  transition: border-color 0.25s var(--hs-ease);
}

.page-home .home-clip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--hs-orange);
}

.page-home .home-clip:hover {
  border-color: rgba(0, 229, 255, 0.5);
}

.page-home .home-clip--lead {
  padding: 0;
  overflow: hidden;
}

.page-home .home-clip--lead::before {
  display: none;
}

.page-home .home-clip__media {
  margin: 0;
  border: 0;
}

.page-home .home-clip__body {
  padding: clamp(18px, 2.6vw, 28px);
}

.page-home .home-clip__title {
  margin: 10px 0 10px;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--hs-white);
}

.page-home .home-clip .hs-index {
  color: var(--hs-cyan);
}

@media (min-width: 900px) {
  .page-home .home-clips__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .page-home .home-clip--lead {
    grid-row: span 2;
  }
}

/* ---------- 赛后复盘 ---------- */
.page-home .home-recap__head {
  max-width: 720px;
}

.page-home .home-recap__lead {
  margin-top: 14px;
}

.page-home .home-recap__figure {
  margin: clamp(24px, 4vw, 40px) 0 0;
}

.page-home .home-recap__banner {
  border: 1px solid var(--hs-line);
}

.page-home .home-recap__list {
  margin: clamp(28px, 4vw, 42px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-recap__item {
  position: relative;
  padding: 0 0 clamp(24px, 4vw, 34px) clamp(26px, 4vw, 38px);
}

.page-home .home-recap__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 1px;
  height: calc(100% - 8px);
  background: linear-gradient(180deg, var(--hs-line), rgba(20, 38, 77, 0));
}

.page-home .home-recap__item::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hs-orange);
}

.page-home .home-recap__item:last-child::before {
  height: 0;
}

.page-home .home-recap__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.page-home .home-recap__idx {
  font-size: 0.78rem;
  color: var(--hs-cyan);
}

.page-home .home-recap__when {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--hs-mist);
}

.page-home .home-recap__title {
  margin: 0 0 10px;
  font-size: clamp(1.08rem, 2.6vw, 1.42rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--hs-white);
}

.page-home .home-recap__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(4px, 1.6vw, 12px);
}

/* ---------- 帮助中心 ---------- */
.page-home .home-help {
  background: linear-gradient(180deg, rgba(11, 23, 51, 0.92), rgba(5, 11, 26, 0.92));
  border-top: 1px solid var(--hs-line);
  border-bottom: 1px solid var(--hs-line);
}

.page-home .home-help__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.page-home .home-help__copy .hs-text {
  margin-top: 14px;
}

.page-home .home-help__copy .hs-btn {
  margin-top: clamp(18px, 3vw, 26px);
}

.page-home .home-help__list {
  counter-reset: home-help;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hs-line);
}

.page-home .home-help__list li {
  counter-increment: home-help;
  border-bottom: 1px solid var(--hs-line);
}

.page-home .home-help__list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 4px;
  color: var(--hs-silver);
  text-decoration: none;
  transition: color 0.2s var(--hs-ease);
}

.page-home .home-help__list a::before {
  content: counter(home-help, decimal-leading-zero);
  font-family: var(--hs-font-mono);
  font-size: 0.76rem;
  color: var(--hs-mist);
}

.page-home .home-help__list a::after {
  content: "\2192";
  font-family: var(--hs-font-mono);
  color: var(--hs-orange);
}

.page-home .home-help__list a:hover,
.page-home .home-help__list a:focus-visible {
  color: var(--hs-cyan);
}

@media (min-width: 860px) {
  .page-home .home-help__inner {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    align-items: start;
  }
}

/* ---------- 服务与备案 ---------- */
.page-home .home-desk__box {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.4vw, 40px);
  padding: clamp(22px, 4vw, 40px);
  background: var(--hs-panel);
  border: 1px solid var(--hs-line);
}

.page-home .home-desk__value {
  margin: 10px 0 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--hs-white);
  word-break: break-all;
}

.page-home .home-desk__note {
  margin: 10px 0 0;
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--hs-mist);
}

.page-home .home-desk__icp {
  margin: 14px 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--hs-amber);
}

.page-home .home-desk__col--cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .home-desk__col--cta .hs-btn {
  margin-top: 14px;
}

@media (min-width: 800px) {
  .page-home .home-desk__box {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
