.page-home {
  --ph-line-light: rgba(20, 32, 28, .16);
  --ph-line-dark: rgba(143, 163, 155, .24);
  --ph-muted: #4d5c56;
  --ph-pad-y: clamp(48px, 7vw, 104px);
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
}

.page-home .wrap,
.page-home .figures__inner,
.page-home .closing__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}

.page-home .ph-head {
  max-width: 720px;
}

.page-home .ph-head__title {
  margin: 12px 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.01em;
}

.page-home .ph-head__sub {
  margin: 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ph-muted);
}

.page-home .on-dark .ph-head__sub {
  color: var(--ink-soft);
}

.page-home .hero,
.page-home .track,
.page-home .figures,
.page-home .gate,
.page-home .rhythm,
.page-home .closing {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ink);
}

.page-home .hero__narrative {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(22px, 5vw, 56px) var(--edge) clamp(32px, 5vw, 64px);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.page-home .hero__narrative::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(216, 166, 58, .07) 0 1px, transparent 1px 88px);
  pointer-events: none;
}

.page-home .hero__narrative > * {
  position: relative;
  z-index: 1;
}

.page-home .hero__crumbs {
  margin-bottom: 4px;
  font-size: 12px;
}

.page-home .hero__crumbs a,
.page-home .hero__crumbs li {
  color: var(--grey);
  text-decoration: none;
}

.page-home .hero__title {
  margin: 2px 0 6px;
  font-size: clamp(30px, 5.4vw, 56px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--paper);
}

.page-home .hero__lede {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(15px, .4vw + 14px, 17px);
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-home .hero__lede--dim {
  color: var(--grey);
}

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

.page-home .hero__actions .btn {
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}

.page-home .hero__actions .btn:hover,
.page-home .hero__actions .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--gold-hi);
}

.page-home .hero__quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-gold);
}

.page-home .hero__quick-item {
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
  min-width: 0;
}

.page-home .hero__quick dt {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--grey);
}

.page-home .hero__quick dd {
  margin: 0;
  font-family: var(--font-num);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold-hi);
}

.page-home .hero__board {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}

.page-home .hero__shot {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-2);
}

.page-home .hero__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  height: auto;
  min-height: 100%;
}

.page-home .hero__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(242, 199, 92, .26), transparent 58%),
    linear-gradient(180deg, rgba(11, 43, 36, .12) 0%, rgba(11, 43, 36, .84) 100%);
}

.page-home .scorecard {
  position: relative;
  z-index: 2;
  margin: -64px var(--edge) 0;
  padding: clamp(16px, 2.4vw, 28px);
  background: rgba(11, 43, 36, .96);
  border: 1px solid var(--line-gold-strong);
  color: var(--paper);
}

.page-home .scorecard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
}

.page-home .scorecard__tag {
  padding: 2px 7px;
  border: 1px solid var(--red);
  color: var(--red);
  font-weight: 600;
  letter-spacing: .1em;
}

.page-home .scorecard__score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 4px;
  font-family: var(--font-num);
  font-weight: 800;
  line-height: .86;
  letter-spacing: -.02em;
}

.page-home .scorecard__score b {
  font-size: clamp(56px, 9vw, 104px);
  font-weight: 800;
  color: var(--gold-hi);
}

.page-home .scorecard__score b.away {
  color: var(--paper);
}

.page-home .scorecard__sep {
  font-size: clamp(28px, 4.4vw, 48px);
  color: var(--grey);
}

.page-home .scorecard__vs {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--grey);
}

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

.page-home .scorecard__dist li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
}

.page-home .scorecard__key {
  font-size: 12px;
  color: var(--grey);
}

.page-home .scorecard__meter {
  display: block;
  height: 8px;
  background: rgba(143, 163, 155, .18);
}

.page-home .scorecard__meter i {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  transform-origin: left center;
  animation: ph-grow .9s var(--ease) both;
}

.page-home .scorecard__meter--goal i {
  background: var(--cyan);
}

.page-home .scorecard__meter--conceded i {
  background: var(--red);
}

.page-home .scorecard__val {
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 700;
  text-align: right;
  color: var(--paper);
}

.page-home .scorecard__note {
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line-grey);
  font-size: 12px;
  line-height: 1.65;
  color: var(--grey);
}

@keyframes ph-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- 横向赛道目录 ---------- */
.page-home .track {
  padding-top: var(--ph-pad-y);
  padding-bottom: clamp(32px, 5vw, 64px);
  background: var(--paper);
}

.page-home .track__head {
  max-width: 720px;
  padding-inline: var(--edge);
}

.page-home .track__title {
  margin: 12px 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.01em;
}

.page-home .track__sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ph-muted);
}

.page-home .track__rail {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  padding: 0 var(--edge) 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.page-home .track__rail::-webkit-scrollbar {
  height: 3px;
}

.page-home .track__rail::-webkit-scrollbar-thumb {
  background: var(--gold);
}

.page-home .track__card {
  flex: 0 0 auto;
  width: min(286px, 76vw);
  padding: 22px 0 0;
  border-top: 1px solid var(--ph-line-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-snap-align: start;
  text-decoration: none;
  color: var(--text);
  transition: border-color .3s var(--ease);
}

.page-home .track__card:hover,
.page-home .track__card:focus-visible {
  border-color: var(--gold);
}

.page-home .track__no {
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}

.page-home .track__name {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}

.page-home .track__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--ph-muted);
}

.page-home .track__go {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}

.page-home .track__banner {
  margin: clamp(28px, 4.5vw, 56px) 0 0;
  padding-inline: var(--edge);
}

.page-home .track__banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  filter: saturate(.8) contrast(1.04);
}

/* ---------- 数据锚点区 ---------- */
.page-home .figures {
  padding-block: var(--ph-pad-y);
  padding-inline: var(--edge);
  background: var(--ink);
  color: var(--paper);
}

.page-home .figures__inner {
  display: grid;
  gap: clamp(24px, 3.4vw, 44px);
}

.page-home .figures__banner {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.page-home .figures__banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: clamp(180px, 30vw, 370px);
  object-fit: cover;
  filter: saturate(.68);
}

.page-home .figures__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 43, 36, .82), rgba(11, 43, 36, .08));
}

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

.page-home .figures__stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding: 18px 16px 16px;
  background: var(--ink);
  min-width: 0;
}

.page-home .figures__stat dt {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--grey);
}

.page-home .figures__num {
  margin: 0;
  font-family: var(--font-num);
  font-size: clamp(28px, 4.6vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--gold-hi);
}

.page-home .figures__num em {
  font-style: normal;
  font-size: .42em;
  margin-left: 3px;
  letter-spacing: 0;
  color: var(--paper);
}

.page-home .figures__flow {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .figures__flow li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--ph-line-dark);
}

.page-home .figures__tick {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gold);
}

.page-home .figures__flow p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* ---------- 费用入口条 ---------- */
.page-home .gate {
  display: grid;
  gap: 24px;
  padding-block: clamp(40px, 6vw, 80px);
  padding-inline: var(--edge);
  background: var(--paper);
  border-top: 1px solid var(--ph-line-light);
}

.page-home .gate__text {
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

.page-home .gate__title {
  margin: 12px 0;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.01em;
}

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

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

/* ---------- 赛季节奏 ---------- */
.page-home .rhythm {
  padding-block: var(--ph-pad-y);
  padding-inline: var(--edge);
  background: var(--paper);
  border-top: 1px solid var(--ph-line-light);
}

.page-home .rhythm__list {
  list-style: none;
  margin: clamp(24px, 4vw, 44px) 0 0;
  padding: 0;
}

.page-home .rhythm__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 6px 14px;
  padding: 22px 0;
  border-top: 1px solid var(--ph-line-light);
  align-items: start;
}

.page-home .rhythm__no {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--gold);
}

.page-home .rhythm__name {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.page-home .rhythm__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.78;
  color: var(--ph-muted);
}

.page-home .rhythm__tag {
  grid-column: 2;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--ink-3);
}

/* ---------- 收尾通道 ---------- */
.page-home .closing {
  position: relative;
  padding-block: clamp(56px, 8vw, 112px);
  padding-inline: var(--edge);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.page-home .closing__bg {
  position: absolute;
  inset: 0;
  margin: 0;
}

.page-home .closing__bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: .45;
}

.page-home .closing__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 43, 36, .55), rgba(11, 43, 36, .92));
}

.page-home .closing__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.page-home .closing__title {
  margin: 0;
  font-size: clamp(26px, 4.2vw, 44px);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -.01em;
}

.page-home .closing__links {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-gold);
  background: var(--line-gold);
}

.page-home .closing__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  background: rgba(11, 43, 36, .88);
  text-decoration: none;
  transition: background-color .3s var(--ease);
}

.page-home .closing__link:hover,
.page-home .closing__link:focus-visible {
  background: var(--ink-3);
}

.page-home .closing__link-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--gold-hi);
}

.page-home .closing__link-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.page-home .closing__note {
  margin: 0;
  max-width: 62ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-home .closing__note strong {
  font-weight: 600;
  color: var(--gold-hi);
  word-break: break-all;
}

.page-home .closing__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  color: var(--grey);
}

.page-home .closing__legal a {
  color: var(--grey);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.page-home .closing__sign {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(17px, 2.2vw, 24px);
  letter-spacing: .02em;
  color: var(--gold);
}

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

  .page-home .gate {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
  }

  .page-home .rhythm__item {
    grid-template-columns: 56px minmax(0, 1fr) 150px;
    align-items: baseline;
  }

  .page-home .rhythm__tag {
    grid-column: 3;
    text-align: right;
  }

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

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

  .page-home .hero__board {
    min-height: 620px;
  }

  .page-home .hero__shot {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
  }

  .page-home .hero__shot img {
    height: 100%;
    min-height: 0;
  }

  .page-home .scorecard {
    position: absolute;
    left: clamp(24px, 4vw, 64px);
    right: clamp(24px, 4vw, 64px);
    bottom: clamp(24px, 4vw, 56px);
    margin: 0;
  }

  .page-home .figures__flow li {
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: baseline;
    gap: 20px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .scorecard__meter i,
  .page-home .hero__actions .btn {
    animation: none;
    transition: none;
    transform: none;
  }
}

.page-home {
  --w: 1rem;
}
