.page-products {
  --p-gap: clamp(16px, 2.4vw, 30px);
  --p-pad: clamp(18px, 3vw, 36px);
  --p-radius: 2px;
  --p-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  background: var(--ink);
  color: var(--text);
}

/* ---------- 首屏 ---------- */
.page-products .prod-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(59, 245, 160, .10), transparent 62%),
    radial-gradient(90% 70% at 8% 100%, rgba(78, 168, 255, .08), transparent 66%),
    var(--ink);
}

.page-products .prod-hero__slices {
  position: absolute;
  top: -34%;
  right: -14%;
  width: min(860px, 86%);
  height: 176%;
  background: linear-gradient(158deg, rgba(59, 245, 160, .20), rgba(138, 107, 255, .12) 46%, transparent 74%);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
  animation: prod-slice-in 900ms var(--ease) both;
}

@keyframes prod-slice-in {
  from { transform: translate3d(6%, -4%, 0) scale(1.06); opacity: .1; }
  to { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
}

.page-products .prod-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(30px, 5.4vw, 68px) clamp(34px, 5.6vw, 70px);
}

.page-products .prod-hero .breadcrumbs {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-products .prod-hero__title {
  position: relative;
  margin: 14px 0 18px;
  padding-left: 16px;
  max-width: 17ch;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5.6vw, 62px);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--text);
}

.page-products .prod-hero__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: var(--neon);
  transform: skewY(-12deg);
}

.page-products .prod-hero__lede {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.78;
  color: var(--muted);
}

.page-products .prod-stats {
  list-style: none;
  margin: clamp(26px, 4vw, 40px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  max-width: 720px;
}

.page-products .prod-stats__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  border-left: 1px solid var(--neon-line);
}

.page-products .prod-stats__num {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  color: var(--neon);
}

.page-products .prod-stats__lab {
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- 主体栅格 ---------- */
.page-products .prod-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--p-gap);
  padding-block: clamp(28px, 4.4vw, 56px) clamp(40px, 6vw, 80px);
}

.page-products .prod-main {
  display: flex;
  flex-direction: column;
  gap: var(--p-gap);
  min-width: 0;
}

/* ---------- 左侧轨道 ---------- */
.page-products .prod-rail {
  min-width: 0;
}

.page-products .prod-rail__box {
  padding: 18px;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  border-radius: var(--p-radius);
  backdrop-filter: blur(6px);
}

.page-products .prod-rail__title {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--neon);
}

.page-products .prod-rail .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-products .prod-rail .filter-btn {
  padding: 6px 11px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
}

.page-products .prod-rail .filter-btn:hover {
  color: var(--text);
  border-color: var(--neon-line);
}

.page-products .prod-rail .filter-btn[aria-pressed="true"] {
  color: var(--ink);
  background: var(--neon);
  border-color: var(--neon);
}

.page-products .prod-legend {
  list-style: none;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.page-products .prod-legend__item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
}

.page-products .prod-legend__dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  transform: skewX(-12deg);
}

.page-products .prod-legend__dot--home { background: var(--home); }
.page-products .prod-legend__dot--away { background: var(--away); }
.page-products .prod-legend__dot--neon { background: var(--neon); }

.page-products .prod-rail__note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.7;
}

/* ---------- 面板 ---------- */
.page-products .prod-panel {
  padding: var(--p-pad);
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--p-radius);
  min-width: 0;
}

.page-products .prod-panel .panel__head {
  margin-bottom: clamp(16px, 2.4vw, 26px);
}

.page-products .prod-panel .panel__title {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 3vw, 32px);
  line-height: 1.24;
  color: var(--text);
}

.page-products .prod-panel .panel__meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

.page-products .prod-lede {
  max-width: 68ch;
  margin: 0 0 clamp(18px, 2.6vw, 26px);
  font-size: 15px;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .prod-note {
  max-width: 72ch;
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.78;
  color: var(--muted);
}

.page-products .prod-note a,
.page-products .prod-inline-link a {
  color: var(--neon);
  text-decoration: none;
  border-bottom: 1px solid var(--neon-line);
  padding-bottom: 1px;
}

.page-products .prod-note a:hover,
.page-products .prod-inline-link a:hover {
  border-bottom-color: var(--neon);
}

.page-products .prod-inline-link {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.page-products .prod-panel .prose p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--text);
}

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

/* 浅色翻面面板 */
.page-products .prod-panel--light {
  background: var(--light-bg);
  border-color: transparent;
  color: var(--light-ink);
}

.page-products .prod-panel--light .panel__title { color: var(--light-ink); }
.page-products .prod-panel--light .panel__meta,
.page-products .prod-panel--light .prod-lede { color: var(--light-muted); }
.page-products .prod-panel--light .eyebrow { color: var(--light-neon); }
.page-products .prod-panel--light .mono { color: var(--light-muted); }

.page-products .prod-panel--track {
  background:
    linear-gradient(180deg, rgba(59, 245, 160, .05), transparent 40%),
    var(--panel-2);
}

/* ---------- 分屏 ---------- */
.page-products .prod-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.page-products .prod-split__media {
  margin: 0;
}

.page-products .prod-split__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--p-radius);
}

.page-products .prod-panel .media__caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.page-products .prod-panel--light .media__caption { color: var(--light-muted); }

/* ---------- 对照仪表盘 ---------- */
.page-products .prod-compare-media {
  margin: 0 0 clamp(20px, 3vw, 30px);
}

.page-products .prod-compare-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--p-radius);
}

.page-products .cmp {
  position: relative;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  border-radius: var(--p-radius);
  overflow: hidden;
}

.page-products .cmp::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--neon) 12%, var(--neon) 88%, transparent);
  opacity: .55;
  pointer-events: none;
}

.page-products .cmp__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 14px clamp(12px, 2vw, 22px);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, .22);
}

.page-products .cmp__side {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
}

.page-products .cmp__side--home { color: var(--home); }
.page-products .cmp__side--away { color: var(--away); text-align: right; }

.page-products .cmp__axis {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted);
}

.page-products .cmp__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 16px clamp(12px, 2vw, 22px);
  border-bottom: 1px solid var(--line);
}

.page-products .cmp__row:last-of-type { border-bottom: 0; }

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

.page-products .cmp__cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.page-products .cmp__cell--home { align-items: flex-start; }
.page-products .cmp__cell--away { align-items: flex-end; }

.page-products .cmp__val {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.4vw, 13px);
  letter-spacing: .02em;
  line-height: 1.4;
  color: var(--text);
}

.page-products .cmp__cell--home .cmp__val { color: #BCE0FF; }
.page-products .cmp__cell--away .cmp__val { color: #FFCBA8; }

.page-products .cmp__bar {
  display: block;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.page-products .cmp__bar > i {
  display: block;
  height: 100%;
  width: var(--v, 50%);
  transition: width 320ms var(--ease);
}

.page-products .cmp__cell--home .cmp__bar > i { background: var(--home); }
.page-products .cmp__cell--away .cmp__bar > i { background: var(--away); }

.page-products .cmp__key {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--neon);
  white-space: nowrap;
  text-align: center;
  padding-inline: 4px;
}

.page-products .filter-empty {
  margin: 0;
  padding: 18px clamp(12px, 2vw, 22px);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 轮次时间轴 ---------- */
.page-products .prod-track {
  list-style: none;
  margin: 0;
  padding: 4px 0 12px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-products .prod-track__item {
  scroll-snap-align: start;
  flex: 0 0 min(240px, 72vw);
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: rgba(0, 0, 0, .28);
  border-radius: var(--p-radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-products .prod-track__item--active {
  border-top-color: var(--violet);
  background: rgba(138, 107, 255, .10);
}

.page-products .prod-track__round {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--text);
}

.page-products .prod-track__txt {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 权益三档 ---------- */
.page-products .tiers {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-products .tier {
  padding: 20px;
  border: 1px solid var(--line);
  border-top-width: 3px;
  background: var(--panel-2);
  border-radius: var(--p-radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-products .tier--1 { border-top-color: var(--neon-dim); }
.page-products .tier--2 { border-top-color: var(--neon); }
.page-products .tier--3 { border-top-color: var(--gold); }

.page-products .tier__tag {
  margin: 0;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}

.page-products .tier__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.3;
  color: var(--text);
}

.page-products .tier__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.72;
  color: var(--muted);
}

.page-products .tier__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.page-products .tier__list li {
  position: relative;
  padding-left: 17px;
  font-size: 13px;
  line-height: 1.66;
  color: var(--text);
}

.page-products .tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--neon);
  transform: skewX(-12deg);
}

.page-products .tier--3 .tier__list li::before { background: var(--gold); }

.page-products .prod-tier-media {
  margin: clamp(22px, 3.2vw, 34px) 0 0;
}

.page-products .prod-tier-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--p-radius);
}

/* ---------- 权限清单 ---------- */
.page-products .perms {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.page-products .perm {
  border: 1px solid rgba(10, 21, 18, .14);
  background: rgba(255, 255, 255, .72);
  border-radius: var(--p-radius);
}

.page-products .perm__sum {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.page-products .perm__sum::-webkit-details-marker { display: none; }

.page-products .perm__check {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  position: relative;
  background: var(--light-neon);
  transform: skewX(-12deg);
}

.page-products .perm__check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: skewX(12deg) rotate(40deg);
}

.page-products .perm__name {
  flex: 1 1 auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--light-ink);
}

.page-products .perm__layer {
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--light-muted);
  white-space: nowrap;
}

.page-products .perm__desc {
  margin: 0;
  padding: 0 16px 16px 42px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--light-muted);
}

/* ---------- 个人中心 ---------- */
.page-products .prod-account {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 28px);
}

.page-products .prod-account__meter {
  padding: 18px;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  border-radius: var(--p-radius);
}

.page-products .prod-account__meter-title {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
}

.page-products .prod-account__meter-name {
  margin: 0 0 16px;
  font-family: var(--font-num);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  color: var(--neon);
}

.page-products .prod-account__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.page-products .prod-account__row-key {
  font-size: 13px;
  color: var(--text);
}

/* ---------- 收束带 ---------- */
.page-products .prod-next {
  padding: clamp(22px, 3.4vw, 36px);
  border: 1px solid var(--neon-line);
  background:
    linear-gradient(115deg, rgba(59, 245, 160, .12), transparent 58%),
    var(--panel-2);
  border-radius: var(--p-radius);
}

.page-products .prod-next__title {
  margin: 10px 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.6vw, 28px);
  line-height: 1.28;
  color: var(--text);
}

.page-products .prod-next__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 窄屏保护 ---------- */
.page-products .prod-hero__inner,
.page-products .prod-panel,
.page-products .prod-rail__box {
  overflow-wrap: anywhere;
}

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

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

  .page-products .prod-split--reverse .prod-split__text { order: 2; }

  .page-products .prod-account {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
  }

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

  .page-products .tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }

  .page-products .tier--1 { min-height: 268px; }
  .page-products .tier--2 { min-height: 318px; }
  .page-products .tier--3 { min-height: 368px; }
}

@media (min-width: 1000px) {
  .page-products .prod-grid {
    grid-template-columns: var(--rail) minmax(0, 1fr);
    align-items: start;
  }

  .page-products .prod-rail {
    position: sticky;
    top: 104px;
  }

  .page-products .prod-main {
    gap: calc(var(--p-gap) * 1.15);
  }

  .page-products .cmp__row {
    padding-block: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .prod-hero__slices {
    animation: none;
  }

  .page-products .cmp__bar > i,
  .page-products .prod-rail .filter-btn {
    transition: none;
  }
}
</main>

.page-products {
  --v: 1rem;
}
