.page-home {
  --home-line: rgba(10, 26, 42, 0.14);
  --home-line-strong: rgba(10, 26, 42, 0.28);
  background: var(--paper-0);
  color: var(--ink-950);
  padding-bottom: clamp(32px, 6vw, 72px);
}

.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* ---------- 面包屑 ---------- */
.page-home .breadcrumb {
  margin-top: clamp(16px, 3vw, 28px);
}

.page-home .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate-500);
}

.page-home .breadcrumb__sep {
  color: var(--coral-500);
}

/* ---------- 框景首屏 ---------- */
.page-home .home-hero {
  padding: clamp(16px, 3vw, 28px) 0 clamp(28px, 5vw, 48px);
}

.page-home .hero-frame {
  position: relative;
  border: var(--bd) solid var(--ink-950);
  background: var(--white);
  box-shadow: var(--shadow-hard);
  padding: clamp(16px, 3vw, 32px);
  overflow: hidden;
}

.page-home .hero-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--sand-300) 0 2px, transparent 2px 14px);
  opacity: 0.85;
}

.page-home .hero-grid {
  display: grid;
  gap: clamp(18px, 3vw, 30px);
  margin-top: 10px;
}

.page-home .hero-main {
  min-width: 0;
}

.page-home .hero-round {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: var(--bd) solid var(--ink-950);
}

.page-home .round-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  background: var(--coral-500);
  color: var(--ink-950);
  padding: 3px 8px;
}

.page-home .round-num {
  font-family: var(--font-mono);
  font-size: clamp(56px, 13vw, 96px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: var(--ink-950);
}

.page-home .round-meta {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.5;
}

.page-home .home-hero h1 {
  margin: clamp(14px, 2vw, 20px) 0 0;
  font-size: clamp(26px, 4.6vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 800;
}

.page-home .hero-lead {
  margin: 12px 0 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-500);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.page-home .focus-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--bd) solid var(--ink-950);
}

.page-home .focus-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px dashed var(--home-line-strong);
}

.page-home .focus-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  background: var(--sand-300);
  color: var(--ink-950);
  padding: 2px 8px;
  white-space: nowrap;
}

.page-home .focus-text {
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- 右侧射手榜摘要 ---------- */
.page-home .side-board {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.page-home .figure {
  margin: 0;
}

.page-home .figure__img {
  overflow: hidden;
  border: var(--bd) solid var(--ink-950);
  background: var(--paper-1);
}

.page-home .figure__img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.96) brightness(1.02);
}

.page-home .figure--portrait .figure__img {
  aspect-ratio: 16 / 10;
}

.page-home .figure--square .figure__img {
  aspect-ratio: 1 / 1;
}

.page-home .figure--wide .figure__img {
  aspect-ratio: 10 / 7;
}

.page-home .figure__caption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate-500);
}

.page-home .board {
  border: var(--bd) solid var(--ink-950);
  background: var(--paper-1);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.page-home .board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: var(--bd) solid var(--ink-950);
}

.page-home .board-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.page-home .board-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-home .board-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 26px 22px;
  align-items: center;
  gap: 8px;
}

.page-home .board-rank {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-500);
}

.page-home .board-bar {
  display: block;
  height: 8px;
  background: var(--white);
  border: 1px solid var(--ink-950);
}

.page-home .board-fill {
  display: block;
  height: 100%;
  width: calc(var(--value, 0) * 100%);
  background: var(--coral-500);
}

.page-home .board-goals,
.page-home .board-assists {
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: right;
}

.page-home .board-assists {
  color: var(--slate-500);
}

.page-home .board-foot {
  margin: 12px 0 12px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--slate-500);
}

.page-home .board-link {
  display: inline-block;
}

/* ---------- 章节骨架 ---------- */
.page-home .chapter-shell {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  padding-top: clamp(8px, 2vw, 16px);
}

.page-home .chapter-nav {
  min-width: 0;
}

.page-home .chapter-nav__label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--slate-500);
}

.page-home .chapter-nav__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .chapter-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: var(--bd) solid transparent;
  font-size: 13px;
  color: var(--ink-950);
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
}

.page-home .chapter-nav__link:hover {
  background: var(--white);
  border-color: var(--ink-950);
}

.page-home .nav-no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--coral-700);
}

.page-home .chapter-flow {
  min-width: 0;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}

.page-home .chapter {
  padding-bottom: clamp(24px, 4vw, 40px);
  border-bottom: var(--bd) solid var(--home-line);
}

.page-home .chapter-head {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  align-items: flex-start;
}

.page-home .chapter-head__text {
  min-width: 0;
}

.page-home .chapter-head h2 {
  margin: 0;
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 800;
}

.page-home .chapter-sub {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate-500);
  max-width: 52ch;
}

.page-home .chapter-body {
  margin-top: clamp(16px, 3vw, 26px);
}

.page-home .chapter-body--split {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
}

.page-home .chapter-col {
  min-width: 0;
}

.page-home .chapter-text {
  margin: 16px 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate-500);
}

.page-home .chapter-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: clamp(16px, 3vw, 24px) 0 0;
}

.page-home .foot-note {
  font-size: 13px;
  color: var(--slate-500);
}

/* ---------- 联赛标签 ---------- */
.page-home .chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.page-home .chip {
  flex: 0 0 auto;
  border: var(--bd) solid var(--ink-950);
  background: var(--white);
  padding: 6px 12px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-950);
}

.page-home .chip:hover {
  background: var(--sand-300);
}

/* ---------- 档案字段 ---------- */
.page-home .field-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page-home .field-item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 2px 10px;
  padding: 10px 0 10px 10px;
  border-left: 5px solid var(--sand-300);
  background: linear-gradient(90deg, var(--paper-1), transparent 70%);
}

.page-home .field-item:hover {
  border-left-color: var(--coral-500);
}

.page-home .field-no {
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--coral-700);
  padding-top: 3px;
}

.page-home .field-item strong {
  font-size: 15px;
}

.page-home .field-item span:last-child {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-500);
}

/* ---------- 数据条 ---------- */
.page-home .bars {
  display: grid;
  gap: 14px;
}

.page-home .data-bar {
  display: grid;
  gap: 6px;
}

.page-home .data-bar__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--slate-500);
}

.page-home .data-bar__track {
  display: block;
  height: 14px;
  background: var(--paper-1);
  border: var(--bd) solid var(--ink-950);
}

.page-home .data-bar__fill {
  display: block;
  height: 100%;
  width: calc(var(--value, 0) * 100%);
  background: var(--coral-500);
}

.page-home .data-bar__fill--aqua {
  background: var(--aqua-400);
}

/* ---------- 对照视图卡 ---------- */
.page-home .view-cards {
  display: grid;
  gap: 10px;
}

.page-home .view-card {
  background: var(--white);
  border-left: 6px solid var(--aqua-400);
  padding: 12px 14px;
}

.page-home .view-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.4;
}

.page-home .view-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate-500);
}

/* ---------- 时间线 ---------- */
.page-home .timeline {
  margin: 0;
  padding: 0 0 0 24px;
  list-style: none;
  border-left: var(--bd) solid var(--ink-950);
}

.page-home .timeline__item {
  position: relative;
  padding-bottom: 20px;
}

.page-home .timeline__item:last-child {
  padding-bottom: 0;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--coral-500);
  border: var(--bd) solid var(--ink-950);
}

.page-home .timeline__time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--coral-700);
}

.page-home .timeline__body h3 {
  margin: 3px 0 4px;
  font-size: 16px;
  line-height: 1.45;
}

.page-home .timeline__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-500);
}

/* ---------- 排查步骤 ---------- */
.page-home .step-cards {
  display: grid;
  gap: 12px;
}

.page-home .step-card {
  border: var(--bd) solid var(--ink-950);
  background: var(--white);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.page-home .step-card__no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  background: var(--coral-500);
  color: var(--ink-950);
  padding: 2px 8px;
}

.page-home .step-card h3 {
  margin: 10px 0 6px;
  font-size: 17px;
  line-height: 1.4;
}

.page-home .step-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate-500);
}

.page-home .checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: check;
}

.page-home .checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 8px 10px;
  background: var(--paper-1);
  border-left: 4px solid var(--aqua-400);
  counter-increment: check;
}

.page-home .checklist li::before {
  content: counter(check, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--coral-700);
}

/* ---------- 收藏 ---------- */
.page-home .fav-band {
  display: grid;
  gap: 18px;
  border: var(--bd) solid var(--ink-950);
  background: var(--paper-1);
  padding: clamp(16px, 3vw, 26px);
}

.page-home .fav-band h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.page-home .fav-band p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate-500);
}

.page-home .fav-note {
  margin-bottom: 0 !important;
  font-size: 14px !important;
  padding-left: 12px;
  border-left: 4px solid var(--sand-300);
}

.page-home .fav-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  align-content: start;
}

.page-home .fav-points li {
  font-size: 14px;
  line-height: 1.6;
  padding: 8px 10px;
  background: var(--white);
  border: var(--bd) solid var(--ink-950);
}

.page-home .fav-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--coral-700);
  margin-right: 4px;
}

/* ---------- 结尾带 ---------- */
.page-home .closing-band {
  margin-top: clamp(28px, 5vw, 56px);
  background: var(--ink-950);
  color: var(--paper-0);
  border: var(--bd) solid var(--ink-950);
  box-shadow: var(--shadow-hard);
  padding: clamp(20px, 4vw, 40px);
}

.page-home .closing-kicker {
  color: var(--coral-500);
}

.page-home .closing-band h2 {
  margin: 10px 0 0;
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--paper-0);
}

.page-home .closing-lead {
  margin: 12px 0 0;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(247, 244, 236, 0.78);
}

.page-home .closing-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: clamp(18px, 3vw, 28px) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .closing-stats li {
  border-top: 2px solid var(--coral-500);
  padding-top: 10px;
}

.page-home .closing-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--paper-0);
}

.page-home .closing-label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(247, 244, 236, 0.68);
}

.page-home .closing-tagline {
  margin: 18px 0 0;
}

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

.page-home .closing-band .btn--ghost {
  color: var(--paper-0);
  border-color: var(--paper-0);
  background: transparent;
}

.page-home .closing-band .btn--ghost:hover {
  background: rgba(247, 244, 236, 0.12);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .chapter-body--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    align-items: start;
  }

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

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

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

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }

  .page-home .side-board {
    border-left: var(--bd) solid var(--home-line);
    padding-left: clamp(14px, 2vw, 24px);
  }

  .page-home .chapter-shell {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
  }

  .page-home .chapter-nav {
    position: sticky;
    top: 24px;
    align-self: start;
  }

  .page-home .chapter-nav__list {
    flex-direction: column;
    overflow: visible;
    gap: 2px;
    padding-bottom: 0;
  }

  .page-home .chapter-nav__link {
    border-left: 4px solid var(--home-line);
    padding: 10px 12px 10px 14px;
  }

  .page-home .chapter-nav__link:hover {
    border-left-color: var(--coral-500);
  }

  .page-home .fav-band {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: clamp(18px, 3vw, 32px);
  }

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

@media (min-width: 1080px) {
  .page-home .hero-main h1 {
    max-width: 20ch;
  }
}
