.page-home {
  --home-ink-soft: #4A5F59;
  --home-rule-dark: rgba(11, 31, 26, 0.14);
  background: var(--ink-900);
  color: var(--paper-dim);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home [id] {
  scroll-margin-top: 112px;
}

/* ---------- 上下文 ---------- */
.page-home .home-context {
  padding-top: 16px;
  padding-bottom: 12px;
}

.page-home .home-context-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.page-home .home-context-brand {
  color: var(--cyan);
}

.page-home .home-context-sep {
  color: var(--line);
}

/* ---------- 首屏 ---------- */
.page-home .home-deck {
  padding-bottom: clamp(26px, 4vw, 56px);
  background-image: linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 33.333% 100%;
}

.page-home .home-deck-grid {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.page-home .home-deck-left {
  min-width: 0;
}

.page-home .home-lede {
  margin: 14px 0 20px;
  color: var(--paper-dim);
}

.page-home .home-index {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin-bottom: 20px;
}

.page-home .home-index-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 11px 4px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper-dim);
  text-decoration: none;
  transition: background 0.18s ease, padding-left 0.18s ease;
}

.page-home .home-index-row:hover,
.page-home .home-index-row:focus-visible {
  background: rgba(43, 227, 199, 0.07);
  padding-left: 10px;
}

.page-home .home-index-no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan-dim);
}

.page-home .home-index-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.page-home .home-index-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate);
  white-space: nowrap;
}

.page-home .home-deck-figure {
  margin: 0;
  max-width: 340px;
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: var(--radius);
}

.page-home .home-deck-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: brightness(0.8) saturate(1.05);
}

/* ---------- 积分榜面板 ---------- */
.page-home .board {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(14px, 2vw, 22px);
  background:
    linear-gradient(180deg, var(--ink-800), var(--ink-750));
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.38);
}

.page-home .board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .board-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .board-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-home .board-figure {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  padding: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(11, 31, 26, 0.5);
}

.page-home .board-figure img {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.page-home .board-figure figcaption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}

.page-home .round-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-home .round-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  border: 0;
  clip-path: inset(50%);
  pointer-events: none;
}

.page-home .round-label {
  order: 1;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 46, 38, 0.7);
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.page-home #round-20:checked ~ .round-label[for="round-20"],
.page-home #round-19:checked ~ .round-label[for="round-19"],
.page-home #round-18:checked ~ .round-label[for="round-18"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
  font-weight: 700;
}

.page-home .round-input:focus-visible + .round-label {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .round-panel {
  order: 3;
  flex: 0 0 100%;
  display: none;
  margin-top: 12px;
}

.page-home #round-20:checked ~ .round-panel--20,
.page-home #round-19:checked ~ .round-panel--19,
.page-home #round-18:checked ~ .round-panel--18 {
  display: block;
}

.page-home .board-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .board-table th,
.page-home .board-table td {
  padding: 9px 6px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}

.page-home .board-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-home .board-table tbody tr:hover {
  background: rgba(43, 227, 199, 0.06);
}

.page-home .board-table th.rank {
  width: 40px;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
  color: var(--gold);
}

.page-home .board-table td.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--paper-dim);
}

.page-home .board-table td.pts {
  color: var(--cyan);
  font-weight: 700;
  font-size: 15px;
}

.page-home .delta {
  font-family: var(--font-mono);
  font-size: 12px;
}

.page-home .delta--up {
  color: var(--gold);
}

.page-home .delta--down {
  color: var(--slate);
}

.page-home .delta--flat {
  color: var(--slate);
}

.page-home .board-more {
  margin: 12px 0 0;
  text-align: right;
}

.page-home .board-more a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

/* ---------- 刷新节奏 ---------- */
.page-home .home-refresh {
  padding: clamp(30px, 5vw, 60px) 0;
  background: var(--ink-800);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .home-refresh-grid {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
}

.page-home .home-refresh-main .prose {
  color: var(--paper-dim);
  max-width: 38em;
}

.page-home .readout {
  display: flex;
  flex-wrap: wrap;
  margin: 18px 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 31, 26, 0.55);
}

.page-home .readout-cell {
  flex: 1 1 118px;
  padding: 12px 14px;
  border-right: 1px solid var(--line-soft);
}

.page-home .readout-cell:last-child {
  border-right: 0;
}

.page-home .readout-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.page-home .readout-num {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-home .readout-unit {
  margin-left: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

.page-home .tick-scale {
  position: relative;
  height: 48px;
}

.page-home .tick-scale::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 16px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 13px);
}

.page-home .tick-scale::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 16px;
  width: 93%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-dim), var(--cyan));
}

.page-home .tick-labels {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate);
}

.page-home .tick-labels span:last-child {
  color: var(--cyan);
}

.page-home .home-refresh-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-750);
}

.page-home .home-refresh-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: brightness(0.82) saturate(1.08);
}

.page-home .home-refresh-figure figcaption {
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
  border-top: 1px solid var(--line-soft);
}

/* ---------- 三处入口 ---------- */
.page-home .home-lines {
  padding: clamp(32px, 5vw, 66px) 0;
  background: var(--paper);
  color: var(--ink-900);
}

.page-home .home-lines-head {
  max-width: 44em;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home .home-lines-head .h-section,
.page-home .home-lines-head .prose {
  color: var(--ink-900);
}

.page-home .home-lines-head .prose {
  color: var(--home-ink-soft);
  margin-top: 10px;
}

.page-home .home-lines .eyebrow {
  color: var(--cyan-dim);
}

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

.page-home .line-row {
  border-bottom: 1px solid var(--home-rule-dark);
}

.page-home .line-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "no .page-home go"
    "no count go";
  align-items: center;
  gap: 4px 14px;
  padding: 16px 4px;
  color: inherit;
  text-decoration: none;
  transition: background 0.18s ease, padding-left 0.18s ease;
}

.page-home .line-row:hover .line-link,
.page-home .line-link:focus-visible {
  background: rgba(20, 168, 150, 0.08);
  padding-left: 10px;
}

.page-home .line-no {
  grid-area: no;
  align-self: start;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan-dim);
  padding-top: 5px;
}

.page-home .line-body {
  grid-area: body;
  min-width: 0;
}

.page-home .line-name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.page-home .line-desc {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--home-ink-soft);
}

.page-home .line-note {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--slate);
  opacity: 0.55;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.page-home .line-row:hover .line-note,
.page-home .line-link:focus-visible .line-note {
  opacity: 1;
  color: var(--cyan-dim);
}

.page-home .line-count {
  grid-area: count;
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate);
}

.page-home .line-count b {
  font-size: 17px;
  color: var(--ink-900);
  margin-right: 2px;
}

.page-home .line-go {
  grid-area: go;
  align-self: center;
  font-size: 18px;
  color: var(--cyan-dim);
}

/* ---------- 近期案例 ---------- */
.page-home .home-stories {
  padding: clamp(32px, 5vw, 66px) 0;
  background: var(--ink-900);
}

.page-home .story-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: clamp(18px, 2.5vw, 26px);
}

.page-home .story-band img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  object-fit: cover;
  filter: brightness(0.6) saturate(1.1);
}

.page-home .story-band-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(14px, 3vw, 28px);
  background: linear-gradient(180deg, rgba(11, 31, 26, 0.1), rgba(11, 31, 26, 0.88));
}

.page-home .story-kicker {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.page-home .story-band-inner .h-section {
  margin: 0;
  color: var(--paper-dim);
  font-size: clamp(22px, 3.2vw, 38px);
}

.page-home .story-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.page-home .story-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 158px;
  padding: 14px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
  color: var(--paper-dim);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.page-home .story-card:hover,
.page-home .story-card:focus-visible {
  border-color: var(--cyan-dim);
  background: var(--ink-750);
  transform: translateY(-3px);
}

.page-home .story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .story-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.page-home .story-meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--slate);
}

.page-home .story-more {
  margin: 14px 0 0;
}

.page-home .story-more a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

/* ---------- 规模数据 ---------- */
.page-home .home-scale {
  padding: clamp(32px, 5vw, 66px) 0;
  background: var(--paper);
  color: var(--ink-900);
}

.page-home .home-scale .eyebrow {
  color: var(--cyan-dim);
}

.page-home .home-scale-head {
  max-width: 46em;
}

.page-home .home-scale-head .h-section,
.page-home .home-scale-head .prose {
  color: var(--ink-900);
}

.page-home .home-scale-head .prose {
  color: var(--home-ink-soft);
  margin-top: 10px;
}

.page-home .scale-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(20px, 3vw, 30px) 0 0;
  border: 1px solid var(--home-rule-dark);
  background: var(--home-rule-dark);
}

.page-home .scale-cell {
  padding: 18px 14px;
  background: var(--paper);
}

.page-home .scale-cell dt {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
}

.page-home .scale-cell dd {
  margin: 0;
}

.page-home .scale-num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}

.page-home .scale-num span {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
}

.page-home .scale-foot {
  margin: 18px 0 0;
  max-width: 46em;
  font-size: 14px;
  line-height: 1.7;
  color: var(--home-ink-soft);
}

.page-home .scale-foot a {
  color: var(--cyan-dim);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 收口 ---------- */
.page-home .home-close {
  padding: clamp(32px, 5vw, 66px) 0 clamp(40px, 6vw, 76px);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(43, 227, 199, 0.12), transparent 60%),
    var(--ink-900);
  border-top: 1px solid var(--line);
}

.page-home .home-close-grid {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
}

.page-home .home-close-main .prose {
  color: var(--paper-dim);
  max-width: 34em;
  margin-top: 12px;
}

.page-home .home-close-cta {
  margin: 20px 0 0;
}

.page-home .close-contact {
  margin: 0;
  border-top: 1px solid var(--line);
}

.page-home .close-row {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .close-row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--slate);
  padding-top: 3px;
}

.page-home .close-row dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--paper-dim);
  word-break: break-word;
}

.page-home .close-row dd a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .story-rail {
    grid-auto-columns: 46%;
  }
}

@media (min-width: 820px) {
  .page-home .home-refresh-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }

  .page-home .home-close-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

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

@media (min-width: 960px) {
  .page-home .home-deck-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
    align-items: start;
    gap: clamp(24px, 3vw, 44px);
  }

  .page-home .home-deck-figure {
    max-width: 320px;
  }

  .page-home .line-link {
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "no .page-home count go";
    gap: 16px;
    padding: 20px 6px;
  }

  .page-home .line-count {
    align-self: center;
  }

  .page-home .story-rail {
    grid-auto-columns: 30%;
  }
}

@media (min-width: 1180px) {
  .page-home .home-deck-left {
    position: sticky;
    top: 108px;
  }

  .page-home .story-rail {
    grid-auto-columns: 24%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-index-row,
  .page-home .line-link,
  .page-home .line-note,
  .page-home .story-card,
  .page-home .round-label {
    transition: none;
  }

  .page-home .story-card:hover,
  .page-home .story-card:focus-visible {
    transform: none;
  }
}
<<<END>>>
