.page-home {
  --home-cut: 56px;
  --home-card: #0C1220;
  --home-card-2: #111A2B;
  display: block;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(30px, 5vw, 70px) 0 clamp(34px, 5vw, 76px);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: -30% -12% auto -12%;
  height: 140%;
  background:
    radial-gradient(58% 46% at 80% 6%, rgba(107, 75, 201, .40), transparent 68%),
    radial-gradient(44% 42% at 8% 0%, rgba(34, 224, 214, .15), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 32px);
}

.page-home .home-hero__context {
  margin: 0 0 clamp(14px, 2vw, 22px);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hh-muted);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--hh-sans);
  font-weight: 800;
  font-size: clamp(38px, 8vw, 76px);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--hh-white);
}

.page-home .home-hero__lede {
  margin: clamp(16px, 2.4vw, 24px) 0 0;
  max-width: 34ch;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.75;
  color: var(--hh-text-soft);
}

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

.page-home .hh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--hh-pill);
  border: 1px solid var(--hh-rule);
  background: transparent;
  color: var(--hh-white);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease, transform .18s ease;
}

.page-home .hh-btn:hover,
.page-home .hh-btn:focus-visible {
  border-color: var(--hh-cyan);
  color: var(--hh-cyan);
  transform: translateX(2px);
}

.page-home .hh-btn--primary {
  background: var(--hh-cyan);
  border-color: var(--hh-cyan);
  color: var(--hh-ink);
}

.page-home .hh-btn--primary:hover,
.page-home .hh-btn--primary:focus-visible {
  background: var(--hh-white);
  border-color: var(--hh-white);
  color: var(--hh-ink);
}

.page-home .home-hero__marks {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 40px);
  margin: clamp(26px, 3.4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-hero__marks li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .home-hero__marks strong {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1;
  color: var(--hh-cyan);
}

.page-home .home-hero__marks span {
  font-size: 13px;
  color: var(--hh-muted);
}

.page-home .home-hero__right {
  position: relative;
  border-radius: var(--hh-radius-lg);
  overflow: hidden;
  background: var(--home-card);
  border: 1px solid var(--hh-rule);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.page-home .home-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: saturate(.85);
}

.page-home .home-hero__live {
  position: relative;
  z-index: 1;
  padding: clamp(18px, 3vw, 28px);
  background: linear-gradient(180deg, rgba(5, 7, 14, 0) 0%, rgba(5, 7, 14, .88) 42%, rgba(5, 7, 14, .96) 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .home-hero__live-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--hh-cyan);
}

.page-home .home-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hh-orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 43, .18);
}

.page-home .home-live-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--hh-radius-sm);
  border: 1px solid var(--hh-rule);
  background: rgba(12, 18, 32, .72);
  transition: border-color .18s ease, transform .18s ease;
}

.page-home .home-live-row:hover,
.page-home .home-live-row:focus-within {
  border-color: var(--hh-cyan);
  transform: translateX(2px);
}

.page-home .home-live-row__name {
  font-size: 14px;
  color: var(--hh-text);
}

.page-home .home-live-row__score {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--hh-orange);
}

.page-home .home-live-row__score i {
  font-style: normal;
  margin: 0 3px;
  color: var(--hh-muted);
}

.page-home .home-live-row__meta {
  font-size: 12px;
  color: var(--hh-muted);
  min-width: 48px;
  text-align: right;
}

.page-home .home-hero__stamp {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 clamp(18px, 3vw, 28px) clamp(16px, 2.4vw, 22px);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--hh-muted);
}

/* ---------- 轮次带 ---------- */
.page-home .home-rundown__head {
  max-width: 62ch;
}

.page-home .home-rundown__head h2,
.page-home .home-lineup__body h2,
.page-home .home-watch__lead h2,
.page-home .home-get__head h2,
.page-home .home-routes__head h2 {
  margin: 12px 0 0;
  font-family: var(--hh-sans);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.18;
  letter-spacing: -.015em;
  color: var(--hh-white);
}

.page-home .home-rundown__intro {
  margin: 14px 0 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--hh-text-soft);
}

.page-home .hh-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--hh-muted);
}

.page-home .hh-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--hh-pill);
  border: 1px solid var(--hh-rule);
  font-family: var(--hh-mono);
  font-size: 11px;
  color: var(--hh-cyan);
}

.page-home .home-rundown__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: clamp(22px, 3vw, 34px) 0 14px;
}

.page-home .home-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--hh-pill);
  border: 1px solid var(--hh-rule);
  background: transparent;
  color: var(--hh-text-soft);
  font-size: 14px;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.page-home .home-tab:hover,
.page-home .home-tab:focus-visible {
  border-color: var(--hh-cyan);
  color: var(--hh-cyan);
}

.page-home .home-tab.is-active {
  background: var(--hh-cyan);
  border-color: var(--hh-cyan);
  color: var(--hh-ink);
  font-weight: 700;
}

.page-home .home-rundown__note {
  margin-left: auto;
  font-size: 12px;
  color: var(--hh-muted);
}

.page-home .home-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(232px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-snap-type: x proximity;
  border-top: 1px solid var(--hh-rule);
}

.page-home .home-track--upcoming {
  border-top-style: dashed;
}

.page-home .home-track::-webkit-scrollbar {
  height: 6px;
}

.page-home .home-track::-webkit-scrollbar-thumb {
  background: var(--hh-rule);
  border-radius: var(--hh-pill);
}

.page-home .home-score {
  position: relative;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 20px 22px;
  border-radius: var(--hh-radius);
  border: 1px solid var(--hh-rule);
  background: var(--home-card);
  transition: border-color .18s ease, transform .18s ease;
}

.page-home .home-score:hover,
.page-home .home-score:focus-within {
  border-color: var(--hh-cyan);
  transform: translateY(-2px);
}

.page-home .home-score__league {
  margin: 0;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--hh-muted);
}

.page-home .home-score__nums {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 0;
}

.page-home .home-score__nums--sets {
  gap: 10px;
  flex-wrap: wrap;
}

.page-home .home-score__num {
  font-family: var(--hh-mono);
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 700;
  line-height: 1;
  color: var(--hh-white);
}

.page-home .home-score__nums--sets .home-score__num {
  font-size: 20px;
  color: var(--hh-text);
}

.page-home .home-score__sep {
  font-family: var(--hh-mono);
  font-size: 26px;
  color: var(--hh-muted);
}

.page-home .home-score__time {
  margin: 4px 0 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--hh-cyan);
}

.page-home .home-score__meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--hh-text-soft);
}

.page-home .hh-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 12px;
  border-radius: var(--hh-pill);
  border: 1px solid var(--hh-rule);
  font-family: var(--hh-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--hh-muted);
}

.page-home .hh-tag--cyan {
  border-color: rgba(34, 224, 214, .5);
  color: var(--hh-cyan);
}

.page-home .hh-tag--orange {
  border-color: rgba(255, 106, 43, .5);
  color: var(--hh-orange);
}

/* ---------- 阵容对照 ---------- */
.page-home .home-lineup__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}

.page-home .home-lineup__media {
  position: relative;
  margin: 0;
  border-radius: var(--hh-radius-lg);
  overflow: hidden;
  border: 1px solid var(--hh-rule);
  background: var(--home-card);
}

.page-home .home-lineup__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  opacity: .78;
}

.page-home .home-lineup__media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--hh-text);
  background: linear-gradient(180deg, rgba(5, 7, 14, 0) 0%, rgba(5, 7, 14, .92) 100%);
}

.page-home .home-lineup__body p {
  margin: 16px 0 0;
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--hh-text-soft);
}

.page-home .home-lineup__list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .home-lineup__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hh-rule);
  font-size: 15px;
  line-height: 1.65;
  color: var(--hh-text);
}

.page-home .home-lineup__list .hh-mono {
  font-size: 12px;
  color: var(--hh-orange);
  padding-top: 4px;
}

.page-home .home-lineup__body .hh-btn {
  margin-top: 26px;
}

/* ---------- 战绩追踪 ---------- */
.page-home .home-watch__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--hh-radius-lg);
  border: 1px solid var(--hh-rule);
  background:
    linear-gradient(135deg, rgba(107, 75, 201, .22) 0%, rgba(12, 18, 32, .9) 46%, rgba(5, 7, 14, .95) 100%);
}

.page-home .home-watch__body p {
  margin: 0 0 16px;
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--hh-text-soft);
}

.page-home .home-watch__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.page-home .home-link {
  color: var(--hh-cyan);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 224, 214, .4);
  padding-bottom: 2px;
  transition: border-color .18s ease, color .18s ease;
}

.page-home .home-link:hover,
.page-home .home-link:focus-visible {
  color: var(--hh-white);
  border-color: var(--hh-white);
}

/* ---------- 下载 ---------- */
.page-home .home-get__head {
  max-width: 60ch;
}

.page-home .home-get__head p {
  margin: 14px 0 0;
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--hh-text-soft);
}

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

.page-home .home-get__main,
.page-home .home-get__side {
  border-radius: var(--hh-radius);
  border: 1px solid var(--hh-rule);
  background: var(--home-card);
  padding: clamp(20px, 3vw, 32px);
  transition: border-color .18s ease, transform .18s ease;
}

.page-home .home-get__main:hover,
.page-home .home-get__side:hover {
  border-color: var(--hh-cyan);
  transform: translateY(-2px);
}

.page-home .home-get__ver {
  margin: 0;
  font-size: clamp(40px, 7vw, 62px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--hh-orange);
}

.page-home .home-get__main h3,
.page-home .home-get__side h3 {
  margin: 14px 0 0;
  font-family: var(--hh-sans);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--hh-white);
}

.page-home .home-get__main p,
.page-home .home-get__side p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--hh-text-soft);
}

.page-home .home-get__main .hh-btn {
  margin-top: 24px;
}

.page-home .home-get__side--accent {
  border-left: 3px solid var(--hh-cyan);
}

/* ---------- 路径 ---------- */
.page-home .home-routes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(22px, 3vw, 34px);
}

.page-home .home-route {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: var(--hh-radius);
  border: 1px solid var(--hh-rule);
  background: var(--home-card);
  text-decoration: none;
  transition: border-color .18s ease, transform .18s ease, background-color .18s ease;
}

.page-home .home-route:hover,
.page-home .home-route:focus-visible {
  border-color: var(--hh-cyan);
  transform: translateX(2px);
  background: var(--home-card-2);
}

.page-home .home-route__idx {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--hh-cyan);
}

.page-home .home-route h3 {
  margin: 0;
  font-family: var(--hh-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--hh-white);
}

.page-home .home-route p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--hh-text-soft);
}

.page-home .home-route--pale {
  background: linear-gradient(135deg, rgba(255, 106, 43, .14) 0%, rgba(12, 18, 32, .92) 62%);
}

/* ---------- 页脚上方渐变带 ---------- */
.page-home .home-dusk {
  padding: 0 0 clamp(30px, 5vw, 60px);
}

.page-home .home-dusk__inner {
  position: relative;
  border-radius: var(--hh-radius-lg);
  overflow: hidden;
  border: 1px solid var(--hh-rule);
  min-height: 190px;
  display: flex;
  align-items: flex-end;
}

.page-home .home-dusk__inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
}

.page-home .home-dusk__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 14, .2) 0%, rgba(107, 75, 201, .30) 55%, rgba(5, 7, 14, .94) 100%);
}

.page-home .home-dusk__note {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(18px, 3vw, 28px);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--hh-text);
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-home .home-get__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-get__main {
    grid-column: span 2;
  }

  .page-home .home-get__side--accent {
    grid-column: span 3;
  }

  .page-home .home-routes__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-route--wide {
    grid-column: span 2;
  }
}

@media (min-width: 1000px) {
  .page-home .home-hero__grid {
    grid-template-columns: 1.04fr .96fr;
    gap: 0;
    align-items: stretch;
  }

  .page-home .home-hero__left {
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--home-cut)) 100%, 0 100%);
    padding-right: clamp(26px, 3.4vw, 52px);
  }

  .page-home .home-hero__right {
    margin-left: calc(-1 * var(--home-cut));
    padding-left: calc(var(--home-cut) + clamp(24px, 3vw, 48px));
    clip-path: polygon(var(--home-cut) 0, 100% 0, 100% 100%, 0 100%);
    min-height: 460px;
  }

  .page-home .home-lineup__grid {
    grid-template-columns: 1.05fr .95fr;
  }

  .page-home .home-watch__inner {
    grid-template-columns: .9fr 1.1fr;
    align-items: start;
  }

  .page-home .home-track {
    overflow-x: visible;
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .page-home .home-get__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-get__main {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
  }

  .page-home .home-get__main .hh-btn {
    align-self: flex-start;
    margin-top: auto;
  }

  .page-home .home-get__side--accent {
    grid-column: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hh-btn,
  .page-home .home-live-row,
  .page-home .home-score,
  .page-home .home-get__main,
  .page-home .home-get__side,
  .page-home .home-route {
    transition: none;
  }

  .page-home .hh-btn:hover,
  .page-home .hh-btn:focus-visible,
  .page-home .home-live-row:hover,
  .page-home .home-score:hover,
  .page-home .home-get__main:hover,
  .page-home .home-get__side:hover,
  .page-home .home-route:hover,
  .page-home .home-route:focus-visible {
    transform: none;
  }
}
