.page-home {
  --ph-line: rgba(42, 46, 51, .14);
  overflow-x: hidden;
}

.page-home .section,
.page-home .section--tight {
  padding-block: 64px;
}

/* ---------- 首屏 ---------- */

.page-home .hero {
  position: relative;
  overflow: hidden;
  background: var(--snow);
}

.page-home .hero-slab {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--night-blue);
  clip-path: polygon(0 0, 87% 0, 100% 9%, 100% 100%, 0 100%);
}

.page-home .hero-slab::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(114deg, rgba(11, 92, 138, .92) 0%, rgba(11, 92, 138, 0) 62%),
    linear-gradient(204deg, rgba(217, 166, 32, .18) 0%, rgba(217, 166, 32, 0) 46%);
}

.page-home .hero-slab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--barley-gold) 0%, var(--electric-teal) 52%, rgba(31, 209, 192, 0) 100%);
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 56px;
}

.page-home .hero-copy {
  max-width: 640px;
}

.page-home .hero-breadcrumb {
  color: rgba(247, 248, 249, .66);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page-home .hero-title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 8.4vw, 74px);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--snow);
}

.page-home .hero-lede {
  margin-top: 18px;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(247, 248, 249, .82);
}

.page-home .hero-board {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 22px 16px;
  background: rgba(7, 28, 43, .74);
  border: 2px solid rgba(217, 166, 32, .55);
  box-shadow: 8px 8px 0 rgba(11, 92, 138, .6);
}

.page-home .hero-board-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--electric-teal);
}

.page-home .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lava-orange);
  animation: ph-pulse 2.2s infinite;
}

@keyframes ph-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 90, 31, .55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 90, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 31, 0); }
}

.page-home .hero-score {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 6px 0 6px;
  font-size: clamp(56px, 17vw, 104px);
  line-height: .9;
  color: var(--barley-gold);
}

.page-home .hero-score .num {
  font-size: inherit;
  line-height: inherit;
}

.page-home .hero-score-sep {
  font-family: var(--font-mono);
  font-size: .5em;
  color: var(--lava-orange);
  transform: translateY(-.16em);
}

.page-home .hero-board-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(247, 248, 249, .7);
  max-width: 34ch;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .hero-actions .btn--ghost {
  color: var(--snow);
  border-color: rgba(247, 248, 249, .5);
}

.page-home .hero-actions .btn--ghost:hover,
.page-home .hero-actions .btn--ghost:focus-visible {
  background: var(--snow);
  color: var(--night-blue);
}

.page-home .hero-media {
  position: relative;
  margin: 42px 0 0;
  border: 3px solid var(--ice-blue);
  box-shadow: 10px 10px 0 var(--barley-gold);
  background: var(--night-blue);
  overflow: hidden;
  line-height: 0;
}

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- 三联数据墙 ---------- */

.page-home .dash {
  position: relative;
  overflow: hidden;
  background: var(--ice-blue);
}

.page-home .dash-lede {
  max-width: 58ch;
}

.page-home .triple {
  position: relative;
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-home .triple-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
  pointer-events: none;
}

.page-home .triple-cell {
  position: relative;
  z-index: 1;
  background: var(--snow);
  border: 3px solid var(--night-blue);
  box-shadow: 8px 8px 0 var(--night-blue);
  padding: 20px 20px 22px;
}

.page-home .cell-title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ice-blue);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lake-blue);
}

.page-home .board-teams {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--fog);
}

.page-home .board-teams span {
  font-family: var(--font-mono);
  font-size: 40px;
  letter-spacing: .04em;
  color: var(--graphite);
}

.page-home .board-meta {
  list-style: none;
  margin: 16px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed var(--ph-line);
  font-size: 13px;
  line-height: 1.9;
  color: var(--fog);
}

.page-home .tl {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 2px solid rgba(11, 92, 138, .3);
}

.page-home .tl li {
  position: relative;
  padding-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--graphite);
}

.page-home .tl li:last-child {
  padding-bottom: 0;
}

.page-home .tl li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--barley-gold);
  border: 2px solid var(--night-blue);
}

.page-home .tl-time {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--lake-blue);
}

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

.page-home .chg li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 10px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--graphite);
}

.page-home .chg li:nth-child(odd) {
  background: rgba(207, 227, 240, .6);
}

.page-home .chg-id {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--lava-orange);
}

.page-home .dash-more {
  margin: 32px 0 0;
}

.page-home .textlink {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--barley-gold);
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: .02em;
  color: var(--night-blue);
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}

.page-home .textlink:hover,
.page-home .textlink:focus-visible {
  color: var(--lava-orange);
  border-color: var(--lava-orange);
  transform: translateX(4px);
}

/* ---------- 战报班次 ---------- */

.page-home .dispatch {
  background: var(--snow);
}

.page-home .dispatch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

.page-home .dispatch-list {
  counter-reset: dp;
  list-style: none;
  margin: 26px 0 22px;
  padding: 0;
}

.page-home .dispatch-list li {
  position: relative;
  counter-increment: dp;
  padding-left: 44px;
  margin-bottom: 15px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--graphite);
}

.page-home .dispatch-list li::before {
  content: "0" counter(dp);
  position: absolute;
  left: 0;
  top: 3px;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--barley-gold);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--barley-gold);
}

.page-home .dispatch-list strong {
  color: var(--night-blue);
}

.page-home .dispatch-figure {
  margin: 0 0 24px;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--fog);
}

.page-home .dispatch-figure .num {
  font-size: 30px;
  margin-right: 6px;
  color: var(--lake-blue);
}

.page-home .dispatch-media {
  margin: 0;
  border: 3px solid var(--night-blue);
  box-shadow: 10px 10px 0 var(--lake-blue);
  background: var(--night-blue);
  overflow: hidden;
}

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

.page-home .dispatch-media .media-caption {
  padding: 10px 14px;
  background: var(--night-blue);
  color: rgba(247, 248, 249, .74);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
}

/* ---------- 旧版客户端 ---------- */

.page-home .legacy {
  background: var(--snow);
  border-top: 6px solid var(--barley-gold);
}

.page-home .legacy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.page-home .legacy-media {
  margin: 0;
  max-width: 380px;
  border: 3px solid var(--night-blue);
  box-shadow: 10px 10px 0 var(--ice-blue);
  background: var(--night-blue);
  overflow: hidden;
}

.page-home .legacy-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.page-home .legacy-list {
  list-style: none;
  margin: 24px 0 26px;
  padding: 0;
}

.page-home .legacy-list li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-top: 1px solid var(--ph-line);
  font-size: 15px;
  line-height: 1.68;
  color: var(--graphite);
}

.page-home .legacy-list li:last-child {
  border-bottom: 1px solid var(--ph-line);
}

.page-home .legacy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 14px;
  height: 3px;
  background: var(--barley-gold);
}

/* ---------- 数据链条 ---------- */

.page-home .pipeline {
  position: relative;
  overflow: hidden;
  background: var(--night-blue);
}

.page-home .pipeline::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 58%;
  height: 150%;
  background: radial-gradient(ellipse at center, rgba(31, 209, 192, .16) 0%, rgba(31, 209, 192, 0) 68%);
  pointer-events: none;
}

.page-home .pipeline .container {
  position: relative;
  z-index: 1;
}

.page-home .pipeline .eyebrow {
  color: var(--electric-teal);
}

.page-home .pipeline .section-title {
  color: var(--snow);
}

.page-home .pipeline-num {
  font-size: 1.15em;
  padding: 0 .06em;
  color: var(--barley-gold);
}

.page-home .pipeline .lede {
  max-width: 56ch;
  color: rgba(247, 248, 249, .74);
}

.page-home .pipe-track {
  display: block;
  width: 100%;
  height: 56px;
  margin: 36px 0 8px;
}

.page-home .pipe-line {
  fill: none;
  stroke: var(--electric-teal);
  stroke-width: 2;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  vector-effect: non-scaling-stroke;
  animation: ph-draw 2.6s var(--ease) .2s forwards;
}

@keyframes ph-draw {
  to { stroke-dashoffset: 0; }
}

.page-home .stages {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .stage {
  padding-top: 16px;
  border-top: 3px solid var(--barley-gold);
}

.page-home .stage-idx {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--electric-teal);
}

.page-home .stage h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--snow);
}

.page-home .stage p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.74;
  color: rgba(247, 248, 249, .72);
}

/* ---------- 订阅 ---------- */

.page-home .subscribe {
  background: var(--snow);
}

.page-home .subscribe-panel {
  position: relative;
  overflow: hidden;
  padding: 34px 22px 34px;
  background: var(--lake-blue);
  border: 3px solid var(--night-blue);
  box-shadow: var(--hard-shadow);
}

.page-home .subscribe-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid rgba(31, 209, 192, .45);
  pointer-events: none;
}

.page-home .subscribe-panel .eyebrow--light {
  color: var(--electric-teal);
}

.page-home .subscribe-panel .section-title {
  color: var(--snow);
}

.page-home .subscribe-lede {
  max-width: 54ch;
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(247, 248, 249, .84);
}

.page-home .slot {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  border: 2px solid rgba(247, 248, 249, .38);
  background: rgba(7, 28, 43, .38);
}

.page-home .slot summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--snow);
}

.page-home .slot summary::-webkit-details-marker {
  display: none;
}

.page-home .slot summary::after {
  content: "＋";
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--barley-gold);
}

.page-home .slot[open] summary::after {
  content: "－";
}

.page-home .slot-body {
  display: grid;
  gap: 14px;
  padding: 4px 16px 18px;
  border-top: 1px solid rgba(247, 248, 249, .2);
  padding-top: 16px;
}

.page-home .slot-row-title {
  margin: 0 0 5px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--barley-gold);
}

.page-home .slot-row p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247, 248, 249, .82);
}

.page-home .subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-home .subscribe-panel .btn--ghost {
  color: var(--snow);
  border-color: rgba(247, 248, 249, .5);
}

.page-home .subscribe-panel .btn--ghost:hover,
.page-home .subscribe-panel .btn--ghost:focus-visible {
  background: var(--snow);
  color: var(--lake-blue);
}

/* ---------- 高原场景 ---------- */

.page-home .scenes {
  background: var(--ice-blue);
}

.page-home .scene-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 26px;
}

.page-home .scene-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--snow);
  border: 2px solid var(--night-blue);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--graphite);
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.page-home .scene-tabs a:hover,
.page-home .scene-tabs a:focus-visible {
  background: var(--night-blue);
  color: var(--barley-gold);
  transform: translateY(-2px);
}

.page-home .scene-grid {
  align-items: stretch;
}

.page-home .scene-card {
  padding: 22px 20px 24px;
  background: var(--snow);
  border: 3px solid var(--night-blue);
  box-shadow: 8px 8px 0 rgba(7, 28, 43, .85);
  scroll-margin-top: 96px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}

.page-home .scene-card:target {
  border-color: var(--lava-orange);
  box-shadow: 8px 8px 0 var(--lava-orange);
  transform: translateY(-4px);
}

.page-home .scene-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--night-blue);
}

.page-home .scene-meta {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ice-blue);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--lake-blue);
}

.page-home .scene-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--graphite);
}

/* ---------- 结尾 ---------- */

.page-home .outro {
  padding-bottom: 76px;
  background: var(--snow);
}

.page-home .outro-title {
  margin-bottom: 0;
}

.page-home .outro-track {
  display: block;
  width: 100%;
  height: 26px;
  margin: 22px 0 26px;
}

.page-home .outro-line {
  fill: none;
  stroke: var(--barley-gold);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.page-home .outro-node {
  fill: var(--lava-orange);
}

.page-home .outro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 640px) {
  .page-home .section,
  .page-home .section--tight {
    padding-block: 76px;
  }

  .page-home .subscribe-panel {
    padding: 44px 40px;
  }

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

@media (min-width: 860px) {
  .page-home .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    gap: 52px;
    align-items: center;
    padding-top: 66px;
    padding-bottom: 88px;
  }

  .page-home .hero-media {
    margin-top: 0;
  }

  .page-home .dispatch-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
  }

  .page-home .legacy-grid {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: 60px;
  }

  .page-home .stages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}

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

  .page-home .section,
  .page-home .section--tight {
    padding-block: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .live-dot,
  .page-home .pipe-line {
    animation: none;
  }

  .page-home .pipe-line {
    stroke-dashoffset: 0;
  }

  .page-home .scene-card,
  .page-home .textlink,
  .page-home .scene-tabs a {
    transition-duration: .01ms;
  }
}
