.page-home {
  --home-num-xl: clamp(48px, 15vw, 96px);
  --home-num-md: clamp(38px, 9vw, 56px);
  --home-num-sm: clamp(30px, 6vw, 40px);
  --home-block-pad: 20px;
  display: block;
}

.page-home .section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.page-home .home-hero {
  position: relative;
  padding-top: 96px;
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: -12% -25% 34% -25%;
  background:
    radial-gradient(58% 58% at 18% 22%, rgba(56, 242, 153, 0.10), transparent 72%),
    radial-gradient(52% 52% at 86% 8%, rgba(92, 140, 255, 0.13), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero > .wrap {
  position: relative;
  z-index: 1;
}

.page-home .home-title {
  margin: 0 0 20px;
  max-width: 22ch;
}

.page-home .home-lede {
  max-width: 62ch;
  color: var(--paper);
}

/* ---------- 筛选条 ---------- */
.page-home .home-filter {
  margin-top: 40px;
}

.page-home .home-filter .filter-btn {
  font-family: var(--font-data);
  letter-spacing: 0.04em;
}

/* ---------- 首屏拼贴 ---------- */
.page-home .collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}

.page-home .collage-block {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: var(--home-block-pad);
  overflow: hidden;
  min-height: 148px;
}

.page-home .collage-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
}

.page-home .collage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: saturate(0.6) contrast(1.05);
  z-index: 0;
}

.page-home .tile-progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(8, 12, 22, 0.5) 0%, rgba(8, 12, 22, 0.93) 68%);
  z-index: 1;
}

.page-home .tile-progress {
  min-height: 320px;
  border-color: rgba(56, 242, 153, 0.22);
}

.page-home .tile-kicker {
  margin: 0;
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-home .tile-num {
  margin: 0;
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-size: var(--home-num-xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--hi);
}

.page-home .tile-num--md {
  font-size: var(--home-num-md);
}

.page-home .tile-num--sm {
  font-size: var(--home-num-sm);
}

.page-home .tile-label {
  margin: 0;
  font-size: 15px;
  color: var(--paper);
  line-height: 1.5;
}

.page-home .tile-board .tile-num {
  color: var(--yellow);
}

.page-home .tile-stoppage .tile-num {
  color: var(--yellow);
}

.page-home .tile-progress .tile-num {
  color: var(--green);
}

.page-home .tile-progress .meter {
  margin-top: 6px;
}

.page-home .tile-progress .note,
.page-home .tile-scale .note {
  margin: auto 0 0;
}

.page-home .tile-board .note,
.page-home .tile-stoppage .note {
  margin: auto 0 0;
}

/* ---------- 判罚指标 ---------- */
.page-home .metrics-media {
  margin-bottom: 32px;
}

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

.page-home .metrics-list .section-head {
  margin-bottom: 28px;
}

.page-home .metric-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .metric-item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.page-home .metric-item:last-child {
  border-bottom: 1px solid var(--line);
}

.page-home .metric-text {
  margin: 0;
  max-width: 60ch;
  color: var(--paper);
  line-height: 1.75;
}

.page-home .metric-link {
  font-size: 13px;
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid rgba(92, 140, 255, 0.35);
  padding-bottom: 2px;
}

.page-home .metric-link:hover {
  border-bottom-color: var(--link);
}

.page-home .metric-link:focus-visible,
.page-home .path-title:focus-visible,
.page-home .round-digest summary:focus-visible,
.page-home .btn:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

/* ---------- 双入口 ---------- */
.page-home .path-rounds {
  margin-bottom: 40px;
}

.page-home .path-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--hi);
}

.page-home .path-text {
  margin: 0 0 18px;
  max-width: 56ch;
  color: var(--paper);
  line-height: 1.75;
}

.page-home .round-track {
  list-style: none;
  margin: 4px 0 24px;
  padding: 0 0 0 24px;
  position: relative;
  display: grid;
  gap: 26px;
}

.page-home .round-track::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}

.page-home .round-node {
  position: relative;
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.page-home .round-node::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: var(--r-pill);
  background: var(--ink);
  border: 1px solid var(--line);
}

.page-home .round-node.is-current {
  color: var(--green);
}

.page-home .round-node.is-current::before {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(56, 242, 153, 0.14);
}

.page-home .round-digest {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--panel);
  padding: 16px 18px;
  margin-bottom: 22px;
}

.page-home .round-digest summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  list-style: none;
}

.page-home .round-digest summary::-webkit-details-marker {
  display: none;
}

.page-home .round-digest summary::after {
  content: " ＋";
  font-family: var(--font-data);
  color: var(--muted);
}

.page-home .round-digest[open] summary::after {
  content: " －";
}

.page-home .round-digest p {
  margin: 14px 0 0;
  color: var(--paper);
  line-height: 1.75;
}

.page-home .digest-list {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.page-home .path-teams {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 24px 20px;
}

/* ---------- 移动端同步 ---------- */
.page-home .mobile-copy {
  margin-bottom: 32px;
}

.page-home .mobile-copy .section-title {
  margin: 12px 0 18px;
}

.page-home .sync-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 26px 0 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.page-home .sync-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .sync-num {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--green);
}

.page-home .sync-unit {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

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

/* ---------- 更新与复核 ---------- */
.page-home .process-shot {
  margin-bottom: 44px;
}

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

.page-home .process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.page-home .process-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 2px solid var(--line);
  padding-top: 16px;
}

.page-home .process-step:nth-child(1) {
  border-top-color: var(--green);
}

.page-home .process-step:nth-child(2) {
  border-top-color: var(--yellow);
}

.page-home .process-step:nth-child(3) {
  border-top-color: var(--red);
}

.page-home .process-time {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--hi);
}

.page-home .process-unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 6px;
  letter-spacing: 0.04em;
}

.page-home .process-label {
  font-size: 15px;
  color: var(--paper);
  line-height: 1.6;
}

.page-home .process-step .note {
  margin: 0;
}

.page-home .process-close {
  margin: 44px 0 24px;
  color: var(--paper);
}

.page-home .process-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 桌面布局 ---------- */
@media (min-width: 900px) {
  .page-home {
    --home-block-pad: 26px;
  }

  .page-home .section {
    padding-top: 104px;
    padding-bottom: 104px;
  }

  .page-home .home-hero {
    padding-top: 148px;
  }

  .page-home .home-title {
    max-width: 26ch;
  }

  .page-home .collage {
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
    margin-top: 32px;
    align-items: stretch;
  }

  .page-home .tile-progress {
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
    min-height: 100%;
  }

  .page-home .tile-board {
    grid-column: 8 / span 5;
    grid-row: 1;
    margin-left: -18px;
    z-index: 2;
    box-shadow: var(--shadow);
  }

  .page-home .tile-stoppage {
    grid-column: 8 / span 3;
    grid-row: 2;
  }

  .page-home .tile-scale {
    grid-column: 11 / span 2;
    grid-row: 2;
  }

  .page-home .metrics-media {
    margin-bottom: 0;
    padding-right: 12px;
  }

  .page-home .path-rounds {
    margin-bottom: 0;
    padding-right: 32px;
  }

  .page-home .mobile-copy {
    margin-bottom: 0;
    padding-right: 40px;
  }

  .page-home .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .page-home .process-close {
    max-width: 68ch;
  }
}

@media (min-width: 1200px) {
  .page-home .mobile-shot {
    padding-left: 32px;
  }
}
