.page-products {
  --hp-line: rgba(199, 214, 219, 0.26);
  --hp-soft: rgba(244, 247, 245, 0.78);
  --hp-ink-soft: rgba(18, 32, 28, 0.74);
  --hub-gap: clamp(12px, 1.8vw, 20px);
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--font-body);
}

.page-products .hub-panel {
  padding: clamp(38px, 6vw, 76px) 0;
}

.page-products .hub-panel--paper { background: var(--paper); }
.page-products .hub-panel--chalk { background: var(--chalk); }

.page-products .hub-panel--pitch {
  background:
    repeating-linear-gradient(90deg, rgba(60, 143, 94, 0.08) 0 52px, transparent 52px 104px),
    linear-gradient(165deg, var(--night) 0%, #123C2A 100%);
  color: var(--chalk);
}

.page-products .hub-panel--wine {
  background:
    radial-gradient(110% 80% at 90% 0%, rgba(245, 197, 24, 0.14), transparent 55%),
    linear-gradient(165deg, #5C1B2B 0%, #2C0C14 100%);
  color: var(--chalk);
}

.page-products .hub-panel--close {
  background: linear-gradient(160deg, var(--night-deep), var(--night));
  color: var(--chalk);
  border-top: 6px solid var(--signal);
}

/* ---- 首屏 ---- */
.page-products .hub-hero {
  position: relative;
  padding: clamp(20px, 3vw, 34px) 0 clamp(44px, 6vw, 78px);
  background:
    radial-gradient(115% 85% at 88% -10%, rgba(60, 143, 94, 0.4), transparent 58%),
    repeating-linear-gradient(90deg, rgba(60, 143, 94, 0.09) 0 46px, transparent 46px 92px),
    linear-gradient(158deg, var(--night) 0%, var(--night-deep) 100%);
  color: var(--chalk);
  overflow: hidden;
}

.page-products .hub-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--pitch-hi), var(--warn) 55%, var(--signal));
}

.page-products .hub-crumb { margin: 0 0 clamp(16px, 2.4vw, 26px); }

.page-products .hub-crumb .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.page-products .hub-crumb .breadcrumb-item { color: rgba(244, 247, 245, 0.6); }

.page-products .hub-crumb .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 8px;
  color: rgba(244, 247, 245, 0.35);
}

.page-products .hub-crumb .breadcrumb-link {
  color: var(--chalk);
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 247, 245, 0.32);
}

.page-products .hub-crumb .breadcrumb-link:hover {
  color: var(--warn);
  border-color: var(--warn);
}

.page-products .hub-hero-inner {
  display: grid;
  gap: clamp(24px, 3.4vw, 40px);
}

.page-products .hub-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5.4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 10px 0 14px;
  color: var(--chalk);
  max-width: 15em;
}

.page-products .hero-lead {
  margin: 0;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.78;
  color: var(--hp-soft);
  max-width: 30em;
}

.page-products .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(18px, 2.4vw, 26px);
}

.page-products .hero-actions .btn--ghost {
  border-color: rgba(244, 247, 245, 0.42);
  color: var(--chalk);
}

.page-products .hub-panel--close .hero-actions { margin-top: 0; }

.page-products .rail-title {
  margin: clamp(26px, 3.4vw, 38px) 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--warn);
}

.page-products .rail {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
  border-left: 1px solid rgba(199, 214, 219, 0.24);
  display: grid;
  gap: 14px;
}

.page-products .rail-item { position: relative; }

.page-products .rail-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 0.45em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--pitch-hi);
  box-shadow: 0 0 0 3px rgba(60, 143, 94, 0.18);
}

.page-products .rail-item--now::before {
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(255, 90, 43, 0.24);
}

.page-products .rail-time {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--warn);
  margin-bottom: 3px;
}

.page-products .rail-item--now .rail-time { color: var(--signal); }

.page-products .rail-text {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 247, 245, 0.8);
}

/* ---- 栏目卡 ---- */
.page-products .hero-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--hub-gap);
  align-content: start;
  scroll-margin-top: 96px;
}

.page-products .board-phone {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0;
  max-width: 240px;
  padding: 7px;
  border: 1px solid var(--hp-line);
  border-radius: 18px;
  background: rgba(7, 29, 24, 0.55);
}

.page-products .board-phone img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 12px;
}

.page-products .board-phone figcaption {
  padding: 8px 4px 2px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(244, 247, 245, 0.62);
  text-align: center;
}

.page-products .lane {
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--hp-line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(30, 91, 58, 0.5), rgba(7, 29, 24, 0.8));
  transition: border-color var(--speed) ease, transform var(--speed) ease;
}

.page-products .lane:hover {
  border-color: rgba(255, 90, 43, 0.7);
  transform: translateY(-2px);
}

.page-products .lane > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 6px;
  padding: 11px 11px 10px;
  border-top: 3px solid var(--pitch-hi);
}

.page-products .lane > summary::-webkit-details-marker { display: none; }

.page-products .lane-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--chalk);
}

.page-products .lane-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  color: var(--warn);
}

.page-products .lane-unit {
  margin-left: 2px;
  font-size: 10px;
  font-weight: 400;
  color: rgba(244, 247, 245, 0.55);
}

.page-products .lane-body {
  margin-top: 2px;
  padding: 0 11px 12px;
  border-top: 1px dashed rgba(199, 214, 219, 0.18);
}

.page-products .lane-body p {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.66;
  color: rgba(244, 247, 245, 0.76);
}

.page-products .lane[open] { border-color: var(--signal); }
.page-products .lane[open] > summary { background: rgba(255, 90, 43, 0.14); }

.page-products .lane:nth-of-type(3n) {
  background: linear-gradient(180deg, rgba(92, 27, 43, 0.62), rgba(7, 29, 24, 0.82));
}

.page-products .lane:nth-of-type(3n) > summary { border-top-color: #8C3A50; }
.page-products .lane:nth-of-type(3n) .lane-num { color: var(--chalk); }

/* ---- 区块标题组 ---- */
.page-products .hub-head .section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--wine);
}

.page-products .hub-panel--pitch .section-kicker,
.page-products .hub-panel--wine .section-kicker,
.page-products .hub-panel--close .section-kicker {
  color: var(--warn);
}

.page-products .hub-head h2 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  max-width: 18em;
}

.page-products .hub-lead {
  margin: 0;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.78;
  color: var(--hp-ink-soft);
  max-width: 34em;
}

.page-products .hub-panel--pitch .hub-head h2,
.page-products .hub-panel--wine .hub-head h2,
.page-products .hub-panel--close h2 {
  color: var(--chalk);
}

.page-products .hub-panel--pitch .hub-lead,
.page-products .hub-panel--wine .hub-lead { color: var(--hp-soft); }

/* ---- 三组栏目 ---- */
.page-products .group-grid {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(20px, 3vw, 32px);
}

.page-products .group-card {
  position: relative;
  padding: 16px 18px 18px;
  background: var(--chalk);
  border: 1px solid var(--ink);
  border-radius: 3px;
  box-shadow: var(--shadow-print);
}

.page-products .group-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--signal);
}

.page-products .group-card h3 {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-products .group-list {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--wine);
}

.page-products .group-card p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--hp-ink-soft);
}

.page-products .group-card p:last-child { margin-bottom: 0; }

.page-products .group-figure {
  margin: 0;
  background: var(--pitch);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow-print);
}

.page-products .group-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-products .group-figure figcaption {
  padding: 9px 12px;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ---- 四层数据 ---- */
.page-products .layer-grid {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  margin-top: clamp(20px, 3vw, 32px);
}

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

.page-products .layer-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(199, 214, 219, 0.18);
}

.page-products .layer-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.page-products .layer-idx {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: var(--signal);
}

.page-products .layer-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--chalk);
}

.page-products .layer-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.76;
  color: var(--hp-soft);
  max-width: 32em;
}

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

.page-products .layer-stair {
  display: block;
  width: 100%;
  height: auto;
  padding: 10px;
  background: rgba(7, 29, 24, 0.55);
  border: 1px solid var(--hp-line);
  border-radius: 10px;
}

.page-products .layer-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hp-line);
  border-radius: 10px;
}

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

/* ---- 收藏页 ---- */
.page-products .fav-grid {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .slots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.page-products .slot {
  position: relative;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: rgba(18, 32, 28, 0.42);
  background: var(--paper);
  border: 1px solid rgba(18, 32, 28, 0.2);
  border-radius: 6px;
}

.page-products .slot--alert {
  color: var(--signal);
  background: rgba(255, 90, 43, 0.14);
  border-color: var(--signal);
}

.page-products .slot-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
}

.page-products .fav-figure {
  margin: 16px 0 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(18, 32, 28, 0.2);
}

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

.page-products .fav-figure figcaption {
  padding: 9px 12px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  color: var(--hp-ink-soft);
  border-top: 1px solid rgba(18, 32, 28, 0.14);
}

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

.page-products .fav-points li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.74;
  color: var(--hp-ink-soft);
}

.page-products .fav-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--pitch);
  transform: rotate(45deg);
}

.page-products .fav-points strong { color: var(--ink); }

/* ---- 三种场景 ---- */
.page-products .scene-grid {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-products .scene {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--chalk);
  border: 1px solid var(--ink);
  border-top: 6px solid var(--pitch);
  border-radius: 3px;
  box-shadow: var(--shadow-print);
}

.page-products .scene:nth-child(2) { border-top-color: var(--warn); }
.page-products .scene:nth-child(3) { border-top-color: var(--wine); }

.page-products .scene-idx {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--signal);
}

.page-products .scene h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
}

.page-products .scene p {
  margin: 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--hp-ink-soft);
}

.page-products .scene-tips {
  list-style: none;
  margin: 4px 0 0;
  padding: 10px 0 0;
  border-top: 1px dashed rgba(18, 32, 28, 0.22);
  display: grid;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--pitch);
}

/* ---- 安卓测试版 ---- */
.page-products .android-grid {
  display: grid;
  gap: clamp(22px, 3vw, 32px);
  margin-top: clamp(22px, 3vw, 34px);
}

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

.page-products .android-steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.74;
  color: rgba(244, 247, 245, 0.84);
}

.page-products .step-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 197, 24, 0.55);
  background: rgba(245, 197, 24, 0.16);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--warn);
}

.page-products .android-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 247, 245, 0.24);
  border-radius: 10px;
  background: rgba(7, 29, 24, 0.35);
}

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

.page-products .android-figure figcaption {
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(244, 247, 245, 0.66);
}

.page-products .android-notes {
  display: grid;
  gap: 14px;
  margin-top: clamp(20px, 2.8vw, 28px);
}

.page-products .android-note {
  padding: 14px 16px;
  background: rgba(11, 43, 35, 0.36);
  border-left: 3px solid var(--pitch-hi);
  border-radius: 0 8px 8px 0;
}

.page-products .android-note--warn { border-left-color: var(--warn); }

.page-products .android-note h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--chalk);
}

.page-products .android-note ul {
  margin: 0;
  padding-left: 16px;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  line-height: 1.68;
  color: rgba(244, 247, 245, 0.8);
}

.page-products .iter-block { margin-top: clamp(26px, 4vw, 42px); }

.page-products .iter-label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--warn);
}

.page-products .iter-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.page-products .iter-track::-webkit-scrollbar { height: 6px; }

.page-products .iter-track::-webkit-scrollbar-thumb {
  background: rgba(245, 197, 24, 0.5);
  border-radius: 99px;
}

.page-products .iter-node {
  flex: 0 0 auto;
  min-width: 168px;
  scroll-snap-align: start;
  padding: 10px 16px;
  border: 1px solid rgba(244, 247, 245, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(11, 43, 35, 0.5);
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(244, 247, 245, 0.82);
}

.page-products .iter-node b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--chalk);
}

.page-products .iter-node--now {
  border-color: var(--warn);
  background: rgba(245, 197, 24, 0.14);
  color: var(--chalk);
}

.page-products .iter-node--now b { color: var(--warn); }

/* ---- 收尾 ---- */
.page-products .close-inner {
  display: grid;
  gap: 18px;
}

.page-products .close-inner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.12;
  color: var(--chalk);
}

.page-products .close-inner p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.74;
  color: var(--hp-soft);
  max-width: 34em;
}

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

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

  .page-products .board-phone {
    grid-column: 1;
    grid-row: 1 / span 3;
    max-width: none;
    justify-self: stretch;
  }

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

@media (min-width: 820px) {
  .page-products .group-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-products .group-figure { grid-column: 1 / -1; }

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

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

@media (min-width: 900px) {
  .page-products .hub-hero-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-products .layer-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-products .fav-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-products .android-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: start;
  }
}
