:root{--paper:#fff8df;--ink:#2b2925;--orange:#f46a35;--yellow:#ffd34e;--green:#b8d86c;--blue:#85c7d9;--line:#3b3832;--font-zh:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;color:var(--ink);font-family:var(--font-zh);line-height:1.7;background:var(--paper)}a{color:inherit;text-underline-offset:4px}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ad390f;outline-offset:5px}[hidden]{display:none!important}.wrap{width:min(1140px,calc(100% - 34px));margin:auto}
.nav{display:flex;align-items:center;padding:22px 0;gap:20px}.logo{font-size:21px;font-weight:900;text-decoration:none;transform:rotate(-2deg);white-space:nowrap}.logo u{text-decoration-color:var(--orange);text-decoration-thickness:5px}.navlinks{margin-left:auto;display:flex;gap:22px;align-items:center;font-weight:700;font-size:14px}.navlinks a{text-decoration:none}.github{border:2px solid var(--line);padding:9px 13px;background:#fff;box-shadow:3px 3px 0 var(--line);transform:rotate(1deg)}
.hero{width:min(1320px,calc(100% - 48px));display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:center;padding:66px 0 90px}.hero>div{min-width:0}.hero h1{font-size:clamp(32px,4.4vw,60px);font-weight:700;letter-spacing:normal;line-height:1.3;margin:26px 0 28px;line-break:strict}.headline-line{display:block;max-width:100%;text-wrap:balance}.headline-accent{text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:.09em;text-underline-offset:.17em;text-decoration-skip-ink:none}.hero p{font-size:17px;line-height:1.85;max-width:29em}.buttons{display:flex;gap:13px;margin-top:28px;flex-wrap:wrap}.btn{display:inline-block;border:2px solid var(--line);padding:11px 17px;text-decoration:none;font-weight:800;background:#fff;box-shadow:4px 4px 0 var(--line);transition:.15s}.btn:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--line)}.btn.orange{background:var(--orange);color:#222}
.desk{position:relative;min-height:500px}.note{border:2px solid var(--line);box-shadow:7px 7px 0 #292621;background:#fff}.note.main{position:absolute;inset:32px 12px 0 3px;padding:12px;display:flex;flex-direction:column;overflow:hidden}.tape{position:absolute;width:80px;height:24px;background:#85c7d9cc;left:32%;top:21px;transform:rotate(-6deg);z-index:3}.windowtop{display:flex;gap:7px;border-bottom:2px solid var(--line);padding:7px 5px 13px;flex:none}.windowtop i{width:10px;height:10px;border:2px solid var(--line);border-radius:50%;background:var(--yellow)}.windowtop i:nth-child(2){background:var(--orange)}.hero-viewport{--preview-scale:.88;position:relative;flex:1;min-height:0;overflow:hidden}.hero-frame{position:absolute;inset:0;display:block;width:calc(100% / var(--preview-scale) + var(--preview-scrollbar-width, 0px));height:calc(100% / var(--preview-scale));border:0;background:#faf9f5;transform:scale(var(--preview-scale));transform-origin:top left}
.section{padding:92px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:38px}.section h2{font-size:clamp(28px,3.6vw,44px);font-weight:700;letter-spacing:normal;line-height:1.35;margin:0;text-wrap:balance}.section-head p{max-width:385px;line-height:1.75;font-size:16px;margin:0}.examples-section{width:min(1320px,calc(100% - 64px))}.examples-section .section-head{margin-bottom:30px}.examples-section h2{font-size:clamp(28px,3vw,36px)}
.sample-book{display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px;align-items:start}
.hero .note{box-shadow:none}
.reading-track{position:relative;overflow-anchor:none}.reading-pin{display:flow-root}.reading-track[data-reading-native="true"] .sample-sidebar{position:static}.reading-track[data-reading-native="true"] .preview-error{position:absolute;inset:auto 12px 12px;z-index:3;background:#fff8e8}
.sample-sidebar{position:sticky;top:28px;min-width:0;padding:4px 6px 6px 0}.sample-tabs{display:grid;gap:10px}
.sample-tabs button{display:flex;align-items:center;gap:12px;width:100%;padding:13px 14px;border:2px solid transparent;background:transparent;color:var(--ink);text-align:left;font-size:16px;font-weight:800;line-height:1.5}.sample-tabs button:hover{background:#fff1b8}.sample-tabs button[aria-pressed="true"]{border-color:var(--line);background:var(--yellow);box-shadow:3px 3px 0 var(--line)}.sample-tabs button:after{content:"→";margin-left:auto;visibility:hidden}.sample-tabs button[aria-pressed="true"]:after{visibility:visible}
.preview-open{display:block;margin-top:26px;padding:11px 10px;border:2px solid var(--line);background:#fffdf7;font-size:16px;font-weight:800;text-align:center;text-decoration:none}.preview-open:hover{background:#e1edf0}
.sample-document{position:relative;min-width:0;border:2px solid var(--line);background:#faf9f5}
.sample-note{padding:12px 22px;margin:0;border-bottom:1px dashed #c1b699;background:#fff8e8;font-size:16px;line-height:1.7}.download-notice{color:#923209;font-weight:650}
.preview-stage{position:relative;height:clamp(480px,75svh,800px);overflow:hidden;overflow-anchor:none;background:#faf9f5}.preview-pane{position:absolute;inset:0;display:flex;flex-direction:column;height:100%;opacity:0;pointer-events:none;background:#faf9f5}.preview-pane:first-child{opacity:1;z-index:1;pointer-events:auto}.preview-stage iframe{display:block;flex:1;min-height:0;width:calc(100% + var(--preview-scrollbar-width,0px));height:100%;border:0;background:#faf9f5}.preview-error{margin:0;padding:14px 22px;font-size:16px;color:#923209}

.theme-ticket{display:grid;grid-template-columns:auto minmax(0,1fr);gap:24px;align-items:center;margin:32px 4px 0;padding:24px 28px;border:2px dashed #736746;background:#fff1b8}.palette{display:flex;gap:4px;transform:rotate(-5deg)}.palette i{width:27px;height:42px;border:2px solid var(--line);background:var(--swatch);box-shadow:2px 2px 0 var(--line)}.theme-ticket p{margin:0;font-size:15px;line-height:1.85}.theme-ticket strong{font-size:17px}.capability-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px;font-size:13px}.capability-tags span{padding:2px 9px;border:1px solid #8c815f;background:#fff8df}
.usage-section{border-top:2px dashed #b8aa81}.os-tabs{display:flex;gap:20px;margin:6px 0 12px}.os-tabs button{background:none;border:0;border-bottom:3px solid transparent;padding:5px 0;font-weight:700;font-size:14px;color:#655d48}.os-tabs button[aria-selected="true"]{color:#2b2925;border-bottom-color:var(--orange)}
.privacy{background:#2b2925;color:#fff8df;border-block:2px solid var(--line);padding:80px 0}.privacy-head{display:flex;justify-content:space-between;gap:36px;align-items:center;margin-bottom:45px}.privacy h2{font-size:clamp(28px,3.6vw,42px);line-height:1.4;font-weight:700;letter-spacing:normal;margin:0;text-wrap:balance}.privacy-head p{max-width:410px;font-size:16px;color:#d1c7b0}.privacy-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:45px;align-items:start}.folder{color:var(--ink);background:#ffedb0;border:2px solid #fff8df;padding:28px;box-shadow:7px 7px 0 #100f0c;position:relative;min-width:0}.folder-tag{display:inline-block;background:var(--green);border:2px solid var(--line);padding:4px 14px;font-weight:800;font-size:14px;transform:rotate(-3deg);margin-bottom:20px}.folder .root{font:15px/1.8 ui-monospace,Consolas,monospace;overflow-wrap:anywhere;margin:20px 0 12px}.folder pre{font:13px/2 ui-monospace,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:18px 0;border-top:2px dashed #baaa73}.folder p{font-size:14px;margin:6px 0 0}.safety-notes{display:grid;gap:22px}.safety-notes article{display:grid;grid-template-columns:27px minmax(0,1fr);gap:14px}.check{width:23px;height:23px;border:1px solid #e9eccd;background:var(--green);color:var(--ink);text-align:center;font-weight:900;margin-top:4px}.safety-notes h3{font-size:20px;margin:0 0 7px;line-height:1.5}.safety-notes p{font-size:15px;line-height:1.85;color:#d1c7b0;margin:0}.privacy a:focus-visible{outline-color:var(--yellow)}
.last-note{display:flex;gap:24px;justify-content:space-between;align-items:center;padding:58px 0}.last-note p{font-size:22px;font-weight:700;margin:0;line-height:1.5}.last-note .btn{transform:rotate(-2deg)}.foot{border-top:2px dashed #b8aa81;display:flex;gap:24px;flex-wrap:wrap;justify-content:space-between;padding:28px 0;font-weight:700;font-size:13px}
@media(max-width:1050px){.sample-book{grid-template-columns:176px minmax(0,1fr);gap:20px}.sample-tabs button{padding:12px 10px;gap:10px}}
@media(max-width:800px){.examples-section{width:calc(100% - 24px)}.sample-book{grid-template-columns:1fr;gap:20px}.sample-sidebar{position:static;padding:0}.sample-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sample-tabs button{font-size:15px;padding:10px}.sample-tabs button:last-child{grid-column:1/-1}.preview-open{margin-top:16px}}
@media(max-height:580px){.sample-sidebar{position:static}}
@media(max-width:860px){.navlinks>a:not(.github){display:none}.hero{width:calc(100% - 34px);grid-template-columns:1fr;padding-top:45px;gap:32px}.desk{min-height:440px;max-width:660px;width:100%;margin:auto}.note.main{inset:28px 16px 0 0}.section-head,.privacy-head{display:block}.section-head p,.privacy-head p{margin-top:22px}.section{padding:70px 0}.privacy-grid{grid-template-columns:1fr}.last-note{flex-wrap:wrap}}
@media(max-width:480px){.hero{padding-bottom:70px}.sample-note{padding:10px 12px}.theme-ticket{grid-template-columns:1fr;padding:22px;gap:18px}.palette{transform:none}.palette i{width:22px;height:28px}.folder{padding:22px 18px}.folder pre{font-size:12px}.section-head h2{max-width:11em}.github{font-size:12px}.last-note p{font-size:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}
/* 双语入口始终可见；英文正文沿用同一版式，不缩放工作台。 */
.language-link{white-space:nowrap;text-underline-offset:4px}
.navlinks .language-link{text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:2px}
/* 英文宣传区用书页式标题；工作台和嵌入文档保留各自字体。 */
html[lang="en"]{
  --font-zh:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;
  --font-editorial:"Palatino Linotype","Book Antiqua",Palatino,Georgia,serif;
}
html[lang="en"] :is(.hero h1,.section-head h2,.privacy-head h2,.last-note p){
  font-family:var(--font-editorial);
  font-weight:400;
  letter-spacing:-.025em;
}
html[lang="en"] .hero h1{
  font-size:clamp(38px,4.8vw,66px);
  line-height:1.16;
}
html[lang="en"] .headline-accent{
  font-style:italic;
  text-decoration-thickness:.05em;
  text-underline-offset:.16em;
}
html[lang="en"] .hero p{
  color:#595246;
  font-weight:400;
  letter-spacing:.005em;
  line-height:1.9;
}
html[lang="en"] :is(.section-head h2,.privacy-head h2){line-height:1.25}
html[lang="en"] .btn{
  padding:13px 18px;
  font-size:15px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:.005em;
}
html[lang="en"] :is(.navlinks,.sample-tabs button,.preview-open,.folder-tag,.safety-notes h3,.foot){font-weight:600}
html[lang="en"] .last-note p{font-size:clamp(24px,2.3vw,28px);line-height:1.4}
@media(max-width:860px){.navlinks>a.language-link{display:inline-block}}
@media(max-width:480px){.nav{gap:12px}.navlinks{gap:12px}.language-link{font-size:13px}}

/* 整站以固定视口场景翻页；嵌入的 HTML 保持自己的滚动与交互。 */
:root{--site-nav-height:76px;--site-turn-duration:460ms}
html[data-site-pages="ready"],html[data-site-pages="ready"] body{height:100%;overflow:hidden}
html[data-site-pages="ready"] body{overscroll-behavior:none;touch-action:pan-x pinch-zoom}
html[data-site-pages="ready"] .nav{
  position:fixed;z-index:50;top:0;left:0;width:100%;height:var(--site-nav-height);
  padding:0 max(24px,calc((100vw - 1320px)/2));background:var(--paper);border-bottom:1px solid #b8aa8166;transform:none
}
html[data-site-pages="ready"] [data-site-pages]{
  position:fixed;z-index:1;inset:var(--site-nav-height) 0 0;display:flex;flex-direction:column;
  width:100%;height:calc(100dvh - var(--site-nav-height));transform:translate3d(0,var(--site-page-offset,0%),0);
  will-change:transform
}
html[data-site-pages="ready"][data-site-motion="ready"] [data-site-pages]{
  transition:transform var(--site-turn-duration) cubic-bezier(.76,0,.24,1)
}
html[data-site-pages="ready"] [data-site-pages]>[data-site-page]{
  position:relative;flex:0 0 100%;height:100%;min-height:100%;max-height:100%;overflow:hidden;
  padding-bottom:0;box-sizing:border-box
}

html[data-site-pages="ready"] .hero{
  align-content:center;gap:clamp(28px,4vw,58px);padding-top:clamp(16px,3vh,36px);padding-bottom:0
}
html[data-site-pages="ready"] .hero h1{margin:10px 0 20px}
html[data-site-pages="ready"] .hero p{margin:0}
html[data-site-pages="ready"] .hero .buttons{margin-top:22px}
html[data-site-pages="ready"] .desk{height:min(58vh,520px);min-height:320px}
html[data-site-pages="ready"] .note.main{inset:24px 12px 0 3px}

html[data-site-pages="ready"] .examples-section{
  display:flex;flex-direction:column;padding-top:14px;padding-bottom:0
}
html[data-site-pages="ready"] .examples-section .reading-track,
html[data-site-pages="ready"] .examples-section .reading-pin{display:flex;flex:1;flex-direction:column;min-height:0;height:100%}
html[data-site-pages="ready"] .examples-section .section-head{flex:none;margin-bottom:12px}
html[data-site-pages="ready"] .examples-section .sample-book{flex:1;min-height:0}
html[data-site-pages="ready"] .examples-section .sample-sidebar{position:static}
html[data-site-pages="ready"] .examples-section .sample-document{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}
html[data-site-pages="ready"] .examples-section .sample-note{flex:none;padding-block:8px}
html[data-site-pages="ready"] .examples-section .preview-stage{flex:1;height:auto;min-height:0}

html[data-site-pages="ready"] .theme-page{display:grid;align-content:center;padding-top:24px;padding-bottom:0}
html[data-site-pages="ready"] .theme-page .section-head{margin-bottom:18px}
html[data-site-pages="ready"] .theme-page .theme-ticket{margin-top:0;padding:clamp(24px,4vw,46px)}

html[data-site-pages="ready"] .usage-section{display:flex;align-items:stretch}
html[data-site-pages="ready"] .usage-wrap{
  --usage-rail:clamp(124px,10vw,148px);position:relative;display:block;width:min(1440px,calc(100% - clamp(32px,6vw,96px)));
  height:100%;padding:0;min-height:0
}
html[data-site-pages="ready"] .usage-section .section-head{
  position:absolute;z-index:2;top:4px;left:0;width:var(--usage-rail);margin:0;padding-right:18px;pointer-events:none
}
html[data-site-pages="ready"] .usage-section .section-head h2{
  max-width:12ch;margin:0;color:#655e50;font-size:clamp(15px,1.15vw,18px);font-weight:750;line-height:1.35;letter-spacing:0
}
html[data-site-pages="ready"] .usage-player{position:relative;display:grid;grid-template-columns:var(--usage-rail) minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:stretch;height:100%;gap:12px;min-height:0}
html[data-site-pages="ready"] .usage-switcher{align-self:start;gap:7px;padding:clamp(76px,9vh,88px) 2px 0 0}
html[data-site-pages="ready"] .usage-switcher button{min-width:0;padding:9px 10px;font-size:14px;text-align:left}
html[data-site-pages="ready"] .usage-main{display:flex;flex-direction:column;min-height:0}
html[data-site-pages="ready"] [data-usage-stage]{display:grid;flex:1;min-height:0}
html[data-site-pages="ready"] [data-usage-stage]>[data-workbench]:not([hidden]){height:100%!important;min-height:0}
html[data-site-pages="ready"] .usage-controls{position:absolute;z-index:2;left:0;bottom:9px;width:var(--usage-rail);display:grid;align-content:end;margin:0;padding-right:4px;gap:4px}
html[data-site-pages="ready"] :is(.usage-chapters,.usage-playback){gap:2px 10px}
html[data-site-pages="ready"] .usage-chapters{display:grid;grid-template-columns:minmax(0,1fr)}
html[data-site-pages="ready"] .usage-playback{justify-content:flex-start;margin-top:3px}
html[data-site-pages="ready"] .usage-controls button{padding:3px 4px;border-left:2px solid transparent;font-size:11px;line-height:1.3;text-align:left;white-space:normal}
html[data-site-pages="ready"] .usage-chapters button[aria-current="step"]{border-bottom-color:transparent;border-left-color:var(--orange)}
html[data-site-pages="ready"] .usage-progress{position:absolute;z-index:2;left:0;bottom:3px;width:var(--usage-rail);margin:0}
html[data-site-pages="ready"] .usage-load-feedback{position:absolute;z-index:5;right:10px;bottom:10px;margin:0;padding:7px 10px;border:1px solid #9b8a62;background:#fff8e8;font-size:12px}

html[data-site-pages="ready"] :is(.storage-page,.safety-page){display:flex;align-items:center;padding-block:0}
html[data-site-pages="ready"] :is(.storage-page,.safety-page)>.wrap{max-height:100%;min-height:0}
html[data-site-pages="ready"] .privacy-head{margin-bottom:clamp(14px,3vh,28px)}
html[data-site-pages="ready"] .privacy-head h2{font-size:clamp(28px,3.4vw,42px)}
html[data-site-pages="ready"] .storage-page .privacy-grid{grid-template-columns:minmax(0,820px);justify-content:center}
html[data-site-pages="ready"] .storage-page .folder{padding:clamp(18px,3vh,28px)}
html[data-site-pages="ready"] .storage-page .folder pre{padding-block:12px;font-size:12px;line-height:1.7}
html[data-site-pages="ready"] .safety-notes{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,2.4vh,24px) 34px}
html[data-site-pages="ready"] .safety-notes h3{font-size:17px;margin-bottom:4px}
html[data-site-pages="ready"] .safety-notes p{font-size:13px;line-height:1.65}
html[data-site-pages="ready"] .last-note{padding:clamp(14px,2.7vh,26px) 0 10px}
html[data-site-pages="ready"] .last-note p{font-size:clamp(18px,2vw,24px)}
html[data-site-pages="ready"] .foot{padding:10px 0 0}

@media(max-width:860px){
  :root{--site-nav-height:64px}
  html[data-site-pages="ready"] .nav{padding-inline:12px}
  html[data-site-pages="ready"] .hero{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:10px;width:calc(100% - 24px);padding-top:6px}
  html[data-site-pages="ready"] .hero h1{font-size:clamp(29px,9vw,44px);line-height:1.18;margin:0 0 7px}
  html[data-site-pages="ready"] .hero p{font-size:14px;line-height:1.6}
  html[data-site-pages="ready"] .hero .buttons{margin-top:10px}
  html[data-site-pages="ready"] .hero .btn{padding:7px 10px;font-size:12px;box-shadow:2px 2px 0 var(--line)}
  html[data-site-pages="ready"] .desk{width:100%;height:100%;min-height:220px;max-width:none}
  html[data-site-pages="ready"] .note.main{inset:15px 4px 0}
  html[data-site-pages="ready"] .tape{top:7px}
  html[data-site-pages="ready"] .examples-section{width:calc(100% - 20px);padding-top:5px}
  html[data-site-pages="ready"] .examples-section .section-head{margin-bottom:5px}
  html[data-site-pages="ready"] .examples-section h2{font-size:23px}
  html[data-site-pages="ready"] .examples-section .sample-book{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:7px}
  html[data-site-pages="ready"] .examples-section .sample-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}
  html[data-site-pages="ready"] .examples-section .sample-tabs button{display:block;padding:4px 5px;font-size:10.5px;text-align:center;white-space:normal}
  html[data-site-pages="ready"] .examples-section .sample-tabs button:last-child{grid-column:1/-1}
  html[data-site-pages="ready"] .examples-section .sample-tabs button::after{display:none}
  html[data-site-pages="ready"] .examples-section .preview-open{display:none}
  html[data-site-pages="ready"] .examples-section .sample-note{padding:5px 8px;font-size:11px;line-height:1.45}
  html[data-site-pages="ready"] .theme-page{width:calc(100% - 24px)}
  html[data-site-pages="ready"] .theme-page .section-head{margin-bottom:8px}
  html[data-site-pages="ready"] .theme-page .theme-ticket{grid-template-columns:1fr;padding:18px;gap:14px}
  html[data-site-pages="ready"] .usage-wrap{--usage-rail:108px;width:calc(100% - 12px);padding-top:3px}
  html[data-site-pages="ready"] .usage-section .section-head{display:none}
  html[data-site-pages="ready"] .usage-player{grid-template-columns:var(--usage-rail) minmax(0,1fr);gap:6px}
  html[data-site-pages="ready"] .usage-switcher{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:4px;padding:0 3px 0 0}
  html[data-site-pages="ready"] .usage-switcher button{min-width:0;padding:7px 6px;font-size:11px;text-align:left}
  html[data-site-pages="ready"] .usage-controls button{font-size:10px}
  html[data-site-pages="ready"] :is(.storage-page,.safety-page)>.wrap{width:calc(100% - 24px)}
  html[data-site-pages="ready"] .privacy-head{margin-bottom:12px}
  html[data-site-pages="ready"] .privacy-head h2{font-size:25px}
  html[data-site-pages="ready"] .privacy-head p{margin-top:6px;font-size:12px;line-height:1.5}
  html[data-site-pages="ready"] .storage-page .folder{padding:14px}
  html[data-site-pages="ready"] .storage-page .folder-tag{margin-bottom:7px}
  html[data-site-pages="ready"] .storage-page .folder .root{margin:8px 0;font-size:11px}
  html[data-site-pages="ready"] .storage-page .folder pre{font-size:10px;line-height:1.45;padding-block:8px}
  html[data-site-pages="ready"] .storage-page .folder p{font-size:10px;line-height:1.5}
  html[data-site-pages="ready"] .safety-notes{grid-template-columns:1fr;gap:8px}
  html[data-site-pages="ready"] .safety-notes article{grid-template-columns:20px minmax(0,1fr);gap:8px}
  html[data-site-pages="ready"] .safety-notes .check{width:18px;height:18px;font-size:11px}
  html[data-site-pages="ready"] .safety-notes h3{font-size:14px;margin:0}
  html[data-site-pages="ready"] .safety-notes p{font-size:10px;line-height:1.45}
  html[data-site-pages="ready"] .last-note{padding:9px 0 5px;gap:8px;flex-wrap:nowrap}
  html[data-site-pages="ready"] .last-note p{font-size:14px}
  html[data-site-pages="ready"] .last-note .btn{padding:6px 8px;font-size:11px;white-space:nowrap}
  html[data-site-pages="ready"] .foot{padding-top:5px;font-size:9px;gap:8px}
}

@media(max-width:700px){
  html[data-site-pages="ready"] .usage-player{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:4px}
  html[data-site-pages="ready"] .usage-switcher{grid-template-columns:repeat(4,minmax(0,1fr));padding-right:0}
  html[data-site-pages="ready"] .usage-switcher button{padding:6px 3px;text-align:center}
  html[data-site-pages="ready"] .usage-controls{position:static;width:auto;display:flex;margin-top:4px;padding-right:0;gap:4px 12px}
  html[data-site-pages="ready"] .usage-chapters{display:flex;gap:2px 9px}
  html[data-site-pages="ready"] .usage-playback{margin-top:0;gap:9px}
  html[data-site-pages="ready"] .usage-controls button{padding:2px 0;border-left:0;border-bottom:2px solid transparent;font-size:10px;line-height:1.3;text-align:center;white-space:nowrap}
  html[data-site-pages="ready"] .usage-chapters button[aria-current="step"]{border-bottom-color:var(--orange)}
  html[data-site-pages="ready"] .usage-progress{position:static;width:auto;margin-top:3px}
}

@media(max-height:680px) and (min-width:861px){
  :root{--site-nav-height:62px}
  html[data-site-pages="ready"] .hero{padding-top:4px}
  html[data-site-pages="ready"] .desk{height:min(58vh,420px);min-height:260px}
  html[data-site-pages="ready"] .examples-section .section-head{display:none}
  html[data-site-pages="ready"] .usage-section .section-head{display:none}
  html[data-site-pages="ready"] .usage-switcher{padding-top:0}
  html[data-site-pages="ready"] .privacy-head{margin-bottom:10px}
  html[data-site-pages="ready"] .privacy-head p{font-size:13px}
  html[data-site-pages="ready"] .folder{padding:14px}
  html[data-site-pages="ready"] .folder pre{padding-block:7px;line-height:1.45}
  html[data-site-pages="ready"] .safety-notes{gap:10px 28px}
  html[data-site-pages="ready"] .last-note{padding:8px 0 4px}
  html[data-site-pages="ready"] .foot{padding-top:4px}
}

@media(prefers-reduced-motion:reduce){
  html[data-site-pages="ready"] [data-site-pages]{transition:none!important}
}
