.page-home {
  --home-rail: 236px;
  --home-gap: clamp(20px, 3vw, 38px);
  color: var(--deep);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ---------- 首屏海报层 ---------- */
.page-home .home-stage {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 46px) 0 clamp(40px, 5.5vw, 76px);
  background:
    radial-gradient(ellipse 62% 72% at 90% -6%, rgba(31, 107, 110, 0.55), transparent 62%),
    radial-gradient(ellipse 55% 60% at 4% 104%, rgba(42, 30, 74, 0.92), transparent 66%),
    linear-gradient(166deg, var(--deep) 0%, #082f37 54%, #101f34 100%);
  color: var(--light);
}

.page-home .stage-backdrop {
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(180px, 34vw, 340px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.page-home .stage-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mask-image: linear-gradient(to top, #000 0%, transparent 92%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 92%);
}

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

.page-home .stage-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-bottom: clamp(18px, 3vw, 30px);
  border-bottom: 1px solid rgba(255, 253, 246, 0.16);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 253, 246, 0.68);
}

.page-home .stage-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 253, 246, 0.9);
}

.page-home .stage-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 0 4px rgba(79, 111, 74, 0.3);
}

.page-home .stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3.5vw, 42px);
  padding-top: clamp(22px, 4vw, 40px);
}

/* 左侧联赛轨道 */
.page-home .stage-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 253, 246, 0.16);
  background: rgba(255, 253, 246, 0.06);
  backdrop-filter: blur(8px);
}

.page-home .rail-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 253, 246, 0.58);
}

.page-home .league-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 253, 246, 0.32) transparent;
  -webkit-overflow-scrolling: touch;
}

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

.page-home .league-track::-webkit-scrollbar-thumb {
  background: rgba(255, 253, 246, 0.3);
  border-radius: 999px;
}

.page-home .league-chip {
  flex: 0 0 auto;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 253, 246, 0.22);
  background: rgba(255, 253, 246, 0.05);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--light);
  white-space: nowrap;
}

.page-home .league-chip--lead {
  background: var(--coral);
  border-color: var(--coral);
  font-weight: 700;
}

.page-home .league-chip--foam {
  border-color: var(--foam);
  background: rgba(31, 107, 110, 0.3);
}

.page-home .rail-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 6;
  background: linear-gradient(160deg, var(--foam), var(--night));
}

.page-home .rail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.88;
}

.page-home .rail-note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255, 253, 246, 0.62);
}

/* 右侧主视觉 */
.page-home .stage-main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-home .stage-mark {
  position: absolute;
  top: -0.34em;
  right: -0.04em;
  z-index: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(104px, 22vw, 268px);
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: rgba(255, 253, 246, 0.06);
  pointer-events: none;
  user-select: none;
}

.page-home .stage-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}

.page-home .stage-title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 15em;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(29px, 5.2vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.018em;
}

.page-home .stage-lede {
  position: relative;
  z-index: 1;
  margin: clamp(16px, 2.4vw, 24px) 0 0;
  max-width: 40em;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.78;
  color: rgba(255, 253, 246, 0.82);
}

.page-home .stage-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 30px);
}

/* 玻璃状态条 */
.page-home .stage-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  margin-top: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 253, 246, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.07);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.page-home .strip-item {
  flex: 1 1 50%;
  min-width: 0;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 253, 246, 0.14);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.page-home .strip-item:nth-child(-n + 2) {
  border-top: 0;
}

.page-home .strip-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(21px, 3vw, 32px);
  line-height: 1;
  color: var(--light);
}

.page-home .strip-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 253, 246, 0.62);
}

/* ---------- 主体连续画布 ---------- */
.page-home .home-flow-area {
  background: var(--sand);
  padding: clamp(30px, 5vw, 72px) 0 clamp(42px, 6vw, 88px);
}

.page-home .home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

/* 章节索引 */
.page-home .home-index {
  border-top: 2px solid var(--deep);
  padding-top: 12px;
  min-width: 0;
}

.page-home .home-index .index-list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .home-index .index-item {
  flex: 0 0 auto;
  white-space: nowrap;
}

.page-home .home-index .index-item a {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--deep);
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .home-index .index-item a:hover,
.page-home .home-index .index-item a:focus-visible {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--light);
}

.page-home .home-index .index-item a[aria-current="true"] {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--light);
}

.page-home .home-index .index-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

/* 色带区块 */
.page-home .home-flow {
  min-width: 0;
}

.page-home .flow-section {
  position: relative;
  padding: clamp(22px, 3.4vw, 44px);
  margin-bottom: clamp(16px, 2.6vw, 28px);
  border-radius: var(--radius);
  background: var(--paper);
  scroll-margin-top: 84px;
}

.page-home .flow-section:last-child {
  margin-bottom: 0;
}

.page-home .flow-section--dark {
  background: linear-gradient(155deg, var(--deep) 0%, #0a3038 58%, var(--night) 100%);
  color: var(--light);
}

.page-home .flow-section--night {
  background: linear-gradient(150deg, var(--night) 0%, #1d1738 100%);
  color: var(--light);
}

.page-home .flow-tag {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coral);
}

.page-home .flow-section--dark .flow-tag,
.page-home .flow-section--night .flow-tag {
  color: var(--yellow);
}

.page-home .flow-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.26;
  letter-spacing: -0.012em;
}

.page-home .flow-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  margin-top: 12px;
  background: currentColor;
  opacity: 0.28;
}

.page-home .flow-text {
  margin: 18px 0 0;
  max-width: 44em;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--rock);
}

.page-home .flow-section--dark .flow-text,
.page-home .flow-section--night .flow-text {
  color: rgba(255, 253, 246, 0.8);
}

/* 筛选记录卡片流 */
.page-home .record-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(215px, 78%);
  gap: 12px;
  margin: 22px 0 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.page-home .record-item {
  scroll-snap-align: start;
  padding: 15px 15px 17px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  border-left: 3px solid var(--foam);
}

.page-home .record-item:nth-child(2) {
  border-left-color: var(--coral);
}

.page-home .record-item:nth-child(3) {
  border-left-color: var(--moss);
}

.page-home .record-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--rock);
}

.page-home .record-name {
  display: block;
  margin-top: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--deep);
}

.page-home .record-desc {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--rock);
}

/* 通用跳转按钮 */
.page-home .flow-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--light);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-home .flow-more::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-home .flow-more:hover,
.page-home .flow-more:focus-visible {
  background: var(--coral-dark);
  transform: translateX(2px);
}

.page-home .flow-more--light {
  background: transparent;
  border: 1px solid rgba(255, 253, 246, 0.42);
  color: var(--light);
}

.page-home .flow-more--light:hover,
.page-home .flow-more--light:focus-visible {
  background: rgba(255, 253, 246, 0.14);
}

/* 红黄牌区 */
.page-home .card-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.page-home .legend-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.page-home .legend-chip--yellow {
  background: var(--yellow);
  color: var(--night);
  font-weight: 700;
}

.page-home .legend-chip--red {
  background: var(--red);
  color: var(--light);
  font-weight: 700;
}

.page-home .legend-chip--ghost {
  border: 1px solid rgba(255, 253, 246, 0.3);
  color: rgba(255, 253, 246, 0.82);
}

.page-home .card-points {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .card-points li {
  padding-left: 15px;
  border-left: 2px solid var(--coral);
  font-size: 14px;
  line-height: 1.74;
  color: rgba(255, 253, 246, 0.78);
}

.page-home .card-points strong {
  color: var(--light);
  font-weight: 700;
}

/* 联赛变更 */
.page-home .change-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-top: 4px;
}

.page-home .change-copy {
  min-width: 0;
}

.page-home .change-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 246, 0.08);
  border-left: 3px solid var(--foam);
}

.page-home .change-meta-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--light);
}

.page-home .change-meta-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 253, 246, 0.72);
}

.page-home .change-grid .media-frame {
  margin: 0;
}

.page-home .change-grid img,
.page-home .desk-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* 桌面面板 */
.page-home .desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-top: 20px;
}

.page-home .desk-figure {
  margin: 0;
  min-width: 0;
}

.page-home .desk-copy {
  min-width: 0;
}

.page-home .version-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.page-home .version-card {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--sand);
  border: 1px solid var(--line);
}

.page-home .version-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--deep);
}

.page-home .version-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.66;
  color: var(--rock);
}

.page-home .version-card--alt {
  background: var(--deep);
  border-color: var(--deep);
}

.page-home .version-card--alt h3 {
  color: var(--light);
}

.page-home .version-card--alt p {
  color: rgba(255, 253, 246, 0.75);
}

/* 起始路径 */
.page-home .path-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .path-item {
  min-width: 0;
}

.page-home .path-item a {
  display: block;
  height: 100%;
  padding: 17px 16px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-home .path-item a:hover,
.page-home .path-item a:focus-visible {
  border-color: var(--coral);
  background: var(--light);
  transform: translateY(-2px);
}

.page-home .path-step {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--coral);
}

.page-home .path-name {
  display: block;
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--deep);
}

.page-home .path-desc {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.68;
  color: var(--rock);
}

.page-home .path-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.page-home .path-minor {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--foam);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

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

/* ---------- 响应式 ---------- */
@media (min-width: 720px) {
  .page-home .strip-item {
    flex: 1 1 0;
    border-top: 0;
    border-left: 1px solid rgba(255, 253, 246, 0.14);
  }

  .page-home .strip-item:first-child {
    border-left: 0;
  }

  .page-home .card-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 26px;
  }

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

@media (min-width: 760px) {
  .page-home .record-list {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    padding-bottom: 0;
  }
}

@media (min-width: 880px) {
  .page-home .stage-grid {
    grid-template-columns: var(--home-rail) minmax(0, 1fr);
    align-items: start;
  }

  .page-home .rail-visual {
    aspect-ratio: 4 / 5;
  }

  .page-home .change-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    align-items: start;
    gap: 30px;
  }

  .page-home .desk-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
  }
}

@media (min-width: 960px) {
  .page-home .home-layout {
    grid-template-columns: 192px minmax(0, 1fr);
    gap: var(--home-gap);
  }

  .page-home .home-index {
    position: sticky;
    top: 88px;
  }

  .page-home .home-index .index-list {
    flex-direction: column;
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .home-index .index-item {
    white-space: normal;
  }

  .page-home .home-index .index-item a {
    width: 100%;
    border-radius: var(--radius-sm);
    padding: 9px 12px;
  }
}

@media (min-width: 1120px) {
  .page-home .flow-section {
    padding: clamp(34px, 3.2vw, 52px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .flow-more,
  .page-home .path-item a,
  .page-home .home-index .index-item a,
  .page-home .path-minor {
    transition: none;
  }

  .page-home .flow-more:hover,
  .page-home .path-item a:hover {
    transform: none;
  }
}
<<<END>>>
