/* 掌镜 Zlens · style.css · 2026-10-06 重写
   母题是相机取景器：等宽小字像取景器里的读数，细线像对焦框，照片是主角。
   深色是「暗房」，近黑偏暖；浅色是「相纸」，米白偏暖。两套令牌只在下面三处定义。
   动效只动 transform / opacity / filter / clip-path；初态隐藏一律挂在 html.js 下，
   无脚本时内容完整；prefers-reduced-motion 时全部直接显示终态。 */

/* ── 令牌 ─────────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;
  --bg: #0f0e0d;
  --bg2: #171614;
  --bg3: #201e1b;
  --fg: #ece7df;
  --fg2: #b9b2a7;
  --fg3: #8d867c;
  --line: rgba(236, 231, 223, .12);
  --line2: rgba(236, 231, 223, .26);
  --acc: #3fcfac;
  --acc-soft: rgba(63, 207, 172, .14);
  --sel: rgba(63, 207, 172, .32);
  --btn-bg: #ece7df;
  --btn-fg: #121110;
  --btn-hover: #ffffff;
  --shadow-img: 0 1px 0 rgba(255, 255, 255, .04);

  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB",
          "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --d1: 160ms;
  --d2: 240ms;
  --d3: 600ms;

  --wrap: 1240px;
  --gut: clamp(20px, 4.2vw, 56px);
  --nav-h: 64px;
  --r: 3px;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f3f0ea;
    --bg2: #ebe7df;
    --bg3: #e1dcd2;
    --fg: #181614;
    --fg2: #47423c;
    --fg3: #6a645c;
    --line: rgba(24, 22, 20, .13);
    --line2: rgba(24, 22, 20, .28);
    --acc: #0c7a62;
    --acc-soft: rgba(12, 122, 98, .1);
    --sel: rgba(12, 122, 98, .2);
    --btn-bg: #181614;
    --btn-fg: #f3f0ea;
    --btn-hover: #000000;
    --shadow-img: 0 1px 2px rgba(24, 22, 20, .08);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f0ea;
  --bg2: #ebe7df;
  --bg3: #e1dcd2;
  --fg: #181614;
  --fg2: #47423c;
  --fg3: #6a645c;
  --line: rgba(24, 22, 20, .13);
  --line2: rgba(24, 22, 20, .28);
  --acc: #0c7a62;
  --acc-soft: rgba(12, 122, 98, .1);
  --sel: rgba(12, 122, 98, .2);
  --btn-bg: #181614;
  --btn-fg: #f3f0ea;
  --btn-hover: #000000;
  --shadow-img: 0 1px 2px rgba(24, 22, 20, .08);
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 240ms; animation-timing-function: var(--ease); }
}

/* ── 基础 ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  padding-top: var(--nav-h);
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.85 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color var(--d2) var(--ease), color var(--d2) var(--ease);
}
html:lang(en) body { line-height: 1.65; }
::selection { background: var(--sel); color: var(--fg); }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; color: var(--fg); }
html:lang(zh-CN) :is(h1, h2) { word-break: keep-all; overflow-wrap: anywhere; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
small { font-size: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 2px; }
a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: .24em;
    text-decoration-color: color-mix(in srgb, var(--acc) 75%, transparent); transition: text-decoration-color var(--d1) var(--ease), color var(--d1) var(--ease); }
a:hover { text-decoration-color: currentColor; }
html { scrollbar-color: var(--line2) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line2); border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--btn-bg); color: var(--btn-fg);
        border-radius: var(--r); text-decoration: none; font-size: .9rem; }
.skip:focus { top: 12px; }

/* 取景器读数：等宽、大写、松字距 */
.idx, .kicker, .eyebrow, .meta, .crumbs, .fl, .price-k, .sib-k, .foot-h, .dsub, .vf figcaption, .monitor figcaption {
  font-family: var(--mono);
  font-size: .75rem;
  line-height: 1.5;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg3);
  font-weight: 400;
}

/* 带下划线生长的文字链接 */
.tlink {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
  color: var(--fg); text-decoration: none; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: background-size var(--d2) var(--ease), color var(--d1) var(--ease);
}
.tlink::after { content: "→"; transition: transform var(--d2) var(--ease); }
.tlink:hover { background-size: 100% 1px; }
.tlink:hover::after { transform: translateX(3px); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.4em;
  border: 0; border-radius: var(--r);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .95rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--d1) var(--ease), background-color var(--d2) var(--ease);
}
.btn:hover { background: var(--btn-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform var(--d2) var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: 0 1.05em; font-size: .875rem; }

/* ── 导航 ─────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--bg);
  transition: transform var(--d2) var(--ease), box-shadow var(--d2) var(--ease), background-color var(--d2) var(--ease);
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line); }
html.js .nav.is-hidden { transform: translateY(-100%); }
.nav-in { height: var(--nav-h); max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut);
          display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); min-height: 44px; }
.brand .logo { width: 26px; height: 26px; border-radius: 6px; flex: none; }
.brand .bn { font-weight: 600; font-size: 1.02rem; letter-spacing: .02em; }
.brand .be { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg3); }
.navlinks { display: flex; gap: clamp(18px, 2.4vw, 32px); font-size: .9rem; }
.navlinks a { color: var(--fg2); text-decoration: none; padding-block: 10px;
              background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat;
              transition: color var(--d1) var(--ease), background-size var(--d2) var(--ease); }
.navlinks a:hover, .navlinks a[aria-current] { color: var(--fg); background-size: 100% 1px; }
.nav-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.themebtn, .menubtn, .dclose {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: var(--r); background: transparent; color: var(--fg2); cursor: pointer;
  transition: color var(--d1) var(--ease), background-color var(--d1) var(--ease);
}
.themebtn:hover, .menubtn:hover, .dclose:hover { color: var(--fg); background: var(--bg3); }
.themebtn svg, .menubtn svg, .dclose svg { width: 20px; height: 20px; }
.themebtn svg path { transition: transform var(--d3) var(--ease); transform-origin: 12px 12px; }
.themebtn[aria-pressed="true"] svg path { transform: rotate(180deg); }
.lang { display: flex; align-items: center; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: var(--fg3); }
.lang a { display: inline-grid; place-items: center; min-width: 32px; min-height: 44px; text-decoration: none; color: var(--fg3); }
.lang a:hover { color: var(--fg); }
.lang a[aria-current] { color: var(--fg); }
.nav-cta { margin-left: 8px; }
.menubtn { display: none; }
@media (max-width: 960px) {
  .navlinks, .nav-cta { display: none; }
  .menubtn { display: inline-grid; }
}

/* 抽屉：全屏，淡入下移；不支持 @starting-style 的浏览器直接出现 */
.drawer {
  position: fixed; inset: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  margin: 0; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); border: 0;
  background: var(--bg); color: var(--fg);
  display: none; flex-direction: column;
  opacity: 0; transform: translateY(-10px);
  transition: opacity var(--d2) var(--ease), transform var(--d2) var(--ease), overlay var(--d2) allow-discrete, display var(--d2) allow-discrete;
}
.drawer[open] { display: flex; opacity: 1; transform: none; }
@starting-style { .drawer[open] { opacity: 0; transform: translateY(-10px); } }
.drawer::backdrop { background: transparent; }
html.drawer-open { overflow: hidden; }
.dhead { height: var(--nav-h); flex: none; display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gut); border-bottom: 1px solid var(--line); }
.dbody { flex: 1; overflow-y: auto; padding: 12px var(--gut) 24px; }
.dmain { display: flex; flex-direction: column; }
.dmain a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line);
           font-size: 1.6rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; text-decoration: none; color: var(--fg); }
.dmain small, .dfam small { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; font-weight: 400; color: var(--fg3); }
.dsub { margin: 32px 0 6px; }
.dfam { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.dfam a { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 6px 0; border-bottom: 1px solid var(--line);
          text-decoration: none; color: var(--fg2); font-size: .95rem; line-height: 1.35; }
.drow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.drow nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); }
.themebtn-text { width: auto; padding: 0 12px; gap: 10px; display: inline-flex; font-size: .9rem; }
.dfoot { flex: none; padding: 16px var(--gut) 20px; border-top: 1px solid var(--line); }
.dfoot .btn { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html.js .drawer[open] .dmain a { animation: rise var(--d3) var(--ease) both; }
  html.js .drawer[open] .dmain a:nth-child(2) { animation-delay: 40ms; }
  html.js .drawer[open] .dmain a:nth-child(3) { animation-delay: 80ms; }
  html.js .drawer[open] .dmain a:nth-child(4) { animation-delay: 120ms; }
  html.js .drawer[open] .dmain a:nth-child(5) { animation-delay: 160ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ── 区块骨架 ─────────────────────────────────────────────────────────── */
.sec { padding-block: clamp(96px, 12vw, 176px); }
.band { background: var(--bg2); }
.h2 { font-size: clamp(2rem, 1.25rem + 2.7vw, 3.5rem); line-height: 1.12; letter-spacing: -.015em; margin-top: 18px; }
html:lang(en) .h2 { letter-spacing: -.03em; line-height: 1.06; }
.h2-sm { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.sub { margin-top: 22px; max-width: 30em; color: var(--fg2); font-size: 1.05rem; }
.sub.wide { max-width: 36em; }
.note { margin-top: 28px; max-width: 46em; padding-left: 14px; border-left: 1px solid var(--line2); color: var(--fg3); font-size: .9rem; line-height: 1.7; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 128px); align-items: start; }
.split-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.split-tight { align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.split-tight .sub { margin-top: 0; justify-self: end; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-head { position: static; }
  .split-tight .sub { justify-self: start; }
}

/* ── 首屏 ─────────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(24px, 4vw, 56px) clamp(80px, 10vw, 150px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--acc-soft); }
.hero h1 { margin-top: 26px; font-size: clamp(2.6rem, 1.1rem + 4vw, 4.6rem); line-height: 1.06; letter-spacing: -.025em; font-weight: 650; }
html:lang(en) .hero h1 { letter-spacing: -.045em; line-height: .98; }
.lede { margin-top: 28px; max-width: 26em; font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem); line-height: 1.75; color: var(--fg2); }
html:lang(en) .lede { line-height: 1.55; }
.hero .cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hero-note { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 30em; color: var(--fg3); font-size: .875rem; line-height: 1.7; }

/* 取景器 */
.vf { margin: 0 calc(-1 * var(--gut)) 0 0; }
.vf-frame {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5; max-height: min(78vh, 820px); width: 100%;
  background: #070707; border-radius: var(--r) 0 0 var(--r);
}
@media (min-width: 1360px) { .vf { margin-right: calc((100vw - var(--wrap)) / -2 - var(--gut) + 8px); } }
.vf-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%; transform-origin: 62% 48%; }
.vf-osd { position: absolute; inset: 0; z-index: 2; pointer-events: none; color: #f2eee7; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.vf-osd::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(0, 0, 0, .5), transparent 16%, transparent 76%, rgba(0, 0, 0, .66)),
              radial-gradient(130% 95% at 55% 45%, transparent 55%, rgba(0, 0, 0, .45)); }
.vf-c { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(255, 255, 255, .7); }
.c1 { top: 16px; left: 16px; border-top-width: 1.5px; border-left-width: 1.5px; }
.c2 { top: 16px; right: 16px; border-top-width: 1.5px; border-right-width: 1.5px; }
.c3 { bottom: 16px; left: 16px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.c4 { bottom: 16px; right: 16px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.osd-top { position: absolute; top: 22px; left: 52px; right: 52px; display: flex; align-items: center; gap: 14px; }
.osd-top .sp { flex: 1; }
.rec { display: inline-flex; align-items: center; gap: 7px; }
.rec i { width: 6px; height: 6px; border-radius: 50%; background: #3fcfac; }
.bat { position: relative; width: 20px; height: 9px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 1.5px; }
.bat::after { content: ""; position: absolute; right: -3px; top: 2px; width: 2px; height: 3px; background: rgba(255, 255, 255, .8); }
.bat b { position: absolute; inset: 1px; right: 4px; background: rgba(255, 255, 255, .85); }
.af { position: absolute; left: 60%; top: 41%; width: 20%; aspect-ratio: 1; translate: -50% -50%; }
.af b { position: absolute; width: 22%; height: 22%; border: 0 solid #3fcfac; }
.af b:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.af b:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.af b:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.af b:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.af-tag { position: absolute; left: 60%; top: calc(41% + 12%); translate: -50% 0; color: #3fcfac; font-size: 10px; letter-spacing: .12em; }
.histo { position: absolute; left: 22px; bottom: 58px; width: 26%; height: 9%; opacity: .9; }
.histo path { fill: rgba(255, 255, 255, .45); }
.osd-bot { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; align-items: center; gap: clamp(12px, 2vw, 22px); font-size: 12.5px; }
.ev { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; }
.scale { position: relative; width: clamp(64px, 9vw, 112px); height: 9px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .75) 1px, transparent 1px) 0 0 / calc((100% - 1px) / 6) 100% repeat-x,
              linear-gradient(rgba(255, 255, 255, .5), rgba(255, 255, 255, .5)) 0 50% / 100% 1px no-repeat; }
.scale i { position: absolute; left: 45%; top: -5px; width: 2px; height: 19px; background: #3fcfac; }
.vf figcaption { margin-top: 14px; }

@media (prefers-reduced-motion: no-preference) {
  html.js .vf-img { animation: push 9s var(--ease) both; }
  html.js .af { animation: hunt 1.5s var(--ease) .5s both; }
  html.js .af b { animation: lock 1.5s linear .5s both; }
  html.js .af-tag { animation: tagin .4s var(--ease) 1.85s both; }
}
@keyframes push { from { transform: scale(1.07); } to { transform: none; } }
@keyframes hunt {
  0% { transform: scale(1.75); opacity: 0; }
  20% { opacity: 1; }
  55% { transform: scale(.9); }
  72% { transform: scale(1.06); }
  86%, 100% { transform: scale(1); opacity: 1; }
}
@keyframes lock { 0%, 84% { border-color: rgba(255, 255, 255, .92); } 100% { border-color: #3fcfac; } }
@keyframes tagin { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .vf { margin-inline: calc(-1 * var(--gut)); }
  .vf-frame { border-radius: 0; aspect-ratio: 4 / 4.6; max-height: none; }
  .vf figcaption { padding-inline: var(--gut); }
  .hero { padding-bottom: clamp(64px, 12vw, 96px); }
}

/* ── 01 老问题 ────────────────────────────────────────────────────────── */
.issues { list-style: none; counter-reset: is; border-top: 1px solid var(--line); }
.issues li { counter-increment: is; position: relative; padding: clamp(28px, 3.4vw, 44px) 0 clamp(28px, 3.4vw, 44px) 3.4rem; border-bottom: 1px solid var(--line); }
.issues li::before { content: counter(is, decimal-leading-zero); position: absolute; left: 0; top: calc(clamp(28px, 3.4vw, 44px) + .3em);
                     font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: var(--fg3); }
.said { color: var(--fg3); font-size: 1rem; }
.ans { margin-top: 12px; font-size: clamp(1.15rem, 1.02rem + .5vw, 1.42rem); line-height: 1.6; color: var(--fg); font-weight: 500; letter-spacing: -.005em; }
html:lang(en) .ans { line-height: 1.45; letter-spacing: -.012em; }

/* ── 02 连接接力 ──────────────────────────────────────────────────────── */
.relay { list-style: none; position: relative; margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 36px); }
.relay::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--line2); transform-origin: 0 50%; }
.relay li { position: relative; padding-top: 34px; }
.relay .node { position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--fg2); background: var(--bg2); }
.relay li:last-child .node { background: var(--acc); border-color: var(--acc); box-shadow: 0 0 0 5px var(--acc-soft); }
.relay .k { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--fg3); }
.relay h3 { margin-top: 12px; font-size: 1.15rem; line-height: 1.35; }
.relay p { margin-top: 8px; color: var(--fg2); font-size: .95rem; line-height: 1.65; }
@media (prefers-reduced-motion: no-preference) {
  html.js .relay::before { transform: scaleX(0); transition: transform 1.2s var(--ease); }
  html.js .relay.in::before { transform: none; }
  html.js .relay li { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 140ms + 150ms); }
  html.js .relay.in li { opacity: 1; transform: none; }
}
@media (max-width: 860px) {
  .relay { grid-template-columns: 1fr; }
  .relay::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; transform-origin: 50% 0; }
  html.js .relay::before { transform: scaleY(0); }
  html.js .relay.in::before { transform: none; }
  .relay li { padding: 0 0 30px 36px; }
  .relay .node { top: 4px; }
  .relay h3 { margin-top: 6px; }
}

/* ── 03 功能 ──────────────────────────────────────────────────────────── */
.feat-head { margin-bottom: clamp(48px, 6vw, 88px); }
.feat-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.monitor { margin: 0; position: sticky; top: calc(var(--nav-h) + 40px); }
.mon-frame { position: relative; overflow: hidden; border-radius: var(--r); background: #070707; box-shadow: var(--shadow-img); }
.mon-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mon-osd { position: absolute; inset: 0; pointer-events: none; font-family: var(--mono); color: #f2eee7; }
.mon-osd::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .55)); }
.mon-osd .vf-c { width: 16px; height: 16px; }
.mon-osd .c1 { top: 12px; left: 12px; } .mon-osd .c2 { top: 12px; right: 12px; }
.mon-osd .c3 { bottom: 12px; left: 12px; } .mon-osd .c4 { bottom: 12px; right: 12px; }
.wave { position: absolute; left: 8%; right: 8%; bottom: 14%; height: 24%; width: 84%; }
.wave path { fill: none; stroke: rgba(160, 255, 220, .78); stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.wave path + path { stroke: rgba(255, 255, 255, .5); }
.mon-tag { position: absolute; left: 8%; bottom: calc(14% + 24% + 8px); font-size: 10px; letter-spacing: .14em; color: rgba(255, 255, 255, .8); }
.monitor figcaption { margin-top: 14px; }
.specs { border-top: 1px solid var(--line); }
.spec { padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 11rem minmax(0, 1fr); column-gap: 24px; }
.spec h3 { grid-row: span 2; font-size: 1.05rem; line-height: 1.5; font-weight: 600; }
.spec h3 span { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; font-weight: 400; color: var(--fg3); }
.spec .lead { font-size: 1.12rem; line-height: 1.6; color: var(--fg); }
.spec ul { list-style: none; margin-top: 14px; }
.spec li { position: relative; padding-left: 18px; color: var(--fg2); font-size: .95rem; line-height: 1.7; }
.spec li + li { margin-top: 4px; }
.spec li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 1px; background: var(--fg3); }
@media (max-width: 1080px) { .spec { grid-template-columns: 1fr; } .spec h3 { grid-row: auto; margin-bottom: 10px; } }
@media (max-width: 860px) {
  .feat-grid { grid-template-columns: 1fr; }
  .monitor { position: static; }
}

/* ── 04 兼容 ──────────────────────────────────────────────────────────── */
.finder { max-width: 44rem; }
.fl { display: block; }
.fin { position: relative; margin-top: 10px; }
.fin svg { position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 22px; height: 22px; fill: none; stroke: var(--fg3); stroke-width: 1.6; stroke-linecap: round; }
.fin input {
  width: 100%; min-height: 60px; padding: 8px 0 8px 36px;
  border: 0; border-bottom: 1px solid var(--line2); border-radius: 0; background: transparent;
  color: var(--fg); font: 500 clamp(1.15rem, 1rem + .6vw, 1.5rem) / 1.3 var(--sans); letter-spacing: -.005em;
  transition: border-color var(--d2) var(--ease);
}
.fin input::placeholder { color: var(--fg3); opacity: .85; }
.fin input:focus { outline: none; border-bottom-color: var(--acc); }
.fin input:focus-visible { box-shadow: 0 1px 0 0 var(--acc); }
.fin input::-webkit-search-cancel-button { filter: grayscale(1); opacity: .6; }
.fhint { margin-top: 10px; color: var(--fg3); font-size: .875rem; }
.hits { list-style: none; margin-top: 18px; }
.hits:empty { margin: 0; }
.hits li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.hit { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: 16px; align-items: baseline; }
.hb { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg3); }
.hn { font-weight: 600; font-size: 1.05rem; }
.hc, .hs { grid-column: 2; color: var(--fg2); font-size: .875rem; line-height: 1.6; }
.hs { color: var(--acc); }
.hits .none { color: var(--fg2); font-size: .95rem; }
.tablewrap { margin-top: clamp(48px, 6vw, 80px); overflow-x: auto; }
.ctab { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.6; }
.ctab caption { caption-side: bottom; text-align: left; padding-top: 12px; font-size: .8rem; color: var(--fg3); }
.ctab th, .ctab td { padding: 18px 20px 18px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ctab thead th { padding-block: 0 12px; white-space: nowrap; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; color: var(--fg3); border-bottom-color: var(--line2); }
.ctab tbody th { font-weight: 600; white-space: nowrap; }
.ctab td { color: var(--fg2); }
.ctab .ch { font-family: var(--mono); font-size: .8rem; letter-spacing: .02em; }
.ctab .num { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; font-family: var(--mono); color: var(--fg); }
@media (max-width: 720px) {
  .ctab, .ctab tbody, .ctab tr, .ctab th, .ctab td { display: block; }
  .ctab thead { display: none; }
  .ctab caption { display: block; width: auto; }
  .ctab tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .ctab th, .ctab td { border: 0; padding: 4px 0; }
  .ctab tbody th { font-size: 1.05rem; }
  .ctab td::before { content: attr(data-l); display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg3); }
  .ctab .num { text-align: left; }
}
.allmodels { margin-top: 40px; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line); }
.allmodels summary, .faq summary { list-style: none; cursor: pointer; }
.allmodels summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.allmodels > summary { display: flex; align-items: center; justify-content: space-between; min-height: 64px; font-weight: 600; }
.allmodels > summary::after, .faq summary::after {
  content: ""; flex: none; width: 13px; height: 13px; margin-left: 16px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  color: var(--fg2); transition: transform var(--d2) var(--ease);
}
.allmodels[open] > summary::after, .faq[open] summary::after { transform: rotate(45deg); }
.mgroups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 8px 0 40px; }
.mgroups h3 { font-size: 1rem; display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mgroups h3 small { font-family: var(--mono); font-size: .75rem; font-weight: 400; color: var(--fg3); }
.mch { margin-top: 8px; font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; color: var(--fg3); line-height: 1.5; }
.mlist { list-style: none; margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; font-size: .9rem; color: var(--fg2); }
@media (max-width: 1000px) { .mgroups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mgroups { grid-template-columns: 1fr; } }

/* ── 05 问答 ──────────────────────────────────────────────────────────── */
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding-block: 16px; }
.faq summary h3 { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); line-height: 1.45; font-weight: 600; }
.faq summary:hover h3 { color: var(--fg); }
.faq p { max-width: 38em; color: var(--fg2); padding-bottom: 10px; }
.faq p:last-child { padding-bottom: 30px; }
@supports (interpolate-size: allow-keywords) {
  @media (prefers-reduced-motion: no-preference) {
    .faq, .allmodels { interpolate-size: allow-keywords; }
    .faq::details-content, .allmodels::details-content {
      block-size: 0; overflow: clip;
      transition: block-size var(--d2) var(--ease), content-visibility var(--d2) allow-discrete;
    }
    .faq[open]::details-content, .allmodels[open]::details-content { block-size: auto; }
  }
}

/* ── 06 获取 ──────────────────────────────────────────────────────────── */
.get-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 8vw, 140px); align-items: start; }
.signup { margin-top: clamp(40px, 5vw, 64px); max-width: 34rem; }
.srow { display: flex; gap: 12px; margin-top: 10px; align-items: flex-end; }
.srow input[type="email"] {
  flex: 1; min-width: 0; min-height: 52px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--line2); border-radius: 0;
  background: transparent; color: var(--fg); font: 500 1.15rem / 1.3 var(--sans);
}
.srow input[type="email"]::placeholder { color: var(--fg3); }
.srow input[type="email"]:focus { outline: none; border-bottom-color: var(--acc); }
.srow .btn { min-height: 52px; }
.shint { margin-top: 16px; color: var(--fg3); font-size: .85rem; line-height: 1.7; }
.sok { display: none; margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--acc); color: var(--fg); font-size: .9rem; }
.signup.sent .sok { display: block; }
.get-side { display: flex; flex-direction: column; gap: 40px; }
.price { border-top: 1px solid var(--line2); padding-top: 22px; }
.price-n { margin-top: 6px; font-size: clamp(4rem, 2.6rem + 5vw, 7rem); line-height: 1; font-weight: 300; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.price-d { margin-top: 18px; color: var(--fg2); font-size: .95rem; max-width: 22em; }
.qq { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; align-items: start; padding-top: 24px; border-top: 1px solid var(--line); }
.qq img { width: 104px; height: 104px; border-radius: var(--r); background: #fff; padding: 6px; }
.qq-t { font-weight: 600; }
.qq-d { margin-top: 6px; color: var(--fg2); font-size: .875rem; line-height: 1.65; }
.copybtn { margin-top: 10px; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px;
           border: 1px solid var(--line2); border-radius: var(--r); background: transparent; cursor: pointer;
           transition: border-color var(--d1) var(--ease), background-color var(--d1) var(--ease); }
.copybtn:hover { border-color: var(--fg2); }
.copybtn .cn-num { font-family: var(--mono); font-size: .95rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.copybtn .cl { font-size: .8rem; color: var(--fg3); }
.copybtn.done { border-color: var(--acc); }
.copybtn.done .cl { color: var(--acc); }
.mailline { color: var(--fg3); font-size: .875rem; }
@media (max-width: 860px) { .get-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .srow { flex-direction: column; align-items: stretch; } }

/* ── 同门产品 ─────────────────────────────────────────────────────────── */
.sec-sib { padding-block: clamp(80px, 9vw, 128px); }
.sibs { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.sib { padding: 32px clamp(0px, 3vw, 48px) 8px 0; }
.sib + .sib { padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--line); }
.sib h3 { margin-top: 10px; font-size: 1.5rem; letter-spacing: -.01em; }
.sib p:not(.sib-k) { margin-top: 12px; color: var(--fg2); max-width: 32em; font-size: .98rem; }
.sib .tlink { margin-top: 12px; }
.mfstrip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-bottom: 24px; max-width: 30rem; }
.mfstrip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
@media (max-width: 760px) {
  .sibs { grid-template-columns: 1fr; }
  .sib + .sib { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
}

/* ── 页脚 ─────────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding-block: clamp(56px, 6vw, 88px) 40px; font-size: .9rem; color: var(--fg2); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px 32px; }
.foot-brand p { margin-top: 14px; max-width: 18em; color: var(--fg3); line-height: 1.7; }
.foot-h { margin-bottom: 12px; }
.foot ul { list-style: none; }
.foot li { line-height: 1.5; padding-block: 3px; }
.foot li a { display: inline-flex; align-items: center; min-height: 30px; color: var(--fg2); text-decoration: none; }
@media (pointer: coarse) { .foot li a { min-height: 44px; } .foot li { padding-block: 0; } }
.foot li a:hover { color: var(--fg); text-decoration: underline; text-decoration-color: var(--acc); }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--fg3); font-size: .8rem; line-height: 1.7; }
.foot-legal p { max-width: 64em; }
.foot-legal p + p { margin-top: 6px; }
.foot-meta { margin-top: 18px !important; display: flex; flex-wrap: wrap; gap: 6px 28px; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } }

/* ── 入场与显影 ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  html.js .rv.in { opacity: 1; transform: none; }
  html.js .dev img { filter: brightness(1.7) saturate(.3) blur(4px); transition: filter 1.6s var(--ease); }
  html.js .dev.in img { filter: none; }
  html.js .mfstrip.dev img { transition-delay: calc(var(--n, 0) * 90ms); }
  html.js .mfstrip.dev img:nth-child(2) { --n: 1; } html.js .mfstrip.dev img:nth-child(3) { --n: 2; }
  html.js .mfstrip.dev img:nth-child(4) { --n: 3; } html.js .mfstrip.dev img:nth-child(5) { --n: 4; }
  html.js .mfstrip.dev img:nth-child(6) { --n: 5; }
}

/* ── 教程与长文 ───────────────────────────────────────────────────────── */
.guidepage { padding-block: clamp(28px, 4vw, 56px) clamp(96px, 11vw, 160px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; text-transform: none; letter-spacing: .02em; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg3); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.crumbs i { font-style: normal; opacity: .6; }
.crumbs [aria-current] { color: var(--fg2); max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.prose { max-width: 42rem; }
.guidepage .prose, .guidepage .related, .guidepage .glist, .guidepage .legal-toc, .guidepage .crumbs { margin-left: clamp(0px, 9vw, 10.5rem); }
.prose h1 { margin-top: 22px; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.15rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 650; }
html:lang(en) .prose h1 { letter-spacing: -.035em; line-height: 1.04; }
.ahead { padding-bottom: clamp(36px, 4vw, 52px); margin-bottom: clamp(16px, 2vw, 24px); border-bottom: 1px solid var(--line); }
.guideindex .ahead { border-bottom: 0; margin-bottom: 0; }
.lede-g { margin-top: 24px; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.7; color: var(--fg2); }
html:lang(en) .lede-g { line-height: 1.55; }
.meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px 24px; text-transform: none; letter-spacing: .03em; }
.prose > h2, .prose .legal-body h2 { position: relative; margin-top: 2.6em; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); line-height: 1.3; letter-spacing: -.01em; }
html:lang(en) .prose > h2 { letter-spacing: -.022em; }
.article { counter-reset: sec; }
.article > h2 { counter-increment: sec; }
.article > h2::before {
  content: counter(sec, decimal-leading-zero); display: block; margin-bottom: 10px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; font-weight: 400; color: var(--fg3);
}
@media (min-width: 1180px) {
  .article > h2::before { position: absolute; right: calc(100% + 2.6rem); top: .55em; margin: 0; white-space: nowrap; }
}
.prose h3 { margin-top: 2em; font-size: 1.15rem; line-height: 1.45; }
.prose > p, .prose li, .legal-body p, .legal-body li { color: var(--fg2); }
.prose p { margin-top: 1em; }
.prose h2 + p, .prose h3 + p { margin-top: .7em; }
.prose strong { color: var(--fg); font-weight: 600; }
.prose ul, .prose ol { margin-top: 1.1em; list-style: none; }
.prose li { position: relative; padding-left: 1.5em; }
.prose li + li { margin-top: .55em; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: .9em; width: 9px; height: 1px; background: var(--fg3); }
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; padding-left: 2.4em; }
.prose ol > li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: .28em; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; color: var(--fg3); }
.prose code { font-family: var(--mono); font-size: .86em; padding: .1em .35em; border-radius: 2px; background: var(--bg3); color: var(--fg); overflow-wrap: anywhere; }
.prose .models { margin-top: 1.1em; border-top: 1px solid var(--line); }
.prose .models li { padding: 10px 0; margin: 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--fg); }
.prose .models li::before { display: none; }
.prose .models strong { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; font-weight: 400; color: var(--fg3); margin-bottom: 2px; }
.prose .note { margin-top: 1.2em; }
.endcta { margin-top: 3.4em; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.fine { margin-top: 22px !important; color: var(--fg3) !important; font-size: .82rem; line-height: 1.7; }

.related { margin-top: clamp(64px, 7vw, 104px); max-width: 42rem; }
.related ul { list-style: none; margin-top: 12px; border-top: 1px solid var(--line); }
.related a, .glist a {
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 24px; align-items: baseline; column-gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--fg);
}
.gk { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg3); }
.gt { font-weight: 600; line-height: 1.45; }
.garr { color: var(--fg3); transition: transform var(--d2) var(--ease), color var(--d1) var(--ease); justify-self: end; }
.related a:hover .garr, .glist a:hover .garr { transform: translateX(4px); color: var(--acc); }
.related a:hover .gt, .glist a:hover .gt { text-decoration: underline; text-decoration-color: var(--acc); text-underline-offset: .24em; text-decoration-thickness: 1px; }

.glist { list-style: none; max-width: 52rem; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line2); }
.glist a { grid-template-columns: 2.6rem 8.5rem minmax(0, 1fr) 24px; padding: clamp(22px, 2.4vw, 30px) 0; }
.gn { font-family: var(--mono); font-size: .75rem; color: var(--fg3); }
.glist .gt { grid-column: 3; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); letter-spacing: -.01em; }
.glist .gd { grid-column: 3; margin-top: 6px; color: var(--fg2); font-size: .92rem; line-height: 1.6; }
.glist .garr { grid-column: 4; grid-row: 1; }
.gextra { margin-top: clamp(72px, 8vw, 120px); }
.gextra > h2:first-child { margin-top: 0; }
@media (max-width: 640px) {
  .related a { grid-template-columns: minmax(0, 1fr) 24px; }
  .related .gk { grid-column: 1 / -1; margin-bottom: 4px; }
  .glist a { grid-template-columns: 2.2rem minmax(0, 1fr) 20px; }
  .glist .gk { grid-column: 2; grid-row: 1; }
  .glist .gt, .glist .gd { grid-column: 2; }
  .glist .garr { grid-column: 3; grid-row: 1; }
}

/* 404 */
.pagelist { border-top: 1px solid var(--line); }
.prose .pagelist li { padding: 12px 0; margin: 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; color: var(--fg); }
.prose .pagelist li::before { display: none; }
.pagelist span { color: var(--fg3); font-size: .9rem; }
.alt-lang { margin-top: 64px; padding-top: 8px; border-top: 1px solid var(--line2); }
.alt-lang h2 { margin-top: 32px; font-size: 1.6rem; }

/* ── 法务页（正文由 tools/legal/build.py 生成，这里只管版式） ──────────── */
.guidepage .wrap:has(> .legal-toc) {
  display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 44rem); column-gap: clamp(40px, 6vw, 96px); justify-content: start;
}
.guidepage .wrap:has(> .legal-toc) > .crumbs { grid-column: 1 / -1; margin-left: 0; }
.guidepage .wrap:has(> .legal-toc) > .prose:not(.legal-body) { grid-column: 2; margin-left: 0; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.guidepage .wrap:has(> .legal-toc) > .legal-toc { grid-column: 1; grid-row: 3; margin-left: 0; align-self: start; position: sticky; top: calc(var(--nav-h) + 32px); }
.guidepage .wrap:has(> .legal-toc) > .legal-body { grid-column: 2; grid-row: 3; margin-left: 0; }
.legal-toc { margin-top: 40px; }
.legal-toc::before { content: "目录"; display: block; margin-bottom: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--fg3); }
html:lang(en) .legal-toc::before { content: "Contents"; text-transform: uppercase; }
.legal-toc ol { list-style: none; counter-reset: toc; border-top: 1px solid var(--line); }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: grid; grid-template-columns: 2em minmax(0, 1fr); padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--fg2); text-decoration: none; font-size: .875rem; line-height: 1.5; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: .7rem; color: var(--fg3); padding-top: .2em; }
.legal-toc a:hover { color: var(--fg); }
.legal-body { padding-top: 8px; }
.legal-body h2 { margin-top: 2.2em; padding-top: 1.1em; border-top: 1px solid var(--line); font-size: 1.25rem !important; scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal-body h2:first-child { border-top: 0; padding-top: 0; margin-top: 1.4em; }
.legal-body h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal-body p, .legal-body li { font-size: .98rem; line-height: 1.85; }
html:lang(en) .legal-body p, html:lang(en) .legal-body li { line-height: 1.7; }
.legal-body table { width: 100%; margin-top: 1.2em; border-collapse: collapse; font-size: .875rem; line-height: 1.6; display: block; overflow-x: auto; }
.legal-body th, .legal-body td { padding: 10px 14px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--fg2); min-width: 8em; }
.legal-body th { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; font-weight: 400; color: var(--fg3); border-bottom-color: var(--line2); }
@media (max-width: 900px) {
  .guidepage .wrap:has(> .legal-toc) { display: block; }
  .guidepage .wrap:has(> .legal-toc) > .legal-toc { position: static; }
  .guidepage .prose, .guidepage .related, .guidepage .glist, .guidepage .legal-toc, .guidepage .crumbs { margin-left: 0; }
}

/* ── 减少动态：直接显示终态 ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .rv, html.js .relay li { opacity: 1; transform: none; }
  html.js .dev img { filter: none; }
}

/* 打印：只要正文 */
@media print {
  .nav, .drawer, .foot, .skip, .endcta, .related { display: none !important; }
  body { padding-top: 0; background: #fff; color: #000; }
}
