.page-home {
  --home-rule: 1px solid var(--rail-line);
  background: var(--ink);
  color: var(--paper);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.75rem, 6vw, 3.75rem) 0 clamp(2.25rem, 6vw, 3.75rem);
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.4;
  z-index: -2;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
  background: linear-gradient(
    200deg,
    rgba(8, 16, 43, 0.42) 0%,
    rgba(8, 16, 43, 0.9) 60%,
    var(--ink) 100%
  );
}

.page-home .hero-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.page-home .hero-stage {
  min-width: 0;
  animation: home-rise 0.5s var(--ease) both;
}

.page-home .hero-stage h1 {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6.2vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.005em;
  max-width: 20ch;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .hero-lede {
  margin: 1.1rem 0 0;
  max-width: 44ch;
  font-size: clamp(0.94rem, 2.4vw, 1.05rem);
  line-height: 1.78;
  color: var(--mist);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.page-home .hero-cards {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.5rem, 4vw, 2.2rem);
}

.page-home .hero-card {
  position: relative;
  min-width: 0;
  border: var(--home-rule);
  background: rgba(16, 26, 61, 0.94);
  padding: 0.8rem;
  box-shadow: 5px 5px 0 rgba(29, 43, 92, 0.9);
}

.page-home .hero-card--reel {
  clip-path: polygon(0 1.9rem, 1.9rem 0, 100% 0, 100% 100%, 0 100%);
}

.page-home .hero-card-label {
  margin: 0 0 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .hero-reel-media {
  border: 1px solid rgba(29, 43, 92, 0.9);
}

.page-home .hero-card-note {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  line-height: 1.66;
  color: var(--mist);
}

.page-home .score-line {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0 0 0.8rem;
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--paper);
}

.page-home .score-sep {
  font-size: 0.7em;
  color: var(--orange);
}

.page-home .mini-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.page-home .mini-bars li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr) 2.6rem;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  color: var(--mist);
}

.page-home .mini-name {
  letter-spacing: 0.04em;
}

.page-home .mini-track {
  display: block;
  height: 0.38rem;
  background: rgba(29, 43, 92, 0.95);
  overflow: hidden;
}

.page-home .mini-track i {
  display: block;
  width: var(--v, 50%);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.page-home .mini-val {
  text-align: right;
  font-size: 0.74rem;
  color: var(--paper);
}

/* 左侧赛季轴 */
.page-home .hero-axis {
  min-width: 0;
  border: var(--home-rule);
  border-left: 3px solid var(--cyan);
  background: rgba(16, 26, 61, 0.8);
  padding: 1rem 1rem 1.1rem;
  animation: home-rise 0.5s var(--ease) 0.1s both;
}

.page-home .hero-axis-label {
  margin: 0 0 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .axis-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .axis-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.55rem;
  padding: 0.62rem 0;
  border-bottom: 1px dashed rgba(29, 43, 92, 0.95);
  font-size: 0.78rem;
  color: var(--mist);
}

.page-home .axis-item:last-child {
  border-bottom: 0;
}

.page-home .axis-dot {
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--rail-line);
}

.page-home .axis-item.is-done .axis-dot {
  background: var(--cyan);
}

.page-home .axis-item.is-next .axis-dot {
  background: var(--orange);
  box-shadow: 0 0 0 0.22rem rgba(255, 107, 44, 0.18);
}

.page-home .axis-round {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-home .axis-name {
  color: var(--paper);
}

.page-home .axis-state {
  margin-left: auto;
  padding: 0.1rem 0.38rem;
  border: 1px solid var(--rail-line);
  background: rgba(232, 223, 201, 0.1);
  font-size: 0.66rem;
  color: var(--mist);
  white-space: nowrap;
}

.page-home .hero-axis-link {
  display: inline-block;
  margin-top: 0.85rem;
  padding-bottom: 0.1rem;
  border-bottom: 1px solid rgba(31, 240, 210, 0.4);
  font-size: 0.78rem;
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .hero-axis-link:hover,
.page-home .hero-axis-link:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 通用章节头 ---------- */
.page-home .sec-head {
  max-width: 48rem;
  margin-bottom: clamp(1.4rem, 3.5vw, 2.3rem);
}

.page-home .sec-head h2 {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.14;
  color: var(--paper);
}

.page-home .sec-lede {
  margin: 0.8rem 0 0;
  max-width: 54ch;
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--mist);
}

/* ---------- 三步路径 ---------- */
.page-home .path-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--rail-line);
  border: var(--home-rule);
}

.page-home .path-step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--ink-2);
  padding: clamp(1.05rem, 2.6vw, 1.7rem);
}

.page-home .path-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.page-home .path-step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 2.8vw, 1.32rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--paper);
}

.page-home .path-step p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .path-link {
  margin-top: auto;
  padding-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 240, 210, 0.35);
  align-self: flex-start;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .path-link:hover,
.page-home .path-link:focus-visible {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------- 球队时间轴主题带 ---------- */
.page-home .belt {
  background: var(--ink-2);
  border-block: var(--home-rule);
}

.page-home .belt-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(15.5rem, 82%);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.9rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .belt-card {
  scroll-snap-align: start;
  border: var(--home-rule);
  border-top: 3px solid var(--rail-line);
  background: var(--ink);
  padding: 1.1rem;
}

.page-home .belt-card:nth-child(2) {
  border-top-color: var(--cyan);
}

.page-home .belt-card:nth-child(3) {
  border-top-color: var(--orange);
}

.page-home .belt-card h3 {
  margin: 0.65rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--paper);
}

.page-home .belt-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.74;
  color: var(--mist);
}

/* ---------- 数据对照 ---------- */
.page-home .data-grid {
  display: grid;
  gap: clamp(1.4rem, 3.5vw, 2.4rem);
}

.page-home .data-figure {
  margin: 0;
  min-width: 0;
  border: var(--home-rule);
  background: var(--ink-2);
  padding: 0.6rem;
  box-shadow: 6px 6px 0 rgba(29, 43, 92, 0.8);
}

.page-home .data-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .data-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.76rem;
  line-height: 1.62;
  color: var(--mist);
}

.page-home .data-copy h2 {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.16;
  color: var(--paper);
}

.page-home .data-copy p {
  margin: 0.8rem 0 0;
  max-width: 48ch;
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .stat-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rail-line);
  border: var(--home-rule);
}

.page-home .metric {
  display: grid;
  gap: 0.22rem;
  align-content: start;
  background: var(--ink-2);
  padding: 0.85rem 0.8rem 1rem;
}

.page-home .metric-num {
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 3.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--orange);
}

.page-home .metric-label {
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--mist);
}

/* ---------- 本地赛事 ---------- */
.page-home .local {
  position: relative;
  background: linear-gradient(135deg, var(--teal) 0%, var(--ink-2) 58%, var(--ink) 100%);
  border-block: var(--home-rule);
}

.page-home .local::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 240, 210, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 240, 210, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
}

.page-home .local .wrap {
  position: relative;
  z-index: 1;
}

.page-home .local-cards {
  display: grid;
  gap: 1px;
  background: rgba(174, 184, 212, 0.28);
  border: var(--home-rule);
}

.page-home .local-card {
  background: rgba(8, 16, 43, 0.84);
  padding: clamp(1rem, 2.6vw, 1.5rem);
}

.page-home .local-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2.6vw, 1.28rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--paper);
}

.page-home .local-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.74;
  color: var(--mist);
}

.page-home .local-cta {
  margin-top: 1.5rem;
}

/* ---------- 换设备续看 ---------- */
.page-home .device-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.page-home .device-figure {
  margin: 0;
  min-width: 0;
  border: var(--home-rule);
  background: var(--ink-2);
  padding: 0.6rem;
  box-shadow: 6px 6px 0 rgba(29, 43, 92, 0.85);
}

.page-home .device-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .device-copy h2 {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.16;
  color: var(--paper);
}

.page-home .device-copy > p {
  margin: 0.85rem 0 0;
  max-width: 48ch;
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--mist);
}

.page-home .device-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.page-home .device-list li {
  display: grid;
  gap: 0.15rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--rail-line);
}

.page-home .device-list li:nth-child(1) {
  border-left-color: var(--cyan);
}

.page-home .device-list li:nth-child(2) {
  border-left-color: var(--violet);
}

.page-home .device-list li:nth-child(3) {
  border-left-color: var(--orange);
}

.page-home .device-list strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .device-list span {
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .device-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

/* ---------- 内容索引 ---------- */
.page-home .map-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--home-rule);
}

.page-home .map-list > li {
  border-bottom: var(--home-rule);
}

.page-home .map-link {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  grid-template-areas:
    "num name"
    "num desc";
  align-items: baseline;
  gap: 0.1rem 0.9rem;
  padding: 0.9rem 0.2rem;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.18s var(--ease), padding-left 0.18s var(--ease);
}

.page-home .map-num {
  grid-area: num;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.page-home .map-name {
  grid-area: name;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .map-desc {
  grid-area: desc;
  font-size: 0.82rem;
  line-height: 1.66;
  color: var(--mist);
}

.page-home .map-link:hover,
.page-home .map-link:focus-visible {
  background: rgba(31, 240, 210, 0.08);
  padding-left: 1rem;
}

.page-home a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-home .hero-cards {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
  }

  .page-home .hero-card--data {
    margin-top: 1.75rem;
  }

  .page-home .stat-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

  .page-home .map-link {
    grid-template-columns: 3rem 11rem minmax(0, 1fr);
    grid-template-areas: "num name desc";
    align-items: center;
    padding-inline: 0.5rem;
  }
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(12.5rem, 0.72fr) minmax(0, 1.55fr);
    grid-template-areas: "axis stage";
    align-items: start;
    gap: clamp(2rem, 4vw, 3.75rem);
  }

  .page-home .hero-axis {
    grid-area: axis;
  }

  .page-home .hero-stage {
    grid-area: stage;
  }

  .page-home .path-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .page-home .data-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    grid-template-areas:
      "fig copy"
      "fig strip";
    align-items: start;
    column-gap: clamp(2rem, 4vw, 3.25rem);
  }

  .page-home .data-figure {
    grid-area: fig;
  }

  .page-home .data-copy {
    grid-area: copy;
  }

  .page-home .stat-strip {
    grid-area: strip;
    margin-top: clamp(1rem, 2.5vw, 1.6rem);
  }

  .page-home .device-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 3.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation: none !important;
    transition: none !important;
  }
}

.page-home {
  --v: 1rem;
}
