.page-home {
  --home-cut: 3px;
  background-color: var(--ink-900);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  color: var(--paper);
  overflow-x: hidden;
}

.page-home .label {
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home a:focus-visible,
.page-home button:focus-visible,
.page-home [tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius);
}

.page-home [data-reveal] {
  opacity: 1;
  transform: translateY(12px);
  transition: transform 420ms var(--ease);
}
.page-home [data-reveal].is-visible {
  transform: translateY(0);
}

/* ---------------- 首屏 ---------------- */

.page-home .hero {
  position: relative;
  border-bottom: var(--home-cut) solid var(--line);
  background:
    radial-gradient(88% 74% at 6% 0%, rgba(30, 122, 76, 0.34), transparent 62%),
    radial-gradient(64% 58% at 102% 104%, rgba(200, 164, 75, 0.12), transparent 72%),
    var(--ink-900);
}

.page-home .pitch-mark {
  position: absolute;
  right: -14%;
  top: -22%;
  width: min(620px, 78vw);
  height: auto;
  color: var(--gold);
  opacity: 0.14;
  pointer-events: none;
}
.page-home .pitch-mark circle,
.page-home .pitch-mark line,
.page-home .pitch-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.page-home .hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 26px 16px 48px;
  display: grid;
  gap: 34px;
}

.page-home .breadcrumb {
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.page-home .breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.page-home .breadcrumb li + li::before {
  content: "/";
  color: var(--gold);
  margin-right: 6px;
}
.page-home .breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.page-home .breadcrumb a:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}
.page-home .breadcrumb [aria-current="page"] {
  color: var(--gold-soft);
}

.page-home .hero-kicker {
  margin: 0 0 12px;
  color: var(--gold);
}

.page-home .hero-title {
  margin: 0 0 20px;
  font-size: clamp(29px, 7.4vw, 58px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.012em;
  max-width: 15em;
  transform: skewX(-1.4deg);
  transform-origin: left bottom;
}

.page-home .hero-lede {
  margin: 0 0 28px;
  max-width: 30em;
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--muted);
}

.page-home .hero-switch-wrap {
  margin-bottom: 24px;
}
.page-home .hero-switch-wrap > .label {
  margin: 0 0 9px;
  color: var(--gold-soft);
}

.page-home .hero-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(6, 18, 13, 0.72);
}
.page-home .hero-switch .league-btn {
  appearance: none;
  border: 0;
  border-right: 1px solid var(--line-soft);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 11px 22px;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.page-home .hero-switch .league-btn:last-child {
  border-right: 0;
}
.page-home .hero-switch .league-btn:hover {
  background: rgba(200, 164, 75, 0.14);
  color: var(--paper);
}
.page-home .hero-switch .league-btn.is-active {
  background: var(--gold);
  color: var(--ink-900);
}

.page-home .hero-actions {
  margin: 0 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero-strip {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: var(--home-cut) solid var(--gold);
}
.page-home .hero-strip > div {
  background: rgba(6, 18, 13, 0.78);
  padding: 13px 12px 15px;
}
.page-home .hero-strip dt {
  margin: 0 0 7px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.page-home .hero-strip dd {
  margin: 0;
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--neon);
}
.page-home .hero-strip dd .num {
  margin-right: 3px;
}

.page-home .hero-side {
  position: relative;
}

.page-home .hero-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink-800);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
}
.page-home .hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.06);
}
.page-home .hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 18, 13, 0.55) 0%, rgba(6, 18, 13, 0.1) 42%, rgba(6, 18, 13, 0.86) 100%);
  pointer-events: none;
}
.page-home .hero-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  margin: 0;
  color: var(--gold-soft);
  font-size: 11px;
  letter-spacing: 0.14em;
}

/* ---------------- 数字矩阵 ---------------- */

.page-home .matrix {
  position: relative;
  overflow: hidden;
  background: var(--ink-800);
  border-bottom: var(--home-cut) solid var(--line-soft);
}
.page-home .matrix-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-home .matrix-bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.16;
}
.page-home .matrix-inner {
  position: relative;
  z-index: 1;
  padding-top: 52px;
  padding-bottom: 52px;
}

.page-home .sec-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.page-home .sec-head .label {
  margin: 0 0 12px;
  color: var(--gold);
}
.page-home .sec-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 4.8vw, var(--fs-section));
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.008em;
}
.page-home .sec-lede {
  margin: 0;
  max-width: 34em;
  line-height: 1.75;
  color: var(--muted);
}

.page-home .matrix-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border-top: var(--home-cut) solid var(--gold);
}

.page-home .fig {
  position: relative;
  display: block;
  padding: 24px 20px 28px;
  background: rgba(12, 36, 27, 0.94);
  color: inherit;
  text-decoration: none;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.page-home .fig::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: transparent;
  transition: background var(--dur) var(--ease);
}
.page-home .fig:hover,
.page-home .fig:focus-visible {
  background: var(--ink-700);
  transform: translateY(-2px);
}
.page-home .fig:hover::before,
.page-home .fig:focus-visible::before {
  background: var(--gold);
}

.page-home .fig-label {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}
.page-home .fig-num {
  margin: 0;
  font-family: var(--font-num);
  font-size: 52px;
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--neon);
}
.page-home .fig-unit {
  margin: 8px 0 12px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--paper);
}
.page-home .fig-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------------- 工具区 ---------------- */

.page-home .tools {
  padding: 56px 0;
  background: var(--ink-900);
}

.page-home .tool-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border-top: var(--home-cut) solid var(--gold);
}

.page-home .tool {
  background: var(--ink-800);
  overflow: hidden;
}
.page-home .tool--bracket {
  background:
    linear-gradient(200deg, rgba(142, 44, 110, 0.22), rgba(226, 115, 58, 0.08) 58%, transparent 88%),
    var(--ink-800);
}

.page-home .tool-figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.page-home .tool-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 0.72;
}

.page-home .tool-body {
  padding: 26px 20px 30px;
}
.page-home .tool-body > .tag {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-900);
  background: var(--gold-soft);
  padding: 4px 10px;
  border-radius: var(--radius);
  text-transform: uppercase;
}
.page-home .tool-title {
  margin: 0 0 14px;
  font-size: var(--fs-card);
  line-height: 1.32;
  font-weight: 800;
}
.page-home .tool-text {
  margin: 0 0 20px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 34em;
}
.page-home .tool-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.page-home .tool-list li {
  position: relative;
  padding: 9px 0 9px 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.65;
  color: var(--paper);
}
.page-home .tool-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 7px;
  background: var(--neon);
  border-radius: 1px;
}
.page-home .tool-list .num {
  font-family: var(--font-num);
  font-weight: 800;
  color: var(--gold-soft);
  margin-right: 3px;
}

.page-home .rounds {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.page-home .round {
  display: grid;
  grid-template-columns: 30px 58px 1fr;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line-soft);
}
.page-home .round-idx {
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
  color: var(--away);
}
.page-home .round-name {
  font-size: 14px;
  color: var(--paper);
}
.page-home .round-bar {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(169, 181, 174, 0.16);
  overflow: hidden;
}
.page-home .round-fill {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--bracket-a), var(--bracket-b));
}
.page-home .round:nth-child(1) .round-fill { width: 20%; }
.page-home .round:nth-child(2) .round-fill { width: 33%; }
.page-home .round:nth-child(3) .round-fill { width: 47%; }
.page-home .round:nth-child(4) .round-fill { width: 61%; }
.page-home .round:nth-child(5) .round-fill { width: 75%; }
.page-home .round:nth-child(6) .round-fill { width: 88%; }
.page-home .round:nth-child(7) .round-fill { width: 100%; }

/* ---------------- 球队与球员快速通道 ---------------- */

.page-home .fastlane {
  padding: 56px 0;
  background: var(--ink-800);
  border-top: var(--home-cut) solid var(--line-soft);
  border-bottom: var(--home-cut) solid var(--line-soft);
}

.page-home .fastlane-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-home .steps {
  list-style: none;
  margin: 26px 0 26px;
  padding: 0;
  counter-reset: step;
}
.page-home .steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper);
}
.page-home .step-idx {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
}

.page-home .fastlane-actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .fastlane-side {
  display: grid;
  gap: 18px;
}

.page-home .jersey-figure {
  margin: 0;
  overflow: hidden;
  background: var(--ink-700);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 8% 100%);
}
.page-home .jersey-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.7);
}

.page-home .number-index {
  border-top: var(--home-cut) solid var(--gold);
  padding-top: 16px;
}
.page-home .number-index > .label {
  margin: 0 0 12px;
  color: var(--gold-soft);
}
.page-home .numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 4px;
}
.page-home .numbers li {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(20, 64, 47, 0.62);
  border-radius: 2px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.page-home .numbers li:nth-child(1),
.page-home .numbers li:nth-child(7),
.page-home .numbers li:nth-child(10),
.page-home .numbers li:nth-child(45) {
  background: rgba(200, 164, 75, 0.28);
  color: var(--gold-soft);
}

/* ---------------- 更新节奏 ---------------- */

.page-home .pulse {
  padding: 56px 0 64px;
  background: var(--ink-900);
}

.page-home .pulse-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--home-cut) solid var(--gold);
}
.page-home .tl-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.page-home .tl-time {
  font-family: var(--font-num);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--neon);
}
.page-home .tl-body {
  min-width: 0;
}
.page-home .tl-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.page-home .tl-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

.page-home .pulse-side {
  background: var(--ink-800);
  border-top: var(--home-cut) solid var(--gold);
  padding: 22px 20px 26px;
}
.page-home .pulse-side > .label {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-soft);
}
.page-home .pulse-big {
  margin: 0 0 4px;
  font-family: var(--font-num);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--paper);
}
.page-home .pulse-sub {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.page-home .pulse-side .rule {
  margin: 0 0 18px;
  border: 0;
  height: 3px;
  background: var(--line);
}
.page-home .pulse-cta {
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------- 响应式 ---------------- */

@media (min-width: 700px) {
  .page-home .hero-inner {
    padding: 36px 24px 64px;
    gap: 44px;
  }
  .page-home .matrix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-home .fig-num {
    font-size: 58px;
  }
  .page-home .numbers {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }
  .page-home .pulse-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (min-width: 1000px) {
  .page-home .hero-inner {
    grid-template-columns: 62fr 38fr;
    align-items: center;
    gap: 0;
    padding: 44px 24px 0;
  }
  .page-home .hero-copy {
    padding-right: 48px;
    padding-bottom: 56px;
  }
  .page-home .hero-title {
    font-size: clamp(38px, 4.4vw, 64px);
  }
  .page-home .hero-side {
    align-self: stretch;
    margin-top: -44px;
  }
  .page-home .hero-figure,
  .page-home .hero-figure img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 520px;
  }

  .page-home .matrix-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-home .fig {
    padding: 28px 24px 34px;
  }
  .page-home .fig-num {
    font-size: 62px;
  }

  .page-home .tool-split {
    grid-template-columns: 1.06fr 0.94fr;
  }
  .page-home .tool-body {
    padding: 30px 28px 34px;
  }
  .page-home .tool--bracket .tool-body {
    padding-top: 34px;
  }

  .page-home .fastlane-inner {
    grid-template-columns: 1fr 0.86fr;
    align-items: center;
    gap: 56px;
  }
  .page-home .numbers {
    grid-template-columns: repeat(9, minmax(0, 1fr));
  }

  .page-home .pulse-grid {
    gap: 48px;
  }
  .page-home .tl-item {
    grid-template-columns: 96px 1fr;
    gap: 24px;
    padding: 24px 0;
  }
  .page-home .tl-time {
    font-size: 24px;
  }
  .page-home .pulse-side {
    padding: 28px 26px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal] {
    transform: none;
    transition: none;
  }
  .page-home .fig,
  .page-home .hero-figure img,
  .page-home .numbers li {
    transition: none;
  }
  .page-home .fig:hover,
  .page-home .fig:focus-visible {
    transform: none;
  }
}
