.page-home {
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

/* ============ 首屏拼贴 ============ */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding-top: 28px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 82% 0%, rgba(53, 229, 208, 0.09), transparent 62%),
    radial-gradient(90% 70% at 0% 100%, rgba(127, 211, 242, 0.08), transparent 62%),
    var(--bg);
}

.page-home .hero-aura {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(0.65);
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 22, 38, 0.42) 0%, rgba(11, 22, 38, 0.84) 64%, var(--bg) 100%);
  pointer-events: none;
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
}

.page-home .hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 26px;
}

.page-home .hero-grid > * {
  background: rgba(18, 26, 36, 0.92);
}

.page-home .hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 20px;
}

.page-home .hero-copy h1 {
  margin: 0;
  font-size: clamp(29px, 7.6vw, 48px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home .hero-copy .lede {
  margin: 0;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--soft);
}

.page-home .hero-actions {
  margin-top: 2px;
}

.page-home .hero-period {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 20px;
  background:
    linear-gradient(150deg, rgba(53, 229, 208, 0.08), transparent 58%),
    rgba(18, 26, 36, 0.92);
}

.page-home .period-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.page-home .period-num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(38px, 12vw, 72px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.page-home .period-time {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ice);
}

.page-home .period-live {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: var(--soft);
}

.page-home .hero-latest {
  padding: 22px 20px;
}

.page-home .latest-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.page-home .latest-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 14px 0 0;
  padding: 0;
  background: var(--line-dim);
  border: 1px solid var(--line-dim);
}

.page-home .latest-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(14, 23, 36, 0.94);
}

.page-home .latest-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--soft);
}

.page-home .latest-val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--ice);
}

.page-home .latest-list li:first-child .latest-val {
  color: var(--gold);
}

.page-home .latest-note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ============ 规模数据带 ============ */
.page-home .facts-strip {
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}

.page-home .facts-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.page-home .facts-inner p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--soft);
}

.page-home .facts-num {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gold);
}

/* ============ 章节索引 ============ */
.page-home .home-index {
  border-bottom: 1px solid var(--line);
  background: rgba(18, 26, 36, 0.65);
}

.page-home .home-index .wrap {
  display: flex;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .home-index .wrap::-webkit-scrollbar {
  display: none;
}

.page-home .home-index a {
  flex: 0 0 auto;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

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

/* ============ 章节骨架 ============ */
.page-home .chapter {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .chapter:last-of-type {
  border-bottom: 0;
}

.page-home .chapter-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.page-home .chapter-num {
  position: relative;
  margin: 0;
  padding-left: 46px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.page-home .chapter-num::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.page-home .chapter-title {
  margin: 0;
  font-size: clamp(24px, 5.4vw, 34px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home .chapter-head .lede {
  margin: 0;
  max-width: 64ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--soft);
}

.page-home .chapter a:not(.btn) {
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.page-home .chapter a:not(.btn):hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* ============ 01 冷热分布 ============ */
.page-home .window-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.page-home .window-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .win {
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  color: var(--ink);
}

.page-home .window-hint {
  flex: 1 1 240px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .temp-grid {
  display: grid;
  gap: 1px;
  margin-top: 20px;
  border: 1px solid var(--line);
  background: var(--line);
}

.page-home .temp-grid > * {
  background: var(--panel);
}

.page-home .temp-figure {
  margin: 0;
  background: var(--panel-2);
}

.page-home .temp-figure img,
.page-home .omission-figure img,
.page-home .mobile-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .temp-figure .media-caption,
.page-home .omission-figure .media-caption {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--soft);
  border-top: 1px solid var(--line);
}

.page-home .temp-notes {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 20px;
}

.page-home .temp-note {
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
}

.page-home .temp-note-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ice);
}

.page-home .temp-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--soft);
}

.page-home .temp-notes .btn {
  align-self: flex-start;
  margin-top: 2px;
}

/* ============ 02 遗漏走势 ============ */
.page-home .omission-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.page-home .omission-grid > * {
  background: var(--panel);
}

.page-home .omission-list {
  display: flex;
  flex-direction: column;
}

.page-home .omission-card {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  transition: background 240ms var(--ease);
}

.page-home .omission-card:last-child {
  border-bottom: 0;
}

.page-home .omission-card:hover {
  background: rgba(127, 211, 242, 0.05);
}

.page-home .omission-tag {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--hot);
}

.page-home .omission-card:nth-child(2) .omission-tag {
  color: var(--ice);
}

.page-home .omission-card:nth-child(3) .omission-tag {
  color: var(--gold);
}

.page-home .omission-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--soft);
}

.page-home .omission-figure {
  margin: 0;
  background: var(--panel-2);
}

.page-home .omission-foot {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ============ 03 手机查号 ============ */
.page-home .mobile-grid {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.page-home .mobile-grid > * {
  background: var(--panel);
}

.page-home .mobile-figure {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 18px 18px 0;
  background:
    linear-gradient(180deg, rgba(127, 211, 242, 0.07), transparent 70%),
    var(--panel-2);
}

.page-home .mobile-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 22px 20px;
}

.page-home .mobile-steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.page-home .step-num {
  padding: 4px 8px;
  border: 1px solid rgba(232, 180, 87, 0.35);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-home .mobile-steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--soft);
}

/* ============ 04 直达入口 ============ */
.page-home .entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.page-home .entry-card {
  display: block;
  padding: 22px 20px;
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  transition: background 240ms var(--ease), box-shadow 240ms var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  background: #16202e;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

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

.page-home .entry-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .entry-card p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--soft);
}

.page-home .entry-foot {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

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

  .page-home .hero-copy {
    grid-column: 1 / span 7;
    padding: 40px 34px;
  }

  .page-home .hero-period {
    grid-column: 8 / span 5;
    padding: 34px 30px;
    justify-content: center;
  }

  .page-home .hero-latest {
    grid-column: 1 / span 12;
    padding: 26px 34px 30px;
  }

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

  .page-home .facts-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .page-home .temp-grid {
    grid-template-columns: 1.4fr 1fr;
  }

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

  .page-home .mobile-grid {
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .page-home .mobile-figure {
    max-width: none;
    margin: 0;
    padding: 26px 26px 0;
  }

  .page-home .mobile-steps {
    justify-content: center;
    padding: 34px 30px;
  }

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

  .page-home .chapter {
    padding: 64px 0;
  }

  .page-home .chapter-head {
    margin-bottom: 30px;
  }
}

@media (min-width: 1080px) {
  .page-home .hero {
    padding-top: 40px;
  }

  .page-home .hero-copy {
    padding: 52px 44px;
  }

  .page-home .hero-period {
    padding: 40px 36px;
  }

  .page-home .hero-latest {
    padding: 28px 44px 32px;
  }

  .page-home .temp-notes {
    padding: 28px 26px;
  }

  .page-home .omission-card {
    padding: 22px 24px;
  }

  .page-home .entry-card {
    padding: 28px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-card,
  .page-home .omission-card,
  .page-home .home-index a {
    transition: none;
  }
}
