.page-home {
  --home-grid: 88px;
  position: relative;
  overflow-x: hidden;
  color: var(--paper);
  background-color: var(--ink-900);
  background-image:
    linear-gradient(to right, rgba(30, 43, 69, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 43, 69, 0.5) 1px, transparent 1px);
  background-size: var(--home-grid) var(--home-grid);
  font-family: var(--font-body);
  line-height: 1.75;
}

.page-home [id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.page-home h1,
.page-home h2,
.page-home h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home p {
  margin: 0;
}

.page-home .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- 首屏控制台 ---------- */
.page-home .home-console {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4.5vw, 56px) 0 clamp(34px, 5vw, 68px);
  border-bottom: 1px solid var(--line);
}

.page-home .home-console__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0.32;
}

.page-home .home-console__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(100deg, rgba(7, 11, 20, 0.96) 0%, rgba(7, 11, 20, 0.84) 44%, rgba(7, 11, 20, 0.52) 100%),
    radial-gradient(58% 68% at 92% 6%, rgba(255, 106, 43, 0.26), transparent 62%),
    radial-gradient(50% 58% at 4% 98%, rgba(24, 224, 255, 0.18), transparent 64%);
}

.page-home .home-console__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
}

.page-home .home-console__crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .home-console__eyebrow {
  margin-bottom: 12px;
  color: var(--cyan);
}

.page-home .home-console h1 {
  max-width: 19ch;
  font-size: clamp(28px, 5.2vw, 52px);
  line-height: 1.12;
}

.page-home .home-console__intro {
  max-width: 48ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.page-home .home-console__index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
  margin: clamp(20px, 3vw, 32px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .home-console__index a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .home-console__index a .num {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--line);
  transition: color 0.2s ease;
}

.page-home .home-console__index a:hover,
.page-home .home-console__index a:focus-visible {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.page-home .home-console__index a:hover .num,
.page-home .home-console__index a:focus-visible .num {
  color: var(--cyan);
}

/* 赛程矩阵 */
.page-home .home-console__matrix {
  border: 1px solid var(--line);
  padding: clamp(16px, 2.2vw, 24px);
  background-color: rgba(13, 20, 36, 0.92);
  background-image:
    linear-gradient(135deg, rgba(24, 224, 255, 0.09) 0 15%, transparent 15.5%),
    linear-gradient(135deg, transparent 64%, rgba(255, 106, 43, 0.1) 64.5% 79%, transparent 79.5%);
}

.page-home .home-console__matrix-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.page-home .home-console__matrix-head h2 {
  font-size: clamp(17px, 2.2vw, 21px);
}

.page-home .home-console__matrix-meta {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--lava);
  white-space: nowrap;
}

.page-home .home-console__matrix-note {
  margin: 12px 0 16px;
  font-size: 13px;
  color: var(--muted);
}

.page-home .fixtures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-home .fixture {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 12px 12px 15px;
  border: 1px solid var(--line);
  background: rgba(19, 28, 48, 0.74);
  color: var(--paper);
  text-decoration: none;
  transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.page-home .fixture::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--line);
  transition: background-color 0.22s ease;
}

.page-home .fixture:hover,
.page-home .fixture:focus-visible {
  border-color: var(--cyan);
  background: rgba(24, 224, 255, 0.08);
  transform: translateY(-2px);
}

.page-home .fixture:hover::before,
.page-home .fixture:focus-visible::before {
  background: var(--cyan);
}

.page-home .fixture__league {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-home .fixture__round {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-home .fixture__count {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-home .fixture__unit {
  font-size: 11px;
  color: var(--muted);
}

.page-home .fixture__state {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 10px;
}

/* ---------- 联赛切换 ---------- */
.page-home .home-leagues {
  padding: clamp(40px, 6vw, 84px) 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-leagues__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
}

.page-home .home-leagues__figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-800);
}

.page-home .home-leagues__figure img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  opacity: 0.8;
}

.page-home .home-leagues__body h2 {
  max-width: 22ch;
  font-size: clamp(22px, 3.2vw, 32px);
}

.page-home .home-leagues__intro {
  max-width: 62ch;
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

.page-home .league-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.page-home .league-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.page-home .league-chip:hover,
.page-home .league-chip:focus-visible {
  border-color: var(--cyan);
  background: var(--glass-strong);
  color: var(--cyan);
}

.page-home .home-leagues__foot {
  max-width: 62ch;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 伤停快照 ---------- */
.page-home .home-injury {
  padding: clamp(40px, 6vw, 84px) 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.62), rgba(7, 11, 20, 0.15));
}

.page-home .home-injury__head {
  max-width: 76ch;
}

.page-home .home-injury__head h2 {
  max-width: 22ch;
  margin-top: 10px;
  font-size: clamp(22px, 3.4vw, 34px);
}

.page-home .home-injury__lede {
  max-width: 66ch;
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

.page-home .injury-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .injury-card {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--lime);
  background: rgba(19, 28, 48, 0.8);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.page-home .injury-card:hover {
  border-color: var(--cyan);
  border-top-color: var(--lime);
  background: rgba(24, 224, 255, 0.06);
}

.page-home .injury-card__dot {
  width: 7px;
  height: 7px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(124, 255, 79, 0.16);
}

.page-home .injury-card h3 {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.page-home .injury-card__num {
  margin-top: 8px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--lime);
}

.page-home .injury-card__unit {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.page-home .injury-card__desc {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
}

.page-home .injury-card__link {
  align-self: flex-start;
  margin-top: 14px;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  color: var(--cyan);
  font-size: 13px;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.page-home .injury-card__link:hover,
.page-home .injury-card__link:focus-visible {
  border-bottom-color: var(--cyan);
}

/* ---------- 战报时间轴 ---------- */
.page-home .home-reports {
  padding: clamp(40px, 6vw, 84px) 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-reports__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
}

.page-home .home-reports__lead h2 {
  max-width: 20ch;
  margin-top: 10px;
  font-size: clamp(22px, 3.2vw, 32px);
}

.page-home .home-reports__lead > p {
  max-width: 46ch;
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

.page-home .home-reports__points {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-reports__points li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--muted);
}

.page-home .home-reports__points li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--lava);
  transform: rotate(45deg);
}

.page-home .home-reports__lead .btn {
  margin-top: 24px;
}

.page-home .home-reports__figure {
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-home .home-reports__figure img {
  display: block;
  width: 100%;
  height: clamp(150px, 22vw, 240px);
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.7;
}

.page-home .timeline {
  margin: 0;
  padding: 0 0 0 24px;
  list-style: none;
  border-left: 1px solid var(--line);
}

.page-home .timeline__item {
  position: relative;
  padding-bottom: 26px;
  transition: opacity 0.2s ease;
}

.page-home .timeline__item:last-child {
  padding-bottom: 0;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -29px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--cyan);
  background: var(--ink-900);
  transform: rotate(45deg);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .timeline__item:hover::before,
.page-home .timeline__item:focus-within::before {
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(24, 224, 255, 0.16);
}

.page-home .timeline__meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-home .timeline__round {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .timeline__sport {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-home .timeline__score {
  margin-top: 4px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--lava);
}

.page-home .timeline__note {
  max-width: 52ch;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.page-home .timeline__item:hover .timeline__note {
  color: var(--paper);
}

/* ---------- 大屏版说明 ---------- */
.page-home .home-bigscreen {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 84px) 0;
  border-bottom: 1px solid var(--line);
  background: var(--ink-800);
}

.page-home .home-bigscreen__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-home .home-bigscreen__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.86), rgba(7, 11, 20, 0.94));
}

.page-home .home-bigscreen__inner {
  position: relative;
  z-index: 1;
}

.page-home .home-bigscreen__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: clamp(22px, 3.5vw, 38px);
}

.page-home .home-bigscreen__head h2 {
  max-width: 20ch;
  margin-top: 10px;
  font-size: clamp(22px, 3.2vw, 32px);
}

.page-home .home-bigscreen__lede {
  max-width: 60ch;
  font-size: 15px;
  color: var(--muted);
}

.page-home .bigscreen-rail {
  overflow-x: auto;
  padding-bottom: 14px;
  padding-inline: var(--gutter);
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  -webkit-overflow-scrolling: touch;
}

.page-home .bigscreen-rail__track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding-bottom: 4px;
}

.page-home .bigscreen-card {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 8px;
  width: min(74vw, 280px);
  padding: 18px 16px;
  border: 1px solid var(--line);
  background: rgba(19, 28, 48, 0.9);
  scroll-snap-align: start;
  transition: border-color 0.22s ease, background-color 0.22s ease;
}

.page-home .bigscreen-card:hover {
  border-color: var(--cyan);
  background: rgba(24, 224, 255, 0.08);
}

.page-home .bigscreen-card__no {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.page-home .bigscreen-card h3 {
  font-size: 15px;
}

.page-home .bigscreen-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 资料归档 ---------- */
.page-home .home-downloads {
  padding: clamp(40px, 6vw, 84px) 0;
  border-bottom: 1px solid var(--line);
}

.page-home .home-downloads__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
}

.page-home .home-downloads__lead h2 {
  max-width: 22ch;
  margin-top: 10px;
  font-size: clamp(22px, 3.2vw, 32px);
}

.page-home .home-downloads__lead > p {
  max-width: 48ch;
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

.page-home .home-downloads__lead .btn {
  margin-top: 24px;
}

.page-home .archive {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .archive__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease;
}

.page-home .archive__row:hover {
  border-bottom-color: var(--cyan);
}

.page-home .archive__label {
  font-size: 14px;
  color: var(--paper);
  transition: color 0.2s ease;
}

.page-home .archive__row:hover .archive__label {
  color: var(--cyan);
}

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

/* ---------- 收束区 ---------- */
.page-home .home-close {
  padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, rgba(13, 20, 36, 0.9), rgba(7, 11, 20, 1));
}

.page-home .home-close__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
}

.page-home .home-close__lead h2 {
  max-width: 22ch;
  margin-top: 10px;
  font-size: clamp(22px, 3.4vw, 34px);
}

.page-home .home-close__lead > p {
  max-width: 50ch;
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

.page-home .home-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-home .home-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.page-home .home-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px;
  background: var(--ink-900);
}

.page-home .home-metrics dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-home .home-metrics dd {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  color: var(--paper);
}

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

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

  .page-home .home-console__intro {
    font-size: 16px;
  }
}

@media (min-width: 900px) {
  .page-home .home-leagues__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
    align-items: start;
  }

  .page-home .home-leagues__figure img {
    height: clamp(320px, 34vw, 460px);
  }

  .page-home .home-downloads__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
    align-items: start;
  }

  .page-home .home-bigscreen__head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: end;
    gap: 32px;
  }
}

@media (min-width: 940px) {
  .page-home .home-console__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .home-close__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .page-home .home-reports__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
}

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

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

@media (max-width: 700px) {
  .page-home {
    --home-grid: 44px;
  }

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

  .page-home .home-metrics dd {
    font-size: 18px;
  }

  .page-home .timeline {
    padding-left: 18px;
  }

  .page-home .timeline__item::before {
    left: -23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .fixture,
  .page-home .league-chip,
  .page-home .injury-card,
  .page-home .bigscreen-card,
  .page-home .archive__row,
  .page-home .timeline__item::before {
    transition: none;
  }

  .page-home .fixture:hover,
  .page-home .fixture:focus-visible {
    transform: none;
  }
}
