
:root{color-scheme:dark;--bg:#0b0e12;--panel:#11151b;--text:#eef0f3;--muted:#89939f;--line:#ffffff12;--accent:#f2a681}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}button{color:inherit}button:disabled{opacity:.5;cursor:default}.app{max-width:1680px;margin:auto;padding:26px 32px 20px}.topbar,.brand,.top-actions,.intro,.eyebrow,.status,.control-label,.footer,.switch-row{display:flex;align-items:center}.topbar{justify-content:space-between;gap:20px;margin-bottom:27px}.brand{gap:12px;font-size:11px;font-weight:700;letter-spacing:2.8px;white-space:nowrap}.brand-mark{display:grid;grid-template-columns:repeat(2,5px);gap:3px}.brand-mark i{display:block;width:5px;height:5px;border-radius:1px;background:var(--accent)}.brand span{color:#7a8592;font-weight:400}.top-actions{gap:7px}.quiet-btn{border:1px solid #ffffff12;background:#141920;border-radius:8px;min-height:38px;padding:8px 13px;font-size:12px;transition:background .16s,border-color .16s}.quiet-btn:hover{background:#1d242d;border-color:#ffffff29}.quiet-btn .symbol{font-size:15px;margin-right:5px;vertical-align:-1px}.intro{justify-content:space-between;gap:20px;margin-bottom:23px}.eyebrow{color:var(--accent);gap:10px;font-size:10px;letter-spacing:2.3px;font-weight:650;margin-bottom:7px}.eyebrow .divider{width:22px;height:1px;background:#6e5144}h1{font-size:34px;letter-spacing:-1.3px;line-height:1.15;font-weight:570;margin:0 0 8px}.intro p{margin:0;color:var(--muted);font-size:13px}.edition{color:#65707d;text-align:right;font-size:10px;line-height:1.9;letter-spacing:1.2px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 294px;border:1px solid var(--line);border-radius:19px;overflow:hidden;background:var(--panel)}.stage{position:relative;min-height:590px;height:min(73vh,820px);isolation:isolate;background:#11151a;overflow:hidden}canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab;outline:none}canvas.dragging{cursor:grabbing}.scene-top{position:absolute;top:23px;left:24px;right:24px;display:flex;justify-content:space-between;pointer-events:none;gap:12px}.status{gap:8px;font-size:9px;letter-spacing:1.7px;color:#88919b}.live-dot{width:5px;height:5px;border-radius:100%;background:#c9e4d2;box-shadow:0 0 9px #bfe0c126}.material-tag{color:#aeb6c0;font-size:10px;letter-spacing:.9px}.scene-bottom{position:absolute;bottom:24px;left:24px;right:24px;display:flex;align-items:end;justify-content:space-between;gap:16px;pointer-events:none}.gesture-hint{color:#b2b8bf;font-size:12px;line-height:1.7;text-shadow:0 1px 7px #0008}.gesture-hint span{display:block;font-size:10px;color:#697581;letter-spacing:.4px}.scene-note{color:#65717d;font-size:9px;letter-spacing:1px;white-space:nowrap}.controls{padding:25px 23px 22px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:24px}.group{min-width:0}.section-title{font-size:10px;font-weight:650;letter-spacing:1.7px;color:#7f8b98;margin:0 0 13px}.materials{display:grid;grid-template-columns:1fr 1fr;gap:8px}.material{display:flex;align-items:center;gap:9px;min-height:43px;padding:9px 10px;background:#181e26;border:1px solid #ffffff0e;border-radius:8px;text-align:left;font-size:11px;color:#a2acb7;transition:all .15s}.material:hover{border-color:#ffffff25;color:#eef0f3}.material[aria-pressed="true"]{border-color:#f2a68179;background:#261f1d;color:#f5d5c5}.swatch{height:15px;width:15px;flex:none;border-radius:50%;background:var(--swatch);box-shadow:inset 0 1px 3px #ffffff95,inset 0 -3px 4px #0007}.control-label{justify-content:space-between;gap:10px;margin:17px 0 9px;font-size:12px;color:#bdc5ce}.control-label:first-child{margin-top:0}.control-label output{font-size:11px;color:var(--accent);font-variant-numeric:tabular-nums}.range{appearance:none;-webkit-appearance:none;height:4px;width:100%;display:block;margin:14px 0 9px;background:linear-gradient(to right,var(--accent) 65%,#303742 65%);border-radius:9px;cursor:pointer;touch-action:pan-y}.range::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border-radius:50%;background:#f3d8ca;box-shadow:0 0 0 4px #f2a68112}.range::-moz-range-thumb{width:13px;height:13px;border:0;border-radius:50%;background:#f3d8ca}.range-ends{display:flex;justify-content:space-between;color:#5f6c7a;font-size:9px}.action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.action{background:#1a2029;border:1px solid #ffffff0d;border-radius:8px;padding:11px 4px;font-size:11px;color:#b7c0cb;transition:background .15s,transform .15s}.action:hover{background:#252d38}.action:active{transform:translateY(1px)}.action strong{display:block;font-size:19px;font-weight:400;color:#e0c6b9;line-height:1.1;margin-bottom:6px}.switch-row{justify-content:space-between;gap:12px;margin:0 0 15px;font-size:12px;color:#b5bfca}.switch{position:relative;display:block;width:33px;height:19px;flex:none}.switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}.switch-track{display:block;background:#323b47;width:33px;height:19px;border-radius:99px;transition:background .16s}.switch-track:after{content:"";position:absolute;width:13px;height:13px;left:3px;top:3px;border-radius:100%;background:#d7dce3;transition:transform .16s}.switch input:checked+.switch-track{background:#b3795c}.switch input:checked+.switch-track:after{transform:translateX(14px);background:#fff0e8}.switch input:focus-visible+.switch-track{outline:2px solid var(--accent);outline-offset:4px}.note{border-top:1px solid var(--line);padding-top:18px;margin-top:auto;color:#6e7a88;font-size:11px;line-height:1.7}.note strong{display:block;font-size:11px;font-weight:500;color:#aab3bf;margin-bottom:4px}.footer{justify-content:space-between;gap:15px;padding:16px 2px 0;color:#53606f;font-size:10px;letter-spacing:.3px}.footer kbd{font:inherit;color:#7b8897;border:1px solid #ffffff12;border-radius:4px;padding:2px 4px;margin:0 2px}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}#toast{position:absolute;top:62px;left:50%;transform:translateX(-50%);background:#202630e8;border:1px solid #ffffff16;color:#c6cdd6;padding:8px 13px;border-radius:8px;font-size:11px;opacity:0;transition:opacity .2s;pointer-events:none;white-space:nowrap}#toast.show{opacity:1}
:fullscreen .topbar{position:sticky;top:0;z-index:20;background:var(--bg);padding:10px 0}:fullscreen .app{padding-top:max(10px,env(safe-area-inset-top))}
@media(min-width:1500px){.stage{min-height:680px}.controls{padding:29px 25px}}
@media(max-width:1000px){.app{padding:20px}.workspace{grid-template-columns:minmax(0,1fr) 260px}.controls{padding:22px 18px;gap:21px}.stage{min-height:550px}.material{font-size:10px;padding:9px 8px}.scene-note{display:none}}
@media(max-width:760px){.app{padding:17px 14px}.topbar{margin-bottom:24px;gap:9px}.brand{font-size:10px;letter-spacing:1.7px;gap:9px}.top-actions{gap:5px}.quiet-btn{padding:7px 9px;min-height:35px;font-size:11px}.quiet-btn .symbol{margin-right:3px}.intro{margin-bottom:19px}h1{font-size:29px}.intro p{font-size:12px;max-width:270px}.edition{display:none}.workspace{grid-template-columns:1fr}.stage{height:62vh;min-height:450px;max-height:650px}.controls{border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:23px 20px}.material-group{grid-column:1/-1}.materials{grid-template-columns:repeat(4,1fr)}.material{font-size:11px;min-height:42px}.note{margin:0;grid-column:1/-1;padding-top:15px}.note strong{display:inline;margin-right:5px}.toggles{align-self:end}.footer{font-size:9px}.scene-top{top:20px;left:20px;right:20px}.scene-bottom{bottom:20px;left:20px;right:20px}}
@media(max-width:440px){.brand-mark{display:none}.brand{font-size:9px;letter-spacing:1.5px}.quiet-btn{padding:7px 8px;font-size:10px}.quiet-btn .symbol{font-size:13px}.topbar{gap:4px}.controls{gap:23px 18px;padding:22px 18px}.materials{grid-template-columns:repeat(2,1fr)}.stage{min-height:420px;height:58vh}.gesture-hint{font-size:11px}.footer span:last-child{display:none}.scene-bottom{bottom:17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
