@font-face{font-family:Outfit;src:url('assets/Outfit-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Outfit;src:url('assets/Outfit-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Outfit;src:url('assets/Outfit-700.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Pixelify;src:url('assets/PixelifySans-400.ttf') format('truetype');font-display:swap}
@font-face{font-family:Space Grotesk;src:url('assets/SpaceGrotesk-variable.ttf') format('truetype');font-weight:300 700;font-display:swap}

:root {
  color-scheme:dark;
  --bg:#101113;
  --ink:#f6f5f3;
  --muted:#b4b5ba;
  --line:#35373d;
  --accent:#ff7846;
  --panel:#18191d;
  --stage-ink:#f7f5f3;
  --stage-muted:#bdbfc6;
  --stage-edge:#3e4149;
  --stage-accent:#9ae8ce;
  --shell:1280px;
  --mono:ui-monospace,Consolas,monospace;
  font-family:'Space Grotesk',system-ui,sans-serif;
  background:var(--bg);
  color:var(--ink);
}
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; }
img { display:block; max-width:100%; }
h1,h2,h3,h4,p { margin:0; }
h1,h2,h3 { text-wrap:balance; }
p { text-wrap:pretty; }
a { color:inherit; text-decoration:none; }
button,input,select { font:inherit; }
button { cursor:pointer; }
a,button,summary,input,select { -webkit-tap-highlight-color:#ff784633; touch-action:manipulation; }
:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
[hidden] { display:none !important; }
[id] { scroll-margin-top:92px; }
.shell { width:min(var(--shell),calc(100% - 96px)); margin-inline:auto; }
.visually-hidden,.skip:not(:focus) { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip:focus { position:fixed; top:8px; left:9px; z-index:10; padding:10px 14px; background:var(--bg); }

.site-header { position:sticky; top:0; z-index:5; background:#101113f7; border-bottom:1px solid var(--line); }
.header-inner { min-height:69px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:clamp(20px,4vw,55px); }
.brand { display:inline-flex; align-items:center; justify-self:start; gap:9px; font-size:1.45rem; line-height:1; font-weight:700; letter-spacing:-.045em; width:max-content; }
.brand img { border-radius:6px; background:#080808; }
.site-nav,.footer-inner nav { display:flex; align-items:center; gap:clamp(16px,2.35vw,36px); }
.site-nav a,.footer-inner nav a { color:var(--muted); font-size:.95rem; }
.site-nav a { color:#d2d2d7; }
.site-nav a:hover,.footer-inner nav a:hover { color:var(--ink); text-decoration:underline; text-underline-offset:5px; }
.site-nav [aria-current] { color:var(--ink); text-decoration:underline; text-decoration-color:var(--accent); text-decoration-thickness:2px; text-underline-offset:6px; }
.button { display:inline-flex; align-items:center; justify-content:center; width:max-content; max-width:100%; gap:8px; min-height:46px; padding:0 15px; border:1px solid transparent; border-radius:4px; font-size:.94rem; font-weight:700; line-height:1.15; text-align:center; }
.button-primary { background:var(--accent); color:#1d0c05; }
.button-primary:hover { background:#ff956e; }
.button-quiet { border-color:#686b73; background:transparent; color:var(--ink); }
.button-quiet:hover { border-color:#e7e5e1; background:#24262b; }
.header-action { justify-self:end; min-height:37px; padding-inline:11px; font-size:.89rem; }

.ico { position:relative; display:inline-block; width:16px; height:16px; flex:0 0 auto; color:inherit; }
.ico::before,.ico::after { content:""; position:absolute; display:block; }
.ico-download::before { width:12px; height:6px; border:1.6px solid currentColor; border-top:0; border-radius:0 0 2px 2px; left:2px; bottom:1px; }
.ico-download::after { width:6px; height:6px; border:solid currentColor; border-width:0 1.6px 1.6px 0; left:5px; top:4px; transform:rotate(45deg); }
.ico-download { background:linear-gradient(currentColor,currentColor) center 1px / 1.6px 7px no-repeat; }
.ico-play::before { top:3px; left:5px; border-left:8px solid currentColor; border-top:5px solid transparent; border-bottom:5px solid transparent; }
.ico-home::before { width:8px; height:8px; border:solid currentColor; border-width:1.5px 0 0 1.5px; transform:rotate(45deg); left:4px; top:3px; }
.ico-home::after { width:11px; height:8px; border:solid currentColor; border-width:0 1.5px 1.5px; left:2.5px; top:7px; border-radius:1px; }
.ico-library::before { inset:3px 2px; border:1.5px solid currentColor; border-radius:2px; }
.ico-library::after { left:5px; right:5px; top:6px; height:1px; background:currentColor; box-shadow:0 3px currentColor; }
.ico-console::before { inset:2px 1px; border:1.5px solid currentColor; border-radius:2px; }
.ico-console::after { width:4px; height:4px; left:4px; top:6px; border:solid currentColor; border-width:1.4px 1.4px 0 0; transform:rotate(45deg); }
.ico-console { background:linear-gradient(currentColor,currentColor) 9px 10px / 4px 1px no-repeat; }
.ico-scenery::before { inset:2px 1px; border:1.5px solid currentColor; border-radius:2px; }
.ico-scenery::after { left:4px; top:7px; width:7px; height:6px; background:currentColor; clip-path:polygon(0 100%,40% 15%,65% 65%,83% 36%,100% 100%); }
.ico-tune { background:linear-gradient(currentColor,currentColor) center 4px / 13px 1px no-repeat,linear-gradient(currentColor,currentColor) center 10px / 13px 1px no-repeat; }
.ico-tune::before,.ico-tune::after { border:1px solid currentColor; border-radius:2px; background:var(--bg); width:4px; height:5px; }
.ico-tune::before { left:5px; top:2px; }.ico-tune::after { right:4px; top:8px; }

.hero { position:relative; isolation:isolate; overflow:clip; }
.hero-grid { display:grid; grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); align-items:center; gap:clamp(32px,4.4vw,67px); padding-block:clamp(58px,6.1vw,94px) clamp(48px,4.6vw,70px); }
.hero-intro { min-width:0; }
h1 { font-size:clamp(3.2rem,5.25vw,5.25rem); line-height:.98; letter-spacing:-.074em; font-weight:700; }
.hero h1 { text-wrap:initial; }
.hero-copy { margin-top:24px; }
.lede,.page-intro > p { max-width:36ch; color:var(--muted); font-size:clamp(1.03rem,1.45vw,1.18rem); line-height:1.53; }
.actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px 18px; margin-top:23px; }
.hero-platform { margin-top:16px; color:var(--muted); font:0.78rem/1.4 var(--mono); }
.live-badge { display:flex; align-items:center; gap:9px; margin-top:17px; color:var(--muted); font-size:.92rem; }
.live-badge::before { content:""; flex:0 0 auto; width:7px; height:7px; border-radius:50%; background:#7bd98b; box-shadow:0 0 7px #7bd98b99; }
.text-link { color:var(--ink); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; }
.text-link:hover { color:var(--accent); }

.preview { position:relative; min-width:0; }
.preview::before { content:""; position:absolute; z-index:-1; inset:-27px -21px 7px; background:repeating-linear-gradient(0deg,#46485166 0 1px,transparent 1px 27px),repeating-linear-gradient(90deg,#46485166 0 1px,transparent 1px 27px); mask-image:radial-gradient(ellipse,#000 47%,transparent 106%); }
.preview::after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:-17px -16px 7px;
  color:#686a73;
  background:
    linear-gradient(currentColor,currentColor) left top / 10px 1px,
    linear-gradient(currentColor,currentColor) left top / 1px 10px,
    linear-gradient(currentColor,currentColor) right top / 10px 1px,
    linear-gradient(currentColor,currentColor) right top / 1px 10px,
    linear-gradient(currentColor,currentColor) left bottom / 10px 1px,
    linear-gradient(currentColor,currentColor) left bottom / 1px 10px,
    linear-gradient(currentColor,currentColor) right bottom / 10px 1px,
    linear-gradient(currentColor,currentColor) right bottom / 1px 10px;
  background-repeat:no-repeat;
}
.app-window { color-scheme:dark; overflow:hidden; border:1px solid #575962; border-radius:8px; background:var(--panel); box-shadow:0 18px 49px #0009; color:var(--stage-ink); font-family:Outfit,system-ui,sans-serif; }
.app-window :focus-visible,.tuning-section :focus-visible,.code-block :focus-visible { outline-color:#b9e8dc; outline-offset:2px; }
.window-bar { height:37px; display:flex; align-items:center; justify-content:space-between; padding:0 13px; border-bottom:1px solid #42444c; background:#25262b; font-size:.875rem; font-weight:600; }
.window-bar > div,.window-controls { display:flex; align-items:center; gap:8px; }
.window-bar img { border-radius:4px; }
.window-controls { gap:13px !important; }
.window-controls b { width:8px; height:1px; background:#b9bbc4; }
.window-controls b:nth-child(2) { height:7px; border:1px solid #b9bbc4; background:transparent; }
.window-controls b:nth-child(3) { position:relative; rotate:45deg; }
.window-controls b:nth-child(3)::after { content:""; position:absolute; width:8px; height:1px; rotate:90deg; background:#b9bbc4; }
.app-layout { display:grid; grid-template-columns:145px minmax(0,1fr); }
.app-rail { display:flex; flex-direction:column; gap:5px; padding:10px 5px; background:#1b1c20; border-right:1px solid #35373f; }
.rail-button,.scenery-button { min-height:37px; padding:0 7px; display:flex; align-items:center; gap:8px; color:#d4d6dc; border:1px solid transparent; border-radius:4px; background:transparent; font-size:.875rem; text-align:left; }
.rail-button[aria-selected="true"],.rail-button:hover,.scenery-button:hover { background:#303239; border-color:#51545c; color:white; }
.rail-button[aria-selected="true"] { border-left-color:var(--accent); box-shadow:inset 2px 0 var(--accent); }
.pixel-tile { display:inline-grid; place-items:center; width:34px; height:34px; flex:none; border-radius:6px; color:var(--tile,#c8b6ff); background:color-mix(in srgb,currentColor 18%,#171321); border:1px solid color-mix(in srgb,currentColor 52%,transparent); }
.pixel-tile i { width:55%; height:55%; background:currentColor; clip-path:polygon(50% 0,100% 26%,100% 76%,50% 100%,0 76%,0 26%); }
.pixel-tile i::after { content:""; display:block; width:100%; height:100%; background:#120d28a0; clip-path:polygon(0 26%,50% 51%,100% 26%,100% 100%,0 100%,0 36%,46% 60%,46% 100%,54% 100%,54% 60%,100% 36%,100% 26%,50% 51%,0 26%); }
.tile-lilac { --tile:#c5a4ff; }.tile-green { --tile:#89e7bc; }.tile-gold { --tile:#f4c188; }
.app-main { min-width:0; }
.app-panel { position:relative; min-height:clamp(342px,26vw,386px); height:100%; }
.home-panel { display:grid; grid-template-rows:minmax(205px,1fr) auto; }
.app-scene { background:#171829 url('assets/twilight-lake.png') center 54%/cover; image-rendering:pixelated; }
.app-scene.alpine { background-image:url('assets/alpine-dusk.png'); }
.app-content { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:10px 12px; padding:16px; border-top:1px solid #4c4e58; }
.app-kicker { display:flex; align-items:center; gap:7px; font:1rem/1.3 Pixelify,monospace; color:#e9d9f8; }
.app-kicker span { width:5px; height:5px; background:var(--stage-accent); }
.app-title { display:flex; gap:11px; align-items:center; }
.app-title .pixel-tile { width:40px; height:40px; border-radius:6px; }
.app-title h2,.library-panel h2,.console-panel h2 { font-size:clamp(1.45rem,2.45vw,2.15rem); font-weight:600; letter-spacing:-.037em; line-height:1; }
.app-title p { margin-top:4px; color:var(--stage-muted); font-size:.875rem; }
.app-title p span { padding-inline:2px; }
.app-tags { display:flex; }
.app-tags span { background:#222328; border:1px solid #464850; border-radius:4px; padding:3px 7px; color:#e3e4e8; font-size:.82rem; }
.app-play { grid-row:1 / span 2; grid-column:2; display:inline-flex; align-items:center; gap:5px; min-height:40px; padding:0 11px 0 8px; border:1px solid transparent; border-radius:4px; background:var(--accent); color:#20100a; font-size:.9rem; font-weight:600; }
.app-play:hover { background:#ffa480; }
.scenery-button { position:absolute; right:10px; top:10px; z-index:1; justify-content:center; width:38px; min-height:37px; background:#181a22de; border-color:#90919c; padding:0; }
.preview-caption { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px 15px; margin-top:12px; color:var(--muted); font:0.76rem/1.4 var(--mono); }
.preview-caption strong { color:#e0e0e3; font-weight:600; }
.library-panel,.console-panel { padding:clamp(16px,2.7vw,32px); background:#1b1c20; }
.library-panel h2,.console-panel h2 { margin:9px 0 14px; }
.library-panel input { width:min(100%,610px); min-height:39px; margin-bottom:11px; padding:6px 11px; color:var(--stage-ink); border:1px solid #676a74; border-radius:4px; background:#111216; }
.library-panel input::placeholder { color:var(--stage-muted); }
.instance-list { list-style:none; padding:0; margin:0; display:grid; max-width:610px; gap:6px; }
.instance-list li { min-width:0; display:flex; align-items:center; gap:8px; padding:6px 9px; border:1px solid #42454d; border-radius:4px; background:#24262c; }
.instance-list b { display:block; font-size:.9rem; line-height:1.15; font-weight:600; }
.instance-list small { display:block; margin-top:3px; color:var(--stage-muted); font-size:.8rem; }
.instance-list li > span:last-child { margin-left:auto; text-align:right; color:#dddfe5; font-size:.78rem; }
.instance-list .pixel-tile { width:29px; height:29px; }
.instance-empty,.console-caption { font-size:.9rem; color:var(--stage-muted); }
.console-log { margin:13px 0; max-width:670px; padding:11px 9px; list-style:none; border:1px solid #4c4e59; border-radius:4px; background:#111216; color:#ebecef; font:.83rem/1.8 var(--mono); }
.console-log span { display:inline-block; min-width:52px; color:var(--stage-accent); }
.console-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px 13px; }
.console-actions a { color:#e4e2df; font-size:.85rem; text-decoration:underline; text-underline-offset:3px; }
.console-actions a:hover { color:#fff; }
.app-return { border:1px solid #71737d; background:#25272d; color:#eeeff2; border-radius:4px; min-height:36px; padding:0 10px; font-size:.85rem; }
.app-return:hover { background:#383a42; }

.compat-inner { display:flex; align-items:center; min-height:79px; gap:clamp(16px,4vw,57px); padding-block:15px; border-block:1px solid var(--line); }
.compat-inner > p { color:var(--muted); font-size:.88rem; }
.loader-list { flex:1; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:center; padding:0; margin:0; list-style:none; }
.loader-list li { display:flex; justify-content:center; gap:9px; align-items:center; min-height:31px; padding-inline:8px; border-left:1px solid var(--line); font-weight:600; font-size:.98rem; }
.loader-cube { display:block; flex:none; position:relative; width:17px; height:19px; background:color-mix(in srgb,currentColor 77%,white); clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }
.loader-cube::after { content:""; position:absolute; inset:0; background:#1715234f; clip-path:polygon(0 25%,50% 47%,100% 25%,100% 75%,50% 100%,47% 54%,0 33%); }
.vanilla { color:#a5c8b3; }.fabric { color:#d8c2a9; }.quilt { color:#bbafd6; }.forge { color:#a2bfd1; }.neoforge { color:#db9076; }

.section { padding-block:clamp(60px,8vw,105px); }
.feature-section { padding-block:clamp(55px,6.4vw,85px) clamp(60px,8vw,105px); }
.tuning-layout,.faq { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1fr); gap:clamp(27px,7vw,105px); }
.section-heading { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); align-items:center; gap:clamp(18px,5vw,70px); margin-bottom:29px; }
.section-heading h2,.tuning-copy h2,.get-box h2,.faq h2,.guide-content h2 { font-size:clamp(2.1rem,4vw,3.55rem); font-weight:600; letter-spacing:-.05em; line-height:1.02; }
.section-heading p,.tuning-copy > p,.get-box p { margin-top:13px; color:var(--muted); font-size:1.07rem; line-height:1.55; }
.section-heading p { max-width:48ch; margin-top:0; padding-left:22px; border-left:1px solid var(--line); }
.feature-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid var(--line); background:#15161a; }
.feature-list article { display:grid; grid-template-columns:21px minmax(0,1fr); gap:10px; padding:22px clamp(14px,2.1vw,29px); }
.feature-list article + article { border-left:1px solid var(--line); }
.feature-list .ico { color:var(--accent); margin-top:4px; }
.feature-list h3 { font-size:1.18rem; font-weight:600; }
.feature-list p { margin-top:4px; color:var(--muted); font-size:1rem; line-height:1.48; }

.tuning-section { background:#191a1f; color:var(--stage-ink); border-block:1px solid var(--line); }
.tuning-layout { align-items:start; }
.tuning-copy > p,.native-note p { color:var(--stage-muted); }
.perf-scroll { margin-top:21px; overflow-x:auto; }
.perf-table { width:100%; min-width:320px; border-collapse:collapse; font-variant-numeric:tabular-nums; }
.perf-table th,.perf-table td { padding:8px 6px; border-bottom:1px solid var(--stage-edge); text-align:right; }
.perf-table th:first-child { text-align:left; font-weight:400; }
.perf-table thead th { color:var(--stage-muted); font:600 .78rem/1.3 var(--mono); vertical-align:bottom; }
.perf-table small { display:block; color:var(--stage-muted); font-size:.8rem; }
.perf-ours th,.perf-ours td { color:var(--stage-accent); font-weight:600; }
.perf-note { margin-top:11px; color:var(--stage-muted); font-size:.9rem; line-height:1.5; }
.compat-note { margin-left:auto; color:var(--muted); font-size:.88rem; }
.get-box code { font:.95em var(--mono); }
.native-note { margin-top:23px; padding:13px 0 0; border-top:1px solid var(--stage-edge); }
.native-note h3 { font-size:1.08rem; font-weight:600; }
.native-note p { margin-top:4px; line-height:1.5; }
.profile-box { min-width:0; border:1px solid #50515b; border-radius:6px; background:#131418; }
.profile-box > h3 { padding:13px 17px; border-bottom:1px solid var(--stage-edge); background:#23252b; font:600 .93rem/1.45 var(--mono); }
.profile-tabs { display:flex; margin-inline:17px; gap:11px; border-bottom:1px solid var(--stage-edge); }
.profile-tabs button { min-width:0; min-height:43px; padding:7px 4px; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--stage-muted); font-size:.94rem; text-align:left; }
.profile-tabs button:hover,.profile-tabs button[aria-selected="true"] { border-bottom-color:var(--accent); color:#fff; }
.profile-content { min-height:177px; padding:17px 18px 19px; }
.profile-content h4 { font-size:1.17rem; font-weight:600; }
.profile-content p { margin-top:6px; color:var(--stage-muted); line-height:1.48; }
.profile-content code { display:inline-block; margin-top:11px; padding:4px 6px; background:#202722; color:#bceee3; font-size:.88rem; border-radius:3px; }

.get-box { display:flex; justify-content:space-between; align-items:center; gap:20px; padding-block:10px 25px; border-bottom:1px solid var(--line); }
.get-box > div { max-width:620px; }
.get-box .button { flex:0 0 auto; }
.get-box h2 { font-size:clamp(2rem,3.5vw,3rem); }
.get-box p { margin-top:8px; }
.faq { padding-bottom:clamp(62px,8vw,100px); }
.faq h2 { font-size:clamp(2rem,3.3vw,3rem); }
.faq-list { border-top:1px solid var(--line); }
.faq-list details { border-bottom:1px solid var(--line); }
.faq-list summary { position:relative; padding:13px 32px 13px 0; list-style:none; cursor:pointer; font-size:1.05rem; font-weight:600; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::before,.faq-list summary::after { content:""; position:absolute; right:4px; top:calc(50% - 1px); width:12px; height:1.5px; background:currentColor; }
.faq-list summary::after { transform:rotate(90deg); }
.faq-list details[open] summary::after { display:none; }
.faq-list summary:hover { color:var(--accent); }
.faq-list p { padding:0 12px 14px 0; color:var(--muted); line-height:1.5; }
code { font-family:var(--mono); overflow-wrap:anywhere; }
.site-footer { border-top:1px solid var(--line); background:#0c0d0f; }
.footer-inner { min-height:82px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px 19px; padding-block:16px; }
.footer-inner .brand { font-size:1.19rem; }
.footer-inner .brand img { border-radius:6px; }
.footer-inner p { color:var(--muted); font-size:.9rem; }
.footer-inner nav { gap:9px clamp(12px,2vw,22px); flex-wrap:wrap; }
.footer-inner nav a { font-size:.9rem; }

.guide-hero { position:relative; isolation:isolate; border-bottom:1px solid var(--line); background:#15161a; }
.guide-hero::before { content:""; position:absolute; inset:0 0 0 49%; z-index:-1; background:repeating-linear-gradient(0deg,#57596044 0 1px,transparent 1px 31px),repeating-linear-gradient(90deg,#57596044 0 1px,transparent 1px 31px); mask-image:linear-gradient(90deg,transparent,#0009); }
.page-intro { display:grid; grid-template-columns:minmax(0,1.33fr) minmax(235px,1fr); align-items:end; gap:clamp(24px,5vw,69px); padding-block:clamp(52px,7vw,91px) clamp(42px,5.8vw,77px); }
.page-intro h1 { font-size:clamp(3.1rem,6vw,5.5rem); }
.page-intro > p { padding-bottom:2px; }
.guide-layout { display:grid; grid-template-columns:200px minmax(0,720px); gap:clamp(30px,8vw,113px); padding-block:clamp(36px,5vw,70px) 80px; }
.guide-nav { position:sticky; top:98px; align-self:start; display:grid; gap:12px; padding-right:15px; border-right:1px solid var(--line); }
.guide-nav p { color:var(--muted); font-size:.9rem; font-weight:600; }
.guide-nav a { font-size:.96rem; }
.guide-nav a:hover { color:var(--accent); text-decoration:underline; text-underline-offset:4px; }
.guide-content section + section { padding-top:30px; margin-top:29px; border-top:1px solid var(--line); }
.guide-content h2 { font-size:clamp(1.85rem,3.5vw,2.9rem); margin-bottom:11px; }
.guide-content p,.guide-steps { color:var(--muted); font-size:1.05rem; line-height:1.55; }
.guide-content p + p,.guide-steps + p { margin-top:13px; }
.guide-note { padding:9px 11px; background:#201c1a; border-left:2px solid var(--accent); }
.guide-steps { padding-left:1.35rem; }
.guide-steps li + li { margin-top:.55rem; }
.code-block { margin:14px 0; border:1px solid #474951; border-radius:5px; background:#191a1e; color:var(--stage-ink); overflow:hidden; }
.code-block > div { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:7px 11px; border-bottom:1px solid #474951; background:#23252a; font:0.86rem/1.45 var(--mono); color:var(--stage-muted); }
.copy-button { min-height:32px; padding:4px 9px; color:var(--stage-ink); border:1px solid #72757f; border-radius:4px; background:#27282e; font-size:.85rem; }
.copy-button:hover { background:#383b43; }
.code-block pre { margin:0; padding:14px 11px; font-size:.9rem; overflow:auto; }
.code-block code { overflow-wrap:normal; }

@media (max-width:1050px) {
  .shell { width:calc(100% - 60px); }
  .hero-grid { grid-template-columns:1fr; gap:38px; }
  .hero h1 { font-size:clamp(3.5rem,8vw,5.2rem); }
  .hero-copy { margin-top:16px; }
  .header-inner { gap:22px; }
}
@media (max-width:700px) {
  .shell { width:calc(100% - 38px); }
  [id] { scroll-margin-top:104px; }
  .header-inner { min-height:0; grid-template-columns:1fr auto; gap:0 12px; padding-top:10px; }
  .brand { font-size:1.32rem; }
  .brand img { width:31px; height:31px; }
  .header-action { grid-column:2; grid-row:1; min-height:34px; padding-inline:9px; }
  .site-nav { grid-row:2; grid-column:1 / -1; min-height:41px; gap:clamp(9px,4.1vw,22px); }
  .site-nav a { font-size:.9rem; }
  .hero-grid { padding-block:43px 28px; gap:29px; }
  .preview::after { inset:-10px -9px 9px; }
  .page-intro,.section-heading,.feature-list,.tuning-layout,.faq,.guide-layout { grid-template-columns:1fr; }
  .page-intro,.section-heading { gap:14px; }
  .section-heading { margin-bottom:22px; }
  .section-heading p { padding-left:0; border-left:0; }
  .hero h1,.page-intro h1 { font-size:clamp(2.95rem,9.6vw,4.6rem); }
  .actions { margin-top:15px; gap:9px 12px; }
  .app-layout { grid-template-columns:46px minmax(0,1fr); }
  .app-rail { align-items:center; padding:8px 5px; }
  .rail-button { padding:0; width:35px; justify-content:center; }
  .rail-button span { display:none; }
  .app-scene { background-position:63% 54%; }
  .app-panel { min-height:324px; }
  .home-panel { grid-template-rows:minmax(170px,1fr) auto; }
  .app-title .pixel-tile { width:35px; height:35px; }
  .app-title { gap:9px; }
  .scenery-button { top:7px; right:7px; width:34px; min-height:34px; }
  .compat-inner { flex-direction:column; align-items:start; gap:9px; }
  .loader-list { display:flex; flex-wrap:wrap; gap:5px 14px; }
  .loader-list li { min-height:24px; padding:0; border:0; font-size:.92rem; }
  .section { padding-block:51px; }
  .tuning-layout,.faq { gap:22px; }
  .feature-list article + article { border-left:0; border-top:1px solid var(--line); }
  .profile-content { min-height:0; }
  .get-box { align-items:start; flex-direction:column; }
  .faq { padding-bottom:52px; }
  .footer-inner { align-items:start; flex-direction:column; }
  .guide-nav { position:static; border-right:0; border-bottom:1px solid var(--line); padding:0 0 16px; grid-template-columns:1fr 1fr; }
  .guide-nav p { grid-column:1 / -1; }
  .guide-layout { padding-bottom:50px; }
}
@media (max-width:460px) {
  .app-content { padding:12px 9px; }
  .app-title { grid-column:1 / -1; }
  .app-play { grid-row:2; }
  .preview-caption > span { display:none; }
}
@media (max-width:370px) {
  .shell { width:calc(100% - 30px); }
  .header-inner .brand { font-size:1.1rem; gap:6px; }
  .header-inner .brand img { width:26px; height:26px; }
  .header-action { font-size:.83rem; }
  .header-action .ico { display:none; }
  .app-content { column-gap:6px; }
  .console-log { font-size:.75rem; }
  .guide-nav { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
}
