.page-home {
  --home-gap: 16px;
  color: var(--ink);
  font-family: var(--font-body);
  padding-bottom: 56px;
}

.page-home .home-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0 2px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-home .mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  padding: 6px 0 44px;
}

.page-home .hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--indigo);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
}

.page-home .hero-title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(31px, 6.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--indigo-deep);
}

.page-home .hero-lead {
  margin: 16px 0 0;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink);
}

/* 频次条 */
.page-home .entry-strip {
  position: relative;
  margin-top: 26px;
  padding: 14px 14px 16px;
  background: var(--cream);
  border: 1.5px solid var(--indigo-deep);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.page-home .entry-strip-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--muted);
}

.page-home .entry-strip-label b {
  color: var(--red);
  font-weight: 700;
  letter-spacing: .1em;
}

.page-home .entry-list {
  list-style: none;
  margin: 0;
  padding: 0 0 4px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.page-home .entry-list > li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.page-home .entry-link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 148px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1.5px solid var(--paper-2);
  color: var(--indigo-deep);
  text-decoration: none;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.page-home .entry-link:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  background: var(--cream);
}

.page-home .entry-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.page-home .entry-rank {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--red);
}

.page-home .entry-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}

.page-home .entry-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.page-home .entry-tip {
  display: none;
}

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

.page-home .collage-main {
  position: relative;
  margin: 0;
  min-height: 250px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--indigo), var(--red-deep));
}

.page-home .collage-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
}

.page-home .collage-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(30, 63, 158, .55), rgba(201, 58, 46, .28) 55%, rgba(134, 28, 24, .68));
  pointer-events: none;
}

.page-home .collage-main figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .04em;
  color: var(--cream);
}

.page-home .collage-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  background: var(--cream);
  border: 1.5px solid var(--paper-2);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  transition: transform .12s ease, border-color .12s ease;
}

.page-home .collage-cell:hover {
  transform: translateY(-3px);
  border-color: var(--indigo);
}

.page-home .cell-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--red);
}

.page-home .cell-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--indigo-deep);
}

.page-home .cell-text {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .cell-c .cell-num {
  color: var(--red-deep);
}

.page-home .cell-d .cell-num {
  color: var(--green-deep);
}

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

.page-home .section-head {
  margin-bottom: 20px;
}

.page-home .section-index {
  display: block;
  margin-left: -4px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(40px, 8vw, 78px);
  line-height: .85;
  color: var(--indigo);
  opacity: .18;
}

.page-home .section-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 4vw, 36px);
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--indigo-deep);
}

.page-home .section-sub {
  margin: 12px 0 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

.page-home .inline-link {
  color: var(--red-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.page-home .inline-link:hover {
  color: var(--indigo);
}

.page-home .inline-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- 小屏路径 ---------- */
.page-home .route-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.page-home .route-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .route-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px 15px;
  background: var(--cream);
  border: 1.5px solid var(--paper-2);
  border-radius: var(--r-md);
}

.page-home .route-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
}

.page-home .step-num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: var(--r-pill);
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-home .note-hand {
  margin: 0;
  font-family: var(--font-hand);
  font-size: 16px;
  line-height: 1.6;
  color: var(--red-deep);
}

.page-home .home-fig {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--paper-2);
  background: var(--paper-2);
}

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

.page-home .home-fig figcaption {
  padding: 8px 12px;
  background: var(--cream);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- 内容中心 ---------- */
.page-home .content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.page-home .ver-panel {
  overflow: hidden;
  background: var(--cream);
  border: 1.5px solid var(--indigo-deep);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.page-home .ver-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(115deg, var(--indigo), var(--red-deep));
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
}

.page-home .ver-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}

.page-home .ver-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: baseline;
  padding: 13px 16px;
  border-bottom: 1px dashed rgba(16, 33, 79, .18);
}

.page-home .ver-item:last-child {
  border-bottom: none;
}

.page-home .ver-no {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--red-deep);
  white-space: nowrap;
}

.page-home .ver-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.68;
}

.page-home .ver-foot {
  padding: 14px 16px 16px;
  border-top: 1.5px solid var(--paper-2);
  background: var(--paper);
}

/* ---------- 改版对照 ---------- */
.page-home .compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.page-home .compare-item {
  padding: 15px 16px 17px;
  background: var(--cream);
  border: 1.5px solid var(--paper-2);
  border-radius: var(--r-md);
}

.page-home .compare-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15.5px;
  color: var(--indigo-deep);
}

.page-home .compare-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.page-home .compare-cell {
  padding: 11px 13px;
  border-radius: var(--r-sm);
  background: var(--paper);
  border: 1px solid rgba(16, 33, 79, .14);
}

.page-home .compare-cell p {
  margin: 7px 0 0;
  font-size: 14px;
  line-height: 1.68;
}

.page-home .compare-cell--before .mono-label {
  color: var(--muted);
}

.page-home .compare-cell--after {
  background: rgba(46, 125, 91, .09);
  border-color: rgba(46, 125, 91, .42);
}

.page-home .compare-cell--after .mono-label {
  color: var(--green-deep);
}

.page-home .compare-arrow {
  justify-self: center;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--gold);
}

.page-home .changed-more {
  margin: 20px 0 0;
  max-width: 60ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 订阅导向 ---------- */
.page-home .sub-card {
  display: grid;
  gap: 10px;
  padding: 20px 18px;
  border-radius: var(--r-lg);
  border: 1.5px dashed var(--gold);
  background: linear-gradient(140deg, rgba(30, 63, 158, .1), rgba(201, 58, 46, .1));
}

.page-home .sub-text {
  margin: 0;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

/* ---------- 收束 ---------- */
.page-home .home-closing {
  padding-top: 40px;
}

.page-home .closing-line {
  margin: 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--indigo-deep);
}

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

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .hero-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .collage-main {
    grid-column: 1 / -1;
    min-height: 300px;
  }

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

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

@media (min-width: 900px) {
  .page-home .entry-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .entry-link {
    min-width: 0;
  }

  .page-home .entry-tip {
    display: block;
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    width: 224px;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    background: var(--indigo-deep);
    color: var(--cream);
    font-size: 12.5px;
    line-height: 1.6;
    letter-spacing: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .12s ease, transform .12s ease, visibility .12s;
    pointer-events: none;
    z-index: 6;
  }

  .page-home .entry-link:hover .entry-tip,
  .page-home .entry-link:focus-visible .entry-tip {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .page-home .hero-collage {
    grid-template-columns: 1.1fr 1.1fr .85fr;
    grid-template-areas:
      "main main cellA"
      "main main cellB"
      "cellC cellD cellD";
    grid-auto-rows: minmax(150px, auto);
  }

  .page-home .collage-main {
    grid-area: main;
    grid-column: auto;
    min-height: 430px;
  }

  .page-home .cell-a { grid-area: cellA; }
  .page-home .cell-b { grid-area: cellB; }
  .page-home .cell-c { grid-area: cellC; margin-top: 28px; }
  .page-home .cell-d { grid-area: cellD; margin-top: 28px; }

  .page-home .cell-num {
    font-size: 30px;
  }

  .page-home .home-section {
    padding: 58px 0;
  }

  .page-home .route-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    grid-template-areas:
      "steps drawer"
      "route route";
  }

  .page-home .route-steps { grid-area: steps; }
  .page-home .note-hand { grid-area: steps; align-self: end; margin-top: 8px; }
  .page-home .drawer-fig { grid-area: drawer; }
  .page-home .route-fig { grid-area: route; }

  .page-home .drawer-fig img {
    max-height: 430px;
  }

  .page-home .route-fig img {
    max-height: 300px;
  }

  .page-home .content-grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 24px;
  }

  .page-home .archive-fig {
    margin-top: 32px;
  }

  .page-home .closing-line {
    font-size: 19px;
  }
}

@media (min-width: 1100px) {
  .page-home .hero-top {
    max-width: 900px;
  }

  .page-home .compare-grid {
    gap: 20px;
  }

  .page-home .compare-item {
    padding: 18px 22px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .entry-link,
  .page-home .collage-cell,
  .page-home .entry-tip {
    transition: none;
  }

  .page-home .entry-link:hover,
  .page-home .collage-cell:hover {
    transform: none;
  }
}
<<<END>>>
