.page-products {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
}

.page-products h1,
.page-products h2,
.page-products h3,
.page-products h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.24;
}

.page-products p {
  margin: 0;
}

.page-products h1 { font-size: clamp(26px, 6.4vw, 44px); }
.page-products h2 { font-size: clamp(21px, 4.4vw, 30px); }
.page-products h3 { font-size: 17px; }
.page-products h4 { font-size: 15px; letter-spacing: 0.02em; }

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

.page-products a {
  color: inherit;
}

/* ---------- 首屏 ---------- */
.px-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(43, 109, 246, 0.32), transparent 58%),
    radial-gradient(circle at 8% 96%, rgba(23, 169, 127, 0.22), transparent 52%),
    var(--deep);
  color: var(--cream);
  padding: 38px 0 0;
}

.px-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(159, 192, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 192, 255, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}

.px-hero__inner {
  position: relative;
  z-index: 1;
  padding-bottom: 34px;
  animation: pxRise 0.6s var(--ease) both;
}

@keyframes pxRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.px-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px solid var(--rail-line);
  padding: 6px 12px;
  border-radius: 2px;
}

.px-kicker__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.px-hero h1 {
  margin-top: 18px;
  max-width: 20em;
  color: var(--cream);
}

.px-hero__text {
  margin-top: 14px;
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(246, 240, 228, 0.82);
}

.px-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-products .btn--outline {
  border-color: var(--rail-line);
  color: var(--cream);
  background: transparent;
}

.page-products .btn--outline:hover,
.page-products .btn--outline:focus-visible {
  border-color: var(--mist);
  color: var(--mist);
}

.px-hero__strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 0;
  background: var(--rail-line);
  border: 1px solid var(--rail-line);
}

.px-hero__cell {
  background: rgba(10, 26, 51, 0.9);
  padding: 14px 14px 12px;
}

.px-hero__cell dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mist);
  text-transform: uppercase;
}

.px-hero__cell dd {
  margin: 6px 0 0;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 700;
  color: var(--gold);
}

/* ---------- 页内索引 ---------- */
.px-index {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.px-index__list {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.px-index__list li {
  flex: 1 0 auto;
  border-right: 1px solid var(--rule);
}

.px-index__list li:first-child {
  border-left: 1px solid var(--rule);
}

.px-index__list a {
  display: block;
  padding: 13px 16px;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.px-index__list a:hover,
.px-index__list a:focus-visible {
  background: var(--deep);
  color: var(--cream);
}

.px-index__n {
  display: block;
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.14em;
}

.px-index__list a:hover .px-index__n,
.px-index__list a:focus-visible .px-index__n {
  color: var(--gold);
}

/* ---------- 通用区块 ---------- */
.px-section {
  padding: 46px 0 52px;
  border-bottom: 1px solid var(--rule);
}

.px-section--deep {
  background: var(--deep);
  color: var(--cream);
  border-bottom-color: rgba(159, 192, 255, 0.16);
}

.px-section--paper {
  background: var(--paper);
}

.px-head {
  border-left: 4px solid var(--electric);
  padding-left: 14px;
  margin-bottom: 26px;
}

.px-head--light {
  border-left-color: var(--gold);
}

.px-head__num {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--slate);
}

.px-head--light .px-head__num {
  color: var(--mist);
}

.px-head__note {
  margin-top: 8px;
  max-width: 64ch;
  font-size: 14px;
  color: var(--slate);
}

.px-head--light .px-head__note {
  color: rgba(246, 240, 228, 0.74);
}

.px-figure {
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
  box-shadow: var(--shadow-print);
}

.px-section--deep .px-figure {
  border-color: rgba(159, 192, 255, 0.24);
  background: var(--deep-soft);
  box-shadow: none;
}

.px-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.px-figure--wide img { aspect-ratio: 16 / 9; }
.px-figure--strip img { aspect-ratio: 18 / 7; }
.px-figure--square img { aspect-ratio: 1 / 1; }
.px-figure--tall img { aspect-ratio: 5 / 6; }

.px-figure figcaption {
  padding: 10px 14px 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--slate);
  border-top: 1px solid var(--rule);
}

.px-section--deep .px-figure figcaption {
  color: rgba(246, 240, 228, 0.7);
  border-top-color: rgba(159, 192, 255, 0.2);
}

/* ---------- 01 专题线 ---------- */
.px-lines {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.px-line {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--rule-strong);
  padding: 18px 16px 18px 22px;
  box-shadow: var(--shadow-print);
}

.px-line__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--c, var(--electric));
}

.px-line__meta {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.px-line__desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink);
}

.px-figure--wide {
  margin-top: 22px;
}

/* ---------- 02 轮次刻度 ---------- */
.px-tl__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 22px 0 12px;
  font-size: 12px;
}

.px-tl__key {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--mist);
}

.px-tl__key::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 1px;
}

.px-tl__key--shot::before { background: var(--electric); }
.px-tl__key--corner::before { background: var(--gold); }

.px-tl__scale {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(246, 240, 228, 0.6);
}

.px-tl__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 30px 0 10px;
  border: 1px solid rgba(159, 192, 255, 0.24);
  background:
    repeating-linear-gradient(
      to right,
      rgba(159, 192, 255, 0.06) 0 1px,
      transparent 1px 28px
    ),
    var(--deep-soft);
  scrollbar-width: thin;
}

.px-tl__track {
  display: flex;
  align-items: flex-end;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0 8px;
  min-width: max-content;
}

.px-tl__round {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
  outline: none;
}

.px-tl__round::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(159, 192, 255, 0.12);
}

.px-tl__bar {
  display: block;
  width: 16px;
  border-radius: 1px 1px 0 0;
  transition: filter 0.22s var(--ease), transform 0.22s var(--ease);
  transform-origin: bottom center;
}

.px-tl__bar--shot {
  height: calc(var(--s) * 2.2px);
  background: linear-gradient(to top, rgba(43, 109, 246, 0.55), var(--electric));
}

.px-tl__bar--corner {
  height: calc(var(--c) * 3.4px);
  background: linear-gradient(to top, rgba(243, 160, 60, 0.5), var(--gold));
}

.px-tl__idx {
  font-size: 9px;
  letter-spacing: 0.02em;
  color: rgba(246, 240, 228, 0.5);
}

.px-tl__tip {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease);
  z-index: 3;
}

.px-tl__round:hover .px-tl__tip,
.px-tl__round:focus-visible .px-tl__tip {
  opacity: 1;
}

.px-tl__round:hover .px-tl__bar,
.px-tl__round:focus-visible .px-tl__bar {
  filter: brightness(1.22);
}

.px-tl__round:focus-visible {
  box-shadow: inset 0 0 0 2px var(--gold);
}

.px-tl__foot {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(246, 240, 228, 0.75);
  border-left: 3px solid var(--tropic);
  padding-left: 12px;
}

/* ---------- 03 字段表 ---------- */
.px-tb {
  overflow-x: auto;
  border: 1px solid var(--rule-strong);
  background: var(--cream);
  scrollbar-width: thin;
}

.px-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.px-table caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep);
  background: var(--paper);
  border-bottom: 1px solid var(--rule-strong);
}

.px-table th,
.px-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}

.px-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  background: rgba(231, 222, 203, 0.6);
  border-bottom: 1px solid var(--rule-strong);
}

.px-table tbody th {
  font-weight: 700;
  color: var(--ink);
  width: 22%;
}

.px-table tbody tr:hover {
  background: rgba(243, 160, 60, 0.16);
}

.px-table tbody tr:hover td.num {
  background: rgba(243, 160, 60, 0.3);
}

.px-table td.num {
  font-family: var(--font-mono);
  font-weight: 500;
  text-align: right;
  color: var(--deep);
}

.px-fields__pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 20px;
}

.px-fields__pair .px-figure {
  box-shadow: none;
}

/* ---------- 04 裁判 ---------- */
.px-offs__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.px-offs__key {
  border: 1px solid var(--rule-strong);
  background: var(--cream);
  padding: 18px 16px;
}

.px-offs__key h3 {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.px-offs__list {
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}

.px-offs__list > div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--rule);
}

.px-offs__list > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.px-offs__list dt {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--deep);
}

.px-offs__list dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink);
}

.px-offs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.px-offs__card {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--rule-strong);
  border-left: 6px solid var(--c, var(--electric));
  padding: 14px 16px;
}

.px-offs__card p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink);
}

.px-offs__count {
  font-size: 26px;
  font-weight: 700;
  color: var(--deep) !important;
}

.px-offs__total {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--deep);
  color: var(--cream);
  font-size: 14px;
  border-left: 4px solid var(--gold);
}

.px-offs__total .num {
  color: var(--gold);
  font-weight: 700;
}

/* ---------- 05 转会双栏 ---------- */
.px-tw {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.px-tw__col {
  border: 1px solid var(--rule-strong);
  background: var(--cream);
  padding: 18px 16px;
  box-shadow: var(--shadow-print);
}

.px-tw__col--alt {
  background: var(--deep);
  color: var(--cream);
  border-color: var(--deep);
}

.px-tw__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
}

.px-tw__col--alt .px-tw__head {
  border-bottom-color: var(--mist);
}

.px-tw__list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.px-tw__list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
}

.px-tw__idx {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ember);
  padding-top: 3px;
}

.px-tw__col--alt .px-tw__idx {
  color: var(--gold);
}

.px-tw__list h4 {
  font-size: 14.5px;
}

.px-tw__list p {
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--slate);
}

.px-tw__col--alt .px-tw__list p {
  color: rgba(246, 240, 228, 0.74);
}

.px-tw__foot {
  margin-top: 20px;
  padding: 16px;
  background: var(--paper);
  border-left: 4px solid var(--electric);
  display: grid;
  gap: 14px;
}

.px-tw__foot p {
  font-size: 14px;
}

.px-tw__foot .num {
  font-weight: 700;
  color: var(--deep);
}

/* ---------- 06 更新与引用 ---------- */
.px-up {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.px-up__card {
  border: 1px solid rgba(159, 192, 255, 0.24);
  background: var(--deep-soft);
  padding: 16px;
  border-top: 3px solid var(--gold);
}

.px-up__t {
  font-size: 26px !important;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.px-up__card h3 {
  margin-top: 6px;
  color: var(--cream);
}

.px-up__card p {
  margin-top: 8px;
  font-size: 13.5px;
  color: rgba(246, 240, 228, 0.76);
}

.px-up__cite {
  margin-top: 24px;
  padding: 20px 16px;
  background: rgba(246, 240, 228, 0.05);
  border: 1px solid rgba(159, 192, 255, 0.24);
}

.px-up__cite h3 {
  color: var(--cream);
}

.px-up__cite > p {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(246, 240, 228, 0.78);
}

.page-products .expander {
  margin-top: 16px;
  border: 1px solid var(--rail-line);
  border-radius: 0;
}

.page-products .expander__btn {
  width: 100%;
  background: transparent;
  color: var(--mist);
  border: 0;
}

.page-products .expander__inner {
  background: rgba(10, 26, 51, 0.6);
  color: var(--cream);
}

.px-cite {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.px-cite li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(159, 192, 255, 0.22);
}

.px-cite li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.px-cite__k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.px-cite__v {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(246, 240, 228, 0.86);
  word-break: break-word;
}

.px-cite__note {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(246, 240, 228, 0.7);
  border-left: 3px solid var(--tropic);
  padding-left: 10px;
}

.px-up__more {
  margin-top: 16px;
  font-size: 13.5px;
  color: rgba(246, 240, 228, 0.75);
}

.px-up__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

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

  .px-lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .px-offs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .px-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .px-cite li {
    grid-template-columns: 96px 1fr;
    align-items: baseline;
    gap: 12px;
  }
}

@media (min-width: 900px) {
  .px-hero {
    padding-top: 50px;
  }

  .px-hero__strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .px-section {
    padding: 62px 0 68px;
  }

  .px-lines {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .px-fields__pair {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    align-items: start;
  }

  .px-offs__top {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.4fr);
    align-items: start;
  }

  .px-offs__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .px-tw {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .px-index__list a {
    padding: 15px 20px;
  }

  .px-head {
    display: grid;
    grid-template-columns: 58px minmax(0, auto) 1fr;
    align-items: baseline;
    gap: 0 16px;
    border-left-width: 5px;
    padding-left: 18px;
  }

  .px-head__num {
    font-size: 13px;
  }

  .px-head__note {
    margin-top: 0;
    justify-self: end;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .px-hero__inner {
    animation: none;
  }

  .page-products * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.page-products {
  --c: transparent;
  --s: 1rem;
}
