.page-home {
  --ph-gap: clamp(20px, 3vw, 32px);
  --ph-block: clamp(64px, 11vw, 148px);
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(48px, 8vw, 96px);
  background: var(--bg);
  color: var(--paper);
  overflow-x: hidden;
}

/* ---------- 上下文行 ---------- */
.page-home .ph-context {
  padding-bottom: clamp(20px, 3vw, 36px);
}

.page-home .ph-context__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.page-home .ph-context__text {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--mist);
}

/* ---------- 首屏拼贴 ---------- */
.page-home .ph-hero {
  padding-bottom: var(--ph-block);
}

.page-home .ph-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--ph-gap);
}

.page-home .ph-hero__intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .ph-hero__intro h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.16;
  font-size: clamp(30px, 5.4vw, 54px);
  color: var(--paper);
}

.page-home .ph-hero__lede {
  margin: 0;
  max-width: 34em;
  font-size: 17px;
  line-height: 1.75;
  color: var(--mist);
}

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

/* 排名榜 */
.page-home .ph-board {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg);
}

.page-home .ph-board__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .ph-board__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .ph-board__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.page-home .ph-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 12px;
  padding: 9px 10px;
  border-radius: 10px;
  transition: background-color 120ms var(--ease);
}

.page-home .ph-row:hover {
  background: rgba(46, 107, 230, .14);
}

.page-home .ph-row__rank {
  grid-row: 1 / span 2;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
  letter-spacing: -.02em;
}

.page-home .ph-row:first-child .ph-row__rank {
  color: var(--accent);
}

.page-home .ph-row__rec {
  font-size: 13px;
  color: var(--mist);
  letter-spacing: .02em;
}

.page-home .ph-row__pts {
  grid-row: 1 / span 2;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  color: var(--paper);
  letter-spacing: -.02em;
}

.page-home .ph-row__bar {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--flag-blue), var(--flag-green));
  opacity: .85;
}

.page-home .ph-board__list li:nth-child(1) .ph-row__bar { width: 100%; }
.page-home .ph-board__list li:nth-child(2) .ph-row__bar { width: 92%; }
.page-home .ph-board__list li:nth-child(3) .ph-row__bar { width: 85%; }
.page-home .ph-board__list li:nth-child(4) .ph-row__bar { width: 78%; }
.page-home .ph-board__list li:nth-child(5) .ph-row__bar { width: 74%; }
.page-home .ph-board__list li:nth-child(6) .ph-row__bar { width: 69%; }

.page-home .ph-board__foot {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mist);
}

/* 雷达视觉块 */
.page-home .ph-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-home .ph-visual__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
}

.page-home .ph-visual__arc {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-height: 60%;
  fill: none;
  stroke: var(--ice);
  stroke-width: 1;
  opacity: .35;
  pointer-events: none;
}

.page-home .ph-visual__arc path:nth-child(2) {
  stroke: var(--accent);
  opacity: .8;
}

.page-home .ph-visual__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 4vw, 48px);
  background: radial-gradient(120% 90% at 88% 8%, rgba(242, 194, 48, .16), transparent 62%),
              linear-gradient(180deg, rgba(10, 20, 48, .35), rgba(10, 20, 48, .88));
}

.page-home .ph-visual__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 38px);
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .ph-visual__note {
  margin: 0;
  max-width: 30em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .ph-radar__img {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  object-fit: contain;
  margin: 4px 0 0;
}

.page-home .ph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--paper);
}

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

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

.page-home .ph-legend__dot--home { background: var(--accent); }
.page-home .ph-legend__dot--away { background: var(--flag-blue); }

/* ---------- 单句主张 ---------- */
.page-home .ph-claim {
  padding: var(--ph-block) 0;
}

.page-home .ph-claim__inner {
  max-width: 30em;
}

.page-home .ph-claim__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5.6vw, 60px);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .ph-claim__title em {
  font-style: normal;
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  letter-spacing: -.02em;
}

.page-home .ph-claim__sub {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 规模数据带 ---------- */
.page-home .ph-scale {
  padding-bottom: var(--ph-block);
}

.page-home .ph-scale__title {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: -.01em;
  color: var(--paper);
}

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

.page-home .ph-scale__item {
  background: var(--surface);
  padding: 18px 16px 20px;
}

.page-home .ph-scale__item dt {
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
  margin-bottom: 10px;
}

.page-home .ph-scale__item dd {
  margin: 0;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 34px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  color: var(--paper);
  line-height: 1.05;
}

.page-home .ph-scale__item .num {
  color: var(--accent);
}

/* ---------- 轮次坐标 ---------- */
.page-home .ph-rounds {
  padding-bottom: var(--ph-block);
}

.page-home .ph-rounds h2 {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 40px);
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .ph-rounds__lede {
  margin: 0 0 28px;
  max-width: 36em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .ph-rounds__strip {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  gap: 6px;
}

.page-home .ph-rounds__strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--mist);
  letter-spacing: .02em;
}

.page-home .ph-rounds__strip li.is-mark {
  border-color: var(--flag-blue);
  color: var(--ice);
}

.page-home .ph-rounds__strip li.is-current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--deep);
  font-weight: 700;
}

.page-home .ph-rounds__snaps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: 52em;
}

.page-home .ph-snap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.page-home .ph-snap summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.page-home .ph-snap summary::after {
  content: "＋";
  font-family: var(--font-data);
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}

.page-home .ph-snap[open] summary::after {
  content: "－";
}

.page-home .ph-snap p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* ---------- 数据中心路径 ---------- */
.page-home .ph-path {
  padding-bottom: var(--ph-block);
}

.page-home .ph-path__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.page-home .ph-path__text h2 {
  margin: 12px 0 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .ph-steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  counter-reset: ph-step;
}

.page-home .ph-step {
  position: relative;
  padding-left: 60px;
}

.page-home .ph-steps__idx {
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  color: var(--accent);
  line-height: 1;
}

.page-home .ph-step::before {
  content: "";
  position: absolute;
  left: 56px;
  top: 8px;
  bottom: -22px;
  width: 1px;
  background: var(--line);
}

.page-home .ph-step:last-child::before {
  display: none;
}

.page-home .ph-step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--paper);
}

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

.page-home .ph-path__out {
  margin: 0 0 26px;
  max-width: 34em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
  border-left: 3px solid var(--flag-green);
  padding-left: 16px;
}

.page-home .ph-path__fig {
  margin: 0;
}

.page-home .ph-path__fig img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 版本通道 ---------- */
.page-home .ph-version {
  padding-bottom: var(--ph-block);
}

.page-home .ph-version__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.page-home .ph-version__visual {
  margin: 0;
}

.page-home .ph-version__visual img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .ph-version__text h2 {
  margin: 12px 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .ph-version__lede {
  margin: 0 0 20px;
  max-width: 34em;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .ph-version__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .ph-version__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--paper);
}

.page-home .ph-version__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------- 出口 ---------- */
.page-home .ph-exits h2 {
  margin: 12px 0 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 36px);
  letter-spacing: -.01em;
  color: var(--paper);
}

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

.page-home .ph-exit {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 120ms var(--ease), background-color 120ms var(--ease);
}

.page-home .ph-exit:hover,
.page-home .ph-exit:focus-visible {
  border-color: var(--accent);
  background: rgba(242, 194, 48, .07);
}

.page-home .ph-exit__tag {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-home .ph-exit__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.4vw, 24px);
  letter-spacing: -.01em;
  color: var(--paper);
}

.page-home .ph-exit__desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .ph-exit__go {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--paper);
}

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

@media (min-width: 900px) {
  .page-home .ph-hero__grid {
    grid-template-columns: minmax(280px, 34fr) minmax(0, 66fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 28px var(--ph-gap);
  }

  .page-home .ph-hero__intro {
    grid-column: 1;
    grid-row: 1;
  }

  .page-home .ph-board {
    grid-column: 1;
    grid-row: 2;
  }

  .page-home .ph-board__list {
    max-height: 320px;
  }

  .page-home .ph-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    min-height: 520px;
  }

  .page-home .ph-visual__inner {
    height: 100%;
    justify-content: flex-end;
  }

  .page-home .ph-radar__img {
    max-width: 380px;
  }

  .page-home .ph-path__grid {
    grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  }

  .page-home .ph-version__grid {
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  }

  .page-home .ph-version__grid .ph-version__visual {
    order: 2;
  }

  .page-home .ph-version__grid .ph-version__text {
    order: 1;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  .page-home .ph-row,
  .page-home .ph-exit {
    transition: none;
  }
}
