.page-home {
  --home-pad: clamp(16px, 4vw, 48px);
  --home-row: clamp(18px, 3vw, 30px);
  --home-blk: clamp(48px, 7vw, 96px);
  background: var(--ink);
  color: var(--mist);
  overflow-x: clip;
}

.page-home .crumbs {
  padding: 18px var(--home-pad) 0;
}

.page-home .crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ash);
}

.page-home .crumbs a {
  color: var(--ash);
  text-decoration: none;
  transition: color var(--t-fast);
}

.page-home .crumbs a:hover,
.page-home .crumbs a:focus-visible {
  color: var(--lime);
}

.page-home .crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-strong);
}

/* ---------- 框景首屏 ---------- */
.page-home .hero {
  padding: 12px var(--home-pad) 0;
}

.page-home .hero-frame {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  overflow: hidden;
}

.page-home .hero-frame::before,
.page-home .hero-frame::after {
  content: "";
  position: absolute;
  z-index: 4;
  width: 26px;
  height: 26px;
  border: 2px solid var(--lime);
  pointer-events: none;
}

.page-home .hero-frame::before {
  top: 12px;
  left: 12px;
  border-right: 0;
  border-bottom: 0;
}

.page-home .hero-frame::after {
  right: 12px;
  bottom: 12px;
  border-left: 0;
  border-top: 0;
}

.page-home .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.page-home .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(6, 17, 14, 0.94) 0%,
    rgba(6, 17, 14, 0.74) 46%,
    rgba(6, 17, 14, 0.97) 100%
  );
}

.page-home .hero-body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--home-row);
  padding: clamp(30px, 5vw, 68px) clamp(20px, 4vw, 56px) clamp(26px, 4vw, 54px);
}

.page-home .hero-body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(198, 255, 61, 0.6) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.06;
  pointer-events: none;
}

.page-home .hero-scale {
  display: none;
}

.page-home .hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ash);
}

.page-home .hero-eyebrow-text {
  letter-spacing: 0.08em;
}

.page-home .hero h1 {
  margin: 16px 0 0;
  max-width: 12em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .hero .lead {
  margin: 18px 0 0;
  max-width: 34em;
  font-size: clamp(0.98rem, 1.6vw, 1.06rem);
  line-height: 1.8;
  color: rgba(242, 247, 244, 0.86);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(24px, 3vw, 34px);
}

.page-home .status-list {
  display: grid;
  gap: 12px;
  margin: clamp(24px, 3vw, 32px) 0 0;
  padding: 16px 18px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(12, 31, 25, 0.68);
  backdrop-filter: blur(6px);
}

.page-home .status-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ash);
}

.page-home .status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(198, 255, 61, 0.5);
  animation: home-pulse 2.4s ease-out infinite;
}

.page-home .status-val {
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--lime);
}

.page-home .hero-hint {
  margin: 16px 0 0;
  max-width: 44em;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ash);
  padding-left: 12px;
  border-left: 2px solid var(--line-strong);
}

/* ---------- 比分条 ---------- */
.page-home .score-ticker {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--raise);
  overflow: hidden;
}

.page-home .score-track {
  display: flex;
  width: max-content;
  animation: home-marquee 46s linear infinite;
}

.page-home .score-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-right: 1px solid var(--line-soft);
  font-size: 12.5px;
  white-space: nowrap;
  color: var(--ash);
}

.page-home .score-val {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--mist);
}

.page-home .score-tag {
  color: var(--lime);
  letter-spacing: 0.1em;
}

/* ---------- 章节 ---------- */
.page-home .section {
  padding: var(--home-blk) var(--home-pad);
}

.page-home .home-band {
  border-top: 1px solid var(--line-soft);
}

.page-home .chapter {
  display: grid;
  gap: 8px;
  margin: 0 0 clamp(26px, 4vw, 46px);
}

.page-home .chapter-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
}

.page-home .chapter-kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ash);
}

.page-home .chapter-title {
  margin: 6px 0 0;
  max-width: 24em;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
  color: var(--white);
}

.page-home .grid12 {
  row-gap: var(--home-row);
}

.page-home .chapter-note {
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--lime);
  max-width: 46em;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.72;
  color: var(--mist);
}

.page-home .sub-title {
  margin: clamp(26px, 3.4vw, 36px) 0 12px;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.4;
  color: var(--white);
  letter-spacing: -0.01em;
}

.page-home .sub-title:first-child {
  margin-top: 0;
}

.page-home .prose a,
.page-home .export-link a,
.page-home .closing-links a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(198, 255, 61, 0.4);
  transition: border-color var(--t-fast), color var(--t-fast);
}

.page-home .prose a:hover,
.page-home .prose a:focus-visible,
.page-home .export-link a:hover,
.page-home .export-link a:focus-visible,
.page-home .closing-links a:hover,
.page-home .closing-links a:focus-visible {
  border-bottom-color: var(--lime);
}

/* ---------- 卡片 ---------- */
.page-home .feature-card {
  position: relative;
  margin-top: 18px;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel);
}

.page-home .feature-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 34px;
  height: 8px;
  background: var(--lime);
}

.page-home .feature-card .card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .feature-card .card-title {
  margin: 0;
  font-size: clamp(1.06rem, 1.7vw, 1.2rem);
  color: var(--white);
}

.page-home .feature-card p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.78;
  color: rgba(242, 247, 244, 0.84);
}

.page-home .feature-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--ash);
}

.page-home .home-figure {
  position: relative;
  margin: 0;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--panel);
}

.page-home .home-figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.page-home .home-figure figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mist);
  background: linear-gradient(to top, rgba(6, 17, 14, 0.94), rgba(6, 17, 14, 0));
}

/* ---------- 交锋分区板 ---------- */
.page-home .clash-board {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
}

.page-home .clash-board::before {
  content: "";
  position: absolute;
  top: -18%;
  left: -12%;
  right: -12%;
  height: 52%;
  background: linear-gradient(120deg, rgba(198, 255, 61, 0.14), rgba(198, 255, 61, 0));
  transform: skewY(-4deg);
  transform-origin: top left;
  pointer-events: none;
}

.page-home .clash-media {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

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

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

.page-home .clash-lead {
  margin: 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(242, 247, 244, 0.88);
}

.page-home .zone-tabs,
.page-home .export-tabs {
  margin-top: clamp(20px, 3vw, 28px);
}

.page-home .zone-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page-home .zone-tablist,
.page-home .export-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-home .zone-tablist label,
.page-home .export-tablist label {
  cursor: pointer;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ash);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}

.page-home .zone-tablist label:hover,
.page-home .export-tablist label:hover {
  color: var(--mist);
  border-color: var(--line-strong);
}

.page-home .zone-input:focus-visible + .zone-input:focus-visible ~ .zone-tablist label,
.page-home .zone-input:focus-visible ~ .export-tablist label {
  outline: 1px dashed var(--line-strong);
}

.page-home .zone-panel,
.page-home .export-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.page-home #zone-fb:checked ~ .zone-tablist label[for="zone-fb"],
.page-home #zone-bk:checked ~ .zone-tablist label[for="zone-bk"],
.page-home #zone-tn:checked ~ .zone-tablist label[for="zone-tn"],
.page-home #fmt-csv:checked ~ .export-tablist label[for="fmt-csv"],
.page-home #fmt-xlsx:checked ~ .export-tablist label[for="fmt-xlsx"],
.page-home #fmt-json:checked ~ .export-tablist label[for="fmt-json"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--on-lime);
  font-weight: 600;
}

.page-home #zone-fb:checked ~ #zp-fb,
.page-home #zone-bk:checked ~ #zp-bk,
.page-home #zone-tn:checked ~ #zp-tn,
.page-home #fmt-csv:checked ~ #xp-csv,
.page-home #fmt-xlsx:checked ~ #xp-xlsx,
.page-home #fmt-json:checked ~ #xp-json {
  display: block;
}

.page-home .zone-panel dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.page-home .zone-panel dl > div {
  display: grid;
  grid-template-columns: minmax(5.6em, auto) 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-soft);
}

.page-home .zone-panel dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .zone-panel dt {
  font-size: 13px;
  color: var(--ash);
  letter-spacing: 0.02em;
}

.page-home .zone-panel dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--mist);
}

/* ---------- 步骤与导出 ---------- */
.page-home .retry-block {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--r-md);
  background: var(--panel);
}

.page-home .retry-block .sub-title {
  margin-top: 0;
}

.page-home .step-list {
  list-style: none;
  counter-reset: home-step;
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
}

.page-home .step-list li {
  position: relative;
  counter-increment: home-step;
  padding: 14px 16px 14px 52px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: rgba(6, 17, 14, 0.55);
  font-size: 14.5px;
  line-height: 1.68;
  color: rgba(242, 247, 244, 0.88);
}

.page-home .step-list li::before {
  content: counter(home-step, decimal-leading-zero);
  position: absolute;
  top: 15px;
  left: 16px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--lime);
}

.page-home .export-sample {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.72;
  color: rgba(242, 247, 244, 0.9);
  tab-size: 2;
}

.page-home .export-note {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ash);
}

.page-home .export-link {
  margin: 16px 0 0;
  font-size: 13.5px;
  color: var(--ash);
}

/* ---------- 规模数据 ---------- */
.page-home .stat-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .stat-list li {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  background: var(--panel);
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lime);
}

.page-home .stat-label {
  font-size: 13px;
  line-height: 1.68;
  color: var(--ash);
}

/* ---------- 收束带 ---------- */
.page-home .closing {
  position: relative;
  padding: clamp(64px, 9vw, 120px) var(--home-pad) clamp(52px, 7vw, 88px);
  background: linear-gradient(118deg, var(--raise) 0%, var(--panel) 48%, var(--ink) 100%);
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
  border-top: 1px solid var(--line);
}

.page-home .closing h2 {
  margin: 0;
  max-width: 18em;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  color: var(--white);
}

.page-home .closing-lead {
  margin: 16px 0 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(242, 247, 244, 0.84);
}

.page-home .closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(24px, 3vw, 34px);
}

.page-home .closing-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  font-size: 13.5px;
  color: var(--ash);
}

/* ---------- 动效 ---------- */
@keyframes home-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes home-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(198, 255, 61, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(198, 255, 61, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(198, 255, 61, 0);
  }
}

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

  .page-home .status-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .page-home .status-val {
    margin-left: 0;
    font-size: 15px;
  }

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

@media (min-width: 900px) {
  .page-home .hero-body {
    grid-template-columns: 46px 1fr;
    align-items: start;
  }

  .page-home .hero-scale {
    display: block;
    align-self: stretch;
    min-height: 340px;
    border-right: 1px solid var(--line);
    background-image: repeating-linear-gradient(
      to bottom,
      var(--line-strong) 0 1px,
      transparent 1px 16px
    );
    background-position: top right;
    background-repeat: repeat-y;
    background-size: 12px 100%;
  }

  .page-home .chapter {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "num kicker"
      "num title";
    column-gap: 28px;
    align-items: start;
  }

  .page-home .chapter-num {
    grid-area: num;
    font-size: clamp(3.4rem, 6vw, 5.2rem);
  }

  .page-home .chapter-kicker {
    grid-area: kicker;
    padding-top: 16px;
  }

  .page-home .chapter-title {
    grid-area: title;
    margin-top: 8px;
  }

  .page-home .home-figure,
  .page-home .home-figure img {
    min-height: 100%;
  }

  .page-home .closing {
    clip-path: polygon(0 9%, 100% 0, 100% 100%, 0 100%);
  }
}

@media (min-width: 1024px) {
  .page-home .stat-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .score-track {
    animation: none;
  }

  .page-home .status-dot {
    animation: none;
  }
}
<<<END>>>
