.page-home {
  --home-line: rgba(167, 198, 221, .22);
  --home-line-soft: rgba(167, 198, 221, .12);
  --home-glass: rgba(255, 255, 255, .09);
  --home-glass-hover: rgba(255, 255, 255, .15);
  --home-gap-lg: clamp(64px, 10vw, 144px);
  --home-gap-md: clamp(32px, 5vw, 64px);
  background-color: var(--night);
  color: var(--snow);
  overflow-x: clip;
}

/* ---------- 共享排版微调 ---------- */
.page-home .home-h2 {
  color: var(--snow);
  letter-spacing: -.02em;
  margin: 0;
}
.page-home .home-h3 {
  color: var(--snow);
  margin: 0;
}
.page-home .home-section-head {
  display: grid;
  gap: 14px;
  max-width: 62ch;
}
.page-home .home-section-lede {
  color: var(--rime);
  margin: 0;
}
.page-home .home-section-foot {
  margin: clamp(24px, 3vw, 40px) 0 0;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(120% 88% at 84% 8%, rgba(111, 211, 232, .16) 0%, transparent 62%),
    radial-gradient(96% 70% at 6% 92%, rgba(255, 74, 28, .12) 0%, transparent 64%),
    linear-gradient(180deg, var(--night) 0%, #061525 100%);
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(114deg, rgba(167, 198, 221, .05) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(64deg, rgba(167, 198, 221, .04) 0 1px, transparent 1px 122px);
}

.page-home .home-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  padding-top: clamp(52px, 9vw, 128px);
  padding-bottom: clamp(56px, 9vw, 120px);
}

.page-home .home-hero-eyebrow {
  color: var(--cyan);
}

.page-home .home-hero-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 26px);
}

.page-home .home-hero-title {
  margin: 0;
  color: var(--snow);
  font-family: var(--font-head);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.05em;
}
.page-home .home-hero-title em {
  font-style: normal;
  box-shadow: inset 0 -.13em 0 var(--orange);
}

.page-home .home-hero-lede {
  margin: 0;
  max-width: 46ch;
  color: var(--rime);
  line-height: 1.85;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.page-home .home-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding-top: clamp(16px, 3vw, 28px);
  border-top: 1px solid var(--home-line);
}
.page-home .home-hero-stats > div {
  padding-left: clamp(10px, 2vw, 24px);
  border-left: 1px solid var(--home-line);
}
.page-home .home-hero-stats > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.page-home .home-hero-stats dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--rime);
  text-transform: uppercase;
}
.page-home .home-hero-stats dd {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--snow);
}

.page-home .home-hero-media {
  margin: 0;
  border-radius: 2px;
}
.page-home .home-hero-media img {
  max-width: 100%;
  height: auto;
}

.page-home .home-index-rail {
  position: absolute;
  right: clamp(8px, 1.4vw, 18px);
  top: clamp(110px, 22vh, 240px);
  z-index: 2;
  margin: 0;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  color: rgba(167, 198, 221, .48);
  pointer-events: none;
}

/* ---------- 横向时间轴 ---------- */
.page-home .home-timeline {
  position: relative;
  margin-top: var(--home-gap-lg);
  padding-block: clamp(48px, 8vw, 104px);
  background: linear-gradient(180deg, #06182B 0%, var(--ice) 58%, #06182B 100%);
  overflow: hidden;
}
.page-home .home-timeline-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-home .home-timeline-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
  filter: saturate(.62) brightness(1.08);
}
.page-home .home-timeline > .wrap {
  position: relative;
  z-index: 1;
}

.page-home .home-track-scroll {
  position: relative;
  z-index: 1;
  margin-top: clamp(32px, 5vw, 60px);
  padding-inline: var(--pad-x);
  padding-bottom: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--snowline) transparent;
}
.page-home .home-track-scroll::-webkit-scrollbar {
  height: 4px;
}
.page-home .home-track-scroll::-webkit-scrollbar-thumb {
  background: var(--snowline);
}

.page-home .home-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2.6vw, 40px);
  margin: 0;
  padding: 0 0 10px;
  list-style: none;
  min-width: max-content;
}
.page-home .home-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 15px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(167, 198, 221, .55) 4%, rgba(167, 198, 221, .55) 96%, transparent 100%);
}

.page-home .home-season {
  position: relative;
  flex: 0 0 auto;
  width: clamp(178px, 21vw, 232px);
  padding-top: 36px;
  scroll-snap-align: start;
}
.page-home .home-season-node {
  position: absolute;
  top: 9px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ice);
  border: 1px solid var(--rime);
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease);
}
.page-home .home-season.is-current .home-season-node {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.35);
}
.page-home .home-season:hover .home-season-node {
  transform: scale(1.12);
}
.page-home .home-season.is-current:hover .home-season-node {
  transform: scale(1.35);
}

.page-home .home-season-code {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--snow);
}
.page-home .home-season.is-current .home-season-code {
  color: var(--orange);
}
.page-home .home-season-meta {
  margin: 10px 0 0;
  font-size: 12px;
  letter-spacing: .07em;
  color: var(--cyan);
}
.page-home .home-season-note {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--rime);
}

/* ---------- 档案卡片带 ---------- */
.page-home .home-archive {
  margin-top: var(--home-gap-lg);
}
.page-home .home-archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  margin-top: var(--home-gap-md);
}

.page-home .home-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--home-line-soft);
  border-radius: 2px;
  background: linear-gradient(150deg, var(--home-glass) 0%, rgba(255, 255, 255, .03) 100%);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}
.page-home .home-card:hover {
  transform: translateX(4px);
  border-color: var(--cyan);
  background: var(--home-glass-hover);
}

.page-home .home-card-code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--rime);
}
.page-home .home-card-code::before {
  content: "";
  width: 14px;
  height: 3px;
  background: var(--snowline);
  transition: width 180ms var(--ease), background-color 180ms var(--ease);
}
.page-home .home-card:hover .home-card-code::before {
  width: 24px;
  background: var(--orange);
}

.page-home .home-card-media {
  margin: 0 0 4px;
  border-radius: 2px;
}
.page-home .home-card-media img {
  max-width: 100%;
  height: auto;
}
.page-home .home-card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--rime);
}

/* ---------- 外援名额 ---------- */
.page-home .home-foreign {
  margin-top: var(--home-gap-lg);
}
.page-home .home-foreign-inner {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}
.page-home .home-foreign-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}
.page-home .home-foreign-stats {
  display: grid;
  gap: 1px;
  margin: 0;
  background: var(--home-line-soft);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}
.page-home .home-foreign-stats > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 2vw, 20px) 0;
  background: var(--night);
}
.page-home .home-foreign-stats dt {
  font-size: 14px;
  color: var(--rime);
}
.page-home .home-foreign-stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--snow);
}

/* ---------- 越位与首发统计 ---------- */
.page-home .home-stats {
  margin-top: var(--home-gap-lg);
}
.page-home .home-stats-inner {
  display: grid;
  gap: clamp(32px, 4vw, 64px);
}
.page-home .home-stat-figure {
  display: grid;
  gap: 14px;
}
.page-home .home-stat-main {
  margin: 0;
  font-size: clamp(72px, 15vw, 160px);
  line-height: .82;
  letter-spacing: -.05em;
  color: var(--snow);
}
.page-home .home-stat-plus {
  color: var(--orange);
  font-size: .5em;
  vertical-align: super;
  letter-spacing: 0;
}
.page-home .home-stat-caption {
  margin: 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--rime);
}
.page-home .home-stat-side {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  align-content: start;
}
.page-home .home-stat-sub-block {
  display: grid;
  gap: 8px;
  padding-left: clamp(14px, 2vw, 22px);
  border-left: 1px solid var(--home-line);
}
.page-home .home-stat-sub {
  margin: 0;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--rime);
}
.page-home .home-stat-sub-label {
  margin: 0;
  font-size: 14px;
  color: var(--rime);
}

/* ---------- 主场地图入口 ---------- */
.page-home .home-map {
  margin-top: var(--home-gap-lg);
  padding-block: clamp(56px, 9vw, 120px);
  background: linear-gradient(180deg, #06182B 0%, var(--ice) 100%);
}
.page-home .home-map-inner {
  display: grid;
  gap: clamp(30px, 4vw, 60px);
}
.page-home .home-map-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}
.page-home .home-map-list {
  display: grid;
  gap: 12px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}
.page-home .home-map-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  color: var(--rime);
}
.page-home .home-map-num {
  font-size: 22px;
  color: var(--snow);
  min-width: 2ch;
}

.page-home .home-map-legend {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 18px 20px;
  max-width: 340px;
  border: 1px solid var(--home-line);
  border-radius: 2px;
  background: rgba(255, 255, 255, .08);
}
.page-home .home-map-legend p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--rime);
}
.page-home .home-dot {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
}
.page-home .home-dot--gate {
  background: var(--orange);
  border-radius: 2px;
}
.page-home .home-dot--transit {
  background: var(--cyan);
  border-radius: 50%;
}
.page-home .home-dot--zone {
  background: transparent;
  border: 1px dashed var(--rime);
  border-radius: 2px;
}
.page-home .home-dot--label {
  background: var(--snowline);
  border-radius: 50%;
}

.page-home .home-map-media {
  margin: 0;
  border-radius: 2px;
}
.page-home .home-map-media img {
  max-width: 100%;
  height: auto;
}

/* ---------- 收尾 ---------- */
.page-home .home-close {
  padding-block: clamp(48px, 7vw, 88px);
  border-top: 1px solid var(--home-line-soft);
}
.page-home .home-close-inner {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
}
.page-home .home-close-text {
  margin: 12px 0 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.85;
  color: var(--rime);
}
.page-home .home-close-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 899px) {
  .page-home .home-index-rail {
    display: none;
  }
}

@media (min-width: 760px) {
  .page-home .home-archive-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    row-gap: clamp(24px, 3vw, 40px);
  }
  .page-home .home-card--feature {
    grid-column: 1 / 8;
  }
  .page-home .home-card--tall {
    grid-column: 8 / 13;
    margin-top: clamp(28px, 5vw, 72px);
  }
  .page-home .home-card--low {
    grid-column: 2 / 7;
    margin-top: clamp(8px, 1.6vw, 28px);
  }
  .page-home .home-card--third {
    grid-column: 7 / 11;
    margin-top: clamp(32px, 5vw, 80px);
  }
}

@media (min-width: 860px) {
  .page-home .home-foreign-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
  }
  .page-home .home-stats-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }
  .page-home .home-map-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
  }
  .page-home .home-close-inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }
  .page-home .home-close-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 980px) {
  .page-home .home-hero-inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(0px, 2vw, 32px);
  }
  .page-home .home-hero-eyebrow {
    grid-column: 1;
    grid-row: 1;
  }
  .page-home .home-hero-copy {
    grid-column: 1;
    grid-row: 2;
    position: relative;
    z-index: 2;
  }
  .page-home .home-hero-stats {
    grid-column: 1;
    grid-row: 3;
    position: relative;
    z-index: 2;
  }
  .page-home .home-hero-media {
    grid-column: 1 / 3;
    grid-row: 1 / 4;
    justify-self: end;
    width: min(100%, 700px);
    z-index: 1;
  }
}

@media (min-width: 1280px) {
  .page-home .home-hero-media {
    width: min(100%, 760px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-card,
  .page-home .home-card-code::before,
  .page-home .home-season-node {
    transition: none;
  }
  .page-home .home-card:hover {
    transform: none;
  }
  .page-home .home-season:hover .home-season-node {
    transform: none;
  }
}
