.page-products {
  --p-gap: clamp(16px, 2.6vw, 34px);
  --p-section: clamp(46px, 7vw, 92px);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

.page-products .section {
  padding-block: var(--p-section);
}

.page-products .section-head .lede {
  max-width: 56ch;
  color: var(--mist);
  line-height: 1.8;
}

/* ---------- 首屏 ---------- */
.page-products .p-hero {
  position: relative;
  padding: clamp(20px, 3.5vw, 36px) 0 clamp(34px, 5vw, 64px);
  border-bottom: 1px solid var(--frame-soft);
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(21, 61, 47, 0.55), transparent 60%),
    var(--ink);
}

.page-products .p-hero .breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
  margin-bottom: clamp(20px, 4vw, 42px);
}

.page-products .p-hero .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-products .p-hero .breadcrumb li + li::before {
  content: "/ ";
  color: var(--celadon);
}

.page-products .p-hero .breadcrumb a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-products .p-hero .breadcrumb a:hover {
  border-bottom-color: var(--gold);
}

.page-products .p-hero__grid {
  display: grid;
  gap: clamp(24px, 4vw, 52px);
  grid-template-columns: minmax(0, 1fr);
}

.page-products .p-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin: 0 0 14px;
}

.page-products .p-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 6.4vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 18ch;
}

.page-products .p-hero h1 em {
  font-style: normal;
  color: var(--gold-soft);
  border-bottom: 1px solid var(--frame);
}

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

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

.page-products .p-chips li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  border: 1px solid var(--frame);
  background: rgba(21, 61, 47, 0.32);
  padding: 5px 10px;
}

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

/* 首屏牌列 */
.page-products .p-hero__stack {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 248px;
  border: 1px solid var(--frame);
  background: var(--ink-2);
  isolation: isolate;
  overflow: hidden;
}

.page-products .p-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  z-index: -1;
}

.page-products .p-hero__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem;
  padding: clamp(12px, 2vw, 18px) clamp(12px, 2vw, 20px);
  text-decoration: none;
  color: var(--paper);
  background: linear-gradient(90deg, rgba(7, 19, 15, 0.9), rgba(7, 19, 15, 0.5));
  transition: background 0.18s ease, transform 0.18s ease;
}

.page-products .p-hero__row + .p-hero__row {
  border-top: 1px solid var(--frame-soft);
}

.page-products .p-hero__row--a { min-height: 62px; }
.page-products .p-hero__row--b { min-height: 86px; }
.page-products .p-hero__row--c { min-height: 110px; }

.page-products .p-hero__row:hover {
  background: linear-gradient(90deg, rgba(201, 164, 92, 0.2), rgba(7, 19, 15, 0.55));
  transform: translateX(3px);
}

.page-products .p-hero__idx {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.page-products .p-hero__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: 0.02em;
}

.page-products .p-hero__note {
  font-size: 11px;
  color: var(--mist);
  letter-spacing: 0.05em;
  text-align: right;
}

/* ---------- 房间分区 ---------- */
.page-products .p-split {
  display: grid;
  gap: var(--p-gap);
  align-items: center;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.page-products .p-head-media {
  --p-ar: 1 / 1;
  border: 1px solid var(--frame-soft);
  background: var(--ink-2);
  margin: 0;
}

.page-products .p-types {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: clamp(26px, 4vw, 46px);
}

.page-products .p-type {
  position: relative;
  padding: 20px 18px 22px;
  background: linear-gradient(165deg, var(--felt), var(--ink-2) 70%);
  border: 1px solid var(--frame-soft);
  border-left: 2px solid var(--frame);
  transition: border-left-color 0.18s ease, transform 0.18s ease;
}

.page-products .p-type:hover {
  border-left-color: var(--gold);
  transform: translateY(-3px);
}

.page-products .p-type__idx {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 0 0 12px;
}

.page-products .p-type__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 25px);
  line-height: 1.3;
  margin: 0 0 10px;
}

.page-products .p-type__text {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mist);
  margin: 0 0 16px;
}

.page-products .p-type__meta {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* 筛选与牌列 */
.page-products .filter-bar {
  row-gap: 8px;
  margin-bottom: 14px;
}

.page-products .p-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 0 20px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--celadon) transparent;
}

.page-products .p-rail::-webkit-scrollbar {
  height: 6px;
}

.page-products .p-rail::-webkit-scrollbar-thumb {
  background: var(--celadon);
}

.page-products .p-rail > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.page-products .p-rail-media {
  --p-ar: 7 / 5;
  width: min(74vw, 300px);
  margin: 0;
  border: 1px dashed var(--frame);
  background: var(--ink-2);
}

.page-products .p-room {
  width: min(80vw, 286px);
  min-height: 252px;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 18px;
  background: linear-gradient(170deg, var(--felt), var(--ink-2));
  border: 1px solid var(--frame-soft);
  border-top: 2px solid var(--frame);
  transition: transform 0.18s ease, border-top-color 0.18s ease;
}

.page-products .p-room:hover {
  transform: translateY(-4px);
  border-top-color: var(--gold);
}

.page-products .p-room .card-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  margin: 4px 0 8px;
}

.page-products .p-room .card-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mist);
  margin: 0 0 14px;
}

.page-products .p-room__meta {
  list-style: none;
  margin: auto 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  color: var(--paper);
}

.page-products .p-room__meta li {
  display: grid;
  grid-template-columns: 3.4em minmax(0, 1fr);
  gap: 0.5rem;
  line-height: 1.5;
}

.page-products .p-room__meta .mono {
  color: var(--celadon);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.page-products .p-aside {
  margin: clamp(22px, 3.5vw, 34px) 0 0;
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(21, 61, 47, 0.35);
  font-size: 14px;
  line-height: 1.8;
  color: var(--mist);
  max-width: 76ch;
}

.page-products .p-aside a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--frame);
}

.page-products .p-aside a:hover {
  border-bottom-color: var(--gold);
}

/* ---------- 图片容器 ---------- */
.page-products .media {
  margin: 0;
  overflow: hidden;
  background: var(--ink-2);
}

.page-products .media img {
  width: 100%;
  height: auto;
  aspect-ratio: var(--p-ar, 4 / 3);
  object-fit: cover;
}

.page-products .media .media-cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mist);
  padding: 8px 10px;
  border-top: 1px solid var(--frame-soft);
  background: rgba(5, 10, 8, 0.55);
}

/* ---------- 工具 ---------- */
.page-products .p-band {
  display: grid;
  gap: var(--p-gap);
  align-items: center;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-products .p-tool-media,
.page-products .p-ver-media {
  --p-ar: 3 / 2;
  border: 1px solid var(--frame-soft);
}

.page-products .p-tools {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

.page-products .p-tool {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 16px;
  background: var(--ink-2);
  border: 1px solid var(--frame-soft);
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.18s ease, background 0.18s ease;
}

.page-products .p-tool:hover {
  border-bottom-color: var(--gold);
  background: linear-gradient(180deg, rgba(21, 61, 47, 0.6), var(--ink-2));
}

.page-products .p-tool__idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin: 0;
}

.page-products .p-tool__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  margin: 0;
}

.page-products .p-tool__text {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--mist);
  margin: 0 0 6px;
}

.page-products .p-tool .drawer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.page-products .p-tool .drawer summary {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  cursor: pointer;
  list-style: none;
}

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

.page-products .p-tool .drawer summary::before {
  content: "+ ";
  color: var(--gold);
}

.page-products .p-tool .drawer[open] summary::before {
  content: "— ";
}

.page-products .p-tool .drawer-body {
  font-size: 13px;
  line-height: 1.72;
  color: var(--mist);
  padding-top: 8px;
}

.page-products .p-tool .drawer-body ol {
  margin: 0;
  padding-left: 1.15em;
  display: grid;
  gap: 5px;
}

/* ---------- 版本 ---------- */
.page-products .p-version-sec {
  background: linear-gradient(180deg, var(--ink), var(--ink-2) 55%, var(--ink));
  border-top: 1px solid var(--frame-soft);
  border-bottom: 1px solid var(--frame-soft);
}

.page-products .p-vtable-wrap {
  overflow-x: auto;
  border: 1px solid var(--frame);
  background: var(--ink);
}

.page-products .p-vtable {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.page-products .p-vtable thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  font-weight: 400;
  color: var(--gold-soft);
  background: var(--felt);
  padding: 12px 14px;
  border-bottom: 1px solid var(--frame);
  white-space: nowrap;
}

.page-products .p-vtable tbody th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--celadon);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  vertical-align: top;
  white-space: nowrap;
}

.page-products .p-vtable tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  line-height: 1.65;
  vertical-align: top;
  font-size: 13.5px;
}

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

.page-products .p-vtable tbody tr:hover td {
  background: rgba(21, 61, 47, 0.28);
}

.page-products .p-pick {
  margin-top: clamp(22px, 4vw, 36px);
  display: grid;
  gap: 14px;
}

.page-products .p-pick__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  margin: 0;
}

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

.page-products .p-pick__list li {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr);
  gap: 0.7rem;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

.page-products .p-pick__list .mono {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

/* ---------- 维护与去向 ---------- */
.page-products .p-exits {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
}

.page-products .p-exit {
  display: grid;
  gap: 8px;
  padding: 20px 18px;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink-2);
  border: 1px solid var(--frame-soft);
  border-top: 2px solid var(--frame);
  transition: transform 0.18s ease, border-top-color 0.18s ease;
}

.page-products .p-exit:hover {
  transform: translateY(-3px);
  border-top-color: var(--gold);
}

.page-products .p-exit__idx {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.page-products .p-exit__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.35;
}

.page-products .p-exit__text {
  font-size: 13.5px;
  line-height: 1.72;
  color: var(--mist);
}

.page-products .p-exit__go {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  margin-top: 4px;
}

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

  .page-products .p-pick {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    align-items: start;
    gap: var(--p-gap);
  }

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

  .page-products .p-exits .p-exit:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 860px) {
  .page-products .p-types {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .page-products .p-types .p-type:nth-child(2) {
    margin-top: 24px;
  }

  .page-products .p-types .p-type:nth-child(3) {
    margin-top: 48px;
  }

  .page-products .p-band {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

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

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

  .page-products .p-exits .p-exit:first-child {
    grid-column: auto;
  }
}

@media (min-width: 920px) {
  .page-products .p-hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: end;
  }

  .page-products .p-hero__stack {
    min-height: 340px;
  }
}

@media (min-width: 1080px) {
  .page-products .p-tools {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-products .p-hero__row,
  .page-products .p-type,
  .page-products .p-room,
  .page-products .p-tool,
  .page-products .p-exit {
    transition: none;
  }

  .page-products .p-hero__row:hover,
  .page-products .p-type:hover,
  .page-products .p-room:hover,
  .page-products .p-exit:hover {
    transform: none;
  }
}
<<<END>>>
