.page-products {
  --pp-panel-bg: linear-gradient(180deg, rgba(26, 39, 64, 0.62), rgba(20, 30, 51, 0.94));
  --pp-cyan-soft: rgba(34, 224, 214, 0.36);
  padding-top: 10px;
  padding-bottom: 64px;
}

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

/* ---------- 页头 ---------- */
.page-products .page-head {
  position: relative;
  padding: 26px 22px 26px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(34, 224, 214, 0.1), transparent 56%),
    linear-gradient(180deg, var(--ink-800), var(--ink-900));
  overflow: hidden;
}

.page-products .page-head::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 190px;
  height: 190px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(255, 122, 41, 0.24), transparent 68%);
  pointer-events: none;
}

.page-products .page-head__kicker {
  position: relative;
  margin: 0 0 14px;
  color: var(--cyan);
}

.page-products .page-head h1 {
  position: relative;
  margin: 0 0 16px;
  max-width: 24ch;
  font-family: var(--sans);
  font-size: clamp(26px, 6.4vw, 46px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.page-products .page-head__lead {
  position: relative;
  margin: 0;
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.8;
  color: #c7d4e8;
}

.page-products .page-head__band {
  display: block;
  width: 168px;
  height: 8px;
  margin: 22px 0 0;
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}

.page-products .head-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .head-facts li {
  padding: 14px 14px 13px;
  background: rgba(11, 18, 32, 0.76);
}

.page-products .head-facts__num {
  display: block;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-products .head-facts__label {
  display: block;
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- 章节标题 ---------- */
.page-products section {
  margin-top: 56px;
}

.page-products .section-head {
  margin: 0 0 20px;
}

.page-products .section-head__index {
  display: inline-block;
  color: var(--cyan);
}

.page-products .section-head__title {
  margin: 8px 0 10px;
  font-size: clamp(20px, 4.4vw, 30px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-products .section-head__note {
  margin: 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 路径图 ---------- */
.page-products .route-figure {
  margin: 0 0 26px;
  border: 1px solid var(--line);
  background: var(--ink-800);
  overflow: hidden;
}

.page-products .route-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-products .paths {
  display: grid;
  gap: 18px;
}

.page-products .path-node {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid var(--line);
  background: var(--pp-panel-bg);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), transform 160ms var(--ease);
}

.page-products .path-node:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-1);
  transform: translateY(-2px);
}

.page-products .path-node__no {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
}

.page-products .path-node__title {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 800;
  color: var(--paper);
}

.page-products .path-node__desc {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.75;
  color: #c2cfe2;
}

.page-products .path-node__meta {
  display: grid;
  gap: 11px;
  margin: 0 0 18px;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.page-products .path-node__meta > div {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.page-products .path-node__meta dt {
  flex: 0 0 46px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-products .path-node__meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #d3deee;
}

/* ---------- 折叠区 ---------- */
.page-products .disclosure {
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.page-products .disclosure__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--pp-cyan-soft);
  background: rgba(14, 110, 106, 0.24);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}

.page-products .disclosure__btn:hover,
.page-products .disclosure__btn:focus-visible {
  background: rgba(34, 224, 214, 0.16);
  border-color: var(--cyan);
}

.page-products .disclosure__marker {
  margin-left: auto;
  font-size: 15px;
  line-height: 1;
}

.page-products .disclosure__body {
  padding: 14px 2px 0;
}

.page-products .disclosure__body[hidden] {
  display: none;
}

.page-products .path-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.page-products .path-steps li {
  font-size: 14px;
  line-height: 1.72;
  color: #c2cfe2;
}

/* ---------- 工作台 ---------- */
.page-products .workbench__grid {
  display: grid;
  gap: 20px;
}

.page-products .work-panel {
  position: relative;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  background: var(--pp-panel-bg);
  overflow: hidden;
}

.page-products .work-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 96px;
  height: 3px;
  background: var(--orange);
}

.page-products .work-panel--odds::before {
  background: linear-gradient(90deg, var(--rose), var(--cyan));
}

.page-products .work-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.page-products .work-panel__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--paper);
}

.page-products .work-panel__desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-products .stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 18px;
  background: var(--line);
  border: 1px solid var(--line);
}

.page-products .stat-grid .stat {
  padding: 14px 12px 13px;
  background: var(--ink-900);
}

.page-products .stat__value {
  display: block;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.page-products .stat__label {
  display: block;
  margin-top: 9px;
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--muted);
}

.page-products .work-figure {
  margin: 0 0 16px;
  border: 1px solid var(--line);
  background: var(--ink-900);
  overflow: hidden;
}

.page-products .work-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.page-products .work-figure--slots img {
  aspect-ratio: 12 / 7;
}

.page-products .work-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: #c2cfe2;
}

/* ---------- 名额字段表 ---------- */
.page-products .table-scroll {
  margin: 0 0 18px;
  border: 1px solid var(--line);
  background: var(--ink-900);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-products .field-table {
  width: 100%;
  min-width: 440px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-products .field-table__cap {
  padding: 12px 14px 4px;
  text-align: left;
  color: var(--muted);
  caption-side: top;
}

.page-products .field-table th,
.page-products .field-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.page-products .field-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--ink-800);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.page-products .field-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--ink-800);
  color: var(--paper);
  font-weight: 700;
  white-space: nowrap;
}

.page-products .field-table td {
  color: #c2cfe2;
  line-height: 1.65;
}

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

/* ---------- 赛季分段 ---------- */
.page-products .shelf {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 2px 2px 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.page-products .shelf__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--ink-800);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.page-products .shelf__item[data-active="true"] {
  border-color: var(--cyan);
  background: rgba(34, 224, 214, 0.14);
  color: var(--cyan);
}

.page-products .season-body {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  background: var(--ink-800);
}

.page-products .season-body__text {
  margin: 0;
  max-width: 66ch;
  font-size: 15px;
  line-height: 1.8;
  color: #c2cfe2;
}

.page-products .season-body .btn {
  justify-self: start;
}

/* ---------- 收藏两步 ---------- */
.page-products .save-flow__grid {
  display: grid;
  gap: 20px;
}

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

.page-products .step-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px 18px 22px;
  border: 1px solid var(--line);
  background: var(--ink-800);
  overflow: hidden;
}

.page-products .step-card__num {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.page-products .step-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--paper);
}

.page-products .step-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: #c2cfe2;
}

.page-products .step-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46px;
  height: 5px;
  background: var(--cyan);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
}

.page-products .flow-figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--ink-900);
  overflow: hidden;
}

.page-products .flow-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-products .save-flow__foot {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--orange);
  background: rgba(255, 122, 41, 0.08);
  font-size: 14px;
  line-height: 1.78;
  color: #d3deee;
}

/* ---------- 版本说明 ---------- */
.page-products .version-grid {
  display: grid;
  gap: 14px;
}

.page-products .version-card {
  padding: 20px 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  background: var(--ink-800);
}

.page-products .version-card--current {
  border-left-color: var(--cyan);
  background:
    linear-gradient(180deg, rgba(34, 224, 214, 0.09), rgba(20, 30, 51, 0.95));
}

.page-products .version-card__tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-products .version-card h3 {
  margin: 12px 0 12px;
  font-size: 17px;
  font-weight: 800;
  color: var(--paper);
}

.page-products .version-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.page-products .version-card li {
  font-size: 14px;
  line-height: 1.72;
  color: #c2cfe2;
}

/* ---------- 合作对接 ---------- */
.page-products .coop-figure {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  background: var(--ink-900);
  overflow: hidden;
}

.page-products .coop-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-products .coop-grid {
  display: grid;
  gap: 16px;
}

.page-products .coop-card {
  padding: 20px 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255, 122, 41, 0.1), transparent 58%),
    var(--ink-800);
  transition: border-color 160ms var(--ease), transform 160ms var(--ease);
}

.page-products .coop-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.page-products .coop-card__no {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
}

.page-products .coop-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--paper);
}

.page-products .coop-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.78;
  color: #c2cfe2;
}

/* ---------- 底部联系带 ---------- */
.page-products .contact-strip {
  display: grid;
  gap: 20px;
  margin-top: 54px;
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  background:
    linear-gradient(118deg, rgba(34, 224, 214, 0.1), rgba(11, 18, 32, 0) 62%),
    var(--ink-800);
}

.page-products .contact-strip h2 {
  margin: 0 0 10px;
  font-size: clamp(19px, 4vw, 26px);
  font-weight: 800;
  color: var(--paper);
}

.page-products .contact-strip__lead p {
  margin: 0;
  max-width: 66ch;
  font-size: 14px;
  line-height: 1.8;
  color: #c2cfe2;
}

.page-products .contact-strip__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.page-products .link-inline {
  font-size: 14px;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms var(--ease);
}

.page-products .link-inline:hover,
.page-products .link-inline:focus-visible {
  border-bottom-color: var(--cyan);
}

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

  .page-products .page-head {
    padding: 30px 28px 30px;
  }
}

@media (min-width: 760px) {
  .page-products .coop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

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

@media (min-width: 820px) {
  .page-products .save-flow__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
    gap: 24px;
  }

  .page-products .season-body {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 880px) {
  .page-products .paths {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding-top: 26px;
  }

  .page-products .paths::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: linear-gradient(90deg, rgba(34, 224, 214, 0), var(--cyan) 12%, var(--cyan) 88%, rgba(34, 224, 214, 0));
    opacity: 0.55;
  }

  .page-products .path-node::before {
    content: "";
    position: absolute;
    top: -13px;
    left: 26px;
    z-index: 2;
    width: 10px;
    height: 10px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    background: var(--ink-900);
  }
}

@media (min-width: 1000px) {
  .page-products .workbench__grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  .page-products .contact-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 30px 28px;
  }

  .page-products .contact-strip__actions {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .path-node,
  .page-products .coop-card {
    transition: none;
  }

  .page-products .path-node:hover,
  .page-products .coop-card:hover {
    transform: none;
  }
}
