.page-home {
  --home-radius: 2px;
  --home-edge: clamp(16px, 3.2vw, 40px);
  display: block;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  overflow-x: clip;
}

.page-home .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.page-home figure {
  margin: 0;
}

.page-home .media-frame {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--pitch);
}

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

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: clamp(16px, 2.6vw, 30px) var(--gutter) clamp(30px, 5vw, 68px);
  background:
    repeating-linear-gradient(90deg, rgba(43, 245, 155, 0.05) 0 2px, transparent 2px 72px),
    radial-gradient(120% 90% at 80% 8%, #12332A 0%, #0C1F19 48%, #060A09 100%);
  border-bottom: 1px solid var(--line);
}

.page-home .hero__grid {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  margin-top: clamp(20px, 3vw, 36px);
  align-items: end;
}

.page-home .hero__copy h1 {
  margin: 12px 0 16px;
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1.09;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 15ch;
}

.page-home .hero__lede {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  color: #D8E4DE;
  max-width: 46ch;
  margin: 0 0 22px;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.page-home .hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 14px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--fog);
}

.page-home .hero__facts .mono {
  color: var(--glow);
  font-weight: 600;
  font-size: 15px;
  margin-right: 4px;
}

.page-home .score-visual {
  position: relative;
  background: var(--pitch);
  border: 1px solid var(--line);
  padding: 12px;
  box-shadow: 7px -7px 0 -1px var(--ink), 7px -7px 0 0 var(--line);
}

.page-home .score-visual__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}

.page-home .score-visual__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 3px rgba(43, 245, 155, 0.16);
  animation: homePulse 2.4s ease-in-out infinite;
}

.page-home .score-visual__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--glow);
}

.page-home .score-visual__time {
  margin-left: auto;
  font-size: 12px;
  color: var(--fog);
}

.page-home .score-visual__board {
  display: block;
  width: 100%;
  height: auto;
  background: #08140F;
}

.page-home .sv-label {
  fill: var(--fog);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.page-home .sv-big {
  fill: var(--glow);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 64px;
  letter-spacing: -0.03em;
}

.page-home .sv-mid {
  fill: var(--amber);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 30px;
}

.page-home .sv-unit {
  fill: var(--fog);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-home .score-visual__shot {
  margin-top: 10px;
  border-color: var(--line);
}

.page-home .score-visual__shot img {
  aspect-ratio: 16 / 6;
}

@keyframes homePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(43, 245, 155, 0.16); }
  50% { box-shadow: 0 0 0 7px rgba(43, 245, 155, 0.04); }
}

/* ---------- 时间轴 ---------- */
.page-home .timeline-section {
  padding-inline: var(--gutter);
  background: linear-gradient(180deg, #060A09 0%, #0A1713 100%);
}

.page-home .timeline-section__intro {
  max-width: 52ch;
  margin: 10px 0 0;
  color: var(--fog);
  font-size: 15px;
  line-height: 1.7;
}

.page-home .tl-wrap {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.page-home .timeline {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0 2px 12px;
  scrollbar-color: var(--line) transparent;
  outline-offset: 6px;
  outline-color: var(--neon);
}

.page-home .timeline__track {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 0;
  padding: 26px 0 4px;
  list-style: none;
  position: relative;
  border-top: 1px solid var(--line);
}

.page-home .tl-card {
  position: relative;
  flex: 0 0 auto;
  width: min(74vw, 250px);
  scroll-snap-align: start;
  display: grid;
  gap: 8px;
  padding: 14px 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color var(--dur) ease, transform var(--dur) ease;
}

.page-home .tl-card::before {
  content: "";
  position: absolute;
  left: 15px;
  top: -26px;
  width: 1px;
  height: 26px;
  background: var(--line);
}

.page-home .tl-card::after {
  content: "";
  position: absolute;
  left: 12px;
  top: -30px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}

.page-home .tl-card:hover {
  border-color: var(--neon);
  transform: translateY(-2px);
}

.page-home .tl-card__time {
  font-size: 13px;
  color: var(--glow);
  letter-spacing: 0.04em;
}

.page-home .tl-card__league {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fog);
}

.page-home .tl-card__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--paper);
}

.page-home .tl-card__teams span:last-child {
  text-align: right;
}

.page-home .tl-card__score {
  color: var(--neon);
  font-size: 15px;
  font-weight: 600;
}

.page-home .tl-card .tag {
  justify-self: start;
  margin-top: 4px;
}

.page-home .tl-card--now {
  border-color: var(--neon);
  background: #14392E;
}

.page-home .tl-card--now::after {
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(43, 245, 155, 0.18);
  animation: homeNode 2.4s ease-in-out infinite;
}

.page-home .tl-card--hook {
  background: #1B2A1F;
  border-color: rgba(247, 178, 59, 0.5);
  border-style: dashed;
}

.page-home .tl-card--hook .tl-card__time {
  color: var(--amber);
}

.page-home .tl-wrap__shot img {
  aspect-ratio: 16 / 10;
}

.page-home .media-frame__caption {
  display: block;
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fog);
  background: var(--pitch);
  border-top: 1px solid var(--line);
}

@keyframes homeNode {
  0%, 100% { box-shadow: 0 0 0 4px rgba(43, 245, 155, 0.18); }
  50% { box-shadow: 0 0 0 9px rgba(43, 245, 155, 0.05); }
}

/* ---------- 四个入口 ---------- */
.page-home .entries-section {
  padding-inline: var(--gutter);
  border-block: 1px solid var(--line);
}

.page-home .entries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 26px;
}

.page-home .entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px 22px;
  background: var(--pitch);
  border: 1px solid var(--line);
  color: var(--paper);
  text-decoration: none;
  transition: border-color var(--dur) ease, transform var(--dur) ease, background-color var(--dur) ease;
}

.page-home .entry:hover,
.page-home .entry:focus-visible {
  border-color: var(--neon);
  background: #103028;
  transform: translateY(-2px);
}

.page-home .entry:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.page-home .entry__index {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--fog);
}

.page-home .entry__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--neon);
  font-size: 18px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--dur) ease, transform var(--dur) ease;
}

.page-home .entry:hover .entry__arrow,
.page-home .entry:focus-visible .entry__arrow {
  opacity: 1;
  transform: translateX(0);
}

.page-home .entry__title {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 22ch;
}

.page-home .entry__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #C9D8D2;
}

.page-home .entry__meta {
  margin: 4px 0 0;
  padding: 12px 0 0;
  list-style: none;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--fog);
  display: grid;
  gap: 6px;
}

.page-home .entry__meta li::before {
  content: "▸ ";
  color: var(--neon);
}

.page-home .entry--lead {
  background: #14392E;
  border-color: #1F5C48;
}

.page-home .entry--lead .entry__index {
  color: var(--glow);
}

.page-home .entry--lead .entry__text {
  color: #D5E7DF;
  font-size: 15px;
}

.page-home .entry .tag {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- 终场之后 ---------- */
.page-home .after {
  padding-inline: var(--gutter);
}

.page-home .after__grid {
  display: grid;
  gap: 26px;
  align-items: start;
}

.page-home .after__lead p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: #C9D8D2;
  max-width: 52ch;
}

.page-home .after__panel {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 20px 18px 22px;
  box-shadow: 8px 8px 0 0 var(--panel);
}

.page-home .after__num {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: clamp(52px, 9vw, 76px);
  font-weight: 600;
  line-height: 1;
  color: #0C1F19;
  letter-spacing: -0.04em;
}

.page-home .after__num span {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2E4A40;
}

.page-home .after__panel-label {
  margin: 6px 0 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #4C6A5F;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(6, 10, 9, 0.16);
}

.page-home .after__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 14px;
  color: #16302A;
}

.page-home .after__list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-home .after__list li::before {
  content: "";
  width: 14px;
  height: 2px;
  background: #0C1F19;
  flex: 0 0 auto;
  transform: translateY(-4px);
}

/* ---------- 数据来路 ---------- */
.page-home .verify {
  padding-inline: var(--gutter);
  background: linear-gradient(180deg, #060A09 0%, #0C1F19 100%);
  border-top: 1px solid var(--line);
}

.page-home .verify__banner {
  margin-bottom: 30px;
}

.page-home .verify__banner img {
  aspect-ratio: 16 / 5;
}

.page-home .verify__intro {
  max-width: 54ch;
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--fog);
}

.page-home .verify__grid {
  display: grid;
  gap: 20px;
  margin: 28px 0 0;
}

.page-home .verify__cell {
  padding-left: 16px;
  border-left: 2px solid var(--neon);
}

.page-home .verify__cell:nth-child(2) {
  border-left-color: var(--amber);
}

.page-home .verify__cell:nth-child(3) {
  border-left-color: var(--glow);
}

.page-home .verify__step {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--fog);
}

.page-home .verify__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .verify__cell p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: #C9D8D2;
}

.page-home .verify__stat {
  margin: 30px 0 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #0F2A22;
  font-size: 14px;
  line-height: 1.7;
  color: #D5E7DF;
}

.page-home .verify__stat .mono {
  color: var(--amber);
  font-size: 22px;
  font-weight: 600;
}

/* ---------- 收尾 ---------- */
.page-home .closing {
  padding-inline: var(--gutter);
  display: grid;
  gap: 26px;
  align-items: center;
  border-top: 1px solid var(--line);
  background: var(--pitch);
}

.page-home .closing__media img {
  aspect-ratio: 4 / 3;
  filter: saturate(0.85);
}

.page-home .closing__copy p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: #C9D8D2;
  max-width: 44ch;
}

.page-home .closing__cta {
  margin-top: 22px;
  max-width: 340px;
}

.page-home .closing__cta:active {
  background: var(--glow);
  border-color: var(--glow);
  color: var(--ink);
}

.page-home .closing__note {
  font-size: 13px;
  color: var(--fog);
}

.page-home .closing__note a {
  color: var(--glow);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

.page-home .closing__note a:hover {
  text-decoration-color: var(--neon);
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-home .entries {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .entry--lead,
  .page-home .entry--wide {
    grid-column: span 2;
  }

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

@media (min-width: 940px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  }

  .page-home .after__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
  }

  .page-home .closing {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 44px;
  }

  .page-home .closing__media {
    align-self: stretch;
  }

  .page-home .closing__media img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 320px;
  }
}

@media (min-width: 1000px) {
  .page-home .tl-wrap {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: start;
  }

  .page-home .tl-wrap__shot {
    margin-top: 26px;
  }
}

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

  .page-home .entry--lead {
    grid-column: span 6;
  }

  .page-home .entry--sm {
    grid-column: span 3;
  }

  .page-home .entry--wide {
    grid-column: span 7;
  }

  .page-home .entry--side {
    grid-column: span 5;
  }

  .page-home .entry--lead .entry__title {
    font-size: 26px;
    max-width: 18ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .score-visual__dot,
  .page-home .tl-card--now::after {
    animation: none;
  }

  .page-home .entry,
  .page-home .tl-card,
  .page-home .entry__arrow {
    transition: none;
  }

  .page-home .entry:hover,
  .page-home .tl-card:hover {
    transform: none;
  }
}
