.page-products {
  --pp-rail-w: 208px;
  --pp-gap: clamp(20px, 3vw, 44px);
  --pp-rail-top: clamp(76px, 12vh, 116px);
  padding-bottom: clamp(48px, 8vw, 96px);
  color: var(--white);
}

.page-products .pp-top {
  padding-top: clamp(16px, 3vw, 32px);
  margin-bottom: clamp(12px, 2.5vw, 24px);
}

/* ---------- 首屏封面 ---------- */
.page-products .pp-hero {
  position: relative;
  display: grid;
  gap: clamp(22px, 3.5vw, 44px);
  padding: clamp(20px, 4vw, 40px) 0 clamp(28px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-products .pp-hero::before {
  content: "";
  position: absolute;
  inset: -20% -6% auto -6%;
  height: 140%;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .3;
  -webkit-mask-image: radial-gradient(70% 62% at 16% 8%, #000 0%, transparent 78%);
  mask-image: radial-gradient(70% 62% at 16% 8%, #000 0%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.page-products .pp-hero > * {
  position: relative;
  z-index: 1;
}

.page-products .pp-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 5.6vw, 58px);
  line-height: 1.14;
  letter-spacing: .01em;
  margin: 12px 0 0;
}

.page-products .pp-hero__lede {
  margin-top: clamp(14px, 2vw, 22px);
  max-width: 62ch;
  color: var(--white);
}

.page-products .pp-hero__note {
  margin-top: 14px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

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

.page-products .pp-fact {
  background: var(--ink);
  padding: 16px 18px;
}

.page-products .pp-fact dt {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}

.page-products .pp-fact dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.1;
  color: var(--cyan);
}

@media (min-width: 900px) {
  .page-products .pp-hero {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    align-items: end;
  }
  .page-products .pp-hero__facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 主体布局：左粘性胶囊栏 + 右主区 ---------- */
.page-products .pp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--pp-gap);
  margin-top: clamp(8px, 2vw, 20px);
}

.page-products .pp-main {
  min-width: 0;
}

.page-products .pp-rail {
  min-width: 0;
}

.page-products .pp-rail__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 0 10px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-products .pp-rail__list::-webkit-scrollbar {
  display: none;
}

.page-products .pp-rail__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: .08em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.page-products .pp-rail__link:hover,
.page-products .pp-rail__link:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(61, 242, 206, .08);
  outline: none;
}

.page-products .pp-rail__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  opacity: .8;
}

@media (min-width: 960px) {
  .page-products .pp-layout {
    grid-template-columns: var(--pp-rail-w) minmax(0, 1fr);
  }
  .page-products .pp-rail {
    position: sticky;
    top: var(--pp-rail-top);
    align-self: start;
    z-index: 3;
  }
  .page-products .pp-rail__list {
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
  }
  .page-products .pp-rail__link {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ---------- 区块与章节头 ---------- */
.page-products .pp-block {
  padding: clamp(28px, 4.4vw, 52px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.page-products .pp-main > .pp-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-products .pp-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 22px);
  margin-bottom: clamp(18px, 2.6vw, 30px);
}

.page-products .pp-head__num {
  flex: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  color: var(--cyan);
  opacity: .85;
}

.page-products .pp-head__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(21px, 2.9vw, 32px);
  line-height: 1.28;
  margin: 8px 0 0;
}

.page-products .pp-head__lead {
  margin: 10px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.page-products .pp-note {
  margin-top: 18px;
  max-width: 68ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  border-left: 2px solid var(--line);
  padding-left: 14px;
}

/* ---------- 01 入口 ---------- */
.page-products .pp-entry {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
}

@media (min-width: 820px) {
  .page-products .pp-entry {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
    align-items: start;
  }
}

.page-products .pp-paths {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-products .pp-paths li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.page-products .pp-paths__idx {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.5;
}

.page-products .pp-paths__title {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  margin: 0;
}

.page-products .pp-paths__text {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ---------- 图片容器 ---------- */
.page-products .pp-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--turf);
}

.page-products .pp-figure--spaced {
  margin-top: clamp(20px, 3vw, 32px);
}

.page-products .pp-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-products .pp-figure--tall {
  aspect-ratio: 3 / 4;
}

.page-products .pp-figure--wide {
  aspect-ratio: 14 / 9;
}

.page-products .pp-figure figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--ink);
}

/* ---------- 比分列表 ---------- */
.page-products .pp-panel__lead {
  margin: 0 0 14px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.page-products .pp-fixtures {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .pp-fixtures__head {
  display: none;
}

.page-products .pp-fixture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "teams score"
    "meta poss";
  gap: 4px 12px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .pp-meta {
  grid-area: meta;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}

.page-products .pp-teams {
  grid-area: teams;
  font-size: 15.5px;
  color: var(--white);
}

.page-products .pp-vs {
  color: var(--muted);
  font-family: var(--font-label);
  font-size: 12px;
  padding: 0 4px;
}

.page-products .pp-score {
  grid-area: score;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  white-space: nowrap;
}

.page-products .pp-poss {
  grid-area: poss;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--cyan);
  text-align: right;
}

@media (min-width: 640px) {
  .page-products .pp-fixtures__head {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 84px 64px;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-label);
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--muted);
  }
  .page-products .pp-fixtures__head span:nth-child(3),
  .page-products .pp-fixtures__head span:nth-child(4) {
    text-align: right;
  }
  .page-products .pp-fixture {
    grid-template-columns: 64px minmax(0, 1fr) 84px 64px;
    grid-template-areas: "meta teams score poss";
    align-items: center;
  }
  .page-products .pp-score {
    text-align: right;
  }
}

/* ---------- Tabs（页面内覆盖） ---------- */
.page-products .tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.page-products .tabs__btn {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}

.page-products .tabs__btn:hover,
.page-products .tabs__btn:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
  outline: none;
}

.page-products .tabs__btn[aria-selected="true"],
.page-products .tabs__btn.is-active {
  color: var(--ink-deep);
  background: var(--cyan);
  border-color: var(--cyan);
}

/* ---------- 03 控球率面板 ---------- */
.page-products .pp-meters {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 700px) {
  .page-products .pp-meters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.page-products .pp-meter-card {
  background: var(--ink);
  padding: 18px;
}

.page-products .pp-meter-card__teams {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--white);
}

.page-products .pp-meter-card__nums {
  margin: 12px 0 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}

.page-products .pp-unit {
  font-size: 15px;
}

.page-products .pp-divider {
  color: var(--line);
  padding: 0 4px;
}

.page-products .pp-muted-num {
  color: var(--orange);
}

.page-products .pp-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 18px;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}

.page-products .pp-flow svg {
  color: var(--cyan);
}

.page-products .pp-text-block {
  margin-top: clamp(16px, 2.4vw, 26px);
  max-width: 68ch;
}

.page-products .pp-text-block p {
  margin: 0 0 1em;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- 04 关注列表 ---------- */
.page-products .pp-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .pp-slot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--muted);
  background: transparent;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}

.page-products .pp-slot.is-on {
  border-color: rgba(61, 242, 206, .55);
  background: rgba(61, 242, 206, .07);
  color: var(--white);
}

.page-products .pp-slot__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  opacity: .85;
}

.page-products .pp-slot:not(.is-on) .pp-slot__num {
  color: var(--line);
}

/* ---------- 05 家庭看球 ---------- */
.page-products .pp-methods {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 760px) {
  .page-products .pp-methods {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: transparent;
    border-top: 0;
    border-bottom: 0;
    gap: 0;
  }
}

.page-products .pp-method {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.page-products .pp-method:last-child {
  border-bottom: 0;
}

@media (min-width: 760px) {
  .page-products .pp-method {
    padding: 0 clamp(16px, 2.4vw, 26px);
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }
  .page-products .pp-method:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .page-products .pp-method:last-child {
    padding-right: 0;
  }
}

.page-products .pp-method__tag {
  margin: 0;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--orange);
}

.page-products .pp-method__title {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3;
}

.page-products .pp-method p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.78;
}

/* ---------- 06 版本更新列表 ---------- */
.page-products .pp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.page-products .pp-list li {
  position: relative;
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.page-products .pp-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 24px;
  width: 8px;
  height: 1px;
  background: var(--cyan);
}

/* ---------- 07 对照表 ---------- */
.page-products .pp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
}

.page-products .pp-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.page-products .pp-table caption {
  text-align: left;
}

.page-products .pp-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-products .pp-table tbody th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}

.page-products .pp-table tbody td {
  padding: 14px 16px;
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
}

.page-products .pp-table tbody tr:last-child th,
.page-products .pp-table tbody tr:last-child td {
  border-bottom: 0;
}

.page-products .pp-table tbody tr {
  transition: background .2s var(--ease);
}

.page-products .pp-table tbody tr:hover {
  background: var(--turf);
}

/* ---------- 08 收尾 CTA ---------- */
.page-products .pp-cta {
  position: relative;
  margin-top: clamp(32px, 6vw, 72px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.page-products .pp-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
  z-index: -1;
}

.page-products .pp-cta__body {
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) var(--gutter);
}

.page-products .pp-cta__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.2;
  margin: 10px 0 0;
}

.page-products .pp-cta__text {
  margin: 14px 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.page-products .pp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .pp-cta__actions .btn {
  text-decoration: none;
}
