.page-home {
  --home-cell: rgba(242, 246, 255, .05);
  --home-line: rgba(31, 43, 69, .9);
  --home-glow: 0 0 0 1px rgba(25, 227, 209, .28);
  padding-bottom: clamp(24px, 5vw, 48px);
}

/* ---------- 面包屑 ---------- */
.page-home > .breadcrumbs {
  padding-block: 14px 0;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 62px) 0 clamp(96px, 14vw, 172px);
  background:
    radial-gradient(120% 88% at 100% 0%, rgba(25, 227, 209, .12), transparent 58%),
    radial-gradient(84% 72% at 0% 100%, rgba(255, 107, 44, .12), transparent 60%),
    var(--ink-900);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  opacity: .32;
}

.page-home .hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, var(--home-line) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, var(--home-line) 0 1px, transparent 1px 96px);
  opacity: .5;
  pointer-events: none;
}

.page-home .hero__inner {
  position: relative;
  z-index: 2;
}

.page-home .hero__eyebrow {
  color: var(--cyan);
  margin: 0 0 14px;
}

.page-home .hero__title {
  margin: 0;
  font-size: clamp(30px, 5.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -.01em;
  font-weight: 900;
  max-width: 16ch;
  color: var(--paper);
  text-shadow: 0 0 14px rgba(25, 227, 209, .35);
}

.page-home .hero__lead {
  margin: 20px 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
}

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

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

.page-home .hero__figure {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(11, 24, 48, .6);
  backdrop-filter: blur(2px);
}

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

.page-home .hero__figure-value {
  margin: 6px 0 0;
  font-size: clamp(20px, 2.6vw, 26px);
  color: var(--paper);
  font-weight: 700;
}

/* ---------- 赛程框景 ---------- */
.page-home .home-frame {
  position: relative;
  z-index: 3;
  margin-top: calc(-1 * clamp(48px, 8vw, 88px));
}

.page-home .frame__title {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  color: var(--paper);
}

.page-home .filter-status {
  margin: 0 0 0 auto;
  font-size: 12px;
  color: var(--muted);
}

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

.page-home .fixture {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 16px 18px 15px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(158deg, rgba(25, 227, 209, .07), transparent 56%),
    var(--ink-800);
  transition: transform .32s var(--ease), border-color .32s var(--ease), box-shadow .32s var(--ease);
}

.page-home .fixture::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 3px;
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.page-home .fixture[data-filter-tags~="midweek"]::before {
  background: var(--blue);
  box-shadow: none;
}

.page-home .fixture:hover,
.page-home .fixture:focus-within {
  transform: translateY(-3px) rotate(-1.2deg);
  border-color: rgba(25, 227, 209, .45);
  box-shadow: var(--shadow-panel), var(--home-glow);
}

.page-home .fixture__league {
  margin: 0;
  color: var(--muted);
}

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

.page-home .fixture__day {
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: .1em;
}

.page-home .fixture__time {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 700;
  color: var(--paper);
}

.page-home .fixture__teams {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  color: var(--paper);
}

.page-home .fixture__vs {
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--orange);
}

.page-home .fixture__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

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

.page-home .fixture__remind {
  appearance: none;
  border: 1px solid rgba(255, 107, 44, .55);
  background: rgba(255, 107, 44, .12);
  color: var(--orange);
  font: inherit;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}

.page-home .fixture__remind:hover {
  background: rgba(255, 107, 44, .22);
}

.page-home .fixture__remind[aria-pressed="true"] {
  background: var(--orange);
  color: var(--ink-900);
  border-color: var(--orange);
}

.page-home .home-frame__note {
  margin: 18px 0 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- 三条路径 ---------- */
.page-home .section-head {
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-home .section-head--tight {
  margin-bottom: 18px;
}

.page-home .section-head__title {
  margin: 8px 0 0;
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--paper);
  max-width: 24ch;
}

.page-home .section-head__text {
  margin: 12px 0 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.78;
}

.page-home .track-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: track;
}

.page-home .track {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm);
  background: linear-gradient(200deg, rgba(76, 125, 255, .1), transparent 62%), var(--ink-800);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}

.page-home .track:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 227, 209, .4);
}

.page-home .track__index {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.page-home .track__title {
  margin: 0;
  font-size: clamp(18px, 2.3vw, 22px);
  font-weight: 800;
  color: var(--paper);
}

.page-home .track__text {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.page-home .track__link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 227, 209, .45);
  padding-bottom: 2px;
}

.page-home .track__link:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

/* ---------- 对阵卡组 ---------- */
.page-home .matchup-grid {
  display: grid;
  gap: 18px;
}

.page-home .matchup {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ink-800);
  overflow: hidden;
}

.page-home .matchup--lead {
  background:
    linear-gradient(140deg, rgba(58, 16, 48, .75), transparent 60%),
    var(--ink-800);
  border-color: rgba(25, 227, 209, .25);
}

.page-home .matchup__media {
  margin: -20px -20px 18px;
  border-radius: 0;
}

.page-home .matchup__league {
  margin: 0 0 10px;
  color: var(--muted);
}

.page-home .matchup__title {
  margin: 0;
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 900;
  color: var(--paper);
}

.page-home .matchup__vs {
  font-size: .68em;
  color: var(--orange);
  letter-spacing: .12em;
  vertical-align: middle;
  padding-inline: 4px;
}

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

.page-home .matchup__tags li {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--cyan);
  border: 1px solid rgba(25, 227, 209, .35);
  border-radius: 999px;
  padding: 4px 12px;
}

.page-home .matchup__meta {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.page-home .matchup__more {
  margin-top: 12px;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

.page-home .matchup__more summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--paper);
  list-style: none;
}

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

.page-home .matchup__more summary::after {
  content: " +";
  color: var(--orange);
}

.page-home .matchup__more[open] summary::after {
  content: " −";
}

.page-home .matchup__more p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

/* ---------- 数据面板 ---------- */
.page-home .pulse {
  position: relative;
  overflow: hidden;
}

.page-home .pulse__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .pulse__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
}

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

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

.page-home .pulse__item {
  padding: 16px 18px;
  border: 1px solid rgba(25, 227, 209, .22);
  border-radius: var(--radius-sm) var(--radius-lg) var(--radius-sm) var(--radius-lg);
  background: rgba(5, 11, 28, .55);
}

.page-home .pulse__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.page-home .pulse__name {
  font-size: 15px;
  color: var(--paper);
  font-weight: 700;
}

.page-home .pulse__value {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--cyan);
}

.page-home .pulse__track {
  display: block;
  height: 8px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(31, 43, 69, .85);
  overflow: hidden;
}

.page-home .pulse__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(25, 227, 209, .35), var(--cyan));
  transition: width .6s var(--ease);
}

.page-home .pulse__fill--blue {
  background: linear-gradient(90deg, rgba(76, 125, 255, .35), var(--blue));
}

.page-home .pulse__fill--gold {
  background: linear-gradient(90deg, rgba(255, 211, 107, .3), var(--gold));
}

.page-home .pulse__legend {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.page-home .pulse__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(25, 227, 209, .2);
}

.page-home .pulse__note {
  margin: 0;
  max-width: 54ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.78;
}

/* ---------- 焕新说明 ---------- */
.page-home .whatsnew__inner {
  position: relative;
}

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

.page-home .change {
  position: relative;
  padding: 18px 20px 18px 68px;
  border-left: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(31, 43, 69, .55), transparent 70%);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.page-home .change__num {
  position: absolute;
  left: 18px;
  top: 20px;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--orange);
}

.page-home .change__title {
  margin: 0;
  font-size: clamp(17px, 2.1vw, 20px);
  font-weight: 800;
  color: var(--paper);
}

.page-home .change__text {
  margin: 8px 0 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

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

/* ---------- 关注状态 ---------- */
.page-home .watch-grid {
  display: grid;
  gap: 14px;
}

.page-home .watch-card {
  padding: 20px;
  border: 1px solid rgba(25, 227, 209, .22);
  border-radius: var(--radius-lg) var(--radius-sm) var(--radius-lg) var(--radius-sm);
  background: rgba(5, 11, 28, .58);
}

.page-home .watch-card__label {
  margin: 0;
  color: var(--muted);
}

.page-home .watch-card__value {
  margin: 10px 0 0;
  font-size: clamp(20px, 2.6vw, 25px);
  font-weight: 700;
  color: var(--cyan);
}

.page-home .watch-card__text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.78;
}

.page-home .watchlist__help {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.page-home .watchlist__help .mono {
  color: var(--paper);
}

.page-home .watchlist__link {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 227, 209, .45);
  margin-left: 6px;
}

.page-home .watchlist__link:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

/* ---------- 归档轨道 ---------- */
.page-home .archive-rail {
  margin-top: clamp(40px, 7vw, 84px);
  padding: clamp(44px, 8vw, 92px) var(--gutter) clamp(52px, 9vw, 104px);
  background:
    linear-gradient(112deg, var(--ink-800) 0%, var(--ink-600) 100%);
  clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%);
}

.page-home .archive-rail__grid {
  max-width: var(--measure);
  margin-inline: auto;
  display: grid;
  gap: 24px;
}

.page-home .archive-rail__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  opacity: .82;
}

.page-home .archive-rail__label {
  margin: 0;
  color: var(--gold);
}

.page-home .archive-rail__title {
  margin: 10px 0 0;
  font-size: clamp(22px, 3.4vw, 36px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--paper);
}

.page-home .archive-rail__text {
  margin: 14px 0 22px;
  max-width: 62ch;
  color: rgba(242, 246, 255, .78);
  font-size: 15px;
  line-height: 1.82;
}

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

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

  .page-home .matchup--lead {
    transform: translateY(0);
  }

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

/* ---------- 桌面 ---------- */
@media (min-width: 980px) {
  .page-home .hero__title {
    max-width: 14ch;
  }

  .page-home .track-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
  }

  .page-home .track:nth-child(2) {
    margin-top: 30px;
  }

  .page-home .track:nth-child(3) {
    margin-top: 60px;
  }

  .page-home .matchup-grid {
    grid-template-columns: 1.3fr .85fr;
    gap: 24px;
  }

  .page-home .matchup--lead {
    transform: translateY(-8px);
  }

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

  .page-home .changes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .archive-rail__grid {
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 44px;
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .page-home .fixture,
  .page-home .track,
  .page-home .pulse__fill,
  .page-home .fixture__remind {
    transition: none;
  }

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

  .page-home .matchup--lead {
    transform: none;
  }

  .page-home .track:nth-child(2),
  .page-home .track:nth-child(3) {
    margin-top: 0;
  }
}
