.page-home {
  --home-edge: rgba(62, 107, 90, 0.5);
  --home-line: rgba(44, 242, 208, 0.24);
  --home-card: #0B1712;
  --home-card-2: #101A16;
  background:
    radial-gradient(120% 58% at 80% -8%, rgba(44, 242, 208, 0.1), transparent 62%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink) 48%, var(--ink-deep) 100%);
  color: var(--nearwhite);
  font-family: var(--font-body);
  overflow-x: clip;
  padding-bottom: clamp(36px, 6vw, 88px);
}

.page-home .home-crumbs {
  padding-top: clamp(10px, 2vw, 20px);
}

.page-home .home-crumbs .crumbs {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--slate);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 4vw, 40px);
  padding-top: clamp(18px, 3vw, 34px);
  isolation: isolate;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    transparent 47.6%,
    var(--home-line) 47.75%,
    rgba(44, 242, 208, 0.05) 48%,
    transparent 48.45%
  );
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.page-home .hero-lead,
.page-home .hero-board {
  position: relative;
  z-index: 1;
}

.page-home .hero-lead h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.05rem, 7.2vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
  color: var(--nearwhite);
  text-wrap: balance;
}

.page-home .hero-lede {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.4vw, 1.16rem);
  line-height: 1.65;
  color: rgba(234, 242, 236, 0.82);
  margin: 16px 0 0;
  max-width: 34em;
}

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

.page-home .hero-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--fog-dim);
}

.page-home .hero-index a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 0;
  color: rgba(234, 242, 236, 0.78);
  font-size: 0.86rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .hero-index a span {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.7rem;
  color: var(--cyan);
}

.page-home .hero-index a:hover,
.page-home .hero-index a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* 赛程面板 */
.page-home .hero-board {
  background: linear-gradient(170deg, rgba(18, 22, 20, 0.98), rgba(7, 17, 13, 0.98));
  border: 1px solid var(--home-edge);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.page-home .board-visual {
  position: relative;
  height: clamp(140px, 26vw, 186px);
}

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

.page-home .board-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 13, 0.1) 0%, rgba(7, 17, 13, 0.55) 52%, rgba(7, 17, 13, 0.97) 100%);
}

.page-home .board-visual-text {
  position: absolute;
  left: clamp(14px, 2.6vw, 22px);
  right: clamp(14px, 2.6vw, 22px);
  bottom: 12px;
  z-index: 1;
}

.page-home .board-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
}

.page-home .board-title {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.02rem, 2.8vw, 1.32rem);
  line-height: 1.2;
  color: var(--nearwhite);
}

.page-home .board-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px clamp(14px, 2.6vw, 22px);
  border-bottom: 1px dashed var(--fog-dim);
}

.page-home .board-date {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.86rem;
  color: var(--amber);
  letter-spacing: 0.04em;
}

.page-home .board-count {
  margin-left: auto;
  font-size: 0.74rem;
  color: var(--slate);
}

.page-home .board-list {
  list-style: none;
  margin: 0;
  padding: 4px clamp(14px, 2.6vw, 22px) 8px;
}

.page-home .board-row {
  display: grid;
  grid-template-columns: 3.9rem minmax(0, 1fr);
  gap: 4px 10px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(62, 107, 90, 0.32);
}

.page-home .board-row:last-child {
  border-bottom: 0;
}

.page-home .row-time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  color: var(--amber);
  letter-spacing: 0.02em;
}

.page-home .row-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  min-width: 0;
}

.page-home .row-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  color: var(--nearwhite);
}

.page-home .row-round {
  font-size: 0.76rem;
  color: var(--slate);
}

.page-home .row-tag {
  grid-column: 2;
  justify-self: start;
  font-size: 0.68rem;
}

.page-home .board-spot {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  border-top: 1px solid var(--home-edge);
  background: rgba(44, 242, 208, 0.045);
}

.page-home .board-spot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.page-home .board-spot-text {
  padding: 14px clamp(14px, 2.6vw, 20px);
}

.page-home .spot-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--amber);
  text-transform: uppercase;
}

.page-home .spot-text {
  margin: 6px 0 8px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(234, 242, 236, 0.78);
}

.page-home .spot-link {
  font-size: 0.8rem;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 242, 208, 0.45);
}

.page-home .spot-link:hover,
.page-home .spot-link:focus-visible {
  border-bottom-color: var(--cyan);
}

/* ---------- 通用章节头 ---------- */
.page-home .section-head {
  max-width: 44rem;
}

.page-home .section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 5vw, 2.5rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 10px 0 0;
  color: var(--nearwhite);
  text-wrap: balance;
}

.page-home .section-lede {
  font-family: var(--font-serif);
  font-size: clamp(0.98rem, 2.3vw, 1.08rem);
  line-height: 1.65;
  color: rgba(234, 242, 236, 0.76);
  margin: 12px 0 0;
}

/* ---------- 两条入口 ---------- */
.page-home .home-routes {
  padding-top: clamp(44px, 8vw, 96px);
}

.page-home .route-deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: clamp(20px, 3.4vw, 34px);
}

.page-home .route-card {
  position: relative;
  padding: clamp(18px, 3vw, 30px);
  border-radius: var(--radius-l);
}

.page-home .route-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.14rem, 3.4vw, 1.5rem);
  line-height: 1.2;
  margin: 8px 0 0;
}

.page-home .route-text {
  margin: 12px 0 0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.page-home .route-num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-home .route-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
  margin: 16px 0 0;
  padding: 0;
  font-size: 0.84rem;
}

.page-home .route-points li {
  position: relative;
  padding-left: 12px;
  line-height: 1.5;
}

.page-home .route-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--cyan);
}

.page-home .route-card .btn {
  margin-top: 20px;
}

.page-home .route-back {
  margin: 12px 0 0;
  font-size: 0.76rem;
  line-height: 1.55;
  opacity: 0.72;
}

/* 纸质新手卡 */
.page-home .route-card--paper {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(7, 17, 13, 0.12);
  box-shadow: var(--shadow-panel);
}

.page-home .route-card--paper img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-m);
  margin-bottom: 18px;
}

.page-home .route-card--paper .route-num {
  color: rgba(7, 17, 13, 0.55);
}

.page-home .route-card--paper .route-text {
  color: rgba(7, 17, 13, 0.8);
}

.page-home .route-card--paper .route-points li::before {
  background: var(--gold);
}

.page-home .route-card--paper .route-back {
  color: rgba(7, 17, 13, 0.6);
}

/* 深色客户端卡 */
.page-home .route-card--ink {
  background: linear-gradient(158deg, var(--home-card-2), var(--home-card));
  border: 1px solid var(--home-edge);
  box-shadow: var(--shadow-panel);
}

.page-home .route-card--ink .route-num {
  color: var(--cyan);
}

.page-home .route-text {
  color: rgba(234, 242, 236, 0.8);
}

.page-home .route-points--ink li {
  color: rgba(234, 242, 236, 0.86);
}

.page-home .route-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.page-home .route-actions .btn {
  margin-top: 0;
}

.page-home .route-minor {
  font-size: 0.82rem;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 179, 71, 0.42);
}

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

/* ---------- 旧版目录 ---------- */
.page-home .home-archive {
  padding-top: clamp(44px, 8vw, 96px);
}

.page-home .archive-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  margin-top: clamp(20px, 3.4vw, 34px);
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--home-edge);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-m);
  background: linear-gradient(120deg, rgba(255, 179, 71, 0.08), rgba(7, 17, 13, 0.4) 46%, rgba(7, 17, 13, 0.9));
}

.page-home .archive-intro p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(234, 242, 236, 0.82);
}

.page-home .archive-intro .btn {
  margin-top: 18px;
}

.page-home .archive-minor {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 242, 208, 0.4);
}

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

.page-home .archive-folds {
  border-top: 1px solid var(--fog-dim);
}

.page-home .archive-fold {
  border-bottom: 1px solid var(--fog-dim);
}

.page-home .archive-fold summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--nearwhite);
}

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

.page-home .archive-fold summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--amber);
  line-height: 1;
}

.page-home .archive-fold[open] summary::after {
  content: "−";
  color: var(--cyan);
}

.page-home .archive-fold summary span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--slate);
  font-weight: 500;
}

.page-home .archive-fold p {
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(234, 242, 236, 0.74);
}

/* ---------- 名单变动提示带 ---------- */
.page-home .home-lineup {
  margin-top: clamp(44px, 8vw, 96px);
  border-top: 2px solid rgba(255, 77, 126, 0.62);
  border-bottom: 1px solid rgba(255, 77, 126, 0.26);
  background: linear-gradient(100deg, rgba(255, 77, 126, 0.13), rgba(7, 17, 13, 0) 66%);
}

.page-home .lineup-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding-top: clamp(24px, 4vw, 46px);
  padding-bottom: clamp(24px, 4vw, 46px);
}

.page-home .lineup-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.42rem, 4.6vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 10px 0 0;
  color: var(--nearwhite);
}

.page-home .lineup-copy p {
  margin: 12px 0 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: rgba(234, 242, 236, 0.8);
}

.page-home .lineup-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
}

.page-home .lineup-points li {
  padding: 5px 11px;
  border: 1px solid rgba(255, 77, 126, 0.54);
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--rose);
}

.page-home .lineup-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 242, 208, 0.45);
}

.page-home .lineup-link:hover,
.page-home .lineup-link:focus-visible {
  border-bottom-color: var(--cyan);
}

.page-home .lineup-inner img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-radius: var(--radius-m);
  border: 1px solid rgba(255, 77, 126, 0.3);
}

/* ---------- 品牌信任 ---------- */
.page-home .home-trust {
  padding-top: clamp(44px, 8vw, 96px);
}

.page-home .trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 4vw, 46px);
  margin-top: clamp(22px, 3.6vw, 38px);
}

.page-home .trust-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.page-home .stat {
  padding-left: 12px;
  border-left: 2px solid rgba(44, 242, 208, 0.42);
}

.page-home .stat-num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.18rem, 3.6vw, 1.62rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--amber);
}

.page-home .stat-label {
  display: block;
  margin-top: 5px;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--slate);
}

.page-home .trust-body p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(234, 242, 236, 0.8);
}

.page-home .trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--fog-dim);
}

.page-home .trust-links a {
  font-size: 0.86rem;
  color: var(--nearwhite);
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 242, 208, 0.4);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.page-home .trust-links a:hover,
.page-home .trust-links a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .row-tag {
    grid-column: auto;
    justify-self: end;
  }

  .page-home .board-row {
    grid-template-columns: 4.4rem minmax(0, 1fr) auto;
    align-items: center;
  }

  .page-home .board-spot {
    grid-template-columns: 150px minmax(0, 1fr);
  }

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

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

@media (min-width: 900px) {
  .page-home .route-deck {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 3vw, 42px);
    align-items: start;
  }

  .page-home .route-card--ink {
    margin-top: 56px;
  }

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

  .page-home .archive-shell {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
  }

  .page-home .lineup-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(28px, 4vw, 58px);
  }

  .page-home .trust-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(30px, 4vw, 64px);
    align-items: start;
  }

  .page-home .home-hero::before {
    opacity: 1;
  }

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

  .page-home .board-visual {
    height: 200px;
  }

  .page-home .board-spot {
    grid-template-columns: 40% minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-index a,
  .page-home .trust-links a {
    transition: none;
  }
}
