.page-products{
  --px-arena:#46616B;
  --px-casual:#5F6B52;
  --px-theme:#8A6250;
  --px-soft:#FBF8F0;
  --px-warm:#E06B3C;
}

/* ---------- 首屏 ---------- */
.page-products .px-hero{
  position:relative;
  overflow:hidden;
  padding-top:calc(var(--header-h) + clamp(22px,4vw,52px));
  padding-bottom:clamp(40px,6vw,82px);
  color:var(--paper);
  background:
    radial-gradient(115% 82% at 88% -12%, rgba(46,140,140,.22), transparent 60%),
    radial-gradient(92% 70% at 4% 4%, rgba(200,164,90,.16), transparent 58%),
    var(--ink-900);
}

.page-products .px-hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg, transparent, var(--line-gold), transparent);
}

.page-products .px-hero-copy{
  max-width:46rem;
  margin-top:clamp(20px,3.4vw,34px);
}

.page-products .px-hero-copy h1{
  margin:14px 0 0;
  font-family:var(--font-title);
  font-size:clamp(1.85rem,5.2vw,3.4rem);
  font-weight:800;
  letter-spacing:.04em;
  line-height:1.16;
  color:var(--paper);
}

.page-products .px-hero-lead{
  margin:18px 0 0;
  max-width:60ch;
  font-size:clamp(.95rem,1.3vw,1.08rem);
  line-height:1.85;
  color:var(--text-paper);
}

.page-products .px-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:clamp(22px,3.2vw,30px);
}

.page-products .px-facts{
  list-style:none;
  margin:clamp(24px,3.4vw,36px) 0 0;
  padding:20px 0 0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  max-width:520px;
  border-top:1px solid var(--line-paper);
}

.page-products .px-facts li{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.page-products .px-facts .mono{
  font-size:clamp(1.1rem,2.4vw,1.4rem);
  color:var(--gold-300);
  letter-spacing:.06em;
  font-variant-numeric:tabular-nums;
}

.page-products .px-facts span:last-child{
  font-size:.76rem;
  line-height:1.5;
  letter-spacing:.03em;
  color:var(--text-paper-dim);
}

.page-products .px-hero-figure{
  margin:clamp(30px,4.6vw,52px) 0 0;
}

.page-products .px-hero-figure img,
.page-products .px-bands-figure img,
.page-products .px-rules-figure img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  object-fit:cover;
  border:1px solid var(--line-gold);
  border-radius:var(--radius);
}

.page-products .px-hero-figure .media-caption,
.page-products .px-bands-figure .media-caption,
.page-products .px-rules-figure .media-caption{
  display:block;
  margin-top:10px;
  font-size:.78rem;
  letter-spacing:.03em;
}

/* ---------- 通用分区 ---------- */
.page-products .px-section{
  padding-block:clamp(44px,6.4vw,88px);
}

.page-products .px-head{
  max-width:66ch;
  margin-bottom:clamp(22px,3.6vw,38px);
}

.page-products .px-head h2{
  margin:10px 0 0;
  font-family:var(--font-title);
  font-size:clamp(1.45rem,3.2vw,2.1rem);
  font-weight:800;
  letter-spacing:.04em;
  line-height:1.3;
  color:var(--ink-900);
}

.page-products .px-head p{
  margin:14px 0 0;
  font-size:clamp(.94rem,1.2vw,1.04rem);
  line-height:1.85;
  color:var(--text-ink-dim);
}

.page-products .px-head--light h2{ color:var(--paper); }
.page-products .px-head--light p{ color:var(--text-paper-dim); }

.page-products .px-split{
  display:grid;
  gap:clamp(24px,4vw,46px);
  align-items:start;
}

.page-products figure{ margin:0; }

.page-products .px-split img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  object-fit:cover;
  border:1px solid var(--line-ink);
  border-radius:var(--radius);
  background:var(--paper-dim);
}

.page-products .px-split--wide img{
  border-color:var(--line-paper);
  background:rgba(244,240,230,.08);
}

.page-products .px-split img + .media-caption{
  display:block;
  margin-top:10px;
  font-size:.78rem;
  line-height:1.7;
}

/* ---------- 分类色带 ---------- */
.page-products .px-bands{
  position:relative;
  color:var(--paper);
  background:
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 100%);
}

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

.page-products .px-band{
  position:relative;
  padding:22px 20px 20px;
  border:1px solid var(--line-paper);
  border-top:4px solid var(--band-color, var(--gold-600));
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(244,240,230,.07), rgba(244,240,230,.02));
  transition:transform var(--motion), border-color var(--motion), background var(--motion);
}

.page-products .px-band:hover,
.page-products .px-band:focus-within{
  transform:translateY(-2px);
  border-color:var(--gold-600);
  background:linear-gradient(180deg, rgba(244,240,230,.11), rgba(244,240,230,.03));
}

.page-products .px-band--arena{ --band-color:var(--px-arena); }
.page-products .px-band--casual{ --band-color:var(--px-casual); }
.page-products .px-band--theme{ --band-color:var(--px-theme); }

.page-products .px-band-index{
  display:inline-block;
  font-size:.78rem;
  letter-spacing:.12em;
  color:var(--gold-300);
}

.page-products .px-band-name{
  margin:8px 0 0;
  font-family:var(--font-title);
  font-size:1.3rem;
  font-weight:700;
  letter-spacing:.05em;
  color:var(--paper);
}

.page-products .px-band-desc{
  margin:10px 0 0;
  font-size:.9rem;
  line-height:1.8;
  color:var(--text-paper);
}

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

.page-products .px-band-points li{
  position:relative;
  padding-left:15px;
  font-size:.85rem;
  line-height:1.7;
  color:var(--text-paper-dim);
}

.page-products .px-band-points li::before{
  content:"";
  position:absolute;
  left:0;
  top:.78em;
  width:7px;
  height:1px;
  background:var(--band-color, var(--gold-600));
}

.page-products .px-band-count{
  margin:18px 0 0;
  font-size:.76rem;
  letter-spacing:.1em;
  color:var(--gold-300);
  font-variant-numeric:tabular-nums;
}

.page-products .px-bands-note{
  margin:clamp(20px,3vw,30px) 0 0;
  max-width:68ch;
  font-size:.9rem;
  line-height:1.85;
  color:var(--text-paper-dim);
  border-left:2px solid var(--lake-500);
  padding-left:14px;
}

.page-products .px-bands-note a{
  color:var(--gold-300);
  text-decoration:none;
  border-bottom:1px solid var(--line-gold);
}

.page-products .px-bands-note a:hover{
  color:var(--paper);
}

.page-products .px-bands-figure{
  margin:clamp(26px,4vw,44px) 0 0;
}

/* ---------- 安卓版本区 ---------- */
.page-products .px-android{
  background:var(--paper);
  color:var(--ink-900);
}

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

.page-products .px-android-copy h2{
  margin:10px 0 0;
  font-family:var(--font-title);
  font-size:clamp(1.4rem,3vw,2rem);
  font-weight:800;
  letter-spacing:.04em;
  line-height:1.3;
  color:var(--ink-900);
}

.page-products .px-split-lead{
  margin:14px 0 0;
  font-size:clamp(.94rem,1.2vw,1.02rem);
  line-height:1.85;
  color:var(--text-ink-dim);
  max-width:60ch;
}

.page-products .px-fold{
  margin-top:12px;
  border:1px solid var(--line-ink);
  border-left:3px solid var(--lake-500);
  border-radius:var(--radius);
  background:var(--px-soft);
  transition:border-color var(--motion), box-shadow var(--motion);
}

.page-products .px-fold:hover{
  border-left-color:var(--gold-600);
  box-shadow:0 10px 24px -22px rgba(7,18,31,.7);
}

.page-products .px-fold summary{
  display:block;
  padding:14px 44px 14px 16px;
  font-size:.94rem;
  font-weight:600;
  line-height:1.6;
  color:var(--ink-900);
  cursor:pointer;
  list-style:none;
  position:relative;
}

.page-products .px-fold summary::-webkit-details-marker{ display:none; }

.page-products .px-fold summary::after{
  content:"+";
  position:absolute;
  right:16px;
  top:50%;
  transform:translateY(-50%);
  font-family:var(--font-mono);
  font-size:1.05rem;
  color:var(--gold-600);
}

.page-products .px-fold[open] summary::after{
  content:"\2212";
}

.page-products .px-fold summary:focus-visible{
  outline:2px solid var(--lake-500);
  outline-offset:2px;
}

.page-products .px-fold-body{
  padding:0 16px 16px;
  border-top:1px solid var(--line-ink-soft);
  padding-top:12px;
}

.page-products .px-fold-body p{
  margin:0;
  font-size:.9rem;
  line-height:1.85;
  color:var(--text-ink-dim);
}

.page-products .px-android-foot{
  margin:22px 0 0;
  font-size:.88rem;
  line-height:1.85;
  color:var(--text-ink-dim);
}

.page-products .px-android-foot a{
  color:var(--ink-900);
  text-decoration:none;
  border-bottom:1px solid var(--gold-600);
}

.page-products .px-android-foot a:hover{
  border-bottom-color:var(--ink-900);
}

/* ---------- 会员中心 ---------- */
.page-products .px-center{
  background:var(--ink-800);
  color:var(--paper);
}

.page-products .px-table{
  width:100%;
  border-collapse:collapse;
  font-size:.86rem;
  color:var(--paper);
}

.page-products .px-table caption{
  text-align:left;
  padding-bottom:10px;
  font-size:.76rem;
  letter-spacing:.04em;
  color:var(--text-paper-dim);
}

.page-products .px-table thead th{
  padding:11px 12px;
  text-align:left;
  font-family:var(--font-mono);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.1em;
  color:var(--gold-300);
  background:rgba(244,240,230,.06);
  border-bottom:1px solid var(--line-gold);
  white-space:nowrap;
}

.page-products .px-table tbody td{
  padding:12px;
  border-bottom:1px solid var(--line-paper);
  vertical-align:middle;
}

.page-products .px-table tbody tr{
  transition:background var(--motion);
}

.page-products .px-table tbody tr:hover{
  background:rgba(46,140,140,.16);
}

.page-products .px-cell-mono{
  font-family:var(--font-mono);
  letter-spacing:.08em;
  font-variant-numeric:tabular-nums;
  color:var(--paper);
  white-space:nowrap;
}

.page-products .px-table tbody a{
  color:var(--gold-300);
  text-decoration:none;
  border-bottom:1px solid var(--line-gold);
  white-space:nowrap;
}

.page-products .px-table tbody a:hover{
  color:var(--paper);
  border-bottom-color:var(--paper);
}

.page-products .px-table-note{
  margin:16px 0 0;
  font-size:.84rem;
  line-height:1.8;
  color:var(--text-paper-dim);
}

.page-products .px-table-note a{
  color:var(--gold-300);
  text-decoration:none;
  border-bottom:1px solid var(--line-gold);
}

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

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

.page-products .px-center-points li{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px;
  align-items:baseline;
  font-size:.86rem;
  line-height:1.75;
  color:var(--text-paper);
  padding-bottom:10px;
  border-bottom:1px dashed var(--line-paper);
}

.page-products .px-center-points .mono{
  font-size:.74rem;
  letter-spacing:.1em;
  color:var(--lake-500);
}

/* ---------- 规则页 ---------- */
.page-products .px-rules{
  background:var(--paper);
  color:var(--ink-900);
  scroll-margin-top:calc(var(--header-h) + 16px);
}

.page-products .px-rule-grid{
  display:grid;
  gap:14px;
}

.page-products .px-rule-card{
  position:relative;
  margin:0;
  padding:20px 20px 18px;
  border:1px solid var(--line-ink);
  border-radius:var(--radius);
  background:var(--px-soft);
  transition:border-color var(--motion), box-shadow var(--motion), transform var(--motion);
}

.page-products .px-rule-card:hover{
  border-color:var(--gold-600);
  transform:translateY(-2px);
  box-shadow:var(--shadow-print);
}

.page-products .px-rule-card--now{
  border-color:rgba(224,107,60,.5);
  border-left:4px solid var(--px-warm);
  background:linear-gradient(135deg, rgba(224,107,60,.14), rgba(224,107,60,.03));
}

.page-products .px-rule-kicker{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  font-size:.76rem;
  letter-spacing:.08em;
  color:var(--text-ink-dim);
}

.page-products .px-node{
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--px-warm);
  box-shadow:0 0 0 3px rgba(224,107,60,.22);
  flex:none;
}

.page-products .px-node--soft{
  background:var(--stone-600);
  box-shadow:0 0 0 3px rgba(58,65,72,.14);
}

.page-products .px-rule-title{
  margin:10px 0 0;
  font-family:var(--font-title);
  font-size:1.08rem;
  font-weight:700;
  letter-spacing:.04em;
  line-height:1.45;
  color:var(--ink-900);
}

.page-products .px-rule-title.mono{
  font-family:var(--font-mono);
  letter-spacing:.08em;
  font-variant-numeric:tabular-nums;
}

.page-products .px-rule-text{
  margin:10px 0 0;
  font-size:.86rem;
  line-height:1.8;
  color:var(--text-ink-dim);
}

.page-products .px-rules-figure{
  margin:clamp(24px,3.6vw,40px) 0 0;
}

.page-products .px-rules-figure img{
  border-color:var(--line-ink);
  background:var(--paper-dim);
}

.page-products .px-rules-figure .media-caption{
  color:var(--text-ink-dim);
}

/* ---------- 旧版档案 ---------- */
.page-products .px-archive{
  background:var(--moss-500);
  color:var(--paper);
}

.page-products .px-archive h2{
  margin:10px 0 0;
  font-family:var(--font-title);
  font-size:clamp(1.4rem,3vw,2rem);
  font-weight:800;
  letter-spacing:.04em;
  line-height:1.32;
  color:var(--paper);
}

.page-products .px-archive-lead{
  margin:14px 0 0;
  max-width:58ch;
  font-size:clamp(.92rem,1.15vw,1rem);
  line-height:1.85;
  color:var(--text-paper);
}

.page-products .px-archive-points{
  list-style:none;
  margin:20px 0 0;
  padding:0;
  display:grid;
  gap:10px;
}

.page-products .px-archive-points li{
  font-size:.86rem;
  line-height:1.75;
  color:var(--text-paper);
  padding-left:14px;
  border-left:2px solid rgba(244,240,230,.36);
}

.page-products .px-archive-points strong{
  color:var(--paper);
  font-weight:700;
}

.page-products .px-archive-btn{
  margin-top:22px;
}

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

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

.page-products .px-archive-card{
  padding:16px 18px;
  border:1px solid rgba(244,240,230,.34);
  border-radius:var(--radius);
  background:rgba(7,18,31,.2);
  transition:background var(--motion), border-color var(--motion);
}

.page-products .px-archive-card:hover{
  background:rgba(7,18,31,.32);
  border-color:rgba(244,240,230,.56);
}

.page-products .px-archive-tag{
  display:inline-block;
  padding:2px 8px;
  font-size:.72rem;
  letter-spacing:.1em;
  color:var(--ink-900);
  background:var(--paper);
  border-radius:var(--radius);
}

.page-products .px-archive-card p{
  margin:10px 0 0;
  font-size:.85rem;
  line-height:1.75;
  color:var(--text-paper);
}

/* ---------- 体验路径 ---------- */
.page-products .px-paths{
  background:var(--px-soft);
  color:var(--ink-900);
}

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

.page-products .px-path-card{
  position:relative;
  padding:22px 20px 20px;
  border:1px solid var(--line-ink);
  border-left:3px solid var(--gold-600);
  border-radius:var(--radius);
  background:var(--paper);
  transition:transform var(--motion), border-color var(--motion);
}

.page-products .px-path-card:hover{
  transform:translateY(-2px);
  border-color:var(--gold-600);
}

.page-products .px-path-role{
  display:inline-block;
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.1em;
  color:var(--lake-500);
  padding-bottom:6px;
  border-bottom:1px dashed var(--line-ink);
}

.page-products .px-path-card h3{
  margin:12px 0 0;
  font-family:var(--font-title);
  font-size:1.12rem;
  font-weight:700;
  letter-spacing:.04em;
  color:var(--ink-900);
}

.page-products .px-path-card p{
  margin:10px 0 0;
  font-size:.88rem;
  line-height:1.8;
  color:var(--text-ink-dim);
}

.page-products .px-path-link{
  display:inline-block;
  margin-top:16px;
  font-size:.86rem;
  font-weight:600;
  color:var(--ink-900);
  text-decoration:none;
  border-bottom:1px solid var(--gold-600);
  padding-bottom:2px;
}

.page-products .px-path-link:hover{
  border-bottom-color:var(--ink-900);
}

.page-products .px-path-link:focus-visible{
  outline:2px solid var(--lake-500);
  outline-offset:3px;
}

.page-products .px-paths-foot{
  margin:24px 0 0;
  font-size:.88rem;
  line-height:1.85;
  color:var(--text-ink-dim);
}

.page-products .px-paths-foot a{
  color:var(--ink-900);
  text-decoration:none;
  border-bottom:1px solid var(--gold-600);
}

/* ---------- 结尾 ---------- */
.page-products .px-cta{
  padding-block:clamp(40px,5.4vw,74px);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(200,164,90,.16), transparent 62%),
    var(--ink-900);
  color:var(--paper);
}

.page-products .px-cta-inner{
  display:grid;
  gap:22px;
}

.page-products .px-cta-title{
  margin:0;
  font-family:var(--font-title);
  font-size:clamp(1.35rem,3vw,1.9rem);
  font-weight:800;
  letter-spacing:.04em;
  line-height:1.35;
  color:var(--paper);
}

.page-products .px-cta-text{
  margin:12px 0 0;
  max-width:58ch;
  font-size:.92rem;
  line-height:1.85;
  color:var(--text-paper-dim);
}

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

/* ---------- 焦点反馈 ---------- */
.page-products a:focus-visible,
.page-products summary:focus-visible{
  outline:2px solid var(--lake-500);
  outline-offset:3px;
}

/* ---------- 断点 ---------- */
@media (min-width:760px){
  .page-products .px-band-list{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
  }

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

  .page-products .px-rule-card--now{
    grid-column:span 2;
  }

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

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

  .page-products .px-cta-inner{
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:32px;
  }
}

@media (min-width:960px){
  .page-products .px-split{
    grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  }

  .page-products .px-split--wide{
    grid-template-columns:minmax(0,7fr) minmax(0,4fr);
  }

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

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

  .page-products .px-archive-list{
    grid-template-columns:1fr;
  }
}

@media (prefers-reduced-motion:reduce){
  .page-products .px-band,
  .page-products .px-rule-card,
  .page-products .px-path-card,
  .page-products .px-fold,
  .page-products .px-archive-card,
  .page-products .px-table tbody tr{
    transition:none;
  }

  .page-products .px-band:hover,
  .page-products .px-band:focus-within,
  .page-products .px-rule-card:hover,
  .page-products .px-path-card:hover{
    transform:none;
  }
}
