.page-products {
  --pd-hair: rgba(63, 245, 208, 0.22);
  --pd-soft: rgba(159, 184, 178, 0.16);
  --pd-chip-bg: rgba(14, 58, 51, 0.72);
}

/* ── 首屏 ── */
.page-products .pd-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 54px) 0 clamp(42px, 7vw, 84px);
}

.page-products .pd-hero::before {
  content: "";
  position: absolute;
  top: -24%;
  right: -12%;
  width: min(560px, 82vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 245, 208, 0.16), rgba(63, 245, 208, 0) 68%);
  pointer-events: none;
}

.page-products .pd-hero-grid {
  position: relative;
  display: grid;
  gap: clamp(30px, 5vw, 52px);
  align-items: end;
}

.page-products .pd-hero-lead .lede {
  margin-top: 18px;
}

.page-products .pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.page-products .pd-hero-aside {
  padding: 22px 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--pd-soft);
  background: linear-gradient(180deg, rgba(14, 58, 51, 0.7), rgba(3, 20, 15, 0.45));
}

.page-products .pd-round-strip {
  list-style: none;
  margin: 14px 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .pd-round-strip li span {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--pd-hair);
  background: rgba(3, 20, 15, 0.45);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--paper);
}

.page-products .pd-round-strip li.is-active span {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink-950);
  font-weight: 700;
}

/* ── 轮次带 ── */
.page-products .pd-rounds-wrap {
  margin: clamp(22px, 4vw, 34px) 0 clamp(16px, 3vw, 24px);
}

.page-products .pd-rounds {
  display: flex;
  gap: 12px;
  margin: 12px 0 0;
  padding: 4px 2px 14px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.page-products .pd-rounds > li {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.page-products .pd-round-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 128px;
  padding: 12px 18px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--pd-soft);
  background: var(--pd-chip-bg);
}

.page-products .pd-round-chip span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

.page-products .pd-round-chip b {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cyan);
}

.page-products .pd-round-chip.is-current {
  border-color: rgba(255, 138, 61, 0.6);
  background: linear-gradient(180deg, rgba(255, 138, 61, 0.16), rgba(14, 58, 51, 0.62));
}

.page-products .pd-round-chip.is-current::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}

.page-products .pd-rounds-figure {
  margin: 0 0 clamp(26px, 4vw, 40px);
}

/* ── 筛选与表格 ── */
.page-products .pd-ranking {
  margin-bottom: clamp(30px, 5vw, 52px);
}

.page-products .filter-group {
  margin-bottom: 18px;
}

.page-products .pd-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--pd-soft);
  background: linear-gradient(180deg, rgba(14, 58, 51, 0.55), rgba(6, 35, 31, 0.28));
}

.page-products .pd-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.page-products .pd-table--compact {
  min-width: 520px;
}

.page-products .pd-table--fields {
  min-width: 720px;
}

.page-products .pd-caption {
  text-align: left;
  padding: 18px 20px 0;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

.page-products .pd-table thead th {
  padding: 16px 20px;
  text-align: left;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  border-bottom: 1px solid var(--pd-hair);
}

.page-products .pd-table tbody td {
  padding: 14px 20px;
  color: var(--paper);
  border-bottom: 1px solid rgba(159, 184, 178, 0.1);
}

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

.page-products .pd-table tbody tr:nth-child(even) {
  background: rgba(63, 245, 208, 0.03);
}

.page-products .pd-table tbody tr[hidden] {
  display: none;
}

.page-products .pd-rank {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--cyan);
}

.page-products .pd-name,
.page-products .pd-field-name {
  font-weight: 600;
}

.page-products .pd-num {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--cyan);
}

.page-products .pd-mono {
  font-family: var(--font-mono);
  color: var(--gray);
}

.page-products .pd-trend {
  margin-top: clamp(28px, 4vw, 42px);
}

.page-products .pd-subtitle {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
}

.page-products .pd-trend .pd-table-wrap {
  margin-top: 16px;
}

/* ── 字段说明 ── */
.page-products .pd-fields {
  align-items: start;
}

.page-products .pd-fields-intro .note {
  margin-top: 16px;
}

.page-products .pd-fields-table {
  margin-top: clamp(22px, 3vw, 0);
}

/* ── 主客场对照 ── */
.page-products .pd-split-media {
  margin: 0 0 clamp(22px, 3vw, 32px);
}

.page-products .pd-compare {
  position: relative;
  display: grid;
  gap: 16px;
}

.page-products .pd-side {
  padding: clamp(18px, 3vw, 26px);
}

.page-products .pd-side-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pd-side-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(159, 184, 178, 0.16);
}

.page-products .pd-side-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-products .pd-side-list span {
  font-size: 0.9rem;
  color: var(--gray);
}

.page-products .pd-side-list b {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--cyan);
}

.page-products .pd-side--away .pd-side-list b {
  color: var(--cyan-soft);
}

.page-products .pd-compare-note {
  margin-top: 18px;
}

/* ── iOS 端 ── */
.page-products .pd-ios {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.page-products .pd-ios-media {
  margin: 0 auto;
  width: min(100%, 400px);
}

.page-products .pd-ios-copy .lede,
.page-products .pd-ios-copy .prose {
  margin-top: 14px;
}

.page-products .pd-checks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-products .pd-checks li {
  position: relative;
  padding-left: 26px;
  line-height: 1.7;
  color: var(--paper);
}

.page-products .pd-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
}

/* ── 球员档案 ── */
.page-products .pd-profile {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  margin-top: clamp(24px, 4vw, 38px);
}

.page-products .pd-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 58, 51, 0.78), rgba(6, 35, 31, 0.55));
  border: 1px solid var(--pd-soft);
}

.page-products .pd-card-media {
  border-radius: 0;
}

.page-products .pd-card-body {
  padding: clamp(20px, 3vw, 30px);
}

.page-products .pd-card-name {
  margin: 6px 0 18px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-products .pd-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 0 0 18px;
}

.page-products .pd-facts div {
  padding-top: 10px;
  border-top: 1px solid var(--pd-soft);
}

.page-products .pd-facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

.page-products .pd-facts dd {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cyan);
}

.page-products .pd-card-body .btn {
  margin-top: 20px;
}

.page-products .pd-shotmap {
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--pd-soft);
  background: var(--panel-glow), rgba(3, 20, 15, 0.5);
}

.page-products .pd-shotmap-title {
  margin: 8px 0 16px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
}

.page-products .pd-shotmap svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-products .pd-shot {
  cursor: default;
  outline: none;
}

.page-products .pd-shot circle {
  fill: rgba(63, 245, 208, 0.16);
  stroke: rgba(63, 245, 208, 0.55);
  stroke-width: 1.5;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.page-products .pd-shot:hover circle,
.page-products .pd-shot:focus circle {
  fill: rgba(255, 138, 61, 0.35);
  stroke: var(--orange);
}

.page-products .pd-shot-count {
  fill: var(--paper);
  font-family: var(--font-mono);
  font-size: 15px;
  text-anchor: middle;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.page-products .pd-shot:hover .pd-shot-count,
.page-products .pd-shot:focus .pd-shot-count {
  opacity: 1;
}

.page-products .pd-shotmap .note {
  margin-top: 14px;
}

/* ── 更新节奏 ── */
.page-products .pd-cadence {
  align-items: center;
}

.page-products .pd-cadence-copy .btn {
  margin-top: 22px;
}

.page-products .pd-cadence-media {
  margin: clamp(22px, 4vw, 0) 0 0;
}

.page-products .pd-stats {
  list-style: none;
  margin: clamp(28px, 5vw, 48px) 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-products .pd-stat {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--cyan);
  background: rgba(14, 58, 51, 0.5);
}

.page-products .pd-stat .stat-value--orange {
  color: var(--orange);
}

/* ── 收尾 ── */
.page-products .pd-help {
  padding-bottom: clamp(56px, 9vw, 104px);
}

.page-products .pd-help-grid {
  display: grid;
  gap: clamp(22px, 4vw, 32px);
  align-items: center;
}

.page-products .pd-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── 响应式 ── */
@media (min-width: 760px) {
  .page-products .pd-compare {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  .page-products .pd-compare::after {
    content: "";
    position: absolute;
    top: 12%;
    bottom: 12%;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(63, 245, 208, 0), rgba(63, 245, 208, 0.5), rgba(63, 245, 208, 0));
  }

  .page-products .pd-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .page-products .pd-hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-products .pd-ios {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .page-products .pd-profile {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .page-products .pd-help-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
}

@media (min-width: 980px) {
  .page-products .pd-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
