.page-products {
  --p-edge: rgba(183, 198, 189, .14);
  overflow-x: clip;
}

.page-products img {
  max-width: 100%;
  height: auto;
}

.page-products .p-crumbbar {
  padding-top: 18px;
}

/* ---------- 首屏 ---------- */

.page-products .p-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: clamp(30px, 4.4vw, 56px);
  padding-block: clamp(22px, 3.2vw, 44px) clamp(42px, 6.4vw, 90px);
}

.page-products .p-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -14%;
  right: -28%;
  width: min(860px, 128%);
  height: 122%;
  background:
    linear-gradient(152deg,
      rgba(214, 168, 75, .22) 0%,
      rgba(184, 116, 26, .11) 32%,
      rgba(63, 242, 208, .08) 62%,
      rgba(5, 22, 17, 0) 86%);
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 76%);
  pointer-events: none;
}

.page-products .p-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 6.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 12px 0 18px;
  color: var(--bone-100);
  max-width: 20ch;
}

.page-products .p-hero .lede {
  max-width: 44ch;
  margin: 0;
  color: var(--mist-300);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.78;
}

.page-products .p-hero .btnrow {
  margin-top: 26px;
}

.page-products .p-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: var(--hair);
}

.page-products .p-hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--mist-300);
}

.page-products .p-hero__facts .num {
  font-family: var(--font-mono);
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--gold-300);
}

.page-products .p-hero__col--media {
  position: relative;
}

.page-products .p-plate {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 22px 16px;
  border: 1px solid rgba(214, 168, 75, .58);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(214, 168, 75, .24), rgba(6, 26, 20, .94) 64%);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(243, 213, 140, .5);
  margin: 0 0 -30px clamp(0px, 4vw, 26px);
}

.page-products .p-plate__label {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.page-products .p-plate__num {
  font-family: var(--font-mono);
  font-size: clamp(50px, 9.4vw, 94px);
  line-height: .92;
  letter-spacing: -.05em;
  background: linear-gradient(150deg, #F3D58C 0%, #D6A84B 52%, #B8741A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-products .p-plate__note {
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--mist-300);
}

.page-products .p-hero__shot {
  margin: 0;
  position: relative;
  border: var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--pitch-900);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .42);
}

.page-products .p-hero__shot img {
  display: block;
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

/* ---------- 章节骨架 ---------- */

.page-products .p-sec {
  padding-block: clamp(38px, 6vw, 78px);
}

.page-products .p-sec + .p-sec {
  border-top: var(--hair);
}

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

.page-products .p-head h2 {
  font-family: var(--font-head);
  font-size: clamp(25px, 4.6vw, 40px);
  line-height: 1.11;
  letter-spacing: -.03em;
  margin: 10px 0 14px;
  color: var(--bone-100);
}

.page-products .p-head .lede {
  margin: 0;
  color: var(--mist-300);
  font-size: 15.5px;
  line-height: 1.78;
}

/* ---------- 01 版本切换 ---------- */

.page-products .p-vstage {
  position: relative;
  border: var(--line);
  border-radius: 18px;
  padding: clamp(16px, 3vw, 30px);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(63, 242, 208, .08), transparent 62%),
    linear-gradient(180deg, rgba(10, 42, 31, .88), rgba(5, 22, 17, .97));
  overflow: hidden;
}

.page-products .p-vstage::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--cyan-400) 48%, rgba(63, 242, 208, 0) 90%);
}

.page-products .p-vstage .viewswitch {
  margin-bottom: 22px;
}

.page-products .p-vpanels {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.page-products .p-vstage:has(.viewswitch__btn[data-view="wall"].is-active) .p-vcard--std,
.page-products .p-vstage:has(.viewswitch__btn[data-view="standard"].is-active) .p-vcard--wall {
  display: none;
}

.page-products .p-vcard {
  border: var(--hair);
  border-radius: 14px;
  padding: clamp(16px, 2.4vw, 26px);
  background: rgba(5, 22, 17, .58);
}

.page-products .p-vcard h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: -.02em;
  color: var(--bone-100);
}

.page-products .p-vcard h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: var(--gold-500);
}

.page-products .p-vcard--wall h3::before {
  background: var(--cyan-400);
}

.page-products .p-vcard p {
  margin: 0 0 15px;
  color: var(--mist-300);
  font-size: 14.5px;
  line-height: 1.74;
}

.page-products .p-vcard ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.page-products .p-vcard li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.62;
  color: var(--bone-100);
}

.page-products .p-vcard li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 1px;
  background: var(--gold-500);
}

.page-products .p-vcard--wall li::before {
  background: var(--cyan-400);
}

/* ---------- 02 对比评测 ---------- */

.page-products .p-compare {
  display: grid;
  gap: clamp(22px, 3.4vw, 40px);
  align-items: start;
}

.page-products .p-compare__shot {
  margin: 0;
}

.page-products .p-compare__shot figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--mist-300);
}

.page-products .p-board {
  border: var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(5, 22, 17, .68);
  margin-bottom: 18px;
}

.page-products .p-board__row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--bone-100);
  border-top: var(--hair);
}

.page-products .p-board__row:first-child {
  border-top: 0;
}

.page-products .p-board__row--head {
  background: rgba(20, 80, 59, .55);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist-300);
}

.page-products .p-board__val {
  font-family: var(--font-mono);
  font-size: 14.5px;
  text-align: right;
  letter-spacing: 0;
  color: var(--gold-300);
}

.page-products .p-board__val--b {
  color: var(--cyan-400);
}

.page-products .p-board__row--head .p-board__val {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .12em;
}

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

.page-products .p-tags li {
  padding: 6px 13px;
  border: 1px solid rgba(214, 168, 75, .34);
  border-radius: 999px;
  background: rgba(214, 168, 75, .08);
  color: var(--gold-300);
  font-size: 12.5px;
  letter-spacing: .02em;
}

/* ---------- 03 场景对照 ---------- */

.page-products .p-scenes {
  border: var(--line);
  border-radius: 16px;
  background: rgba(5, 22, 17, .62);
  overflow-x: auto;
  overflow-y: hidden;
}

.page-products .p-scenes table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.page-products .p-scenes th,
.page-products .p-scenes td {
  text-align: left;
  vertical-align: top;
  padding: 13px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  border-top: var(--hair);
}

.page-products .p-scenes thead th {
  border-top: 0;
  background: rgba(20, 80, 59, .55);
  color: var(--gold-300);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

.page-products .p-scenes tbody th {
  color: var(--bone-100);
  font-weight: 600;
  white-space: nowrap;
}

.page-products .p-scenes td {
  color: var(--mist-300);
}

.page-products .p-scenes tbody tr:nth-child(even) th,
.page-products .p-scenes tbody tr:nth-child(even) td {
  background: rgba(10, 42, 31, .42);
}

.page-products .p-diffshot {
  margin: clamp(22px, 3.4vw, 36px) 0 0;
}

/* ---------- 04 进入方式 ---------- */

.page-products .p-dl {
  display: grid;
  gap: clamp(22px, 3.4vw, 38px);
  align-items: start;
}

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

.page-products .p-dlcard {
  display: grid;
  gap: 10px;
  padding: clamp(15px, 2.2vw, 24px);
  border: var(--hair);
  border-left: 2px solid var(--gold-500);
  border-radius: 4px 12px 12px 4px;
  background: rgba(10, 42, 31, .62);
}

.page-products .p-dlcard__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.page-products .p-dlcard__idx {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gold-500);
}

.page-products .p-dlcard h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--bone-100);
}

.page-products .p-steps {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  font-size: 13.8px;
  line-height: 1.62;
  color: var(--mist-300);
}

.page-products .p-steps li::marker {
  color: var(--cyan-400);
  font-family: var(--font-mono);
}

.page-products .p-dlshot {
  margin: 0;
}

/* ---------- 05 更新与兼容 ---------- */

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

.page-products .p-upd {
  display: grid;
  gap: clamp(22px, 3.4vw, 38px);
  align-items: start;
}

.page-products .p-cadence {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: none;
  border-left: var(--line);
  display: grid;
}

.page-products .p-cadence li {
  position: relative;
  padding: 0 0 18px;
  font-size: 13.8px;
  line-height: 1.64;
  color: var(--mist-300);
}

.page-products .p-cadence li:last-child {
  padding-bottom: 0;
}

.page-products .p-cadence li::before {
  content: "";
  position: absolute;
  left: -25px;
  top: .42em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-950);
  border: 2px solid var(--gold-500);
}

.page-products .p-cadence li strong {
  display: block;
  margin-bottom: 3px;
  color: var(--bone-100);
  font-size: 14.5px;
  font-weight: 600;
}

.page-products .p-log {
  margin-bottom: 10px;
  border: var(--hair);
  border-radius: 12px;
  background: rgba(5, 22, 17, .72);
  overflow: hidden;
}

.page-products .p-log summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--bone-100);
}

.page-products .p-log summary::-webkit-details-marker {
  display: none;
}

.page-products .p-log summary::before {
  content: "";
  flex: none;
  width: 0;
  height: 0;
  border-left: 6px solid var(--gold-500);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: transform .18s var(--ease);
}

.page-products .p-log[open] summary::before {
  transform: rotate(90deg);
}

.page-products .p-log summary:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: -3px;
}

.page-products .p-log ul {
  margin: 0;
  padding: 0 18px 16px 34px;
  display: grid;
  gap: 7px;
  font-size: 13.6px;
  line-height: 1.64;
  color: var(--mist-300);
}

.page-products .p-log ul li::marker {
  color: var(--cyan-400);
}

.page-products .p-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist-300);
}

.page-products .p-note a {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-products .p-note a:hover {
  color: var(--cyan-400);
}

/* ---------- 06 客服与迁移 ---------- */

.page-products .p-support {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 42px);
  border: var(--line);
  border-radius: 18px;
  background:
    radial-gradient(92% 140% at 0% 0%, rgba(214, 168, 75, .16), transparent 62%),
    linear-gradient(160deg, rgba(10, 42, 31, .94), rgba(5, 22, 17, .99));
  overflow: hidden;
}

.page-products .p-support::after {
  content: "";
  position: absolute;
  right: -14%;
  bottom: -46%;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 242, 208, .16), transparent 66%);
  pointer-events: none;
}

.page-products .p-support > * {
  position: relative;
  z-index: 1;
}

.page-products .p-support h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(23px, 3.8vw, 34px);
  line-height: 1.14;
  letter-spacing: -.028em;
  color: var(--bone-100);
}

.page-products .p-support p {
  margin: 0;
  max-width: 62ch;
  color: var(--mist-300);
  font-size: 15px;
  line-height: 1.78;
}

.page-products .p-support .btnrow {
  margin-top: 6px;
}

/* ---------- 桌面栅格 ---------- */

@media (min-width: 860px) {
  .page-products .p-hero {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    align-items: center;
  }

  .page-products .p-compare {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  }

  .page-products .p-dl {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  }

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

  .page-products .p-diffshot .imgbox {
    max-width: 760px;
  }
}

@media (min-width: 1180px) {
  .page-products .p-hero {
    padding-top: clamp(30px, 3.6vw, 56px);
  }

  .page-products .p-hero h1 {
    font-size: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .p-log summary::before {
    transition: none;
  }
}
