/* ============================================================
   page-home · 赛事首页
   ============================================================ */

.page-home {
  --home-pad: clamp(56px, 8vw, 112px);
  --home-accent-line: 1px;
  position: relative;
  display: block;
  background: var(--ink);
  color: var(--text);
  overflow-x: clip;
}

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

.page-home .hero {
  position: relative;
  padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 96px);
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(72, 240, 208, 0.10) 0%, transparent 55%),
    linear-gradient(160deg, var(--ink) 0%, var(--night) 68%, var(--charcoal) 100%);
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

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

.page-home .hero-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(16px, 3vw, 24px);
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--line);
  border-radius: 3px 14px 3px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: rgba(10, 26, 47, 0.5);
}

.page-home .hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(72, 240, 208, 0.16);
  flex: none;
}

.page-home h1 {
  margin: 0 0 clamp(16px, 3vw, 26px);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 6.4vw, 78px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--cream);
}

.page-home .hero-lede {
  margin: 0 0 clamp(24px, 4vw, 36px);
  max-width: 34em;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: var(--silver);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.page-home .hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.page-home .hero-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-home .hero-fact-num {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-home .hero-fact-cap {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
}

.page-home .hero-visual {
  position: relative;
  min-height: 340px;
  border-radius: 4px 20px 4px 20px;
  overflow: hidden;
  background: var(--charcoal);
  isolation: isolate;
}

.page-home .hero-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.85) contrast(1.05);
}

.page-home .hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(10, 26, 47, 0.1) 0%, rgba(11, 43, 38, 0.82) 58%, rgba(11, 43, 38, 0.96) 100%);
  pointer-events: none;
}

.page-home .hero-board {
  position: absolute;
  left: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 2;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid rgba(72, 240, 208, 0.28);
  border-radius: 3px 14px 3px 14px;
  background: rgba(10, 26, 47, 0.82);
  backdrop-filter: blur(6px);
}

.page-home .board-label {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .board-num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.page-home .board-cap {
  margin: 4px 0 14px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-dim);
}

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

.page-home .board-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}

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

.page-home .board-k {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-dim);
}

.page-home .board-v {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  white-space: nowrap;
}

.page-home .board-badge {
  position: absolute;
  top: clamp(14px, 2.4vw, 22px);
  right: clamp(14px, 2.4vw, 22px);
  z-index: 2;
  padding: 5px 11px;
  border-radius: 2px 10px 2px 10px;
  background: var(--orange);
  color: var(--charcoal);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* ---------- 通用章节基调 ---------- */

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

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

.page-home .sched-inner {
  position: relative;
  z-index: 1;
}

.page-home h2 {
  margin: 0 0 clamp(14px, 2vw, 20px);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
}

.page-home .sched-lede,
.page-home .lineup-lede,
.page-home .household-lede,
.page-home .trust-lede {
  margin: 0 0 clamp(28px, 4vw, 44px);
  max-width: 46em;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  color: var(--silver);
}

/* ---------- 赛程时间轴 ---------- */

.page-home .sched-track {
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  display: grid;
  gap: 2px;
  position: relative;
  border-left: 1px solid var(--line);
}

.page-home .sched-node {
  position: relative;
  padding: 18px 18px 18px 20px;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0 14px 14px 0;
  transition: background-color 220ms var(--ease), transform 220ms var(--ease);
}

.page-home .sched-node::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 26px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(72, 240, 208, 0.1);
  transition: background-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.page-home .sched-node:hover,
.page-home .sched-node:focus-within {
  background: rgba(42, 35, 80, 0.34);
  transform: translateX(4px);
}

.page-home .sched-node:hover::before,
.page-home .sched-node:focus-within::before {
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(72, 240, 208, 0.18);
}

.page-home .node-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.page-home .node-round {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.page-home .node-match {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
}

.page-home .sched-node .data-line {
  margin: 0 0 4px;
  font-size: 13px;
}

.page-home .node-ver {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--sage);
}

.page-home .sched-foot,
.page-home .lineup-foot,
.page-home .household-foot {
  margin: clamp(28px, 4vw, 40px) 0 0;
  max-width: 50em;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-dim);
}

.page-home .sched-foot a,
.page-home .lineup-foot a,
.page-home .household-foot a,
.page-home .trust-close-text a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(72, 240, 208, 0.4);
  transition: border-color 220ms var(--ease), color 220ms var(--ease);
}

.page-home .sched-foot a:hover,
.page-home .sched-foot a:focus-visible,
.page-home .lineup-foot a:hover,
.page-home .lineup-foot a:focus-visible,
.page-home .household-foot a:hover,
.page-home .household-foot a:focus-visible,
.page-home .trust-close-text a:hover,
.page-home .trust-close-text a:focus-visible {
  border-bottom-color: var(--cyan);
}

/* ---------- 阵容卡片堆叠 ---------- */

.page-home .lineup {
  background: linear-gradient(180deg, var(--ink) 0%, var(--night) 42%, var(--night) 100%);
}

.page-home .lineup-stack {
  display: grid;
  gap: 18px;
}

.page-home .lineup-card {
  position: relative;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 3px 16px 3px 16px;
  background: rgba(18, 23, 26, 0.78);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), background-color 220ms var(--ease);
}

.page-home .lineup-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--cyan), rgba(72, 240, 208, 0));
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.page-home .lineup-card:hover,
.page-home .lineup-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(72, 240, 208, 0.42);
  background: rgba(18, 23, 26, 0.94);
}

.page-home .lineup-card:hover::after,
.page-home .lineup-card:focus-within::after {
  opacity: 1;
}

.page-home .card-meta {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--sage);
}

.page-home .card-ver {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dim);
}

.page-home .card-ver-num {
  display: inline-block;
  margin-right: 6px;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.page-home .lineup-card .data-line {
  margin: 0 0 12px;
  font-size: 13px;
}

.page-home .card-note {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--silver);
}

.page-home .lineup-figure {
  margin: 0;
  position: relative;
  border-radius: 3px 20px 3px 20px;
  overflow: hidden;
  background: var(--charcoal);
}

.page-home .lineup-figure img {
  display: block;
  width: 100%;
  height: clamp(220px, 40vw, 340px);
  object-fit: cover;
  filter: saturate(0.9);
}

.page-home .lineup-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cream);
  background: linear-gradient(0deg, rgba(11, 43, 38, 0.92), rgba(11, 43, 38, 0));
}

/* ---------- 家庭回看动线 ---------- */

.page-home .household {
  background: linear-gradient(180deg, var(--night) 0%, var(--indigo) 100%);
}

.page-home .household-figure {
  margin: 0 0 clamp(28px, 4vw, 40px);
  border-radius: 4px 20px 4px 20px;
  overflow: hidden;
  position: relative;
  background: var(--charcoal);
}

.page-home .household-figure img {
  display: block;
  width: 100%;
  height: clamp(200px, 34vw, 320px);
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.92) brightness(0.9);
}

.page-home .household-figure figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 2px 10px 2px 10px;
  background: rgba(11, 43, 38, 0.86);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.page-home .route {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  counter-reset: none;
}

.page-home .route-step {
  position: relative;
  padding: 20px 0 20px 40px;
  border-top: 1px solid var(--line-soft);
  transition: background-color 220ms var(--ease);
}

.page-home .route-step:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.page-home .route-step::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.page-home .route-step::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 26px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--indigo);
  border: 2px solid var(--silver);
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.page-home .route-step:hover,
.page-home .route-step:focus-within {
  background: rgba(72, 240, 208, 0.06);
}

.page-home .route-step:hover::after,
.page-home .route-step:focus-within::after {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 138, 61, 0.18);
}

.page-home .route-idx {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.page-home .route-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-home .route-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--silver);
}

/* ---------- 新手三步 ---------- */

.page-home .start {
  background: var(--ink);
}

.page-home .starter {
  list-style: none;
  margin: 0 0 clamp(28px, 4vw, 40px);
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .starter-item {
  position: relative;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px) clamp(20px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 3px 16px 3px 16px;
  background: linear-gradient(150deg, rgba(42, 35, 80, 0.28), rgba(11, 43, 38, 0.5));
  transition: transform 220ms var(--ease), border-color 220ms var(--ease);
}

.page-home .starter-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 138, 61, 0.4);
}

.page-home .starter-idx {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .starter-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-home .starter-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.85;
  color: var(--silver);
}

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

/* ---------- 信任区 ---------- */

.page-home .trust {
  background: linear-gradient(180deg, var(--ink) 0%, var(--night) 100%);
}

.page-home .trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(26px, 3.5vw, 38px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px 16px 3px 16px;
  overflow: hidden;
}

.page-home .trust-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(18px, 2.6vw, 26px);
  background: var(--charcoal);
}

.page-home .trust-num {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-home .trust-cap {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-dim);
}

.page-home .trust-note {
  margin: 0 0 clamp(28px, 4vw, 40px);
  max-width: 52em;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--silver);
}

.page-home .trust-close {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 4px 20px 4px 20px;
  border: 1px solid rgba(255, 138, 61, 0.28);
  background: linear-gradient(135deg, rgba(107, 30, 46, 0.4), rgba(42, 35, 80, 0.5));
}

.page-home .trust-close-text h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -0.01em;
  color: var(--cream);
}

.page-home .trust-close-text p {
  margin: 0;
  max-width: 48em;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.9;
  color: var(--silver);
}

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

.page-home .trust-legal {
  margin: clamp(24px, 3vw, 34px) 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--sage);
}

/* ---------- 章节索引轨道 ---------- */

.page-home .toc-rail {
  display: none;
}

/* ---------- 焦点反馈 ---------- */

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

/* ============================================================
   媒体查询
   ============================================================ */

@media (min-width: 620px) {
  .page-home .lineup-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .lineup-figure {
    grid-column: span 2;
  }

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

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

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

  .page-home .route-step {
    padding-left: 34px;
  }

  .page-home .route-step:nth-child(odd) {
    padding-right: 24px;
  }

  .page-home .trust-close {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .page-home .trust-close-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 900px) {
  .page-home .hero {
    padding-block: clamp(48px, 6vw, 88px) clamp(64px, 7vw, 112px);
  }

  .page-home .hero-grid {
    grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: stretch;
  }

  .page-home .hero-visual {
    min-height: 560px;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-home .hero-img {
    min-height: 560px;
  }

  .page-home .hero-board {
    left: clamp(48px, 5vw, 72px);
  }

  .page-home .sched-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    padding-left: 34px;
  }

  .page-home .sched-node::before {
    left: -40px;
  }

  .page-home .lineup-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
  }

  .page-home .lineup-figure {
    grid-column: span 1;
    grid-row: span 2;
    align-self: stretch;
  }

  .page-home .lineup-figure img {
    height: 100%;
    min-height: 380px;
  }

  .page-home .lineup-card--offset {
    transform: translateY(26px);
  }

  .page-home .lineup-card--offset:hover,
  .page-home .lineup-card--offset:focus-within {
    transform: translateY(22px);
  }

  .page-home .route {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 26px;
    border-top: 1px solid var(--line-soft);
    padding-top: 26px;
  }

  .page-home .route-step {
    border-top: 0;
    border-bottom: 0;
    padding: 0;
  }

  .page-home .route-step::before {
    display: none;
  }

  .page-home .route-step::after {
    position: static;
    display: block;
    margin-bottom: 14px;
  }

  .page-home .toc-rail {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    padding: 14px 10px;
    border-radius: 3px 14px 3px 14px;
    background: rgba(11, 43, 38, 0.72);
    border: 1px solid var(--line-soft);
    backdrop-filter: blur(6px);
  }

  .page-home .toc-rail a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--sage);
    text-decoration: none;
    transition: color 220ms var(--ease), transform 220ms var(--ease);
  }

  .page-home .toc-rail a span {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.1em;
    opacity: 0.7;
  }

  .page-home .toc-rail a:hover,
  .page-home .toc-rail a:focus-visible,
  .page-home .toc-rail a.is-active {
    color: var(--cyan);
    transform: translateX(-2px);
  }
}

@media (min-width: 1180px) {
  .page-home .toc-rail {
    right: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .sched-node,
  .page-home .lineup-card,
  .page-home .starter-item,
  .page-home .toc-rail a {
    transition: none;
  }
}
</PAGE_CSS>>
