/* ===== 功能中心 page-products ===== */
.page-products {
  --px-rail-w: 15rem;
  --px-gap: clamp(1.1rem, 2.4vw, 2.25rem);
  display: block;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  padding-bottom: var(--sp-7);
  overflow-x: hidden;
}

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

.page-products p {
  margin: 0 0 var(--sp-4);
}

.page-products p:last-child {
  margin-bottom: 0;
}

/* ---------- 首屏 ---------- */
.page-products .px-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + var(--sp-6)) 0 var(--sp-7);
  background:
    radial-gradient(120% 92% at 84% 8%, rgba(34, 228, 182, .17), transparent 62%),
    radial-gradient(90% 70% at 6% 100%, rgba(255, 122, 47, .13), transparent 66%),
    var(--ink);
  border-bottom: 1px solid var(--line-dark);
}

.page-products .px-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 38%;
  opacity: .22;
  filter: saturate(.55) contrast(1.08);
}

.page-products .px-hero__inner {
  position: relative;
}

.page-products .breadcrumb {
  margin-bottom: var(--sp-5);
  font-size: var(--fs-sm);
}

.page-products .px-hero .kicker {
  color: var(--cyan);
}

.page-products .px-hero h1 {
  font-size: clamp(1.95rem, 5.6vw, var(--fs-3xl));
  max-width: 20ch;
  margin-bottom: var(--sp-4);
  color: var(--cream);
}

.page-products .px-hero__lede {
  max-width: 46ch;
  font-size: var(--fs-md);
  line-height: 1.8;
  color: rgba(244, 241, 233, .82);
  margin-bottom: var(--sp-6);
}

.page-products .px-figures {
  list-style: none;
  margin: 0 0 var(--sp-6);
  padding: var(--sp-5) 0 0;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4) var(--sp-5);
}

.page-products .px-figures li {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
}

.page-products .px-figures .stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.4rem, 4vw, var(--fs-xl));
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-products .px-figures .stat__value--orange {
  color: var(--orange);
}

.page-products .px-figures .stat__label {
  font-size: var(--fs-xs);
  color: var(--fog);
  letter-spacing: .02em;
  line-height: 1.5;
}

.page-products .px-jump {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.page-products .px-jump .chip {
  display: inline-block;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--line-cyan);
  background: rgba(20, 41, 74, .62);
  color: rgba(244, 241, 233, .9);
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .px-jump .chip:hover,
.page-products .px-jump .chip:focus-visible {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  outline: none;
}

/* ---------- 主栅格：左索引 + 右内容流 ---------- */
.page-products .px-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--px-gap);
  align-items: start;
  padding-top: var(--sp-6);
}

.page-products .px-stream {
  display: grid;
  gap: var(--px-gap);
  min-width: 0;
}

.page-products .px-rail {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding: var(--sp-4);
  background: rgba(20, 41, 74, .78);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-m);
  min-width: 0;
}

.page-products .px-rail .section-rail__title {
  flex: 0 0 100%;
  margin: 0 0 var(--sp-1);
  font-size: var(--fs-xs);
  letter-spacing: .22em;
  color: var(--fog);
}

.page-products .px-rail a {
  display: block;
  padding: .4rem .75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: var(--fs-sm);
  color: rgba(244, 241, 233, .74);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .px-rail a:hover,
.page-products .px-rail a:focus-visible {
  color: var(--cream);
  border-color: var(--line-cyan);
  outline: none;
}

.page-products .px-rail a.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  font-weight: 700;
}

/* ---------- 区块骨架 ---------- */
.page-products .px-block {
  position: relative;
  min-width: 0;
  padding: var(--sp-6) var(--sp-4);
  background: rgba(20, 41, 74, .72);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-l);
  scroll-margin-top: calc(var(--header-h) + var(--sp-5));
}

.page-products .px-block--narrow {
  border-radius: var(--radius-m);
}

.page-products .px-block--light {
  background: var(--cream);
  color: var(--ink-3);
  border-color: transparent;
}

.page-products .px-block--light h2,
.page-products .px-block--light h3 {
  color: var(--ink);
}

.page-products .px-block--light .kicker {
  color: var(--clay);
}

.page-products .px-block--light .px-block__lede,
.page-products .px-block--light .prose {
  color: var(--ink-3);
}

.page-products .px-block__head {
  max-width: 62ch;
  margin-bottom: var(--sp-6);
}

.page-products .px-block__head h2 {
  font-size: clamp(1.4rem, 3.6vw, var(--fs-xl));
  margin-bottom: var(--sp-3);
  color: var(--cream);
}

.page-products .px-block--light .px-block__head h2 {
  color: var(--ink);
}

.page-products .px-block__lede {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: rgba(244, 241, 233, .76);
}

.page-products .prose {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: rgba(244, 241, 233, .8);
  max-width: 42ch;
}

/* ---------- 能力索引 ---------- */
.page-products .px-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
}

.page-products .px-index__item {
  display: grid;
  gap: var(--sp-2);
  align-content: start;
  padding: var(--sp-5);
  background: rgba(11, 27, 51, .6);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-m);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-products .px-index__item:hover {
  border-color: var(--line-cyan);
  background: rgba(11, 27, 51, .86);
}

.page-products .px-index__no {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-sm);
  letter-spacing: .1em;
  color: var(--cyan);
}

.page-products .px-index__name {
  font-size: var(--fs-md);
  color: var(--cream);
}

.page-products .px-index__desc {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: rgba(244, 241, 233, .72);
}

.page-products .px-index__link {
  margin-top: var(--sp-1);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
}

.page-products .px-index__link:hover,
.page-products .px-index__link:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* ---------- 阵容变动 ---------- */
.page-products .px-scopes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.page-products .px-panel {
  padding: var(--sp-5);
  border-radius: var(--radius-m);
  border: 1px solid var(--line-dark);
  background: linear-gradient(158deg, rgba(34, 228, 182, .16), rgba(11, 27, 51, .92) 58%);
}

.page-products .px-panel--alt {
  background: linear-gradient(158deg, rgba(255, 122, 47, .17), rgba(11, 27, 51, .92) 58%);
}

.page-products .px-panel__tag {
  display: inline-block;
  margin: 0 0 var(--sp-3);
  padding: .2rem .6rem;
  border-radius: var(--radius-s);
  background: rgba(34, 228, 182, .16);
  color: var(--cyan);
  font-size: var(--fs-xs);
  letter-spacing: .14em;
}

.page-products .px-panel__tag--orange {
  background: rgba(255, 122, 47, .18);
  color: var(--orange);
}

.page-products .px-panel h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-3);
  color: var(--cream);
}

.page-products .px-panel p {
  font-size: var(--fs-sm);
  line-height: 1.78;
  color: rgba(244, 241, 233, .76);
}

.page-products .px-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-5);
  align-items: start;
}

.page-products .px-split__body {
  min-width: 0;
}

.page-products .px-split__cta {
  margin-top: var(--sp-4);
}

.page-products .px-numbers {
  list-style: none;
  margin: 0 0 var(--sp-5);
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}

.page-products .px-numbers li {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding-bottom: var(--sp-3);
  border-bottom: 1px dashed var(--line-dark);
}

.page-products .px-numbers__val {
  font-size: var(--fs-sm);
  color: rgba(244, 241, 233, .74);
}

.page-products .px-numbers__val .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  margin-right: .25rem;
}

.page-products .px-numbers__label {
  font-size: var(--fs-sm);
  color: var(--fog);
  line-height: 1.6;
}

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

/* ---------- 媒体 ---------- */
.page-products .px-media {
  margin: 0;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: var(--ink);
}

.page-products .px-block--light .px-media {
  border-color: rgba(43, 58, 74, .18);
}

.page-products .px-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-products .media--4x3 img {
  aspect-ratio: 4 / 3;
}

.page-products .media--3x2 img {
  aspect-ratio: 3 / 2;
}

.page-products .px-media .media__caption {
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--fog);
  line-height: 1.6;
}

.page-products .px-block--light .px-media .media__caption {
  color: var(--ink-3);
}

/* ---------- 客场赛季跨度 ---------- */
.page-products .px-scale {
  list-style: none;
  margin: 0 0 var(--sp-5);
  padding: 0;
  display: grid;
  gap: var(--sp-4);
}

.page-products .px-scale__item {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: var(--sp-4);
}

.page-products .px-scale__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.28rem;
  top: 2.7rem;
  bottom: -1rem;
  width: 2px;
  background: linear-gradient(rgba(78, 122, 90, .55), rgba(78, 122, 90, 0));
}

.page-products .px-scale__marker {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--moss);
  background: rgba(78, 122, 90, .14);
  border: 1px solid rgba(78, 122, 90, .42);
}

.page-products .px-scale__item h3 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-2);
  color: var(--ink);
}

.page-products .px-scale__item p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.78;
  color: var(--ink-3);
  max-width: 40ch;
}

/* ---------- 射手榜表格 ---------- */
.page-products .px-tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-dark);
  background: #fff;
}

.page-products .px-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  color: var(--ink-3);
}

.page-products .px-table th,
.page-products .px-table td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(43, 58, 74, .14);
  line-height: 1.7;
}

.page-products .px-table thead th {
  background: var(--ink);
  color: var(--cream);
  font-size: var(--fs-xs);
  letter-spacing: .1em;
  font-weight: 700;
  white-space: nowrap;
}

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

.page-products .px-table tbody tr:hover {
  background: rgba(34, 228, 182, .09);
}

.page-products .px-table td:first-child {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.page-products .px-table .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--moss);
}

.page-products .px-table .num--orange {
  color: var(--clay);
}

.page-products .px-table__hint {
  margin-left: .45rem;
  color: var(--cyan);
  font-size: .85em;
}

.page-products .px-note {
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  border-radius: var(--radius-m);
  background: rgba(11, 27, 51, .72);
  border: 1px solid var(--line-dark);
}

.page-products .px-note__cta {
  margin-top: var(--sp-4);
}

/* ---------- 个人看板 ---------- */
.page-products .px-board {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}

.page-products .px-board li {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: var(--sp-4);
  border-radius: var(--radius-s);
  background: rgba(11, 27, 51, .7);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--cyan);
}

.page-products .px-board__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-products .px-board__label {
  font-size: var(--fs-xs);
  color: var(--fog);
  line-height: 1.6;
}

/* ---------- 开放接口 ---------- */
.page-products .px-block--api {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  border-color: rgba(34, 228, 182, .3);
}

.page-products .px-api__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .3;
  filter: saturate(.5) contrast(1.05);
}

.page-products .px-api__content {
  padding: var(--sp-6) var(--sp-4);
}

.page-products .px-api__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
  border-top: 1px solid var(--line-cyan);
  padding-top: var(--sp-5);
}

.page-products .px-api__stats li {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
}

.page-products .px-api__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.4rem, 4.4vw, var(--fs-2xl));
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-products .px-api__label {
  font-size: var(--fs-sm);
  color: rgba(244, 241, 233, .7);
  line-height: 1.6;
}

.page-products .px-api__cta {
  margin-top: var(--sp-6);
}

/* ---------- 版本时间线 ---------- */
.page-products .px-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-5);
  border-left: 2px solid var(--line-dark);
  padding-left: var(--sp-5);
}

.page-products .px-timeline li {
  position: relative;
  display: grid;
  gap: var(--sp-2);
}

.page-products .px-timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--sp-5) - 6px);
  top: .45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--cyan);
}

.page-products .px-timeline li:last-child::before {
  background: var(--orange);
  border-color: var(--orange);
}

.page-products .px-timeline__mark {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--cyan);
}

.page-products .px-timeline li:last-child .px-timeline__mark {
  color: var(--orange);
}

.page-products .px-timeline h3 {
  font-size: var(--fs-base);
  color: var(--cream);
}

.page-products .px-timeline p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.78;
  color: rgba(244, 241, 233, .74);
  max-width: 44ch;
}

.page-products .px-tail {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-dark);
}

.page-products .px-tail__cta {
  margin-top: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* ---------- 按钮微调 ---------- */
.page-products .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.4rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- 桌面栅格 ---------- */
@media (min-width: 700px) {
  .page-products .px-hero {
    padding-top: calc(var(--header-h) + var(--sp-7));
    padding-bottom: var(--sp-8);
  }

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

  .page-products .px-block {
    padding: var(--sp-7) var(--sp-6);
  }

  .page-products .px-api__content {
    padding: var(--sp-7) var(--sp-6);
  }

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

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

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

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

@media (min-width: 820px) {
  .page-products .px-split--media-right {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  }

  .page-products .px-split--media-left {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }
}

@media (min-width: 1024px) {
  .page-products .px-shell {
    grid-template-columns: var(--px-rail-w) minmax(0, 1fr);
    gap: var(--sp-6);
    padding-top: var(--sp-7);
  }

  .page-products .px-rail {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-4));
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 2px;
    padding: var(--sp-4) var(--sp-3);
  }

  .page-products .px-rail a {
    border-radius: var(--radius-s);
    border-left: 2px solid transparent;
    white-space: normal;
  }

  .page-products .px-rail a.is-active {
    background: rgba(34, 228, 182, .12);
    border-color: transparent;
    border-left-color: var(--cyan);
    color: var(--cyan);
  }

  .page-products .px-block--narrow {
    max-width: 46rem;
    margin-left: auto;
  }

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

  .page-products .px-scale__item p {
    max-width: 46ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
