.page-home {
  --home-line: var(--ink-700);
  --home-gap: clamp(16px, 2.4vw, 28px);
  background: var(--ink-900);
  color: var(--text);
  font-family: var(--font-body);
  padding-top: var(--header-total);
  overflow-x: hidden;
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
}

.page-home a:focus-visible,
.page-home summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 12px;
}

/* ---------- 首屏分屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(28px, 4.5vw, 56px) 0 clamp(36px, 5vw, 72px);
  border-bottom: 1px solid var(--home-line);
  background:
    radial-gradient(circle at 84% 6%, rgba(53, 240, 207, 0.13), transparent 54%),
    linear-gradient(180deg, var(--ink-850), var(--ink-900));
}

.page-home .home-hero__grid {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}

.page-home .home-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
  font-weight: 700;
  margin: 0 0 0.5em;
  color: var(--text);
}

.page-home .home-hero__lede {
  max-width: 46ch;
  margin: 0 0 clamp(22px, 3vw, 30px);
  color: var(--muted);
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  line-height: 1.82;
}

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

.page-home .home-toc {
  margin-top: clamp(26px, 3.4vw, 40px);
  padding-top: 18px;
  border-top: 1px solid var(--home-line);
}

.page-home .home-toc__title {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .home-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-home .home-toc__link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 12px;
  color: var(--text);
  text-decoration: none;
  border-left: 2px solid transparent;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

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

.page-home .home-toc__link:hover,
.page-home .home-toc__link:focus-visible {
  background: var(--cyan-dim);
  border-left-color: var(--cyan);
}

/* 比分看板 */
.page-home .home-board {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--ink-800), var(--ink-900) 72%);
}

.page-home .home-board__viz {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.75) contrast(1.08);
}

.page-home .home-board::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 26, 20, 0.42), rgba(6, 26, 20, 0.92));
}

.page-home .home-board__inner {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 3vw, 32px);
}

.page-home .home-board__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(18px, 3vw, 30px);
}

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

.page-home .home-board__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.6vw, 28px);
}

.page-home .home-board__side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.page-home .home-board__side--end {
  align-items: flex-end;
}

.page-home .home-board__team {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.page-home .home-board__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.4rem);
  line-height: 0.9;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums lining-nums;
}

.page-home .home-board__colon {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1;
  color: var(--red);
}

.page-home .home-board__clock {
  margin: 14px 0 clamp(18px, 3vw, 26px);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.page-home .home-board__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--ink-700);
  border: 1px solid var(--ink-700);
  border-radius: 2px;
  overflow: hidden;
}

.page-home .home-board__stats > div {
  background: rgba(6, 26, 20, 0.86);
  padding: 12px 8px;
  text-align: center;
}

.page-home .home-board__stats dt {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}

.page-home .home-board__stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  color: var(--yellow);
}

/* ---------- 横向比分带 ---------- */
.page-home .home-ticker {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--home-line);
  background: var(--ink-850);
}

.page-home .home-ticker__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.page-home .home-ticker__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(20px, 3vw, 32px);
  padding-bottom: clamp(20px, 3vw, 32px);
}

.page-home .home-ticker__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  margin-bottom: 16px;
}

.page-home .home-ticker__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.page-home .home-ticker__note {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--yellow);
}

.page-home .home-ticker__jump {
  margin-left: auto;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 240, 207, 0.5);
}

.page-home .home-ticker__list {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ink-700) transparent;
}

.page-home .home-ticker__list::-webkit-scrollbar {
  height: 4px;
}

.page-home .home-ticker__list::-webkit-scrollbar-thumb {
  background: var(--ink-700);
}

.page-home .home-ticker__item {
  flex: 0 0 auto;
  min-width: 252px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--home-line);
  border-left: 2px solid var(--cyan);
  border-radius: var(--radius);
  background: rgba(13, 43, 33, 0.72);
}

.page-home .home-ticker__teams {
  font-size: 14px;
  color: var(--text);
}

.page-home .home-ticker__teams b {
  font-size: 1.18rem;
  color: var(--yellow);
  margin: 0 2px;
}

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

/* ---------- 通用分区 ---------- */
.page-home .home-section {
  padding: clamp(44px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-section:last-of-type {
  border-bottom: 0;
}

.page-home .home-section__head {
  margin-bottom: clamp(26px, 4vw, 46px);
  max-width: 64ch;
}

.page-home .home-section__title {
  margin: 0 0 0.55em;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: 0.01em;
  color: var(--text);
}

.page-home .home-section__lede {
  margin: 0;
  font-size: clamp(0.95rem, 1.1vw, 1.03rem);
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 赛程中心 ---------- */
.page-home .home-schedule__grid {
  display: grid;
  gap: clamp(24px, 3.5vw, 44px);
}

.page-home .home-filters {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 43, 33, 0.62), rgba(6, 26, 20, 0.24));
}

.page-home .home-filters__title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .home-filters__title span {
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.page-home .home-filters__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-chip {
  display: inline-block;
  padding: 5px 10px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text);
  border: 1px solid var(--ink-700);
  border-radius: 2px;
  background: rgba(22, 61, 48, 0.5);
}

.page-home .home-chip--more {
  color: var(--muted);
  border-style: dashed;
  background: transparent;
}

.page-home .home-dates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink-700);
  border: 1px solid var(--ink-700);
  border-radius: 2px;
  overflow: hidden;
}

.page-home .home-dates__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 6px;
  text-align: center;
  background: var(--ink-850);
}

.page-home .home-dates__item .mono {
  font-size: 12.5px;
  color: var(--text);
}

.page-home .home-dates__item small {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .home-dates__item.is-current {
  background: rgba(53, 240, 207, 0.14);
}

.page-home .home-dates__item.is-current .mono {
  color: var(--cyan);
}

.page-home .home-states {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.page-home .home-states__item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
}

.page-home .home-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.page-home .home-dot--cyan {
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 240, 207, 0.16);
}

.page-home .home-dot--yellow {
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 210, 74, 0.16);
}

.page-home .home-dot--muted {
  background: var(--muted);
}

.page-home .home-filters__figure {
  margin: 0;
  border: 1px solid var(--home-line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--ink-850);
}

.page-home .home-filters__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.page-home .home-filters__figure figcaption {
  padding: 8px 10px;
  border-top: 1px solid var(--home-line);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-home .home-cards {
  display: grid;
  gap: clamp(12px, 1.6vw, 18px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 232px), 1fr));
  grid-auto-flow: dense;
}

.page-home .home-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: clamp(14px, 1.8vw, 20px);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--ink-800), var(--ink-850));
  transition: border-color 0.2s ease;
}

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

.page-home .home-card--wide {
  grid-column: span 2;
}

.page-home .home-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

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

.page-home .home-card__match {
  margin: 0;
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.page-home .home-card__match .mono {
  margin: 0 3px;
  font-size: 0.78em;
  color: var(--muted);
}

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

.page-home .home-card__state {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--ink-700);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--cyan);
}

.page-home .home-card__state--alert {
  color: var(--yellow);
}

.page-home .home-card__state--end {
  color: var(--muted);
}

.page-home .home-schedule__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: clamp(20px, 3vw, 30px);
  font-size: 12.5px;
  color: var(--muted);
}

.page-home .home-schedule__foot a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 240, 207, 0.45);
}

/* ---------- 版本对照 ---------- */
.page-home .home-versions {
  background: linear-gradient(180deg, var(--ink-900), var(--ink-850));
}

.page-home .home-versions__grid {
  display: grid;
  gap: clamp(12px, 2vw, 20px);
}

.page-home .home-version {
  display: block;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background: rgba(13, 43, 33, 0.62);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-home .home-version:hover,
.page-home .home-version:focus-visible {
  border-color: var(--cyan);
  background: rgba(53, 240, 207, 0.09);
}

.page-home .home-version__index {
  display: inline-block;
  margin-bottom: 14px;
  padding: 2px 8px;
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.page-home .home-version h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--text);
}

.page-home .home-version p {
  margin: 0 0 18px;
  font-size: 0.93rem;
  line-height: 1.78;
  color: var(--muted);
}

.page-home .home-version__more {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--yellow);
}

.page-home .home-versions__figure {
  position: relative;
  margin: clamp(18px, 3vw, 28px) 0 0;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-versions__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .home-versions__figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: linear-gradient(180deg, transparent, rgba(6, 26, 20, 0.94));
}

/* ---------- 战报 ---------- */
.page-home .home-reports__list {
  list-style: none;
  margin: 0 0 clamp(24px, 3vw, 34px);
  padding: 0;
  border-top: 1px solid var(--home-line);
}

.page-home .home-report {
  border-bottom: 1px solid var(--home-line);
}

.page-home .home-report__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  gap: 8px 14px;
  padding: 18px 2px;
  cursor: pointer;
  list-style: none;
}

.page-home .home-report__summary::-webkit-details-marker {
  display: none;
}

.page-home .home-report__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

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

.page-home .home-report__head {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--text);
}

.page-home .home-report__sign {
  position: relative;
  justify-self: end;
  width: 22px;
  height: 22px;
}

.page-home .home-report__sign::before,
.page-home .home-report__sign::after {
  content: "";
  position: absolute;
  background: var(--cyan);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.page-home .home-report__sign::before {
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  transform: translateY(-50%);
}

.page-home .home-report__sign::after {
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.page-home .home-report__details[open] .home-report__sign::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

.page-home .home-report__body {
  max-width: 62ch;
  padding: 0 2px 22px;
}

.page-home .home-report__body p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.86;
  color: var(--muted);
}

.page-home .home-report__more {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 240, 207, 0.45);
}

/* ---------- 服务与支持 ---------- */
.page-home .home-support__grid {
  display: grid;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
}

.page-home .home-support__panel {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--home-line);
  border-top: 2px solid var(--cyan);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--ink-800), var(--ink-900));
}

.page-home .home-support__list {
  margin: 0 0 16px;
  display: grid;
  gap: 14px;
}

.page-home .home-support__list > div {
  display: grid;
  gap: 4px;
}

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

.page-home .home-support__list dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
  overflow-wrap: anywhere;
}

.page-home .home-support__list a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 240, 207, 0.42);
}

.page-home .home-support__note {
  margin: 0 0 18px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-700);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-proof {
  list-style: none;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--ink-700);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .home-proof li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 14px;
  background: var(--ink-850);
}

.page-home .home-proof__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1;
  font-weight: 700;
  color: var(--yellow);
}

.page-home .home-proof p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .home-top-link {
  margin: clamp(32px, 5vw, 56px) 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.page-home .home-top-link a {
  color: var(--muted);
  text-decoration: none;
}

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

/* ---------- 响应式 ---------- */
@media (max-width: 619px) {
  .page-home .home-card--wide {
    grid-column: span 1;
  }
}

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

  .page-home .home-section__head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: end;
    max-width: none;
  }
}

@media (min-width: 900px) {
  .page-home .home-support__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
}

@media (min-width: 960px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  }

  .page-home .home-schedule__grid {
    grid-template-columns: minmax(230px, 1fr) minmax(0, 2.4fr);
    align-items: start;
  }

  .page-home .home-filters {
    position: sticky;
    top: calc(var(--header-total) + 16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition: none !important;
    animation: none !important;
  }
}
