.page-products {
  --ph-gap: 20px;
  background: var(--ink);
  color: var(--ivory);
}

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

.page-products .breadcrumbs {
  padding: 20px 0 4px;
}

.page-products .breadcrumbs a {
  color: var(--mist);
  text-decoration: none;
}

.page-products .breadcrumbs a:hover,
.page-products .breadcrumbs a:focus-visible {
  color: var(--gold-light);
}

.page-products .breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--gold);
}

.page-products .breadcrumbs__sep {
  color: var(--gold);
  opacity: 0.6;
  margin-right: 8px;
}

/* ---------- 首屏 ---------- */
.ph-hero {
  padding: 16px 0 48px;
}

.ph-hero__grid {
  display: grid;
  gap: 30px;
}

.ph-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 8.6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ivory);
  margin: 14px 0 0;
}

.ph-hero__title em {
  font-style: normal;
  color: var(--gold-light);
}

.ph-hero__lede {
  max-width: 48ch;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--mist);
}

.ph-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ph-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.ph-stats .float-tag {
  width: 100%;
}

.ph-stats .float-tag:nth-child(odd) {
  transform: rotate(-1.2deg);
}

/* ---------- 章节头 ---------- */
.ph-head {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.ph-head__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 5.4vw, 42px);
  line-height: 1.14;
  margin: 10px 0 0;
  color: var(--ivory);
}

.ph-head__lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.section--ivory .ph-head__title {
  color: var(--ink);
}

.section--ivory .ph-head__lede {
  color: var(--ink-2);
}

.section--ivory .eyebrow {
  color: var(--red);
}

/* ---------- 段位对照表 ---------- */
.ph-tier {
  padding-top: 52px;
  padding-bottom: 48px;
}

.ph-banner {
  margin: 0 0 22px;
}

.ph-banner .media__img {
  width: 100%;
  object-fit: cover;
}

.ph-table {
  min-width: 560px;
}

.ph-table caption,
.ph-mode-table caption {
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding-bottom: 10px;
  color: var(--ink-2);
}

.ph-tier__idx {
  display: inline-block;
  min-width: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.04em;
}

.ph-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.ph-bar-cell {
  min-width: 130px;
  width: 34%;
}

.ph-bar {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red) 0%, var(--gold) 100%);
}

.ph-bar--1 { width: 7%; }
.ph-bar--2 { width: 14%; }
.ph-bar--3 { width: 21%; }
.ph-bar--4 { width: 29%; }
.ph-bar--5 { width: 43%; }
.ph-bar--6 { width: 57%; }
.ph-bar--7 { width: 71%; }
.ph-bar--8 { width: 86%; }
.ph-bar--9 { width: 100%; }

.ph-tier__note {
  margin: 16px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--red);
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 72ch;
}

/* ---------- 六种玩法 ---------- */
.ph-modes {
  padding-top: 8px;
  padding-bottom: 56px;
}

.ph-modes__tags {
  position: sticky;
  top: var(--header-h);
  z-index: 6;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px;
  margin: 0 0 18px;
  background: rgba(247, 242, 232, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
  scrollbar-width: thin;
}

.ph-mode-link {
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 1px solid var(--sand);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 160ms var(--ease), color 160ms var(--ease), background 160ms var(--ease);
}

.ph-mode-link:hover {
  border-color: var(--red);
  color: var(--red);
}

.ph-mode-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.ph-modes__body {
  display: grid;
  gap: 22px;
}

.ph-modes__figure {
  margin: 0;
}

.ph-mode-table {
  min-width: 620px;
}

.ph-mode-row {
  scroll-margin-top: 130px;
}

.ph-mode-row:target {
  background: rgba(200, 16, 46, 0.09);
  box-shadow: inset 3px 0 0 var(--red);
}

.ph-mode-row:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.ph-modes__hint {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 72ch;
}

/* ---------- 面板三视图 ---------- */
.ph-views {
  padding-top: 56px;
  padding-bottom: 56px;
}

.ph-views__body {
  display: grid;
  gap: 26px;
}

.ph-views__cards {
  display: grid;
  gap: 16px;
}

.ph-view-card {
  padding: 20px 18px;
  display: grid;
  gap: 14px;
}

.ph-view-card__title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--gold-light);
}

.ph-view-card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.ph-view-card__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.ph-wire {
  display: grid;
  gap: 7px;
}

.ph-wire__row {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(235, 212, 155, 0.2);
}

.ph-wire__row--w80 { width: 80%; }
.ph-wire__row--w70 { width: 70%; }
.ph-wire__row--w60 { width: 60%; }
.ph-wire__row--w50 { width: 50%; }
.ph-wire__row--w40 { width: 40%; }
.ph-wire__row--w30 { width: 30%; }

.ph-wire__bar {
  display: block;
  height: 10px;
  width: 64%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.ph-views__figure {
  margin: 0;
}

/* ---------- iOS 适配置 ---------- */
.ph-ios {
  padding-top: 52px;
  padding-bottom: 52px;
}

.ph-ios__body {
  display: grid;
  gap: 26px;
}

.ph-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 62ch;
}

.ph-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

.ph-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.ph-list strong {
  color: var(--gold-light);
  font-weight: 500;
}

.ph-list--tight li {
  color: var(--ivory);
}

.ph-ios__note {
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px dashed rgba(198, 160, 82, 0.45);
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 62ch;
}

.ph-ios__figure {
  margin: 0;
}

/* ---------- 复盘路径 ---------- */
.ph-review {
  padding-top: 52px;
  padding-bottom: 56px;
}

.ph-steps {
  list-style: none;
  counter-reset: ph-step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.ph-step {
  counter-increment: ph-step;
  position: relative;
  padding: 20px 18px 18px;
  border: 1px solid rgba(198, 160, 82, 0.28);
  border-radius: 14px;
  background: var(--ink-2);
}

.ph-step::before {
  content: counter(ph-step, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--red-bright);
}

.ph-step__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ivory);
}

.ph-step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
}

.ph-review__tail {
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--gold-light);
  max-width: 62ch;
}

.ph-end__figure {
  margin: 30px 0 0;
}

.ph-end__figure .media__img {
  width: 100%;
  object-fit: cover;
}

/* ---------- 差异处理 ---------- */
.ph-mismatch {
  padding-top: 12px;
  padding-bottom: 64px;
}

.ph-mismatch__card {
  padding: 24px 20px;
  display: grid;
  gap: 22px;
}

.ph-mismatch__lede {
  margin: 14px 0 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--mist);
  max-width: 62ch;
}

.ph-mismatch .ph-head__title {
  font-size: clamp(24px, 5vw, 34px);
}

.ph-mismatch__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 断点 ---------- */
@media (min-width: 760px) {
  .ph-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ph-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ph-mismatch__card {
    padding: 32px 30px;
  }
}

@media (min-width: 900px) {
  .ph-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
    gap: 40px;
  }

  .ph-stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 10px;
  }

  .ph-stats .float-tag:nth-child(1) { transform: translateX(0) rotate(-1.6deg); }
  .ph-stats .float-tag:nth-child(2) { transform: translateX(20px) rotate(0.8deg); }
  .ph-stats .float-tag:nth-child(3) { transform: translateX(4px) rotate(-0.6deg); }
  .ph-stats .float-tag:nth-child(4) { transform: translateX(26px) rotate(1.2deg); }

  .ph-head {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
    gap: 36px;
  }

  .ph-modes__body {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: start;
    gap: 28px;
  }

  .ph-views__body {
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
    align-items: start;
    gap: 32px;
  }

  .ph-views__cards .ph-view-card:nth-child(2) {
    margin-left: 18px;
  }

  .ph-views__cards .ph-view-card:nth-child(3) {
    margin-left: 36px;
  }

  .ph-ios__body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
    gap: 32px;
  }

  .ph-mismatch__card {
    grid-template-columns: minmax(0, 8fr) minmax(0, 3fr);
    align-items: center;
    gap: 32px;
  }

  .ph-mismatch__cta {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .ph-modes__tags {
    top: 0;
  }

  .ph-hero__title {
    margin-left: -20px;
  }

  .ph-hero {
    padding-top: 28px;
    padding-bottom: 64px;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-products *,
  .page-products *::before,
  .page-products *::after {
    transform: none !important;
    transition-duration: 0.01ms !important;
  }
}
<<<END>>>
