.page-home {
  --home-bevel: 14px;
  --home-cut: polygon(var(--home-bevel) 0, 100% 0, 100% calc(100% - var(--home-bevel)), calc(100% - var(--home-bevel)) 100%, 0 100%, 0 var(--home-bevel));
  overflow-x: hidden;
}

.page-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  padding-top: clamp(20px, 4vw, 40px);
}

.page-home .hero-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--metal);
}

.page-home .hero-context .chip,
.page-home .hero-context .dot-live {
  letter-spacing: 0.06em;
}

.page-home .hero-grid {
  display: grid;
  gap: calc(var(--gap) * 1.4);
  margin-top: 22px;
}

.page-home .hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 6.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--fog);
  max-width: 16em;
}

.page-home .hero-lead {
  margin: 18px 0 0;
  max-width: 36em;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--steel);
}

.page-home .chapter-index {
  margin-top: 28px;
}

.page-home .chapter-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.page-home .chapter-index a {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--edge);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.page-home .chapter-index li:first-child a {
  border-top: 1px solid var(--edge);
}

.page-home .chapter-index a:hover,
.page-home .chapter-index a:focus-visible {
  transform: translateX(6px);
  border-color: var(--cyan);
}

.page-home .ci-num {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  padding-top: 3px;
}

.page-home .ci-name {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--fog);
}

.page-home .ci-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--metal);
}

.page-home .hero-card {
  position: relative;
  clip-path: var(--home-cut);
  background: linear-gradient(158deg, rgba(0, 229, 255, 0.12), rgba(255, 107, 44, 0.07) 62%, rgba(22, 35, 58, 0.9));
  box-shadow: 0 28px 64px -36px rgba(0, 0, 0, 0.95);
}

.page-home .hero-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.page-home .hero-card-body {
  padding: 18px 18px 22px;
}

.page-home .hero-card-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .status-list {
  margin: 12px 0 18px;
  display: grid;
  gap: 8px;
}

.page-home .status-list > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--edge);
}

.page-home .status-list dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--metal);
}

.page-home .status-list dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fog);
}

.page-home .hero-card .btn {
  width: 100%;
  text-align: center;
}

/* ---------- 章节画板 ---------- */
.page-home .board {
  position: relative;
  margin-top: clamp(52px, 8vw, 96px);
}

.page-home .board-rail {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--metal);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.page-home .board-head h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 4.2vw, 38px);
  line-height: 1.14;
  color: var(--fog);
  max-width: 22em;
}

.page-home .board-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .kicker-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 22px;
  background: var(--stack);
  color: var(--cyan);
  font-size: 11px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.page-home .board-lead {
  margin: 14px 0 0;
  max-width: 46em;
  font-size: 15px;
  line-height: 1.8;
  color: var(--steel);
}

.page-home .board-more {
  margin: 22px 0 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--metal);
}

.page-home .board-more a,
.page-home .start-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.35);
}

.page-home .board-more a:hover,
.page-home .start-note a:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- 赛前十分钟 ---------- */
.page-home .console-grid {
  display: grid;
  gap: var(--gap);
  margin-top: 28px;
}

.page-home .console-visual {
  margin: 0;
}

.page-home .console-visual img {
  width: 100%;
  object-fit: cover;
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.page-home .timeline li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--edge);
}

.page-home .timeline li:first-child {
  border-top: none;
  padding-top: 0;
}

.page-home .t-stamp {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber);
}

.page-home .t-body {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--steel);
}

.page-home .t-body strong {
  color: var(--fog);
  font-weight: 600;
}

.page-home .field-notes {
  margin-top: 26px;
  padding: 0 16px;
  border: 1px solid var(--edge);
  background: var(--panel);
  clip-path: var(--home-cut);
}

.page-home .field-notes summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  list-style: none;
}

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

.page-home .field-notes summary::after {
  content: "＋";
  font-size: 14px;
  color: var(--metal);
}

.page-home .field-notes[open] summary::after {
  content: "－";
  color: var(--cyan);
}

.page-home .field-list {
  list-style: none;
  margin: 0;
  padding: 0 0 6px;
  display: grid;
  gap: 8px;
}

.page-home .field-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .field-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.page-home .field-note-text {
  margin: 6px 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  color: var(--metal);
}

/* ---------- 版本对照 ---------- */
.page-home .versions-visual {
  margin: 26px 0 0;
}

.page-home .versions-visual img {
  width: 100%;
  object-fit: cover;
}

.page-home .vs {
  position: relative;
  margin-top: 22px;
}

.page-home .vs-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .vs-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .vs-label {
  cursor: pointer;
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--steel);
  background: var(--stack);
  border: 1px solid var(--edge);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.page-home .vs-radio--31:checked ~ .vs-labels .vs-label--31,
.page-home .vs-radio--30:checked ~ .vs-labels .vs-label--30 {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  font-weight: 700;
}

.page-home .vs-radio:focus-visible ~ .vs-labels .vs-label {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .vs-panel {
  display: none;
  margin-top: 16px;
  border: 1px solid var(--edge);
  background: var(--panel);
  clip-path: var(--home-cut);
}

.page-home .vs-radio--31:checked ~ .vs-panels .vs-panel--31,
.page-home .vs-radio--30:checked ~ .vs-panels .vs-panel--30 {
  display: block;
}

.page-home .vs-rows {
  margin: 0;
  display: grid;
}

.page-home .vs-row {
  display: grid;
  gap: 4px;
  padding: 13px 16px;
  border-top: 1px solid var(--edge);
}

.page-home .vs-row:first-child {
  border-top: none;
}

.page-home .vs-key {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--metal);
}

.page-home .vs-val {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

/* ---------- 三条路径 ---------- */
.page-home .paths {
  display: grid;
  gap: var(--gap);
  margin-top: 28px;
}

.page-home .path-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 24px;
  background: var(--panel);
  border: 1px solid var(--edge);
  clip-path: var(--home-cut);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.page-home .path-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.55);
}

.page-home .path-index {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--orange);
}

.page-home .path-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.2;
  color: var(--fog);
}

.page-home .path-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--metal);
}

.page-home .path-card > p:not(.path-index):not(.path-meta) {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.page-home .path-steps {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
  counter-reset: step;
}

.page-home .path-steps li {
  position: relative;
  counter-increment: step;
  padding-left: 24px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--steel);
}

.page-home .path-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.12em;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--cyan);
}

.page-home .path-more {
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  text-decoration: none;
}

.page-home .path-more::after {
  content: " →";
}

.page-home .path-more:hover {
  color: var(--orange);
}

/* ---------- 会员 ---------- */
.page-home .tiers-wall {
  position: relative;
  margin-top: 28px;
  isolation: isolate;
}

.page-home .tiers-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: saturate(0.75) contrast(1.1);
  pointer-events: none;
  z-index: 0;
}

.page-home .tiers {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--gap);
}

.page-home .tier-card {
  padding: 22px 20px;
  background: rgba(15, 37, 68, 0.86);
  border: 1px solid var(--edge);
  clip-path: var(--home-cut);
}

.page-home .tier-card--mid {
  border-color: rgba(0, 229, 255, 0.45);
  background: linear-gradient(160deg, rgba(0, 229, 255, 0.14), rgba(15, 37, 68, 0.92) 58%);
}

.page-home .tier-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
  color: var(--fog);
}

.page-home .tier-tag {
  margin: 6px 0 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.page-home .tier-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .tier-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--edge);
}

.page-home .tier-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-home .tier-key {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--metal);
}

.page-home .tier-val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--fog);
}

/* ---------- 规模与状态 ---------- */
.page-home .stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 28px;
}

.page-home .stat {
  padding: 16px 0 0;
  border-top: 2px solid var(--edge);
}

.page-home .stat-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(34px, 7vw, 54px);
  line-height: 1;
  color: var(--cyan);
  letter-spacing: -0.01em;
}

.page-home .stat-num--orange {
  color: var(--orange);
}

.page-home .stat-unit {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--metal);
}

.page-home .stat-label {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .ticker {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 30px;
}

.page-home .ticker rect {
  fill: var(--edge);
}

.page-home .ticker rect:nth-child(-n + 7) {
  fill: var(--cyan);
  opacity: 0.85;
}

.page-home .ticker rect:nth-child(8),
.page-home .ticker rect:nth-child(9) {
  fill: var(--amber);
  opacity: 0.8;
}

.page-home .run-strip {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--cyan);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.09), transparent 72%);
}

.page-home .run-line {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--fog);
}

.page-home .run-line--soft {
  margin-top: 8px;
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.85;
  color: var(--metal);
}

/* ---------- 收束行动 ---------- */
.page-home .cta {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.page-home .cta-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border: 1px solid var(--edge);
  background: linear-gradient(150deg, rgba(0, 229, 255, 0.1), rgba(11, 26, 47, 0.6) 62%);
  clip-path: var(--home-cut);
}

.page-home .cta-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  color: var(--fog);
}

.page-home .cta-item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--steel);
}

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

.page-home .start-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--edge);
}

.page-home .top-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  text-decoration: none;
  white-space: nowrap;
}

.page-home .top-link::before {
  content: "↑ ";
}

.page-home .start-note {
  margin: 0;
  flex: 1 1 260px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--metal);
}

/* ---------- 断点 ---------- */
@media (min-width: 480px) {
  .page-home .timeline li {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 4px 16px;
    align-items: baseline;
  }

  .page-home .t-stamp {
    padding-top: 2px;
  }
}

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

  .page-home .vs-row {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: baseline;
  }

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

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
    gap: calc(var(--gap) * 1.6);
  }

  .page-home .console-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: calc(var(--gap) * 1.2);
  }

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

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

@media (min-width: 1100px) {
  .page-home .board .wrap {
    position: relative;
  }

  .page-home .board-rail {
    display: block;
    position: absolute;
    left: -30px;
    top: 4px;
  }

  .page-home .console-grid {
    grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .chapter-index a,
  .page-home .path-card,
  .page-home .vs-label {
    transition: none;
  }

  .page-home .chapter-index a:hover,
  .page-home .chapter-index a:focus-visible,
  .page-home .path-card:hover {
    transform: none;
  }
}
