/* ===================================================
   首页 · 红蓝赛场数据舱
   作用域严格限定在 .page-home
   =================================================== */

.page-home {
  --ph-gap: clamp(20px, 4vw, 40px);
  --ph-deck: #0D1117;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .ph-fig {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--sh-card);
}

.page-home .ph-fig img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.page-home .ph-lede {
  max-width: 40em;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--text-soft);
}

.page-home .ph-note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mute);
}

.page-home .ph-note--dark {
  color: var(--on-dark-mute);
}

.page-home .ph-sub {
  margin: 0 0 22px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.01em;
}

/* ---------- 顶部索引带 ---------- */
.page-home .ph-band {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.page-home .ph-band__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 10px;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .ph-band__inner::-webkit-scrollbar {
  display: none;
}

.page-home .ph-band__meta {
  flex: none;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.page-home .ph-jump {
  display: flex;
  flex: none;
  gap: 6px;
  margin-left: auto;
}

.page-home .ph-jump a {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .03em;
  color: var(--text-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}

.page-home .ph-jump a:hover,
.page-home .ph-jump a:focus-visible {
  border-color: var(--red);
  color: var(--red-dark);
  background: rgba(232, 51, 42, .06);
}

/* ---------- 首屏分屏 ---------- */
.page-home .ph-hero {
  position: relative;
  background: var(--ink);
}

.page-home .ph-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1600px;
  margin-inline: auto;
}

.page-home .ph-hero__copy {
  background: linear-gradient(158deg, var(--red) 0%, var(--red-dark) 62%, var(--red-deep) 100%);
  color: #fff;
  display: flex;
  justify-content: flex-start;
}

.page-home .ph-hero__copy-inner {
  width: 100%;
  max-width: 640px;
  padding: clamp(44px, 8vw, 92px) var(--pad-gutter) clamp(40px, 7vw, 84px);
}

.page-home .ph-hero__eyebrow {
  color: rgba(255, 255, 255, .82);
  letter-spacing: .12em;
}

.page-home .ph-hero__title {
  margin: 14px 0 20px;
  font-size: clamp(34px, 6.4vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: #fff;
}

.page-home .ph-hero__lede {
  max-width: 34em;
  font-size: 16.5px;
  line-height: 1.78;
  color: rgba(255, 255, 255, .9);
}

.page-home .ph-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 28px;
  background: rgba(255, 255, 255, .24);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .ph-stat {
  padding: 14px 16px 16px;
  background: rgba(122, 14, 22, .34);
  min-width: 0;
}

.page-home .ph-stat dt {
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .74);
}

.page-home .ph-stat dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(24px, 3.6vw, 32px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  color: #fff;
}

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

.page-home .ph-hero__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}

.page-home .ph-hero__cta a:first-child {
  background: #fff;
  border: 1px solid #fff;
  color: var(--red-dark);
}

.page-home .ph-hero__cta a:first-child:hover {
  transform: translateY(-2px);
}

.page-home .ph-hero__cta a:last-child {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
}

.page-home .ph-hero__cta a:last-child:hover {
  background: rgba(255, 255, 255, .18);
}

.page-home .ph-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  gap: 20px;
  padding: clamp(32px, 5vw, 64px) var(--pad-gutter);
  background:
    radial-gradient(120% 90% at 72% 18%, #142244 0%, var(--ink) 62%),
    var(--ink);
}

.page-home .ph-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(201, 207, 216, .1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 207, 216, .1) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.page-home .ph-pitch {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: auto;
}

.page-home .ph-hero__legend {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--on-dark-mute);
}

.page-home .ph-hero__legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-home .ph-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.page-home .ph-dot--red { background: var(--red); }
.page-home .ph-dot--blue { border: 2px solid var(--blue); }
.page-home .ph-dot--lime { background: var(--lime); }

/* ---------- 通用区块头 ---------- */
.page-home .ph-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.page-home .ph-head h2 {
  margin: 0;
  font-size: clamp(23px, 3.2vw, 31px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: -.025em;
}

.page-home .ph-head .eyebrow {
  color: var(--red-dark);
}

.page-home .ph-head__link {
  justify-self: start;
  align-self: end;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(27, 77, 228, .35);
  padding-bottom: 2px;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

.page-home .ph-head__link:hover {
  color: var(--blue-deep);
  border-color: var(--blue-deep);
}

.page-home .ph-head--dark {
  border-bottom-color: rgba(201, 207, 216, .24);
}

.page-home .ph-head--dark h2 {
  color: #fff;
}

.page-home .ph-head--dark .eyebrow {
  color: var(--lime);
}

.page-home .ph-head__link--dark {
  color: var(--on-dark);
  border-bottom-color: rgba(183, 240, 58, .45);
}

.page-home .ph-head__link--dark:hover {
  color: var(--lime);
  border-color: var(--lime);
}

/* ---------- A-01 转会名单 ---------- */
.page-home .ph-block {
  background: var(--bg);
}

.page-home .ph-transfers__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 34px;
}

.page-home .ph-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(212px, 232px);
  gap: 14px;
  margin: 0;
  padding: 4px 4px 18px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.page-home .ph-rail > li {
  scroll-snap-align: start;
  min-width: 0;
}

.page-home .ph-team {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 16px 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--sh-card);
  text-decoration: none;
  color: inherit;
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .ph-rail > li:nth-child(even) .ph-team {
  border-top-color: var(--blue);
  margin-top: 16px;
}

.page-home .ph-team:hover,
.page-home .ph-team:focus-visible {
  border-color: var(--red);
  border-top-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(13, 17, 23, .08);
}

.page-home .ph-team__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.page-home .ph-team__top .idx {
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--text-mute);
}

.page-home .ph-team__zone {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--blue);
  padding: 2px 8px;
  border: 1px solid rgba(27, 77, 228, .28);
  border-radius: var(--pill);
}

.page-home .ph-team__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-home .ph-team__nums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.page-home .ph-team__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.page-home .ph-team__cell b {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--text);
}

.page-home .ph-team__cell b.num--red { color: var(--red-dark); }
.page-home .ph-team__cell b.num--blue { color: var(--blue); }

.page-home .ph-team__cell i {
  font-style: normal;
  font-size: 12px;
  color: var(--text-mute);
}

/* ---------- A-02 首发轮换 ---------- */
.page-home .ph-rot {
  background: var(--bg);
}

.page-home .ph-segrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin: 26px 0 10px;
}

.page-home .ph-seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  box-shadow: var(--sh-card);
}

.page-home .ph-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.page-home .ph-seg label {
  display: inline-block;
  padding: 7px 16px;
  border-radius: var(--pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease);
}

.page-home .ph-seg label:hover {
  color: var(--red-dark);
}

.page-home .ph-seg input:checked + label {
  background: var(--ink);
  color: #fff;
}

.page-home .ph-seg input:focus-visible + label {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.page-home .ph-segrow__hint {
  margin: 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-mute);
}

.page-home .ph-rot:has(#rot-first:checked) .ph-node[data-half="2"],
.page-home .ph-rot:has(#rot-second:checked) .ph-node[data-half="1"] {
  display: none;
}

.page-home .ph-track {
  position: relative;
  margin-top: 96px;
  padding-bottom: 46px;
}

.page-home .ph-track__line {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, var(--red) 0%, var(--line) 50%, var(--blue) 100%);
}

.page-home .ph-track__scale {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--text-mute);
}

.page-home .ph-nodes {
  position: absolute;
  inset: 0 0 46px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .ph-node {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  min-width: 0;
}

.page-home .ph-node:nth-child(1) { left: 36%; }
.page-home .ph-node:nth-child(2) { left: 52%; }
.page-home .ph-node:nth-child(3) { left: 61%; }
.page-home .ph-node:nth-child(4) { left: 75%; }
.page-home .ph-node:nth-child(5) { left: 88%; }

.page-home .ph-node__dot {
  display: block;
  width: 15px;
  height: 15px;
  margin: -7px auto 0;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--red);
  box-shadow: 0 0 0 4px rgba(232, 51, 42, .1);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .ph-node--blue .ph-node__dot {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27, 77, 228, .1);
}

.page-home .ph-node:hover .ph-node__dot {
  transform: scale(1.25);
}

.page-home .ph-node__time {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  letter-spacing: .02em;
  color: var(--text-soft);
}

.page-home .ph-node__note {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  width: 232px;
  max-width: 62vw;
  transform: translateX(-50%) translateY(6px);
  padding: 13px 15px;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.62;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 4;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}

.page-home .ph-node__note p {
  margin: 0 0 6px;
}

.page-home .ph-node__note p:last-child {
  margin-bottom: 0;
}

.page-home .ph-node__tag {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--lime);
}

.page-home .ph-node--end .ph-node__note {
  left: auto;
  right: -8px;
  transform: translateY(6px);
}

.page-home .ph-node:hover .ph-node__note,
.page-home .ph-node:focus-within .ph-node__note {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.page-home .ph-node--end:hover .ph-node__note,
.page-home .ph-node--end:focus-within .ph-node__note {
  transform: translateY(0);
}

/* ---------- A-03 主场参数 ---------- */
.page-home .ph-venue {
  background: var(--bg);
}

.page-home .ph-venue__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-home .ph-venue__specs {
  display: grid;
  gap: 0;
}

.page-home .ph-spec {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .ph-spec:first-child {
  border-top: 1px solid var(--line);
}

.page-home .ph-spec .idx {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--blue);
}

.page-home .ph-spec h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.page-home .ph-spec p {
  margin: 0;
  font-size: 15px;
  line-height: 1.74;
  color: var(--text-soft);
}

.page-home .ph-fig--wide img {
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* ---------- A-04 数据线 ---------- */
.page-home .ph-num {
  background: var(--ink);
  color: var(--on-dark);
}

.page-home .ph-num__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 46px;
  margin-bottom: 44px;
}

.page-home .ph-num .ph-sub {
  color: #fff;
}

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

.page-home .ph-pos__row {
  display: grid;
  grid-template-columns: 56px 1fr 48px;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.page-home .ph-pos__name {
  font-size: 14px;
  color: var(--on-dark);
}

.page-home .ph-pos__bar {
  position: relative;
  display: block;
  height: 8px;
  border-radius: var(--pill);
  background: rgba(201, 207, 216, .14);
  overflow: hidden;
}

.page-home .ph-pos__bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--red) 0%, var(--blue) 100%);
}

.page-home .ph-pos__lvl {
  font-size: 12px;
  letter-spacing: .06em;
  text-align: right;
  color: var(--on-dark-mute);
}

.page-home .ph-pens__matrix {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 10px;
  max-width: 300px;
}

.page-home .ph-pens__matrix i {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px rgba(182, 240, 58, .28);
}

.page-home .ph-pens__cap {
  margin: 18px 0 0;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--lime);
}

.page-home .ph-fig--deck {
  border-color: rgba(201, 207, 216, .2);
  background: #101722;
  box-shadow: none;
}

.page-home .ph-fig--deck img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- A-05 赛场观察 ---------- */
.page-home .ph-insights {
  background: var(--bg);
}

.page-home .ph-insights__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

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

.page-home .ph-post {
  border-radius: var(--radius);
  border-width: 1px;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}

.page-home .ph-post a {
  display: block;
  padding: 20px 20px 22px;
  text-decoration: none;
  color: inherit;
}

.page-home .ph-post:hover {
  transform: translateY(-2px);
}

.page-home .ph-post__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.page-home .ph-post__top .idx {
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--text-mute);
}

.page-home .ph-post h3 {
  margin: 0 0 8px;
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: -.015em;
}

.page-home .ph-post p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text-soft);
}

/* ---------- A-06 咨询通道 ---------- */
.page-home .ph-cta {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.page-home .ph-cta__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.page-home .ph-cta__text h2 {
  margin: 10px 0 14px;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 900;
  letter-spacing: -.028em;
}

.page-home .ph-cta__text p {
  margin: 0;
  max-width: 38em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-soft);
}

.page-home .ph-cta__side {
  display: grid;
  gap: 22px;
  align-content: start;
}

.page-home .ph-cta__list {
  margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.page-home .ph-cta__list > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.page-home .ph-cta__list dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .07em;
  color: var(--text-mute);
  padding-top: 3px;
}

.page-home .ph-cta__list dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  word-break: break-word;
}

.page-home .ph-cta__side .btn {
  justify-self: start;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .ph-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .ph-head {
    grid-template-columns: 1fr auto;
    align-items: end;
    column-gap: 28px;
  }

  .page-home .ph-head .eyebrow {
    grid-column: 1 / -1;
  }

  .page-home .ph-head__link {
    justify-self: end;
  }
}

@media (min-width: 900px) {
  .page-home .ph-hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .ph-hero__copy {
    justify-content: flex-end;
  }

  .page-home .ph-hero__copy-inner {
    padding-inline: clamp(32px, 4.5vw, 64px) clamp(36px, 5vw, 76px);
  }

  .page-home .ph-transfers__top {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 40px;
  }

  .page-home .ph-venue__grid {
    grid-template-columns: 5fr 7fr;
    gap: 44px;
    align-items: start;
  }

  .page-home .ph-num__grid {
    grid-template-columns: 7fr 5fr;
    gap: 56px;
  }

  .page-home .ph-insights__grid {
    grid-template-columns: 5fr 7fr;
    gap: 44px;
    align-items: start;
  }

  .page-home .ph-cta__inner {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .page-home .ph-rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow-x: visible;
    padding-bottom: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .page-home .ph-team:hover,
  .page-home .ph-post:hover,
  .page-home .ph-hero__cta a:hover {
    transform: none;
  }
}
<<<END>>>

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