.page-home {
  --home-notch: 20px;
  --w: 50%;
  background: var(--paper);
  color: var(--line);
  overflow-x: hidden;
}

/* ---------- 首屏海报层 ---------- */
.page-home .poster {
  position: relative;
  padding-top: clamp(84px, 11vw, 132px);
  background:
    linear-gradient(158deg, var(--ink-deep) 0%, var(--ink-green) 56%, #12463a 100%);
  color: var(--paper);
  overflow: hidden;
}

.page-home .poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 8%, rgba(200, 249, 75, 0.18), transparent 46%),
    radial-gradient(circle at 4% 92%, rgba(47, 191, 166, 0.16), transparent 44%),
    radial-gradient(circle at 46% 118%, rgba(242, 226, 196, 0.14), transparent 52%);
  pointer-events: none;
}

.page-home .poster > .shell {
  position: relative;
  z-index: 1;
}

.page-home .poster .breadcrumbs,
.page-home .poster .breadcrumbs a,
.page-home .poster .breadcrumbs span {
  color: rgba(244, 245, 240, 0.72);
}

.page-home .poster .breadcrumbs a:hover {
  color: var(--lime);
}

.page-home .poster-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: end;
  margin-top: clamp(28px, 4vw, 44px);
}

.page-home .poster-copy h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 8.4vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--paper);
  max-width: 18ch;
}

.page-home .h1-num {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 1.34em;
  letter-spacing: -0.05em;
  color: var(--lime);
  padding: 0 0.06em;
  display: inline-block;
}

.page-home .poster-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}

.page-home .poster-kicker .anno {
  color: rgba(244, 245, 240, 0.66);
}

.page-home .poster-lede {
  max-width: 46ch;
  margin: 0 0 30px;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.78;
  color: rgba(244, 245, 240, 0.86);
}

.page-home .poster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .poster-figure {
  position: relative;
  margin: 0;
}

.page-home .poster-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-notch)), calc(100% - var(--home-notch)) 100%, 0 100%);
}

.page-home .poster-figure-cap {
  margin-top: 12px;
  color: rgba(244, 245, 240, 0.58);
}

.page-home .poster-strip-wrap {
  position: relative;
  z-index: 1;
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid rgba(244, 245, 240, 0.16);
  background: linear-gradient(180deg, rgba(6, 31, 25, 0.55), rgba(6, 31, 25, 0));
}

.page-home .poster-strip {
  padding: clamp(24px, 3.5vw, 36px) 0 clamp(32px, 4vw, 52px);
}

.page-home .strip-head {
  margin: 0 0 4px;
  color: rgba(200, 249, 75, 0.82);
}

.page-home .strip-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(244, 245, 240, 0.12);
}

.page-home .strip-row:first-of-type {
  border-top: 1px solid rgba(244, 245, 240, 0.12);
}

.page-home .strip-side {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(244, 245, 240, 0.62);
}

.page-home .strip-side--home {
  justify-self: start;
}

.page-home .strip-side--away {
  justify-self: end;
}

.page-home .strip-side .num {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .strip-side--home .num {
  color: var(--lime);
}

.page-home .strip-side--away .num {
  color: var(--flame);
}

.page-home .strip-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  display: inline-block;
  transform: rotate(45deg);
}

.page-home .strip-side--home .strip-dot {
  background: var(--lime);
}

.page-home .strip-side--away .strip-dot {
  background: var(--flame);
}

.page-home .strip-metric {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: center;
  white-space: nowrap;
  color: rgba(244, 245, 240, 0.78);
}

/* ---------- 轮次 + 对比 ---------- */
.page-home .roundboard .section-head {
  position: relative;
}

.page-home .round-rail {
  display: grid;
  gap: 6px;
  align-content: start;
}

.page-home .round-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-left: 2px solid var(--hui);
  text-decoration: none;
  color: inherit;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .round-item:hover,
.page-home .round-item:focus-visible {
  border-left-color: var(--ink-green);
  background: var(--hui);
  transform: translateX(3px);
}

.page-home .round-item.is-current {
  border-left-color: var(--lime);
  background: linear-gradient(90deg, rgba(200, 249, 75, 0.22), rgba(200, 249, 75, 0));
}

.page-home .round-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--stone);
}

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

.page-home .round-body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.page-home .round-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-home .round-meta {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--stone);
}

.page-home .compare-wrap {
  display: grid;
  gap: 26px;
  min-width: 0;
}

.page-home .compare-panel {
  background: #fff;
  border: 1px solid var(--hui);
  padding: clamp(20px, 3vw, 32px);
}

.page-home .compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--hui);
}

.page-home .compare-round {
  color: var(--stone);
}

.page-home .compare-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}

.page-home .compare-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--hui);
}

.page-home .compare-row:last-child {
  border-bottom: 0;
}

.page-home .compare-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
}

.page-home .compare-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-green);
}

.page-home .compare-val--away {
  text-align: right;
  color: var(--flame);
}

.page-home .compare-metric {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--stone);
}

.page-home .compare-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 10px;
}

.page-home .compare-fill {
  display: block;
  height: 7px;
  width: var(--w);
  transition: width .5s var(--ease);
}

.page-home .compare-fill--home {
  justify-self: end;
  background: linear-gradient(90deg, rgba(200, 249, 75, 0.3), var(--lime));
}

.page-home .compare-fill--away {
  justify-self: start;
  background: linear-gradient(90deg, var(--flame), rgba(255, 91, 46, 0.3));
}

.page-home .compare-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--hui);
  font-size: 0.94rem;
  line-height: 1.75;
  color: #33463f;
}

/* ---------- 入口 ---------- */
.page-home .entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-home .entry-card {
  display: grid;
  gap: 8px;
  padding: clamp(22px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--hui);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .entry-card:hover,
.page-home .entry-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--ink-green);
  box-shadow: 0 16px 34px rgba(14, 59, 46, 0.12);
}

.page-home .entry-count {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink-green);
}

.page-home .entry-unit {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--stone);
}

.page-home .entry-desc {
  margin: 8px 0 12px;
  font-size: 0.96rem;
  line-height: 1.78;
  color: #33463f;
}

.page-home .entry-go {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-green);
  border-bottom: 2px solid var(--lime);
  padding-bottom: 2px;
  justify-self: start;
}

.page-home .entry-media,
.page-home .screen-media,
.page-home .compare-media {
  margin: 26px 0 0;
}

/* ---------- 赛后统计 ---------- */
.page-home .check-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 34px;
  padding: 0;
  background: var(--hui);
  border: 1px solid var(--hui);
}

.page-home .check-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 18px 16px;
  background: var(--paper);
}

.page-home .check-idx {
  color: var(--teal);
}

.page-home .check-name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-home .update-line {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hui);
}

.page-home .update-step {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hui);
}

.page-home .update-time {
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-green);
}

.page-home .update-step p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.78;
  color: #33463f;
}

.page-home .checks-more {
  margin: 22px 0 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #33463f;
}

.page-home .checks-more a,
.page-home .screen-note a,
.page-home .next-copy a {
  color: var(--ink-green);
  text-decoration: none;
  border-bottom: 2px solid var(--lime);
}

.page-home .checks-more a:hover,
.page-home .screen-note a:hover,
.page-home .next-copy a:hover {
  color: var(--flame);
  border-bottom-color: var(--flame);
}

/* ---------- 大屏 ---------- */
.page-home .section-screen {
  background: linear-gradient(168deg, var(--ink-green), var(--ink-deep) 88%);
}

.page-home .section-screen .section-title,
.page-home .section-screen .section-lede,
.page-home .section-screen .section-index {
  color: var(--paper);
}

.page-home .section-screen .section-lede {
  color: rgba(244, 245, 240, 0.78);
}

.page-home .screen-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
}

.page-home .screen-tools .anno {
  color: rgba(244, 245, 240, 0.6);
}

.page-home .screen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .screen-cell {
  display: grid;
  gap: 6px;
  padding: 22px 20px;
  background: rgba(244, 245, 240, 0.06);
  border: 1px solid rgba(244, 245, 240, 0.16);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-notch)), calc(100% - var(--home-notch)) 100%, 0 100%);
}

.page-home .screen-cell-num {
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 4.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--lime);
}

.page-home .screen-cell-name {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(244, 245, 240, 0.72);
}

.page-home .screen-note {
  margin: 24px 0 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(244, 245, 240, 0.78);
}

.page-home .screen-note a {
  color: var(--lime);
  border-bottom-color: rgba(200, 249, 75, 0.5);
}

.page-home .screen-note a:hover {
  color: var(--flame);
  border-bottom-color: var(--flame);
}

/* 大屏切换：默认 2 分屏，切到 4 分屏 */
[data-bigscreen] .page-home .screen-grid {
  grid-template-columns: minmax(0, 1fr);
}

.page-home .screen-cell:nth-child(n + 3) {
  display: none;
}

[data-bigscreen] .page-home .screen-cell:nth-child(n + 3) {
  display: grid;
}

/* ---------- 收尾 ---------- */
.page-home .section-next {
  padding-bottom: clamp(72px, 9vw, 120px);
}

.page-home .next-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.page-home .next-copy .section-title {
  margin-bottom: 16px;
}

.page-home .next-copy p {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.82;
  color: #33463f;
}

.page-home .next-fact {
  font-size: 0.9rem;
  color: var(--stone);
}

.page-home .next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .home-backlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--hui);
}

.page-home .home-backlinks .backlink {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--stone);
  text-decoration: none;
}

.page-home .home-backlinks .backlink:hover {
  color: var(--ink-green);
}

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

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

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

  [data-bigscreen] .page-home .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .poster-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: center;
  }

  .page-home .update-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid var(--hui);
  }

  .page-home .update-step {
    padding: 24px 22px 24px 0;
    border-bottom: 0;
    border-right: 1px solid var(--hui);
  }

  .page-home .update-step:last-child {
    border-right: 0;
    padding-right: 0;
  }

  .page-home .update-step + .update-step {
    padding-left: 22px;
  }

  .page-home .next-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .page-home .next-actions {
    padding-bottom: 6px;
  }
}

@media (min-width: 1100px) {
  .page-home .check-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  [data-bigscreen] .page-home .screen-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .roundboard-grid {
    align-items: start;
  }

  .page-home .round-rail {
    position: sticky;
    top: calc(var(--header-h-sm) + 24px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .round-item,
  .page-home .entry-card,
  .page-home .compare-fill {
    transition: none;
  }
}
