/* ================= 首页 ================= */
.page-home {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
}

/* ---------- 首屏舞台 ---------- */
.page-home .stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: calc(var(--header-h) + 44px) 0 clamp(40px, 6vw, 76px);
}

.page-home .stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .stage-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .24;
  filter: saturate(.45) brightness(.78) contrast(1.06);
}

.page-home .stage-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.page-home .stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(104deg, rgba(11, 30, 60, .97) 0%, rgba(11, 30, 60, .9) 46%, rgba(11, 30, 60, .58) 100%);
}

.page-home .stage-inner {
  position: relative;
  z-index: 2;
}

.page-home .stage-kicker {
  display: inline-block;
  margin: 0 0 22px;
  padding: 6px 14px;
  border: 1px solid rgba(242, 193, 78, .42);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--amber);
}

.page-home .stage-title {
  margin: 0 0 18px;
  max-width: 18em;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.3;
  letter-spacing: .01em;
  color: var(--white);
}

.page-home .stage-lead {
  margin: 0 0 clamp(30px, 4vw, 50px);
  max-width: 46em;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.8;
  color: rgba(255, 255, 255, .78);
}

.page-home .stage-figures {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid var(--line-dark);
}

.page-home .fig {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.page-home .fig-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(54px, 10vw, 122px);
  line-height: .84;
  letter-spacing: -.045em;
  color: var(--white);
}

.page-home .fig-num em {
  font-style: normal;
  font-size: .4em;
  margin-left: .06em;
  letter-spacing: 0;
  color: rgba(255, 255, 255, .74);
}

.page-home .fig--accent .fig-num {
  color: var(--amber);
}

.page-home .fig--accent .fig-num em {
  color: rgba(242, 193, 78, .78);
}

.page-home .fig-label {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .64);
}

.page-home .stage-meta {
  margin: clamp(26px, 4vw, 44px) 0 0;
  max-width: 54em;
  padding-left: 14px;
  border-left: 2px solid var(--grass-bright);
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .7);
}

/* ---------- 主体双栏 ---------- */
.page-home .home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
  padding-block: clamp(40px, 6vw, 74px) clamp(56px, 8vw, 104px);
}

.page-home .home-rail {
  display: flex;
  flex-direction: row;
  gap: 4px;
  margin-inline: calc(var(--gap) * -1);
  padding-inline: var(--gap);
  padding-bottom: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .home-rail::-webkit-scrollbar {
  display: none;
}

.page-home .home-rail-link {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.page-home .home-rail-link em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
}

.page-home .home-rail-link:hover,
.page-home .home-rail-link:focus-visible {
  background: var(--mist);
  color: var(--navy);
}

.page-home .home-rail-link[data-current="true"] {
  background: var(--navy);
  color: var(--white);
}

/* ---------- 章节通用 ---------- */
.page-home .home-flow {
  min-width: 0;
}

.page-home .home-sec {
  padding-block: clamp(42px, 6vw, 80px);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.page-home .home-sec:first-child {
  padding-top: 0;
}

.page-home .sec-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}

.page-home .sec-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: .82;
  letter-spacing: -.05em;
  color: rgba(11, 30, 60, .13);
  user-select: none;
}

.page-home .sec-title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--navy);
}

.page-home .sec-lead {
  margin: 0;
  max-width: 44em;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 02 胜负区间 ---------- */
.page-home .range-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: start;
}

.page-home .range-main {
  min-width: 0;
}

.page-home .score-bar {
  display: flex;
  gap: 2px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
}

.page-home .score-seg {
  position: relative;
  display: block;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
  min-width: 6px;
  transition: filter .2s var(--ease);
}

.page-home .score-seg:nth-child(1) { flex-grow: 24.4; }
.page-home .score-seg:nth-child(2) { flex-grow: 28.2; }
.page-home .score-seg:nth-child(3) { flex-grow: 17.9; }
.page-home .score-seg:nth-child(4) { flex-grow: 15.4; }
.page-home .score-seg:nth-child(5) { flex-grow: 9.0; }
.page-home .score-seg:nth-child(6) { flex-grow: 5.1; }

.page-home .score-seg[data-tone="grass"] { background: var(--grass); }
.page-home .score-seg[data-tone="green"] { background: var(--grass-bright); }
.page-home .score-seg[data-tone="amber"] { background: var(--amber); }
.page-home .score-seg[data-tone="orange"] { background: var(--orange); }
.page-home .score-seg[data-tone="wine"] { background: var(--wine); }
.page-home .score-seg[data-tone="deep"] { background: var(--navy-800); }

.page-home .score-seg:hover {
  filter: brightness(1.08);
}

.page-home .seg-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  z-index: 3;
  padding: 6px 10px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.page-home .score-seg:hover .seg-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.page-home .bar-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 clamp(20px, 3vw, 30px);
  padding: 0;
  list-style: none;
}

.page-home .bar-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--mist);
  font-size: 13px;
  color: var(--ink);
  min-width: 0;
}

.page-home .bar-legend .dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.page-home .bar-legend li:nth-child(1) .dot { background: var(--grass); }
.page-home .bar-legend li:nth-child(2) .dot { background: var(--grass-bright); }
.page-home .bar-legend li:nth-child(3) .dot { background: var(--amber); }
.page-home .bar-legend li:nth-child(4) .dot { background: var(--orange); }
.page-home .bar-legend li:nth-child(5) .dot { background: var(--wine); }
.page-home .bar-legend li:nth-child(6) .dot { background: var(--navy-800); }

.page-home .bar-legend .lg-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .bar-legend b {
  margin-left: auto;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.page-home .range-note {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--grass);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .range-figure {
  margin: 0;
}

/* ---------- 03 裁判评议 ---------- */
.page-home .judge-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
}

.page-home .judge-row {
  display: grid;
  grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.page-home .judge-row + .judge-row {
  margin-top: 14px;
}

.page-home .judge-label {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}

.page-home .judge-bar {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: var(--mist);
  overflow: hidden;
}

.page-home .judge-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--wine);
}

.page-home .judge-row:nth-child(1) .judge-bar i { width: 34.6%; }
.page-home .judge-row:nth-child(2) .judge-bar i { width: 24.9%; }
.page-home .judge-row:nth-child(3) .judge-bar i { width: 19.8%; }
.page-home .judge-row:nth-child(4) .judge-bar i { width: 13.0%; }
.page-home .judge-row:nth-child(5) .judge-bar i { width: 7.7%; }

.page-home .judge-val {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.page-home .judge-note {
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius-lg);
  background: var(--indigo);
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  line-height: 1.8;
}

.page-home .judge-note p {
  margin: 0;
}

.page-home .judge-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px !important;
  color: var(--white);
  font-size: 14px;
}

.page-home .judge-total b {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--amber);
}

.page-home .judge-link {
  margin-top: 16px !important;
}

.page-home .judge-link a {
  color: var(--amber);
  font-size: 13.5px;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 193, 78, .45);
  padding-bottom: 2px;
}

.page-home .judge-link a:hover,
.page-home .judge-link a:focus-visible {
  border-bottom-color: var(--amber);
}

/* ---------- 04 替补贡献 ---------- */
.page-home .sub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.page-home .sub-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--white);
}

.page-home .sub-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--navy);
}

.page-home .sub-cell:nth-child(1) .sub-num,
.page-home .sub-cell:nth-child(2) .sub-num {
  color: var(--grass);
}

.page-home .sub-cell:nth-child(3) .sub-num {
  color: var(--indigo);
}

.page-home .sub-cell:nth-child(4) .sub-num {
  color: var(--orange-ink);
}

.page-home .sub-cap {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .sub-foot {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 05 号码索引 ---------- */
.page-home .number-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.page-home .num-cell {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--mist);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(18px, 3.6vw, 26px);
  color: var(--navy);
  text-decoration: none;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}

.page-home .num-cell:hover,
.page-home .num-cell:focus-visible {
  background: var(--grass);
  color: var(--white);
}

.page-home .wall-note {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 06 履历档案 ---------- */
.page-home .resume-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .resume-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius-lg);
  background: var(--mist);
}

.page-home .resume-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: var(--navy);
}

.page-home .resume-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .comp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .comp-list li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--navy);
}

.page-home .comp-list li:last-child {
  border-style: dashed;
  color: var(--muted);
}

.page-home .resume-figure {
  margin: clamp(24px, 3.4vw, 38px) 0 0;
}

/* ---------- 07 开始使用 ---------- */
.page-home .launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .launch-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), background-color .24s var(--ease);
}

.page-home .launch-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--grass-bright);
}

.page-home .launch-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.4;
  color: var(--white);
}

.page-home .launch-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .74);
}

.page-home .launch-go {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber);
}

.page-home .launch-card:nth-child(2) {
  background: var(--indigo);
}

.page-home .launch-card:nth-child(3) {
  background: var(--navy-800);
}

.page-home .launch-card:hover,
.page-home .launch-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  background: var(--grass);
}

.page-home .launch-card:hover .launch-num,
.page-home .launch-card:focus-visible .launch-num,
.page-home .launch-card:hover .launch-go,
.page-home .launch-card:focus-visible .launch-go {
  color: var(--white);
}

.page-home .start-foot {
  margin: clamp(20px, 3vw, 30px) 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .start-foot a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.page-home .start-foot a:hover,
.page-home .start-foot a:focus-visible {
  border-bottom-color: var(--grass);
  color: var(--grass);
}

/* ---------- 焦点可见 ---------- */
.page-home a:focus-visible,
.page-home .num-cell:focus-visible {
  outline: 2px solid var(--grass-bright);
  outline-offset: 2px;
}

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

  .page-home .number-wall {
    gap: 12px;
  }

  .page-home .score-bar {
    height: 70px;
  }
}

@media (min-width: 760px) {
  .page-home .stage-figures {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 60px);
  }

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

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

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

@media (min-width: 900px) {
  .page-home .range-wrap {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }

  .page-home .judge-panel {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  }
}

@media (min-width: 921px) {
  .page-home .home-layout {
    grid-template-columns: var(--rail-w) minmax(0, 1fr);
    gap: clamp(24px, 3.4vw, 54px);
  }

  .page-home .home-rail {
    position: sticky;
    top: calc(var(--header-h) + 32px);
    flex-direction: column;
    gap: 0;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
    overflow: visible;
  }

  .page-home .home-rail-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 0 10px 12px;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .page-home .home-rail-link:hover,
  .page-home .home-rail-link:focus-visible {
    background: transparent;
    border-left-color: var(--grass-bright);
    color: var(--navy);
  }

  .page-home .home-rail-link[data-current="true"] {
    background: transparent;
    border-left-color: var(--grass);
    color: var(--navy);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .score-seg,
  .page-home .seg-tip,
  .page-home .num-cell,
  .page-home .launch-card,
  .page-home .home-rail-link {
    transition: none;
  }

  .page-home .launch-card:hover,
  .page-home .launch-card:focus-visible {
    transform: none;
  }
}
<<<END>>>
