.page-products {
  --pp-gap: clamp(16px, 2.2vw, 30px);
  --pp-card: #0B2038;
  --pp-rail: 300px;
  background: var(--abyss);
  color: var(--ice);
  padding-bottom: clamp(40px, 6vw, 88px);
  overflow-x: hidden;
}

.page-products .section {
  padding: clamp(40px, 5vw, 78px) 0;
}

.page-products .section--panel {
  background: linear-gradient(180deg, rgba(11, 32, 56, .74) 0%, rgba(6, 20, 38, .28) 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.page-products .breadcrumb {
  padding: clamp(14px, 2vw, 22px) 0 0;
}

.page-products .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
}

.page-products .breadcrumb__link {
  color: var(--steel);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur), border-color var(--dur);
}

.page-products .breadcrumb__link:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.page-products .breadcrumb__sep {
  color: var(--blue-mid);
}

.page-products .breadcrumb__current {
  color: var(--ice);
}

/* ---------- 首屏 ---------- */
.page-products .apps-hero {
  position: relative;
  padding: clamp(22px, 3vw, 42px) 0 clamp(30px, 4vw, 56px);
  overflow: hidden;
}

.page-products .apps-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(148deg, rgba(29, 74, 110, .55) 0%, rgba(6, 20, 38, 0) 56%),
    linear-gradient(312deg, rgba(124, 245, 212, .10) 0%, rgba(6, 20, 38, 0) 46%);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 0 96%);
  pointer-events: none;
}

.page-products .apps-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
  min-width: 0;
}

.page-products .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-products .eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--mint);
  display: inline-block;
}

.page-products .apps-hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 6.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0 0 18px;
  color: var(--ice);
}

.page-products .apps-hero__lead {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.78;
  color: var(--steel);
  margin: 0 0 clamp(20px, 2.6vw, 30px);
  max-width: 46ch;
}

.page-products .filter-rail {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 32, 56, .96) 0%, rgba(6, 20, 38, .72) 100%);
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 24px);
  box-shadow: var(--shadow-soft);
}

.page-products .filter-rail__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.page-products .filter-rail__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ice);
}

.page-products .filter-rail__state {
  font-size: 11px;
  color: var(--mint);
  letter-spacing: .06em;
}

.page-products .filter-group {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .filter-group__row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  background: rgba(18, 48, 79, .26);
  border-radius: var(--radius);
  transition: border-color var(--dur), background var(--dur);
}

.page-products .filter-group__row:hover {
  border-color: var(--mint);
  background: rgba(29, 74, 110, .38);
}

.page-products .filter-group__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(124, 245, 212, .14);
}

.page-products .filter-group__dot--orange {
  background: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 158, 74, .16);
}

.page-products .filter-group__label {
  font-size: 14px;
  color: var(--ice);
}

.page-products .filter-group__val {
  font-size: 11px;
  color: var(--steel);
  white-space: nowrap;
}

.page-products .filter-rail__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page-products .apps-hero__stage {
  position: relative;
  min-width: 0;
}

.page-products .canvas-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
}

.page-products .canvas-chips__item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .05em;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  background: rgba(11, 32, 56, .7);
}

.page-products .canvas-chips__item--on {
  color: var(--abyss);
  background: var(--mint);
  border-color: var(--mint);
  font-weight: 600;
}

.page-products .canvas-chips__item--ghost {
  color: var(--orange-soft);
  border-color: rgba(255, 158, 74, .45);
  background: transparent;
}

/* ---------- 章节头 ---------- */
.page-products .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  margin-bottom: clamp(22px, 3vw, 36px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.page-products .section-head__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.24;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ice);
  max-width: 26ch;
}

.page-products .section-head__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0;
  white-space: nowrap;
}

/* ---------- 筛选详解 ---------- */
.page-products .filter-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 2.6vw, 34px);
}

.page-products .filter-detail__intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--steel);
  border-left: 2px solid var(--mint);
  padding-left: 16px;
  max-width: 62ch;
}

.page-products .filter-conds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-products .filter-cond {
  background: var(--pp-card);
  padding: clamp(16px, 2vw, 22px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  align-items: baseline;
  transition: background var(--dur);
}

.page-products .filter-cond:hover {
  background: #0E2744;
}

.page-products .filter-cond__no {
  grid-row: span 2;
  font-size: 12px;
  color: var(--mint);
  letter-spacing: .08em;
  padding-top: 2px;
}

.page-products .filter-cond__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ice);
  line-height: 1.4;
}

.page-products .filter-cond__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

/* ---------- 控球率 ---------- */
.page-products .split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
  margin-bottom: clamp(22px, 3vw, 36px);
}

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

.page-products .split__body p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.82;
  color: var(--steel);
}

.page-products .split__body p:last-of-type {
  margin-bottom: 0;
}

.page-products .mini-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.page-products .mini-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ice);
}

.page-products .mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 9px;
  height: 1px;
  background: var(--mint-deep);
}

.page-products .table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 32, 56, .72);
}

.page-products .pitch-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
}

.page-products .pitch-table__caption {
  caption-side: top;
  text-align: left;
  padding: 14px 16px 12px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--steel);
  border-bottom: 1px solid var(--line);
}

.page-products .pitch-table thead th {
  text-align: left;
  padding: 11px 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.page-products .pitch-table tbody th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 500;
  color: var(--ice);
  white-space: nowrap;
}

.page-products .pitch-table tbody td {
  padding: 12px 16px;
  color: var(--steel);
  white-space: nowrap;
  border-bottom: 1px solid rgba(18, 48, 79, .5);
}

.page-products .pitch-table tbody tr:nth-child(odd) {
  background: rgba(29, 74, 110, .17);
}

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

.page-products .pitch-table__diff {
  color: var(--mint) !important;
  font-weight: 600;
}

.page-products .table-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--steel);
}

/* ---------- 战绩卡 ---------- */
.page-products .record {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
}

.page-products .record__media,
.page-products .record__body {
  min-width: 0;
}

.page-products .record__lead {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ice);
}

.page-products .record__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-products .record__list li {
  background: var(--abyss);
  padding: 14px 0;
  display: grid;
  gap: 4px;
}

.page-products .record__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-soft);
}

.page-products .record__val {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--steel);
}

.page-products .record__foot {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.78;
  color: var(--steel);
  border-left: 2px solid var(--blue-mid);
  padding-left: 14px;
}

/* ---------- 收藏 ---------- */
.page-products .collect {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 38px);
  align-items: start;
}

.page-products .collect-flow {
  counter-reset: cf;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  min-width: 0;
}

.page-products .collect-flow__item {
  position: relative;
  padding-left: 54px;
}

.page-products .collect-flow__item::before {
  counter-increment: cf;
  content: counter(cf, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 32, 56, .9);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mint);
}

.page-products .collect-flow__item::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: -20px;
  border-left: 1px dashed rgba(124, 245, 212, .34);
}

.page-products .collect-flow__item:last-child::after {
  display: none;
}

.page-products .collect-flow__title {
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ice);
}

.page-products .collect-flow__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.page-products .collect__media {
  min-width: 0;
}

/* ---------- 家庭清单 ---------- */
.page-products .family {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
}

.page-products .family__media,
.page-products .family__body {
  min-width: 0;
}

.page-products .family__body > p:first-child {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ice);
}

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

.page-products .family__list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--mint);
  background: rgba(11, 32, 56, .62);
  border-radius: var(--radius);
}

.page-products .family__tag {
  justify-self: start;
}

.page-products .family__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.page-products .family__foot {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--steel);
}

/* ---------- 画布 ---------- */
.page-products .canvas {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
}

.page-products .canvas__figure {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 32, 56, .78);
  padding: clamp(12px, 2vw, 20px);
  min-width: 0;
}

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

.page-products .canvas__body {
  min-width: 0;
}

.page-products .canvas__body p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--steel);
}

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

.page-products .canvas__list li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
  padding-left: 14px;
  border-left: 1px solid var(--blue-mid);
}

.page-products .canvas__k {
  display: inline-block;
  margin-right: 8px;
  color: var(--mint);
  font-size: 12px;
  letter-spacing: .06em;
}

.page-products .canvas__foot {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--steel);
}

/* ---------- CTA ---------- */
.page-products .cta-band {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(120% 160% at 8% 0%, rgba(29, 74, 110, .55) 0%, rgba(6, 20, 38, 0) 60%),
    var(--abyss);
}

.page-products .cta-band__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.4vw, 32px);
  align-items: end;
}

.page-products .cta-band__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 12px;
  color: var(--ice);
}

.page-products .cta-band__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--steel);
  max-width: 58ch;
}

.page-products .cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-products .cta-band__actions .btn {
  flex: 0 1 auto;
}

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

  .page-products .cta-band__actions {
    justify-content: flex-start;
  }
}

@media (min-width: 900px) {
  .page-products .apps-hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: end;
  }

  .page-products .apps-hero__aside {
    padding-bottom: 18px;
  }

  .page-products .filter-detail {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: start;
  }

  .page-products .filter-conds {
    grid-template-columns: 1fr;
  }

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

  .page-products .record {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

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

  .page-products .family {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .page-products .canvas {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .page-products .cta-band__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: center;
  }

  .page-products .cta-band__actions {
    justify-content: flex-end;
  }
}

@media (min-width: 1180px) {
  .page-products .filter-conds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-products .filter-detail__intro {
    position: sticky;
    top: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .filter-group__row,
  .page-products .filter-cond,
  .page-products .breadcrumb__link {
    transition: none;
  }
}
</main>
