.page-products {
  --p-gap: clamp(20px, 3vw, 36px);
  --p-edge: 1px solid var(--line);
}

.page-products .section {
  padding-block: clamp(44px, 6vw, 88px);
}

.page-products .section:first-child {
  padding-top: clamp(24px, 3vw, 40px);
}

/* ---------- 首屏框景 ---------- */

.page-products .products-hero__frame {
  position: relative;
  margin-top: 20px;
  padding: clamp(20px, 3vw, 40px);
  border: var(--p-edge);
  background:
    radial-gradient(120% 140% at 88% 0%, rgba(61, 242, 218, 0.10), transparent 58%),
    linear-gradient(160deg, rgba(12, 31, 56, 0.95), rgba(6, 18, 36, 0.55));
  display: grid;
  gap: var(--p-gap);
}

.page-products .products-hero__frame::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--line-cyan) 0 1px, transparent 1px 28px);
  opacity: 0.75;
  pointer-events: none;
}

.page-products .products-hero__main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-products .products-hero__main .display-1 {
  margin: 0;
  max-width: 20ch;
}

.page-products .products-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.page-products .products-hero__side {
  border-left: 2px solid var(--c-cyan);
  padding-left: 18px;
  align-self: end;
}

.page-products .products-hero__stats {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.page-products .products-hero__stats .stat__num {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.1;
}

.page-products .products-hero__stats .stat__label {
  display: block;
  margin-top: 6px;
}

/* ---------- 参数细目 ---------- */

.page-products .detail-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border-top: var(--p-edge);
}

.page-products .detail-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-products .detail-list__k {
  font-size: 0.8125rem;
  color: var(--c-slate);
  letter-spacing: 0.06em;
  flex: 0 0 auto;
}

.page-products .detail-list__v {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-cyan-soft);
  text-align: right;
}

.page-products .detail-list--stacked li {
  padding: 13px 0;
}

.page-products .detail-list--stacked .detail-list__v {
  color: var(--c-white);
}

/* ---------- 分段控件 ---------- */

.page-products .seg__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: var(--p-edge);
  margin-bottom: 24px;
}

.page-products .seg__btn {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 12px 16px;
  color: var(--c-slate);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-products .seg__btn:hover {
  color: var(--c-white);
}

.page-products .seg__btn[aria-selected="true"],
.page-products .seg__btn.is-current {
  color: var(--c-cyan);
  border-bottom-color: var(--c-cyan);
}

.page-products .seg__btn:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: 2px;
}

.page-products .seg__panel .h3 {
  margin-top: 0;
}

.page-products .seg--compact .seg__list {
  margin-bottom: 16px;
}

/* ---------- 抢断数据栏目 ---------- */

.page-products .products-steal {
  background: linear-gradient(180deg, rgba(12, 31, 56, 0.55), transparent 65%);
}

.page-products .steal-ring {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--line-cyan);
  background: rgba(18, 41, 74, 0.5);
}

.page-products .steal-ring svg {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
}

.page-products .steal-ring__note {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--c-slate);
}

.page-products .steal-board {
  margin-top: clamp(32px, 4vw, 52px);
  border: var(--p-edge);
  padding: clamp(18px, 2.6vw, 30px);
  background: rgba(12, 31, 56, 0.62);
}

.page-products .steal-board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.page-products .steal-board__head .h3 {
  margin: 0;
}

/* ---------- 数据表 ---------- */

.page-products .stat-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
}

.page-products .stat-table,
.page-products .compare-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.page-products .stat-table caption,
.page-products .compare-table caption {
  text-align: left;
  padding: 12px 14px 10px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  color: var(--c-slate);
}

.page-products .stat-table th,
.page-products .compare-table th {
  text-align: left;
  padding: 11px 14px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--c-slate);
  border-bottom: 1px solid var(--line-cyan);
  white-space: nowrap;
}

.page-products .stat-table td,
.page-products .compare-table td {
  padding: 13px 14px;
  color: var(--c-white);
  border-bottom: 1px solid var(--line-soft);
  font-variant-numeric: tabular-nums;
}

.page-products .stat-table tbody th,
.page-products .compare-table tbody th {
  color: var(--c-cyan-soft);
  border-bottom: 1px solid var(--line-soft);
  letter-spacing: 0.08em;
}

.page-products .stat-table tbody tr:hover,
.page-products .compare-table tbody tr:hover {
  background: rgba(18, 41, 74, 0.6);
}

.page-products .stat-table .num {
  font-variant-numeric: tabular-nums;
}

.page-products .stat-table .up {
  color: var(--c-steal);
}

.page-products .stat-table .down {
  color: var(--c-cyan-soft);
}

.page-products .stat-table .flat {
  color: var(--c-slate);
}

.page-products .compare-table {
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.page-products .compare-table .yes {
  color: var(--c-cyan);
  font-family: var(--font-mono);
}

.page-products .compare-table .no {
  color: var(--c-slate);
  font-family: var(--font-mono);
}

/* ---------- 平板端 ---------- */

.page-products .products-pad .pad-points {
  display: grid;
  gap: 1px;
  margin-top: 24px;
  background: var(--line-soft);
  border: var(--p-edge);
}

.page-products .pad-points__item {
  background: var(--c-bg-2);
  padding: 16px 18px;
}

.page-products .pad-points__k {
  margin: 0;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--c-cyan);
  letter-spacing: 0.02em;
}

.page-products .pad-points__v {
  margin: 6px 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--c-slate);
}

/* ---------- 赛季回顾 ---------- */

.page-products .products-archive .index-list {
  margin-top: 0;
}

.page-products .archive-side {
  border: 1px solid var(--line-cyan);
  background: rgba(12, 31, 56, 0.72);
  padding: 20px;
  display: grid;
  gap: 18px;
}

.page-products .archive-side .stat__num {
  font-size: 1.9rem;
  line-height: 1.1;
}

.page-products .archive-side .stat__label {
  display: block;
  margin-top: 6px;
}

/* ---------- 线路 ---------- */

.page-products .network-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  background: var(--line-soft);
  border: var(--p-edge);
}

.page-products .network-stats .stat {
  background: var(--c-bg-2);
  padding: 16px 18px;
}

.page-products .network-stats .stat__num {
  font-size: 1.6rem;
  line-height: 1.1;
}

.page-products .network-stats .stat__label {
  display: block;
  margin-top: 6px;
}

.page-products .node-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-products .node-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  border: var(--p-edge);
  background: var(--c-bg-2);
}

.page-products .node-card__name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-white);
}

.page-products .prose--small {
  font-size: 0.9rem;
  color: var(--c-slate);
  margin-top: 16px;
}

/* ---------- 对照与下载 ---------- */

.page-products .compare-figure {
  margin-bottom: 24px;
}

.page-products .download-panel {
  padding: clamp(20px, 2.6vw, 30px);
}

.page-products .label--ink {
  color: rgba(10, 14, 20, 0.62);
}

.page-products .h3--ink {
  margin: 10px 0 0;
  color: var(--c-ink);
}

.page-products .download-steps {
  margin: 18px 0 0;
  padding-left: 1.2em;
  display: grid;
  gap: 12px;
}

.page-products .download-steps li {
  color: #22303f;
  font-size: 0.9375rem;
  line-height: 1.72;
}

.page-products .download-panel .btn--paper {
  margin-top: 20px;
}

.page-products .download-panel__note {
  margin: 14px 0 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: rgba(10, 14, 20, 0.66);
}

.page-products .download-panel__figure {
  margin: 22px 0 0;
}

.page-products .download-panel__figure .figure__cap {
  color: rgba(10, 14, 20, 0.66);
}

.page-products .compare-outro {
  margin-top: 20px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--c-slate);
}

.page-products .compare-outro a {
  color: var(--c-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 图形比例 ---------- */

.page-products .figure--r32 .figure__frame {
  aspect-ratio: 3 / 2;
}

.page-products .figure--r85 .figure__frame {
  aspect-ratio: 8 / 5;
}

.page-products .figure--r149 .figure__frame {
  aspect-ratio: 14 / 9;
}

.page-products .figure--r57 .figure__frame {
  aspect-ratio: 5 / 7;
}

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

/* ---------- 响应式 ---------- */

@media (max-width: 899px) {
  .page-products .grid--12 > [class*="col-"] {
    grid-column: 1 / -1;
  }

  .page-products .products-hero__side {
    border-left: 0;
    border-top: 2px solid var(--c-cyan);
    padding-left: 0;
    padding-top: 16px;
  }

  .page-products .products-hero__main .display-1 {
    max-width: none;
  }

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

  .page-products .steal-ring {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 900px) {
  .page-products .products-hero__frame {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }

  .page-products .products-hero__side {
    padding-top: 6px;
  }
}
