.page-home {
  --home-line-soft: rgba(130, 150, 180, .18);
  display: block;
  background: var(--ink);
  color: #fff;
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: clamp(36px, 6vw, 76px) 0 clamp(46px, 7vw, 92px);
  background:
    radial-gradient(115% 85% at 88% -5%, rgba(22, 217, 140, .18), transparent 58%),
    radial-gradient(85% 70% at 2% 25%, rgba(255, 122, 41, .13), transparent 62%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 68%, var(--ink) 100%);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: -10% -6% auto;
  height: 130%;
  background-image:
    linear-gradient(var(--home-line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 62% at 28% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 62% at 28% 30%, #000 0%, transparent 78%);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}

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

.page-home .home-hero__title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 6.2vw, 62px);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: #fff;
}

.page-home .home-hero__lede {
  margin: 22px 0 0;
  max-width: 40em;
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  line-height: 1.9;
  color: var(--ink-soft);
}

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

.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin: 34px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--home-line-soft);
}

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

.page-home .home-hero__facts .mono {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -.02em;
}

.page-home .home-hero__facts em {
  font-style: normal;
  font-size: 13.5px;
  color: var(--slate);
}

.page-home .home-hero__panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 400px;
  border-radius: var(--radius-l);
  border: 1px solid var(--home-line-soft);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.page-home .home-hero__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.06) brightness(.66);
}

.page-home .home-hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 18, 32, .2) 0%, rgba(11, 18, 32, .74) 52%, rgba(11, 18, 32, .96) 100%);
}

.page-home .home-hero__panel-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(20px, 3vw, 32px);
}

.page-home .home-hero__panel-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--mint);
}

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

.page-home .home-hero__panel-link {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}

.page-home .home-hero__panel-link:hover {
  border-color: currentColor;
}

/* ---------- 比分条 ---------- */
.page-home .home-scores {
  padding: clamp(52px, 7vw, 96px) 0;
}

.page-home .home-scores__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}

.page-home .home-scores__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
}

.page-home .home-scores__note {
  margin: 0;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--slate);
}

.page-home .home-scores .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-scores .filter-btn {
  padding: 10px 18px;
  border-radius: var(--pill);
  border: 1px solid var(--home-line-soft);
  background: rgba(20, 33, 58, .62);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .home-scores .filter-btn:hover {
  border-color: var(--line-strong);
  color: #fff;
}

.page-home .home-scores .filter-btn[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #05221a;
}

.page-home .home-scores .filter-status {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .04em;
  color: var(--slate);
}

.page-home .home-scores__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-scores__list .scorebar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 15px 18px 15px 22px;
  border-radius: var(--radius-m);
  border: 1px solid var(--home-line-soft);
  background: linear-gradient(100deg, rgba(20, 33, 58, .88), rgba(11, 18, 32, .74));
  overflow: hidden;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}

.page-home .home-scores__list .scorebar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--green);
  opacity: .45;
  transition: opacity .2s var(--ease);
}

.page-home .home-scores__list .scorebar:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.page-home .home-scores__list .scorebar:hover::before {
  opacity: 1;
}

.page-home .home-scores__list .scorebar__team {
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
}

.page-home .home-scores__list .scorebar__sep {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--slate);
}

.page-home .home-scores__list .scorebar__note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--slate);
}

.page-home .home-scores__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* ---------- 历史数据呼吸区 ---------- */
.page-home .home-history {
  position: relative;
  padding: clamp(64px, 9vw, 122px) 0;
  background: var(--ink);
  overflow: hidden;
}

.page-home .home-history__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85) contrast(1.05) brightness(.5);
}

.page-home .home-history__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(90% 80% at 16% 50%, rgba(22, 217, 140, .22), transparent 62%),
    linear-gradient(120deg, rgba(11, 18, 32, .96) 0%, rgba(20, 33, 58, .82) 55%, rgba(11, 18, 32, .94) 100%);
}

.page-home .home-history__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
}

.page-home .home-history__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.16;
  letter-spacing: -.02em;
  color: #fff;
}

.page-home .home-history__text {
  margin: 0;
  max-width: 42em;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.page-home .home-history__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-history__stats .stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  border-radius: var(--radius-m);
  border: 1px solid rgba(22, 217, 140, .24);
  background: rgba(11, 18, 32, .55);
}

.page-home .home-history__stats .stat__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--green);
}

.page-home .home-history__stats .stat__label {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--slate);
}

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

/* ---------- 两条主路径 ---------- */
.page-home .home-paths {
  padding: clamp(54px, 7vw, 96px) 0;
}

.page-home .home-paths .section-head {
  margin-bottom: 30px;
}

.page-home .home-paths__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.page-home .home-path {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-l);
  overflow: hidden;
}

.page-home .home-path--pc {
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border: 1px solid rgba(22, 217, 140, .22);
  color: #fff;
}

.page-home .home-path--mobile {
  background: #fff;
  border: 1px solid rgba(38, 52, 76, .14);
  color: var(--paper-ink);
}

.page-home .home-path__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.page-home .home-path__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95) brightness(.92);
}

.page-home .home-path__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 2.6vw, 30px);
}

.page-home .home-path__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(21px, 2.3vw, 27px);
  line-height: 1.26;
  letter-spacing: -.015em;
}

.page-home .home-path__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.88;
}

.page-home .home-path--pc .home-path__text,
.page-home .home-path--pc .home-path__list li {
  color: var(--ink-soft);
}

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

.page-home .home-path__list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
}

.page-home .home-path__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--orange);
  transform: skewX(-14deg);
}

.page-home .home-path--pc .home-path__list li::before {
  background: var(--green);
}

.page-home .home-path__body .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ---------- 内容主题带 ---------- */
.page-home .home-themes {
  padding: clamp(54px, 7vw, 96px) 0;
}

.page-home .home-themes .section-head {
  margin-bottom: 28px;
}

.page-home .home-themes__rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 2px 22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-themes__rail:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: var(--radius-m);
}

.page-home .home-theme {
  flex: 0 0 min(300px, 76vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-m);
  border: 1px solid var(--home-line-soft);
  background: linear-gradient(165deg, rgba(20, 33, 58, .94), rgba(11, 18, 32, .84));
  text-decoration: none;
  color: inherit;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}

.page-home .home-theme:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.page-home .home-theme .tile__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--orange);
}

.page-home .home-theme .tile__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.4;
  color: #fff;
}

.page-home .home-theme .tile__meta {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .home-theme::after {
  content: "";
  display: block;
  height: 3px;
  margin-top: auto;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  opacity: .3;
  transition: opacity .2s var(--ease);
}

.page-home .home-theme:hover::after {
  opacity: 1;
}

/* ---------- 帮助与联系收束 ---------- */
.page-home .home-close {
  padding: clamp(54px, 7vw, 96px) 0;
}

.page-home .home-close__inner {
  display: grid;
  gap: 26px;
}

.page-home .home-close__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
}

.page-home .home-close__text {
  margin: 14px 0 0;
  max-width: 44em;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.page-home .home-close__cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .home-close__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius-m);
  border: 1px solid var(--home-line-soft);
  background: rgba(11, 18, 32, .58);
}

.page-home .home-close__card-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--orange);
}

.page-home .home-close__card-value {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 700;
  color: #fff;
  word-break: break-word;
}

.page-home .home-close__card-note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.78;
  color: var(--slate);
}

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

/* ---------- 响应式 ---------- */
@media (max-width: 560px) {
  .page-home .home-scores__list .scorebar__note {
    flex-basis: 100%;
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .page-home .home-hero__title {
    transform: skewX(-2.2deg);
    transform-origin: left bottom;
  }

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

@media (min-width: 860px) {
  .page-home .home-scores__head {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  }

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

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

  .page-home .home-path--mobile {
    margin-top: 46px;
  }
}

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

  .page-home .home-hero__panel {
    min-height: 480px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero__title {
    transform: none;
  }

  .page-home .home-scores__list .scorebar,
  .page-home .home-theme,
  .page-home .home-hero__panel-link {
    transition: none;
  }

  .page-home .home-scores__list .scorebar:hover,
  .page-home .home-theme:hover {
    transform: none;
  }
}
