.hero {
  position:relative;
  overflow:hidden;
  min-height:838px;
  padding:20px 40px 96px;
  background:radial-gradient(ellipse 56% 34% at 50% 26%,var(--white-14),var(--clear) 72%),linear-gradient(180deg,var(--sky-top) 0%,var(--sky-mid) 64%,var(--sky-low) 100%);
  color:var(--white);
}
.atmos { position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.cloud { position:absolute; display:block; height:auto; animation:sky-drift 96s ease-in-out infinite alternate; }
.cloud-body { fill:var(--white); }
.cloud-rim { fill:var(--sunlit); }
.cloud--a { left:-70px; top:118px; width:380px; opacity:.82; }
.cloud--b { right:-50px; top:96px; width:300px; opacity:.62; animation-duration:82s; animation-delay:-30s; }
.cloud--c { left:70px; top:430px; width:230px; opacity:.55; animation-duration:110s; animation-delay:-55s; }
.cloud--d { right:56px; top:318px; width:290px; opacity:.85; animation-duration:74s; animation-delay:-18s; }
@keyframes sky-drift {
  from { transform:translate3d(-22px,0,0); }
  to { transform:translate3d(38px,0,0); }
}
.roofs { position:absolute; bottom:0; width:470px; height:288px; display:block; }
.roofs--l { left:0; }
.roofs--r { right:0; }
.roof-far { fill:var(--roof-far); }
.roof-near { fill:var(--roof-near); }
.roof-hi { fill:none; stroke:var(--sunlit); stroke-width:3; stroke-linecap:round; }
.roof-hi--far { opacity:.6; }
.hero-body { position:relative; z-index:3; display:flex; flex-direction:column; align-items:center; margin-top:32px; text-align:center; }
.badge {
  display:inline-flex;
  align-items:center;
  gap:10px;
  max-width:100%;
  min-height:32px;
  padding:5px 15px 5px 12px;
  border-radius:var(--r-pill);
  background:var(--panel-2);
  color:var(--accent-dark);
  font-size:var(--fs-note);
  font-weight:var(--weight-semibold);
  letter-spacing:var(--ls-badge);
  line-height:1.5;
}
.hero .badge { background:var(--white-25); color:var(--white); box-shadow:inset 0 0 0 1px var(--white-45); }
.badge-dot { width:8px; height:8px; flex-shrink:0; border-radius:var(--r-circle); background:var(--accent-dark); color:var(--white); }
.hero .badge-dot { background:var(--white); color:var(--ink); box-shadow:0 0 0 4px var(--white-25); }
.badge--new { background:var(--violet); color:var(--white); font-size:var(--fs-xs); }
.hero h1 { margin:22px 0 0; font-size:var(--fs-h1); font-weight:var(--weight-display); line-height:1.12; letter-spacing:var(--ls-display); color:var(--white); text-shadow:var(--h1-shade); }
.h1-brand { color:var(--white); }
.h1-key { color:var(--sky-key); }
.lede { max-width:700px; margin:14px 0 0; font-size:var(--fs-lede); line-height:1.62; color:var(--white-92); text-shadow:var(--text-shade); }
.lede strong { color:var(--white); }
.lede .mono { padding:1px 6px; border-radius:var(--r-xs); background:var(--white-14); color:var(--white); font-family:var(--font-mono); font-size:.9em; }
.get-actions,.cta-row { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:26px; max-width:100%; }
.hero .get-actions { justify-content:center; }
.get-actions .btn { flex:0 1 auto; }
.get-note { margin:12px 0 0; font-size:var(--fs-note); color:var(--muted); }
.hero .get-note { color:var(--white-92); text-shadow:var(--text-shade); }
.get-note [data-pkg-ver] { font-family:var(--font-mono); font-weight:var(--weight-semibold); }
.platforms {
  display:flex;
  align-items:center;
  gap:16px;
  max-width:100%;
  margin-top:20px;
  padding:5px 5px 5px 18px;
  border-radius:var(--r-pill);
  background:var(--tray);
  color:var(--white);
  box-shadow:inset 0 0 0 1px var(--white-25);
}
.plat-list { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:18px; list-style:none; margin:0; padding:0; }
.plat-list a { display:inline-flex; align-items:center; gap:7px; color:var(--white); font-size:var(--fs-note); font-weight:var(--weight-semibold); text-shadow:var(--text-shade); text-decoration:none; white-space:nowrap; }
.plat-list a:hover { text-decoration:underline; }
.plat-ico { width:17px; height:17px; flex-shrink:0; }
.ico-fill { fill:currentColor; stroke:none; }
.plat-price { display:inline-flex; align-items:center; min-height:28px; padding:3px 13px; border:1px solid var(--white-80); border-radius:var(--r-pill); color:var(--white); font-size:var(--fs-caption); font-weight:var(--weight-bold); }
.device { position:relative; width:848px; max-width:100%; margin:30px auto 0; }
.device-col { position:relative; z-index:1; width:640px; max-width:100%; }
.rulecard { margin:0; padding:6px; border-radius:var(--r-halo); background:var(--white-45); color:var(--ink); box-shadow:inset 0 0 0 1px var(--white-80),var(--shadow-float); }
.rulecard-in { overflow:hidden; border-radius:var(--r-card); background:var(--panel); color:var(--ink); text-align:left; }
.rulecard-head { display:flex; align-items:center; gap:8px; height:43px; padding-inline:20px; border-bottom:1px solid var(--border-soft); background:var(--bg); color:var(--muted); font-family:var(--font-mono); font-weight:var(--weight-medium); font-size:var(--fs-caption); }
.rulecard-head svg { width:15px; height:15px; color:var(--accent); }
.rc-file { color:var(--ink); font-weight:var(--weight-bold); }
.rc-hint { margin-left:auto; font-family:var(--font-body); font-size:var(--fs-xs); font-weight:var(--weight-medium); }
.rules { list-style:none; margin:0; padding-block:12px; padding-inline:0; }
.rule { display:flex; align-items:center; height:44px; padding-left:22px; }
.rule code { font-family:var(--font-mono); font-size:var(--fs-body); font-weight:var(--weight-medium); line-height:44px; color:var(--ink); white-space:nowrap; overflow-wrap:normal; }
.r-type { color:var(--accent-dark); font-weight:var(--weight-bold); }
.r-sep { color:var(--muted); }
.r-pol { font-weight:var(--weight-bold); }
.r-pol--proxy { color:var(--accent-dark); }
.r-pol--direct { color:var(--ink); }
.r-pol--reject { color:var(--violet); }
.lead { position:relative; flex:1; height:2px; margin-left:16px; background:repeating-linear-gradient(90deg,var(--sun) 0 6px,var(--clear) 6px 11px); color:var(--ink); }
.lead::before { content:""; position:absolute; left:-4px; top:-3px; width:8px; height:8px; border-radius:var(--r-circle); background:var(--sun); color:var(--ink); }
.links { position:absolute; left:0; top:0; z-index:2; width:848px; height:224px; overflow:visible; pointer-events:none; }
.link-path { fill:none; stroke:var(--sun); stroke-width:2; stroke-dasharray:6 5; }
.link-head { fill:var(--sun); }
.tag { position:absolute; z-index:3; display:inline-flex; align-items:center; height:34px; padding-inline:16px; border-radius:var(--r-pill); font-family:var(--font-mono); font-weight:var(--weight-bold); font-size:var(--fs-small); letter-spacing:var(--ls-tag); }
.tag--proxy { left:714px; top:35px; background:var(--accent); color:var(--white); box-shadow:8px 8px 0 var(--white-45),var(--shadow-tag-front); }
.tag--direct { left:732px; top:110px; background:var(--panel); color:var(--ink); box-shadow:inset 0 0 0 1px var(--border),6px 6px 0 var(--white-45),var(--shadow-tag-mid); }
.tag--reject { left:750px; top:185px; background:var(--violet); color:var(--white); box-shadow:4px 4px 0 var(--white-45),var(--shadow-tag-back); }
.setting-pills { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:18px 0 0; padding:0; list-style:none; }
.setting-pills li { display:inline-flex; align-items:center; gap:7px; min-height:34px; max-width:100%; padding:5px 15px 5px 12px; border-radius:var(--r-pill); background:var(--white-60); color:var(--ink); box-shadow:inset 0 0 0 1px var(--white-80),var(--shadow-pill); font-size:var(--fs-small); font-weight:var(--weight-semibold); }
.setting-pills svg { width:15px; height:15px; color:var(--accent-dark); }
.sheet { position:relative; z-index:4; display:flow-root; margin-top:-32px; padding:0 40px 96px; background:var(--bg); color:var(--ink); border-radius:var(--r-sheet) var(--r-sheet) 0 0; box-shadow:var(--shadow-sheet); }
.sheet-inner { max-width:var(--content-width); margin-inline:auto; }
.tabs {
  position:relative;
  display:flex;
  gap:4px;
  width:max-content;
  max-width:100%;
  margin-inline:auto;
  padding:6px;
  overflow-x:auto;
  scrollbar-width:none;
  border-radius:var(--r-pill);
  background:var(--accent);
  color:var(--white);
  box-shadow:inset 0 1px 0 var(--white-25),var(--shadow-float);
}
.sheet .tabs { margin-top:-28px; }
.tabs::-webkit-scrollbar { display:none; }
.tab,[role="tab"].tab {
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
  min-height:44px;
  padding:8px 20px;
  border:0;
  border-radius:var(--r-pill);
  background:var(--clear);
  color:var(--white);
  font-family:var(--font-body);
  font-size:var(--fs-detail);
  font-weight:var(--weight-semibold);
  white-space:nowrap;
  line-height:1.4;
}
.tab svg { width:18px; height:18px; }
.tab[aria-selected="true"] { background:var(--panel); color:var(--ink); box-shadow:var(--shadow-sm); }
.tab:focus-visible { outline-color:var(--ink); outline-offset:-3px; }
.feature {
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:40px;
  margin-top:22px;
  padding:44px;
  background:var(--panel);
  color:var(--ink);
  border:1px solid var(--border);
  border-radius:var(--r-panel);
  box-shadow:var(--shadow-card);
}
.feature h3 { margin:0; font-size:var(--fs-feature); letter-spacing:var(--ls-cjk); }
.points { display:grid; gap:16px; margin:26px 0 0; padding:0; list-style:none; }
.points li { display:grid; grid-template-columns:32px minmax(0,1fr); gap:14px; align-items:start; font-size:var(--fs-body); font-weight:var(--weight-semibold); line-height:1.55; }
.pt-ico { display:grid; place-items:center; width:32px; height:32px; border:1px solid var(--border); border-radius:var(--r-point); background:var(--panel); color:var(--ink); box-shadow:var(--shadow-sm); }
.pt-ico svg { width:16px; height:16px; }
.points code { color:var(--accent-dark); }
.detail { margin:24px 0 28px; color:var(--muted); font-size:var(--fs-detail); line-height:1.8; }
.detail code { color:var(--ink); }
.doc-stage { position:relative; min-height:380px; overflow:hidden; border-radius:var(--r-card); background:var(--panel-2); color:var(--ink); }
.doc { position:absolute; overflow:hidden; background:var(--panel); color:var(--ink); border:1px solid var(--border); border-radius:var(--r-doc); box-shadow:var(--shadow-doc); }
.doc--rule { left:24px; top:48px; width:262px; z-index:1; }
.doc--policy { right:20px; top:92px; width:230px; z-index:3; }
.doc-head { display:flex; align-items:center; gap:8px; min-height:38px; padding:8px 16px; border-bottom:1px solid var(--border-soft); background:var(--bg); color:var(--muted); font-family:var(--font-mono); font-size:var(--fs-doc); }
.doc-head b { color:var(--ink); }
.doc-rows { margin:0; padding:10px 16px; overflow-x:auto; font-family:var(--font-mono); font-size:var(--fs-xs); line-height:2.7; white-space:pre; }
.doc-items { list-style:none; margin:0; padding:8px 14px 12px; }
.doc-items li { display:flex; align-items:center; gap:12px; min-height:56px; font-size:var(--fs-caption); color:var(--muted); }
.doc-items li + li { border-top:1px dashed var(--border); }
.pchip { flex-shrink:0; display:inline-flex; justify-content:center; align-items:center; min-width:64px; min-height:24px; padding:3px 7px; border-radius:var(--r-pill); font-family:var(--font-mono); font-size:var(--fs-tiny); font-weight:var(--weight-bold); letter-spacing:var(--ls-code); }
.pchip--proxy { background:var(--accent-dark); color:var(--white); }
.pchip--direct { background:var(--panel); color:var(--ink); box-shadow:inset 0 0 0 1px var(--border); }
.pchip--reject { background:var(--violet); color:var(--white); }
.doc-links { position:absolute; inset:0; z-index:2; width:100%; height:100%; pointer-events:none; }
.toc { display:flex; flex-wrap:wrap; gap:8px; padding:16px; border:1px solid var(--border); border-radius:var(--r-card); background:var(--panel); color:var(--ink); box-shadow:var(--shadow-sm); }
.toc a { display:block; padding:8px 14px; border-radius:var(--r-pill); color:var(--accent-dark); font-size:var(--fs-detail); text-decoration:none; }
.toc a:hover,.toc a[aria-current="location"] { background:var(--panel-2); color:var(--ink); }
.toc--sticky { position:sticky; top:16px; z-index:10; }
.faq-item { border:1px solid var(--border); border-radius:var(--r-doc); background:var(--panel); color:var(--ink); }
.faq-item + .faq-item { margin-top:12px; }
.faq-item summary { position:relative; min-height:56px; padding:16px 52px 16px 20px; cursor:pointer; font-weight:var(--weight-semibold); list-style:none; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; position:absolute; right:20px; top:14px; color:var(--accent-dark); font-size:var(--fs-subtitle); }
.faq-item[open] summary::after { content:"−"; }
.faq-answer { padding:0 20px 20px; color:var(--muted); }
.faq-answer p:last-child { margin-bottom:0; }
.term-card { padding:24px; border:1px solid var(--border); border-left:3px solid var(--accent); border-radius:var(--r-card); background:var(--panel); color:var(--ink); box-shadow:var(--shadow-sm); }
.term-card h3 { font-family:var(--font-mono); font-size:var(--fs-subtitle); margin:0 0 12px; }
.term-card p { color:var(--muted); margin-bottom:0; }
.appstore-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:56px;
  max-width:100%;
  padding:10px 22px;
  border:1px solid var(--ink);
  border-radius:var(--r-doc);
  background:var(--ink);
  color:var(--white);
  line-height:1.25;
  text-decoration:none;
  transition:transform var(--ease),box-shadow var(--ease);
}
.appstore-button svg { width:26px; height:28px; }
.appstore-button small { display:block; font-size:var(--fs-xs); font-weight:var(--weight-medium); }
.appstore-button strong { display:block; font-size:var(--fs-body); margin-top:2px; }
.appstore-button:hover { transform:translateY(-1px); box-shadow:var(--shadow-card); text-decoration:none; }
.plat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.plat-card { position:relative; display:flex; flex-direction:column; gap:16px; min-width:0; padding:28px; border:1px solid var(--border); border-radius:var(--r-card); background:var(--panel); color:var(--ink); box-shadow:var(--shadow-card); }
.plat-card h3 { margin:0; }
.plat-card p { margin:0; color:var(--muted); }
.plat-card > svg { width:30px; height:30px; color:var(--accent-dark); }
.plat-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:auto; padding-top:8px; }
.plat-actions .btn { flex:1 1 160px; font-size:var(--fs-detail); padding-inline:18px; }
.plat-card::before { display:none; content:attr(data-mine); align-self:flex-start; padding:3px 10px; border-radius:var(--r-pill); background:var(--panel-2); color:var(--accent-dark); font-size:var(--fs-xs); font-weight:var(--weight-bold); }
html[data-visitor-os="ios"] .plat-card[data-plat="ios"] { order:-1; }
html[data-visitor-os="mac"] .plat-card[data-plat="mac"] { order:-1; }
html[data-visitor-os="windows"] .plat-card[data-plat="windows"] { order:-1; }
html[data-visitor-os="android"] .plat-card[data-plat="android"] { order:-1; }
html[data-visitor-os="linux"] .plat-card[data-plat="linux"] { order:-1; }
html[data-visitor-os="ios"] .plat-card[data-plat="ios"]::before,
html[data-visitor-os="mac"] .plat-card[data-plat="mac"]::before,
html[data-visitor-os="windows"] .plat-card[data-plat="windows"]::before,
html[data-visitor-os="android"] .plat-card[data-plat="android"]::before,
html[data-visitor-os="linux"] .plat-card[data-plat="linux"]::before { display:inline-flex; }
.wx-open-tip { position:fixed; bottom:calc(24px + env(safe-area-inset-bottom)); left:50%; z-index:80; width:max-content; max-width:calc(100% - 32px); padding:16px 22px; border:1px solid var(--border); border-radius:var(--r-doc); background:var(--ink); color:var(--white); box-shadow:var(--shadow-float); font-size:var(--fs-detail); transform:translateX(-50%); }
.facts { display:flex; flex-wrap:wrap; align-items:center; gap:8px; list-style:none; margin:20px 0 0; padding:0; }
.fact { display:inline-flex; align-items:center; gap:8px; max-width:100%; padding:6px 12px; border:1px solid var(--border); border-radius:var(--r-pill); background:var(--panel); color:var(--muted); font-size:var(--fs-small); line-height:1.5; overflow-wrap:anywhere; }
.fact svg { width:14px; height:14px; }
.hero .facts { justify-content:center; }
.official-shot { width:100%; max-width:280px; flex-shrink:0; margin:0 auto; padding:0; }
.official-shot img { display:block; width:100%; height:auto; border-radius:10px; }
.official-shot { border-radius:var(--r-sm); }
.official-shot img { outline:1px solid var(--border); }
.official-shot figcaption { padding-top:12px; color:var(--muted); font-size:var(--fs-small); line-height:1.6; }
.shot-row { display:flex; justify-content:center; align-items:flex-start; gap:32px; }
.device-entry { display:grid; grid-template-columns:44px minmax(0,1fr); gap:18px; padding:24px; border:1px solid var(--border); border-radius:var(--r-card); background:var(--panel); color:var(--ink); box-shadow:var(--shadow-sm); text-decoration:none; }
.device-entry svg { width:40px; height:48px; color:var(--accent-dark); }
.device-entry strong { display:block; font-size:var(--fs-subtitle); }
.device-entry p { margin:6px 0 0; color:var(--muted); font-size:var(--fs-detail); }
.device-entry:hover { box-shadow:var(--shadow-card); }
.article-card { display:flex; flex-direction:column; align-items:flex-start; gap:14px; padding:28px; border:1px solid var(--border); border-radius:var(--r-card); background:var(--panel); color:var(--ink); box-shadow:var(--shadow-card); }
.article-card h3 { margin:0; font-size:var(--fs-h3); }
.article-card h3 a { color:var(--ink); text-decoration:none; }
.article-card p { color:var(--muted); margin:0; }
.article-card > a:last-child { margin-top:auto; font-weight:var(--weight-semibold); }
.callout { margin:24px 0; padding:22px 24px; border:1px solid var(--border); border-left:4px solid var(--accent); border-radius:var(--r-doc); background:var(--panel-2); color:var(--ink); }
.callout p:last-child { margin-bottom:0; }
.store-guide-card { padding:28px; border:1px solid var(--border); border-radius:var(--r-card); background:var(--panel-2); color:var(--ink); }
.store-guide-card h2 { margin-top:0; font-size:var(--fs-h3); }
.store-guide-card .get-actions { margin-top:18px; }
.table-scroll { max-width:100%; min-width:0; overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--border); border-radius:var(--r-doc); }
.data-table { width:100%; border-collapse:collapse; text-align:left; font-size:var(--fs-detail); }
.data-table th,.data-table td,.prose table th,.prose table td {
  min-width:7em;
  padding:14px 18px;
  border-bottom:1px solid var(--border);
  vertical-align:top;
  overflow-wrap:normal;
  word-break:normal;
}
.data-table th,.prose table th { background:var(--panel-2); color:var(--ink); font-weight:var(--weight-semibold); }
.data-table td,.prose table td { background:var(--panel); color:var(--ink); }
.data-table tr:last-child td { border-bottom:0; }
.prose table { display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; max-width:100%; min-width:0; border-collapse:collapse; text-align:left; }
.dl-fab { position:fixed; right:24px; bottom:calc(24px + env(safe-area-inset-bottom)); z-index:30; display:inline-flex; align-items:center; gap:10px; min-height:48px; max-width:calc(100% - 32px); padding:6px 18px 6px 6px; border-radius:var(--r-pill); background:var(--panel); color:var(--ink); font-family:var(--font-body); font-size:var(--fs-fab); font-weight:var(--weight-bold); text-decoration:none; box-shadow:inset 0 0 0 1px var(--border),var(--shadow-float); transition:transform var(--ease); }
.dl-fab:hover { transform:translateY(-2px); text-decoration:none; }
.dl-fab-ico { display:grid; place-items:center; width:36px; height:36px; flex-shrink:0; border-radius:var(--r-circle); background:var(--accent-dark); color:var(--white); }
.dl-fab-ico svg { width:17px; height:17px; }
.preview-section > h2 { margin-top:0; }
.preview-row { display:flex; flex-wrap:wrap; align-items:center; gap:16px; }
.swatch-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:16px; }
.swatch { min-width:0; padding:10px; background:var(--panel); color:var(--ink); border:1px solid var(--border); border-radius:var(--r-doc); font-family:var(--font-mono); font-size:var(--fs-xs); }
.swatch::before { content:""; display:block; height:68px; margin-bottom:10px; border:1px solid var(--border); border-radius:var(--r-sm); background:var(--swatch-color,var(--bg)); }
.sw-bg { --swatch-color:var(--bg); }
.sw-panel { --swatch-color:var(--panel); }
.sw-panel2 { --swatch-color:var(--panel-2); }
.sw-border { --swatch-color:var(--border); }
.sw-border-soft { --swatch-color:var(--border-soft); }
.sw-accent { --swatch-color:var(--accent); }
.sw-dark { --swatch-color:var(--accent-dark); }
.sw-ink { --swatch-color:var(--ink); }
.sw-muted { --swatch-color:var(--muted); }
.sw-success { --swatch-color:var(--success); }
.sw-warn { --swatch-color:var(--warn); }
.sw-error { --swatch-color:var(--error); }
.sw-sun { --swatch-color:var(--sun); }
.sw-violet { --swatch-color:var(--violet); }
.sw-top { --swatch-color:var(--sky-top); }
.sw-mid { --swatch-color:var(--sky-mid); }
.sw-low { --swatch-color:var(--sky-low); }
.sw-key { --swatch-color:var(--sky-key); }
.sw-near { --swatch-color:var(--roof-near); }
.sw-far { --swatch-color:var(--roof-far); }
.sw-sunlit { --swatch-color:var(--sunlit); }
.sw-white { --swatch-color:var(--white); }
.sw-w92 { --swatch-color:var(--white-92); }
.sw-w80 { --swatch-color:var(--white-80); }
.sw-w60 { --swatch-color:var(--white-60); }
.sw-w45 { --swatch-color:var(--white-45); }
.sw-w25 { --swatch-color:var(--white-25); }
.sw-w14 { --swatch-color:var(--white-14); }
.sw-tray { --swatch-color:var(--tray); }
.sw-veil { --swatch-color:var(--veil); }
.sw-clear { --swatch-color:var(--clear); }
.shot-placeholder { display:grid; place-items:center; width:100%; aspect-ratio:750 / 1334; border:1px solid var(--border); border-radius:var(--r-sm); background:var(--panel-2); color:var(--accent-dark); text-align:center; font-family:var(--font-mono); font-size:var(--fs-small); }
.preview-subtitle { font-size:var(--fs-subtitle); color:var(--muted); }
@media (min-width:961px) and (max-width:1180px) {
  .feature { gap:24px; padding:32px; }
  .doc--rule { width:230px; left:16px; }
  .doc--policy { width:190px; right:12px; top:150px; }
}
@media (max-width:960px) {
  .hero { min-height:0; padding:16px 16px 84px; }
  .hero-body { margin-top:28px; }
  .device { display:flex; flex-wrap:wrap; justify-content:center; gap:14px 18px; width:100%; max-width:640px; }
  .device-col { width:100%; min-width:0; }
  .links { display:none; }
  .tag { position:static; box-shadow:var(--shadow-sm); }
  .tag--direct { box-shadow:inset 0 0 0 1px var(--border),var(--shadow-sm); }
  .lead,.rc-hint { display:none; }
  .rules { overflow-x:auto; }
  .rule code { font-size:var(--fs-note); }
  .platforms { flex-wrap:wrap; justify-content:center; padding:12px 14px; border-radius:var(--r-mobile); }
  .plat-list { gap:10px 16px; }
  .roofs { width:260px; height:160px; }
  .cloud--c,.cloud--d { display:none; }
  .sheet { padding:0 16px 80px; }
  .tabs { justify-content:flex-start; }
  .feature { grid-template-columns:1fr; gap:28px; padding:26px 22px; }
  .feature h3 { font-size:var(--fs-h3); }
  .doc-links { display:none; }
  .doc-stage { display:grid; gap:16px; min-height:0; padding:20px; }
  .doc { position:static; width:auto; min-width:0; }
  .plat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:768px) {
  .hero h1 { font-size:var(--fs-h1-mobile); letter-spacing:var(--ls-cjk); }
}
@media (max-width:640px) {
  .lede { font-size:var(--fs-mobile-lede); }
  .get-actions { width:100%; }
  .get-actions .btn { flex:1 1 220px; }
  .hero .get-actions { max-width:340px; }
  .platforms { gap:10px; }
  .plat-list { gap:8px 12px; }
  .plat-list a { font-size:var(--fs-xs); }
  .plat-price { font-size:var(--fs-xs); text-align:center; }
  .facts { justify-content:center; gap:6px; }
  .fact { font-size:var(--fs-xs); padding:5px 9px; }
  .plat-grid { grid-template-columns:minmax(0,1fr); }
  .plat-card { padding:24px; }
  .shot-row { flex-direction:column; align-items:center; }
  .toc--sticky { position:static; }
  .dl-fab { right:16px; bottom:calc(16px + env(safe-area-inset-bottom)); width:52px; height:52px; min-height:52px; padding:8px; justify-content:center; border-radius:var(--r-circle); }
  .dl-fab-label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  #install table,#install tbody,#install tr,#install td,#install th { display:block; width:100%; min-width:0; }
  #install thead { display:none; }
  #install tr { border-bottom:1px solid var(--border); }
  #install td { border:0; }
  #install td:first-child { font-weight:var(--weight-bold); background:var(--panel-2); color:var(--ink); }
  #install code { display:block; max-width:100%; overflow-x:auto; white-space:pre; overflow-wrap:normal; word-break:normal; padding-bottom:4px; }
  #install .table-scroll { overflow-x:auto; }
}
@media (prefers-reduced-motion:reduce) {
  .cloud { animation:none; }
  .dl-fab,.appstore-button,.tab { transition:none; }
  .dl-fab:hover,.appstore-button:hover { transform:none; }
}