.page-home {
  --home-gap: 10px;
  --home-cut: 20px;
  background: var(--void);
  color: var(--text);
  padding-bottom: 96px;
  overflow-x: hidden;
}

.page-home a {
  color: var(--cyan);
  text-decoration: none;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: calc(var(--header-h) + 36px) 0 48px;
  background:
    radial-gradient(120% 78% at 80% 0%, rgba(79, 240, 220, 0.12), transparent 62%),
    radial-gradient(90% 70% at 6% 100%, rgba(124, 107, 255, 0.12), transparent 64%),
    var(--void);
  overflow: hidden;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(79, 240, 220, 0.035) 0 1px,
    transparent 1px 5px
  );
  pointer-events: none;
}

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

.page-home .hero-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .home-hero h1 {
  margin: 16px 0 16px;
  max-width: 17ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 6.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .hero-lede {
  margin: 0;
  max-width: 54ch;
  font-size: clamp(14px, 1.7vw, 16px);
  line-height: 1.8;
  color: var(--muted);
}

/* 拼贴 */
.page-home .collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin-top: 34px;
}

.page-home .tile {
  position: relative;
  display: flex;
  background: var(--panel);
  border: 1px solid var(--edge);
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, 0 100%);
  overflow: hidden;
  transition: transform 0.34s var(--ease), border-color 0.34s var(--ease);
}

.page-home .tile:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-dim);
}

.page-home .tile--schedule {
  min-height: 340px;
}

.page-home .tile--review:hover {
  border-color: var(--amber);
}

.page-home .tile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.page-home .tile-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  padding: 22px 20px 20px;
  background: linear-gradient(
    180deg,
    rgba(5, 7, 11, 0.28) 0%,
    rgba(5, 7, 11, 0.8) 62%,
    rgba(5, 7, 11, 0.96) 100%
  );
}

.page-home .tile--review .tile-body {
  background: linear-gradient(155deg, rgba(255, 177, 60, 0.14) 0%, rgba(13, 18, 24, 0.96) 58%);
}

.page-home .tile-label {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .tile-num {
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(44px, 8vw, 84px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.page-home .tile--schedule .tile-num {
  color: var(--violet);
}

.page-home .tile--config .tile-num {
  color: var(--cyan);
}

.page-home .tile--review .tile-num {
  color: var(--amber);
}

.page-home .tick-scale {
  display: block;
  width: 100%;
  max-width: 340px;
  height: 46px;
  margin: 10px 0 4px;
}

.page-home .tick-scale rect {
  fill: rgba(124, 107, 255, 0.5);
}

.page-home .tick-scale rect.tick-hot {
  fill: var(--violet);
}

.page-home .tile-foot {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .tile-link {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--edge-soft);
}

.page-home .tile--config .tile-link {
  color: var(--cyan);
}

.page-home .tile--schedule .tile-link {
  color: var(--violet);
}

.page-home .tile--review .tile-link {
  color: var(--amber);
}

/* 章节索引 */
.page-home .hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.page-home .hero-index a {
  padding: 7px 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--edge);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.page-home .hero-index a:hover,
.page-home .hero-index a.is-current {
  color: var(--void);
  background: var(--cyan);
  border-color: var(--cyan);
}

/* ---------- 章节通用 ---------- */
.page-home .home-section {
  padding-top: 74px;
}

.page-home .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--edge);
}

.page-home .section-no {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(38px, 7.4vw, 74px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan-dim);
}

.page-home .section-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(20px, 3.4vw, 33px);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .section-note {
  flex: 1 1 100%;
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .after-note {
  margin: 24px 0 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .go-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--void);
  background: var(--cyan);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background 0.24s var(--ease), transform 0.24s var(--ease), color 0.24s var(--ease);
}

.page-home .go-link::after {
  content: "→";
  font-family: var(--font-mono);
}

.page-home .go-link:hover {
  color: var(--void);
  background: var(--cyan-dim);
  transform: translateY(-2px);
}

.page-home .go-link--amber {
  background: var(--amber);
}

.page-home .go-link--amber:hover {
  background: var(--magenta);
}

/* ---------- 01 时段 ---------- */
.page-home .slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--home-gap);
}

.page-home .slot {
  padding: 18px 16px 20px;
  background: var(--panel);
  border: 1px solid var(--edge);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.page-home .slot--eve {
  background: linear-gradient(160deg, rgba(124, 107, 255, 0.16) 0%, var(--panel) 62%);
  border-color: rgba(124, 107, 255, 0.42);
}

.page-home .slot-time {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-home .slot-name {
  margin: 8px 0 4px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.page-home .slot-count {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--violet);
}

.page-home .slot-bar {
  height: 4px;
  margin-top: 14px;
  background: var(--edge);
  overflow: hidden;
}

.page-home .slot-bar span {
  display: block;
  height: 100%;
  background: var(--violet);
}

.page-home .slot--dawn .slot-bar span { width: 38%; }
.page-home .slot--noon .slot-bar span { width: 56%; }
.page-home .slot--eve .slot-bar span { width: 100%; }
.page-home .slot--night .slot-bar span { width: 50%; }

/* ---------- 02 配置与包体 ---------- */
.page-home .pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
}

.page-home .pair-card {
  padding: 24px 20px 26px;
  background: var(--panel);
  border: 1px solid var(--edge);
  border-top: 3px solid var(--cyan);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.page-home .pair-card--accent {
  border-top-color: var(--amber);
  background: linear-gradient(150deg, rgba(255, 177, 60, 0.1) 0%, var(--panel) 56%);
}

.page-home .pair-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--text);
}

.page-home .pair-text {
  margin: 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .bulk-scale {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 22px 0 22px;
}

.page-home .bulk-bar {
  display: block;
  height: 12px;
  background: var(--cyan);
  opacity: 0.85;
}

.page-home .bulk-bar--a { width: 24%; }
.page-home .bulk-bar--b { width: 46%; }
.page-home .bulk-bar--c { width: 72%; }
.page-home .bulk-bar--d { width: 100%; background: var(--amber); }

.page-home .spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--edge);
}

.page-home .spec-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--edge-soft);
}

.page-home .spec-key {
  font-size: 13px;
  color: var(--muted);
}

.page-home .spec-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

/* ---------- 03 品类 ---------- */
.page-home .genre-figure {
  margin: 0 0 22px;
}

.page-home .genre-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--edge);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  object-fit: cover;
}

.page-home .genre-figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .genre-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--edge-soft);
  border: 1px solid var(--edge);
}

.page-home .genre {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 14px 18px;
  background: var(--panel);
}

.page-home .genre-no {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.page-home .genre-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.page-home .genre-meta {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 04 数据速览 ---------- */
.page-home .stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--edge-soft);
  border: 1px solid var(--edge);
}

.page-home .stat-cell {
  padding: 22px 18px 24px;
  background: var(--panel);
}

.page-home .stat-value {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(38px, 7vw, 62px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--text);
}

.page-home .stat-value--cyan { color: var(--cyan); }
.page-home .stat-value--amber { color: var(--amber); }
.page-home .stat-value--violet { color: var(--violet); }

.page-home .stat-label {
  margin: 12px 0 0;
  max-width: 30ch;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .team-split {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  background: var(--edge-soft);
  border: 1px solid var(--edge);
}

.page-home .team-split li {
  flex: 1 1 130px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  font-size: 12px;
  color: var(--muted);
  background: var(--panel);
}

.page-home .team-split .mono {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .ruler-figure {
  margin: 30px 0 0;
}

.page-home .ruler-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--edge);
  object-fit: cover;
}

/* ---------- 05 厂商协作 ---------- */
.page-home .home-section--publish {
  padding-bottom: 20px;
}

.page-home .step-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--home-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.page-home .step {
  position: relative;
  padding: 20px 18px 22px;
  background: var(--panel);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--violet);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.page-home .step-no {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--violet);
}

.page-home .step-title {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.page-home .step-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .publish-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  margin-top: 26px;
  padding: 22px 20px;
  background: linear-gradient(120deg, rgba(255, 177, 60, 0.12) 0%, rgba(124, 107, 255, 0.1) 100%);
  border: 1px solid var(--edge);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.page-home .publish-note {
  flex: 1 1 320px;
  margin: 0;
  max-width: 58ch;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}

.page-home .publish-note .mono {
  font-family: var(--font-mono);
  color: var(--text);
}

.page-home .publish-cta .go-link {
  margin-top: 0;
}

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

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

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

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

@media (min-width: 940px) {
  .page-home .home-hero {
    padding: calc(var(--header-h) + 56px) 0 60px;
  }

  .page-home .collage {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .page-home .tile--schedule {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
    min-height: 400px;
  }

  .page-home .tile--config {
    grid-column: 5 / 7;
    grid-row: 1 / 2;
  }

  .page-home .tile--review {
    grid-column: 5 / 7;
    grid-row: 2 / 3;
  }

  .page-home .home-section {
    padding-top: 96px;
  }

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

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

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

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