/* ============================================================
   星越L 车机助手 · 使用手册
   ------------------------------------------------------------
   设计方向：精密规格表（precision spec sheet）
   结构靠 1px 细线，不靠卡片和阴影；颜色只表达含义，不做装饰。
   签名元素：所有读数用应用自己画仪表的 Digital Numbers 字体。
   ============================================================ */

/* ---------- 字体 ---------- */
@font-face {
  font-family: "PuHuiTi";
  src: url("fonts/puhuiti-regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PuHuiTi";
  src: url("fonts/puhuiti-medium.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DigitalNumbers";
  src: url("fonts/digital-numbers.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- 变量 ---------- */
:root {
  --paper:  #F2F2F7;   /* 页面底：应用自己的 ios_bg */
  --sheet:  #FFFFFF;   /* 抬升面：侧栏、截图板 */
  --ink:    #10131A;
  --ink-2:  #454C59;
  --ink-3:  #737B8A;
  --rule:   #D9DDE4;
  --rule-2: #E8EBF0;

  --accent: #007AFF;   /* 应用主色，只用于可交互与选中 */
  --hud:    #2FD673;   /* 磷光绿，只在 HUD 演示区出现 */
  --ok:     #34C759;
  --warn:   #FF9500;
  --bad:    #FF3B30;

  --night:  #080C13;   /* HUD 夜空 */
  --night-2:#131922;

  --font: "PuHuiTi", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
          -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --num:  "DigitalNumbers", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: 68px;      /* 章节编号的左留白 */
  --col:    1080px;
  --side:   248px;
  --toc:    176px;
  --bar:    58px;
}

html[data-theme="dark"] {
  --paper:  #080C13;
  --sheet:  #131922;
  --ink:    #E9EEF6;
  --ink-2:  #B9C4D4;
  --ink-3:  #8592A6;
  --rule:   rgba(255,255,255,.14);
  --rule-2: rgba(255,255,255,.08);
  --accent: #3D9BFF;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; }
::selection { background: rgba(0,122,255,.20); }

h1, h2, h3 { font-weight: 500; letter-spacing: -.02em; }

/* 数字统一用等宽数字，保持列对齐 */
.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* 阅读进度：一条 2px 细线 */
.progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: var(--accent);
  z-index: 130;
}

/* ============================================================
   顶栏
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 18px;
  height: var(--bar);
  padding: 0 26px;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.brand { display: flex; align-items: baseline; gap: 10px; color: var(--ink); white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-name { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.brand-sub {
  font-size: 12.5px;
  color: var(--ink-3);
  padding-left: 10px;
  border-left: 1px solid var(--rule);
}

.topbar-spacer { flex: 1; }

.topnav { display: flex; gap: 22px; }
.topnav a {
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.topnav a:hover { color: var(--ink); text-decoration: none; border-bottom-color: var(--ink); }
.topnav a.on { color: var(--ink); border-bottom-color: var(--accent); }

.search { position: relative; }
.search input {
  width: 200px; height: 34px;
  padding: 0 10px 0 30px;
  font-family: inherit; font-size: 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  outline: none;
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { border-bottom-color: var(--accent); }
.search::before {
  content: ""; position: absolute; left: 6px; top: 50%;
  width: 13px; height: 13px; margin-top: -7px;
  background: var(--ink-3);
  -webkit-mask: var(--ico-search) center/contain no-repeat;
  mask: var(--ico-search) center/contain no-repeat;
}
:root {
  --ico-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7 1a6 6 0 104.24 10.24l3.26 3.26 1.06-1.06-3.26-3.26A6 6 0 007 1zm0 1.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9z'/%3E%3C/svg%3E");
}

.icon-btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink-2);
  font-size: 14px;
  cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.menu-btn { display: none; }

/* ============================================================
   落地页
   ============================================================ */
.home { display: none; }
body.mode-home .home { display: block; }
body.mode-home .layout { display: none; }

/* --- 开场：产品自己的画面 --- */
.hero {
  position: relative;
  background: var(--night);
  color: #fff;
}
.hero-plate {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 26px 0;
}
.hero-media {
  position: relative;
  border: 1px solid rgba(255,255,255,.14);
  background: #000;
  overflow: hidden;
}
.hero-media video { display: block; width: 100%; }
/* 视频底部的暗角，给标题让出可读区域（必须在文字之下） */
.hero-media::after {
  content: "";
  position: absolute; inset: auto 0 0 0;
  height: 76%;
  z-index: 0;
  background: linear-gradient(180deg,
              rgba(4,7,12,0) 0%,
              rgba(4,7,12,.42) 34%,
              rgba(4,7,12,.80) 62%,
              rgba(4,7,12,.94) 100%);
  pointer-events: none;
}
.hero-over {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 0 clamp(22px, 4.4vw, 62px) clamp(24px, 4vw, 52px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.hero-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -.035em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.5);
}
.hero-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.86);
  max-width: 44ch;
  text-shadow: 0 1px 12px rgba(0,0,0,.6);
}
.hero-cta { flex: none; padding-bottom: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 24px;
  font-family: inherit; font-size: 15px; font-weight: 500;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .14s, border-color .14s, color .14s;
}
.btn:hover { text-decoration: none; }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: #0069DB; }
.btn-line { border-color: rgba(255,255,255,.32); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-quiet { border-color: var(--rule); color: var(--ink-2); }
.btn-quiet:hover { border-color: var(--ink-3); color: var(--ink); }

/* 开场下方：一句一句说清楚，左边对齐 */
.intro {
  max-width: var(--col);
  margin: 0 auto;
  padding: 64px 26px 8px;
}
.intro p {
  margin: 0 0 18px;
  font-size: 19px;
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 62ch;
}
.intro p:last-child { margin-bottom: 0; }
.intro strong { font-weight: 500; color: var(--ink); }

/* --- 区块 --- */
.band {
  max-width: var(--col);
  margin: 0 auto;
  padding: 76px 26px;
}
.band + .band { border-top: 1px solid var(--rule); }

.band-head { margin-bottom: 34px; }
.band-title {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -.025em;
}
.band-note { margin: 0; font-size: 16px; line-height: 1.76; color: var(--ink-2); max-width: 64ch; }

/* --- 八项页签：细线表 --- */
.toc-list { border-top: 1px solid var(--rule); }
.toc-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 30px;
  gap: 18px;
  align-items: baseline;
  padding: 17px 4px 17px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.toc-row:hover { text-decoration: none; background: rgba(0,122,255,.045); }
.toc-row .k {
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.9;
}
.toc-row:hover .k { color: var(--accent); }
.toc-row .t { display: block; font-size: 17px; font-weight: 500; }
.toc-row .d { display: block; font-size: 14.5px; color: var(--ink-3); line-height: 1.7; margin-top: 3px; }
.toc-row .go { color: var(--ink-3); font-size: 15px; justify-self: end; }
.toc-row:hover .go { color: var(--accent); }

/* --- HUD 演示（全站唯一用绿色的地方）--- */
.hud {
  background: var(--night);
  color: #fff;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.hud .band { max-width: 1180px; }
.hud .band-title { color: #fff; }
.hud .band-note { color: rgba(255,255,255,.66); }

.hud-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.plate {
  position: relative;
  border: 1px solid rgba(255,255,255,.16);
  background: #000;
}
.plate img { display: block; width: 100%; cursor: zoom-in; }

.figcap {
  margin-top: 11px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
}
.hud .figcap { color: rgba(255,255,255,.5); }
.figcap b { font-weight: 500; color: var(--ink-2); }
.hud .figcap b { color: rgba(255,255,255,.78); }

.hud-list { list-style: none; margin: 0; padding: 0; }
.hud-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.hud-list li:first-child { padding-top: 0; }
.hud-list li:last-child { border-bottom: 0; }
.hud-list .k {
  font-family: var(--num);
  font-size: 26px;
  line-height: 1.1;
  color: var(--hud);
}
.hud-list b { display: block; font-size: 15.5px; font-weight: 500; color: #fff; margin-bottom: 2px; }
.hud-list span { font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,.64); }

/* 标注点 */
.pin {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: 25px; height: 25px;
  margin: -12.5px 0 0 -12.5px;
  border-radius: 50%;
  background: var(--hud);
  color: #04240F;
  font-size: 13px;
  font-weight: 500;
  line-height: 25px;
  text-align: center;
  border: 1.5px solid rgba(8,12,19,.9);
  pointer-events: none;
}
.plate.on-paper .pin { background: var(--accent); color: #fff; border-color: #fff; }

/* --- 结尾 --- */
.tail {
  max-width: var(--col);
  margin: 0 auto;
  padding: 80px 26px 92px;
  border-top: 1px solid var(--rule);
}
.tail h2 { margin: 0 0 12px; font-size: 24px; letter-spacing: -.025em; }
.tail p { margin: 0 0 26px; font-size: 16px; color: var(--ink-2); max-width: 58ch; }

/* --- 页脚 --- */
.footer {
  background: var(--night);
  color: rgba(255,255,255,.55);
  padding: 44px 26px 36px;
  font-size: 13.5px;
  line-height: 1.72;
}
.footer-in {
  max-width: var(--col);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 26px 48px;
  justify-content: space-between;
}
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: rgba(255,255,255,.45); border-color: rgba(255,255,255,.16); }
.footer-note { max-width: 52ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; align-content: flex-start; }
.footer-links a { color: rgba(255,255,255,.62); }
.footer-links a:hover { color: #fff; }

/* ============================================================
   文档页
   ============================================================ */
.layout {
  display: grid;
  grid-template-columns: var(--side) minmax(0, 1fr);
  align-items: start;
}

.sidebar {
  position: sticky;
  top: var(--bar);
  height: calc(100vh - var(--bar));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 12px 40px;
  background: var(--paper);
  border-right: 1px solid var(--rule);
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--rule); }

.nav-group { margin-bottom: 20px; }
.nav-group-label {
  padding: 0 12px 7px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.nav-item {
  display: flex; align-items: center; gap: 10px;
  height: 38px; padding: 0 12px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
}
.nav-item:hover { background: rgba(0,122,255,.08); color: var(--ink); text-decoration: none; }
/* 选中态照搬应用本体：实心蓝底白字 */
.nav-item.active { background: var(--accent); color: #fff; }
.nav-item.active .nav-dot { background: #fff; }
.nav-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rule);
  flex: none;
}
.nav-item.mirror .nav-dot { background: var(--accent); }
.nav-item.active.mirror .nav-dot { background: #fff; }
.nav-badge {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--ink-3);
}
.nav-item.active .nav-badge { color: rgba(255,255,255,.8); }

.sidebar-note {
  margin: 10px 4px 0;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* --- 内容列 --- */
.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--toc);
  gap: 52px;
  max-width: 1340px;
  padding: 40px 44px 130px;
}
.page { min-width: 0; max-width: 900px; }

.page-head { margin-bottom: 40px; }
.page-eyebrow {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.page-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -.032em;
}
.page-lead {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 60ch;
}

/* --- 章节：编号挂在左边距，正文对齐到同一列 --- */
.sec {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}
.sec > * { grid-column: 2; min-width: 0; }
.sec > .sec-k { grid-column: 1; grid-row: 1; }
.sec-k {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.sec-title {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -.022em;
  scroll-margin-top: calc(var(--bar) + 20px);
}
.sec-note { margin: -6px 0 16px; font-size: 15px; color: var(--ink-3); }
.sec p { margin: 0 0 16px; max-width: 64ch; }
.sec p:last-child { margin-bottom: 0; }
.sec strong { font-weight: 500; }

/* 正文里的小块：只用细线框，不用卡片阴影 */
.box {
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 20px 22px;
  margin: 18px 0;
  background: var(--sheet);
}
.box > :first-child { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }
.box-title { margin: 0 0 12px; font-size: 15.5px; font-weight: 500; }

/* 无序要点 */
.dots { list-style: none; margin: 0; padding: 0; }
.dots li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--rule-2);
  color: var(--ink-2);
}
.dots li:last-child { border-bottom: 0; }
.dots li::before {
  content: "";
  position: absolute; left: 3px; top: 18px;
  width: 5px; height: 5px;
  background: var(--accent);
}

/* 设置项表：label / 说明 / 建议 */
.spec { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.spec th {
  text-align: left;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink-3);
  padding: 0 16px 9px 0;
  border-bottom: 1px solid var(--rule);
}
.spec td {
  padding: 13px 16px 13px 0;
  border-bottom: 1px solid var(--rule-2);
  vertical-align: top;
  color: var(--ink-2);
  line-height: 1.68;
}
.spec tr:last-child td { border-bottom: 0; }
.spec td:first-child { width: 26%; font-weight: 500; color: var(--ink); }
.spec td:last-child { width: 18%; color: var(--ink-3); font-size: 14px; padding-right: 0; }

/* 提示：左边一条实色竖线，不是圆角色块 */
.note {
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr);
  gap: 16px;
  margin: 20px 0;
  padding: 2px 0;
}
.note::before { content: ""; background: var(--ink-3); }
.note.info::before   { background: var(--accent); }
.note.warn::before   { background: var(--warn); }
.note.danger::before { background: var(--bad); }
.note.ok::before     { background: var(--ok); }
.note p { margin: 0 0 8px; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.note p:last-child { margin-bottom: 0; }
.note .note-k { font-weight: 500; color: var(--ink); }

/* 截图板 */
.shot { margin: 22px 0 0; }
.shot .plate { border-color: var(--rule); background: var(--night); }
html[data-theme="dark"] .shot .plate { background: #000; }

/* 图例（编号点对应图上的点） */
.legend { list-style: none; margin: 18px 0 0; padding: 0; }
.legend li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule-2);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}
.legend li:last-child { border-bottom: 0; }
.legend .k {
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  line-height: 1.75;
  color: var(--accent);
  font-weight: 500;
}
.legend strong { font-weight: 500; color: var(--ink); }

/* --- 本页目录 --- */
.toc { position: sticky; top: calc(var(--bar) + 30px); align-self: start; }
.toc-title { font-size: 12.5px; color: var(--ink-3); margin-bottom: 12px; }
.toc a {
  display: block;
  padding: 5px 0 5px 12px;
  border-left: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
}
.toc a:hover { color: var(--ink); text-decoration: none; border-left-color: var(--ink-3); }
.toc a.active { color: var(--accent); border-left-color: var(--accent); }

/* --- 上下篇 --- */
.pager {
  display: flex;
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.pager a {
  flex: 1;
  padding: 18px 20px;
  color: var(--ink);
}
.pager a:hover { text-decoration: none; background: rgba(0,122,255,.05); }
.pager a + a { border-left: 1px solid var(--rule); text-align: right; }
.pager .dir { font-size: 12.5px; color: var(--ink-3); }
.pager .name { font-size: 16px; font-weight: 500; color: var(--accent); }
.pager .gap { flex: 1; }

/* --- 灯箱 --- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; place-items: center;
  padding: 26px;
  background: rgba(6,9,14,.94);
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 92vh; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: transparent;
  color: #fff; font-size: 16px; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.12); }

.scrim { position: fixed; inset: var(--bar) 0 0 0; z-index: 90; background: rgba(6,9,14,.4); display: none; }
.scrim.open { display: block; }

/* 开场一次性进场 */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-over > * { animation: rise .7s cubic-bezier(.22,.7,.3,1) both; }
.hero-cta { animation-delay: .1s; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1180px) {
  .hud-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

@media (max-width: 1024px) {
  :root { --gutter: 46px; }
  .content { grid-template-columns: minmax(0, 1fr); padding: 32px 28px 110px; gap: 0; }
  .toc { display: none; }
  .page { max-width: none; }
}

@media (max-width: 860px) {
  :root { --gutter: 0px; }
  .menu-btn { display: grid; }
  .topnav { display: none; }
  .brand-sub { display: none; }
  .search input { width: 118px; }

  .hero-plate { padding: 18px 14px 0; }
  .hero-over {
    position: static;
    display: block;
    padding: 20px 18px 26px;
    background: var(--night);
  }
  .hero-media::after { display: none; }
  .hero-cta { padding: 18px 0 0; }

  .band { padding: 52px 20px; }
  .intro { padding: 44px 20px 0; }
  .intro p { font-size: 17px; }

  .toc-row { grid-template-columns: 22px minmax(0,1fr) 22px; gap: 12px; }
  .toc-row .k { font-size: 14px; }

  .sec { grid-template-columns: minmax(0, 1fr); padding-top: 30px; margin-top: 30px; }
  .sec > * { grid-column: 1; }
  .sec > .sec-k { grid-column: 1; grid-row: auto; margin-bottom: 6px; }
  .sec-k { font-size: 22px; }

  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    position: fixed;
    top: var(--bar); left: 0; bottom: 0;
    width: 268px; height: auto;
    z-index: 95;
    background: var(--sheet);
    transform: translateX(-100%);
    transition: transform .22s cubic-bezier(.22,.7,.3,1);
  }
  .sidebar.open { transform: none; }
  .content { padding: 24px 20px 90px; }

  .spec td:first-child { width: 34%; }
  .pager { flex-direction: column; }
  .pager a + a { border-left: 0; border-top: 1px solid var(--rule); text-align: left; }
  .pager .gap { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-over > * { animation: none; }
}
