.page-home {
  --home-cut: 14px;
  --home-edge: 1px solid rgba(31, 90, 67, 0.85);
}

/* ---------- 首屏海报 ---------- */
.page-home .hero-poster {
  position: relative;
  padding-block: clamp(1.25rem, 4vw, 2.25rem) 0;
}

.page-home .hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 90, 67, 0.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 90, 67, 0.38) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 76%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 76%);
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.5rem, 5vw, 3rem);
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: 7fr 5fr;
    align-items: end;
  }
}

.page-home .hero-kicker {
  margin: 0 0 1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 9vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--white);
}

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

.page-home .hero-title .hl {
  color: var(--lime);
}

.page-home .hero-lede {
  margin: 1.25rem 0 0;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.page-home .hero-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 240px;
  background: var(--ink);
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, 0 100%);
}

@media (min-width: 900px) {
  .page-home .hero-visual {
    aspect-ratio: 14 / 10;
    min-height: 380px;
    height: 100%;
  }
}

.page-home .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.6) contrast(1.05);
}

.page-home .pitch-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: rgba(216, 255, 62, 0.5);
  stroke-width: 1.4;
}

.page-home .pitch-lines .trace {
  stroke-dasharray: 900;
  stroke-dashoffset: 0;
}

.page-home .pitch-lines .arc {
  stroke: rgba(138, 167, 154, 0.72);
  stroke-width: 1.1;
}

.page-home .hero-poster.is-visible .pitch-lines .trace {
  animation: home-pitch-draw 900ms cubic-bezier(0.4, 0, 0.2, 1) 120ms both;
}

@keyframes home-pitch-draw {
  from {
    stroke-dashoffset: 900;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.page-home .scoreboard {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 0 0.45rem;
  padding: 0.7rem 1rem 0.8rem;
  background: rgba(5, 23, 15, 0.84);
  border-left: 3px solid var(--lime);
}

.page-home .scoreboard-cap {
  grid-column: 1 / -1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .scoreboard-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 7vw, 2.9rem);
  line-height: 1;
  color: var(--lime);
}

.page-home .scoreboard-unit {
  font-size: 12px;
  color: var(--text-dim);
}

.page-home .hero-status {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin-top: clamp(1.75rem, 5vw, 3rem);
  padding: 0.8rem var(--gutter);
  background: var(--lime);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-home .hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 0;
  background: var(--g700);
  border-bottom: var(--home-edge);
}

@media (min-width: 700px) {
  .page-home .hero-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .hero-metrics .metric {
  display: grid;
  gap: 0.3rem;
  padding: 1.1rem 1.25rem;
  background: var(--g900);
}

.page-home .hero-metrics .metric-value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1;
  color: var(--white);
}

.page-home .hero-metrics .metric-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mist);
}

/* ---------- 联赛分区 ---------- */
.page-home .league-section {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}

.page-home .league-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 82vw);
  gap: 1rem;
  max-width: var(--frame-max);
  margin-inline: auto;
  padding: 0.25rem var(--gutter) 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--g700) transparent;
}

.page-home .league-rail::-webkit-scrollbar {
  height: 6px;
}

.page-home .league-rail::-webkit-scrollbar-track {
  background: var(--g800);
}

.page-home .league-rail::-webkit-scrollbar-thumb {
  background: var(--g700);
}

@media (min-width: 900px) {
  .page-home .league-rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }
}

.page-home .league-card {
  scroll-snap-align: start;
  padding: 1.35rem 1.25rem 1.5rem;
  background: var(--g800);
  border: var(--home-edge);
  clip-path: polygon(0 0, calc(100% - var(--home-cut)) 0, 100% var(--home-cut), 100% 100%, 0 100%);
  transition: transform 180ms ease, background 180ms ease;
}

.page-home .league-card:hover {
  transform: translateY(-2px);
  background: #17452F;
}

.page-home .league-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.page-home .league-meta {
  margin: 0.35rem 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .league-meta .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--lime);
}

.page-home .league-note {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.page-home .league-rev {
  margin: 1rem 0 0;
  padding-top: 0.75rem;
  border-top: var(--home-edge);
  font-size: 12px;
  color: var(--mist);
}

.page-home .league-rev .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
  color: var(--lime);
}

/* ---------- 榜单摘要 ---------- */
.page-home .split-grid {
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.page-home .split-main .media-frame {
  margin: 0 0 1.5rem;
}

.page-home .split-sub {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.page-home .split-sub .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--lime);
}

.page-home .side-note {
  margin: 0 0 0.85rem;
  font-size: 12px;
  line-height: 1.65;
  color: var(--mist);
}

.page-home .injury-card {
  margin-top: 1.5rem;
  overflow: hidden;
  background: var(--g800);
  border: var(--home-edge);
  border-left: 3px solid var(--alert);
}

.page-home .injury-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.58);
}

.page-home .injury-card .tag {
  margin: 1rem 1.25rem 0.5rem;
}

.page-home .injury-card p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 时间轴 ---------- */
.page-home .timeline {
  position: relative;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--g700), var(--lime));
}

.page-home .timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1.1rem;
  padding: 0.5rem 0 1.75rem;
}

.page-home .timeline-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--g700);
  border-radius: 50%;
  background: var(--g900);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  color: var(--lime);
}

.page-home .timeline-item.is-current .timeline-node {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
}

.page-home .timeline-body h3 {
  margin: 0.4rem 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--white);
}

.page-home .timeline-body p {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-home .timeline-body details {
  padding-left: 0.9rem;
  border-left: 2px solid var(--g700);
}

.page-home .timeline-body summary {
  cursor: pointer;
  list-style: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}

.page-home .timeline-body summary::-webkit-details-marker {
  display: none;
}

.page-home .timeline-body summary::before {
  content: "＋ ";
}

.page-home .timeline-body details[open] summary::before {
  content: "－ ";
}

.page-home .timeline-body details p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--mist);
}

.page-home .timeline-figure {
  margin: clamp(1rem, 3vw, 1.75rem) 0 0;
}

/* ---------- 专栏带 ---------- */
.page-home .column-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 80vw);
  gap: 1rem;
  max-width: var(--frame-max);
  margin-inline: auto;
  padding: 0.25rem var(--gutter) 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--g700) transparent;
}

.page-home .column-rail:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.page-home .column-rail::-webkit-scrollbar {
  height: 6px;
}

.page-home .column-rail::-webkit-scrollbar-track {
  background: var(--g800);
}

.page-home .column-rail::-webkit-scrollbar-thumb {
  background: var(--g700);
}

@media (min-width: 900px) {
  .page-home .column-rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    scroll-snap-type: none;
  }
}

.page-home .note-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem;
  background: var(--g800);
  border: var(--home-edge);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  transition: transform 180ms ease, background 180ms ease;
}

.page-home .note-card:hover {
  transform: translateY(-2px);
  background: #17452F;
}

.page-home .note-card:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}

.page-home .note-round {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--lime);
}

.page-home .note-round::before {
  content: "第 ";
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--mist);
}

.page-home .note-round::after {
  content: " 轮";
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--mist);
}

.page-home .note-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--white);
}

.page-home .note-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-dim);
}

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

/* ---------- 四步路径 ---------- */
.page-home .path-list {
  display: grid;
  gap: 1rem;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .page-home .path-list {
    position: relative;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .page-home .path-list::before {
    content: "";
    position: absolute;
    top: 1.15rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, var(--g700), var(--lime));
  }
}

.page-home .path-step {
  position: relative;
  padding: 1.25rem;
  background: var(--g800);
  border: var(--home-edge);
  border-top: 3px solid var(--g700);
}

.page-home .path-step:last-child {
  border-top-color: var(--lime);
}

.page-home .path-index {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--lime);
}

.page-home .path-step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--white);
}

.page-home .path-step p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 问答与联络 ---------- */
.page-home .closing-grid {
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.page-home .faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: var(--home-edge);
}

.page-home .faq-list li {
  border-bottom: var(--home-edge);
}

.page-home .faq-list a {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  text-decoration: none;
  color: var(--white);
  transition: color 180ms ease;
}

.page-home .faq-list a:hover,
.page-home .faq-list a:focus-visible {
  color: var(--lime);
}

.page-home .faq-list strong {
  font-weight: 500;
  font-size: 1rem;
}

.page-home .faq-list span {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .contact-card {
  padding: 1.5rem 1.35rem;
  background: var(--ink);
  border: var(--home-edge);
  border-top: 3px solid var(--lime);
}

.page-home .contact-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  color: var(--white);
}

.page-home .contact-card > p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-dim);
}

.page-home .contact-list {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.page-home .contact-list li {
  display: grid;
  gap: 0.2rem;
  font-size: 0.9rem;
  color: var(--white);
}

.page-home .contact-list li > span:first-child {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.page-home .contact-card .contact-note {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .contact-card .btn {
  margin-top: 0.25rem;
}

/* ---------- 返回与兜底 ---------- */
.page-home .back-top {
  max-width: var(--frame-max);
  margin: 0 auto;
  padding: 0 var(--gutter) 2rem;
}

.page-home .back-top a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid var(--g700);
  padding-bottom: 2px;
}

.page-home .back-top a:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.page-home [data-league][hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .page-home .league-card,
  .page-home .note-card,
  .page-home .faq-list a {
    transition: none;
  }

  .page-home .hero-poster.is-visible .pitch-lines .trace {
    animation: none;
  }
}
