:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#eceee8;background:#111510;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{color:inherit}#app{width:100vw;height:100dvh;overflow:hidden}#stage{width:100%;height:100%;position:relative;isolation:isolate;background:radial-gradient(ellipse at 51% 47%,#222720 0,#151a15 42%,#101310 78%)}.webgl{position:absolute;inset:0;width:100%;height:100%;z-index:-1;touch-action:none;outline:none}.topbar{position:absolute;z-index:2;inset:0 0 auto;height:72px;display:flex;align-items:center;padding:0 32px;border-bottom:1px solid #ffffff0b;background:linear-gradient(#101310bb,#10131000)}.brand{display:flex;align-items:center;gap:10px;color:#eff1e9;text-decoration:none;font-weight:700;font-size:15px;letter-spacing:.13em}.brand-mark{width:29px;height:29px;border:1px solid #b8c49b80;color:#d5dbbc;display:grid;place-items:center;font:19px Georgia,serif;letter-spacing:0}.brand small{display:block;color:#777f71;font:8px monospace;letter-spacing:.16em;margin-top:3px}.project-name{position:absolute;left:50%;transform:translate(-50%);font:9px monospace;letter-spacing:.13em;color:#aab09f;white-space:nowrap}.live-dot,.status-light{width:6px;height:6px;display:inline-block;border-radius:50%;background:#b3c783;box-shadow:0 0 9px #afc77e88;vertical-align:1px;margin-right:8px}.saved{color:#70776c}.icon-button{margin-left:auto;width:32px;height:32px;border:1px solid #ffffff1c;border-radius:50%;background:#171b17b3;color:#c4c9bb;font-size:19px;cursor:pointer}.left-rail{position:absolute;z-index:1;left:32px;top:94px;width:238px;max-height:calc(100% - 180px);display:flex;flex-direction:column;gap:10px;overflow-y:auto;padding-right:4px;scrollbar-width:thin;scrollbar-color:#525a49 transparent}.mode-switch{padding:4px;background:#171b17e8;border:1px solid #ffffff15;border-radius:9px;display:grid;grid-template-columns:1fr 1fr;box-shadow:0 12px 30px #0003;flex:none}.mode{background:none;border:0;color:#858b80;border-radius:6px;padding:9px 6px;font-size:11px;cursor:pointer;transition:.2s}.mode span{font-size:13px;margin-right:5px}.mode.active{background:#343b31;color:#e2e7d8;box-shadow:inset 0 0 0 1px #ffffff0d}.tool-card,.control-fold{background:#191d19ed;border:1px solid #ffffff13;border-radius:9px;box-shadow:0 16px 38px #0003;flex:none}.tool-card{padding:14px 14px 12px}.card-label,.slider-label,.speed-control label{font:9px monospace;letter-spacing:.11em;color:#858c7f}.tool-icon{margin:12px 0 8px;width:34px;height:34px;border:1px solid #76806966;border-radius:7px;display:grid;place-items:center;color:#c4cda9;font-size:25px}.tool-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:12px}.tool-options-primary{grid-template-columns:1fr;margin-top:10px}.tool-options-secondary{display:flex;flex-direction:column;gap:5px;margin-top:6px}.tool-options-row{display:grid;min-width:0;gap:5px}.tool-options-row-three{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-options-row-four{grid-template-columns:repeat(4,minmax(0,1fr))}.tool-option{min-width:0;padding:6px 2px 5px;border:1px solid #ffffff18;border-radius:6px;background:#ffffff05;color:#92998b;cursor:pointer;transition:background .16s,border-color .16s,color .16s}.tool-option-primary{min-height:42px;display:flex;align-items:center;justify-content:center;gap:9px;padding:8px 12px}.tool-option-primary .icon{width:19px;height:19px}.tool-option-primary small{margin:0;font-size:10px;letter-spacing:.14em}.tool-option-primary.active{border-color:#b9c99a9c;background:#aab88924;color:#edf2e1}.tool-option span{display:block;font-size:15px;line-height:1.1}.tool-option small{display:block;margin-top:4px;font-size:8px;white-space:nowrap}.tool-option.active{border-color:#aab88980;background:#aab88916;color:#e0e5d5;box-shadow:inset 0 0 0 1px #ffffff08}.tool-option:focus-visible,.view-chip select:focus-visible{outline:1px solid #c2ce9c;outline-offset:2px}.control-fold select{width:100%;padding:7px 8px;border:1px solid #ffffff1b;border-radius:5px;background:#20251f;color:#d5d9ce;font-size:10px;outline:none}.tool-hint{font-size:10px;color:#878e82;display:block;margin:5px 0 13px}.height-lock-toggle{display:flex;align-items:center;gap:7px;min-height:32px;margin:-4px 0 12px;padding:0 2px;color:#aeb59f;font-size:10px;cursor:pointer}.height-lock-toggle input{width:15px;height:15px;margin:0;accent-color:#bcc995}.height-lock-toggle .icon{width:14px;height:14px;color:#bcc995}.height-lock-toggle:focus-within{color:#e1e7d2}.height-lock-toggle.is-disabled{opacity:.48;cursor:not-allowed}.height-lock-toggle[hidden]{display:none!important}.slider-label{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px}.slider-label output{font:10px -apple-system,sans-serif;color:#c3c8b7;letter-spacing:0}input[type=range]{width:100%;height:3px;display:block;margin:0 0 14px;accent-color:#bcc995;cursor:pointer}.exact-height-label{margin-top:-2px}.height-entry{display:flex;align-items:center;gap:7px;margin:-2px 0 12px;color:#858c7f;font-size:9px}.height-entry input{width:100%;min-width:0;padding:6px 7px;border:1px solid #ffffff1b;border-radius:5px;background:#20251f;color:#d5d9ce;font-size:10px;outline:none}.height-entry input:focus{border-color:#aab88980}.control-fold{overflow:hidden}.control-fold summary{list-style:none;cursor:pointer;padding:11px 12px;color:#c6cbbb;font:9px monospace;letter-spacing:.1em}.control-fold summary::-webkit-details-marker{display:none}.control-fold summary:after{content:"+";float:right;color:#8a927f;font-size:13px}.control-fold[open] summary{border-bottom:1px solid #ffffff11}.control-fold[open] summary:after{content:"−"}.compact-label{display:block;margin:10px 11px 6px;color:#92998b;font:8px monospace;letter-spacing:.06em}.control-fold>select{width:calc(100% - 22px);margin:0 11px 4px;padding:6px 7px;border:1px solid #ffffff1b;border-radius:5px;background:#20251f;color:#d5d9ce;font-size:9px}.geometry-options{display:grid;gap:6px;padding:10px 11px 11px}.geometry-options label{display:flex;align-items:center;gap:7px;color:#a5ac9c;font-size:9px;cursor:pointer}.geometry-options input{width:12px;height:12px;margin:0;accent-color:#bcc995}.micro-note{margin:0 11px 10px;color:#747d70;font-size:8px;line-height:1.5}.shape-catalog{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;padding:8px}.shape-option{border:1px solid transparent;border-radius:6px;background:#ffffff04;color:#939a8d;padding:5px 2px 6px;cursor:pointer;font-size:8px}.shape-option svg{display:block;width:28px;height:30px;margin:0 auto 2px}.shape-option path{fill:#a9583c35;stroke:#b8c199;stroke-width:1.5;stroke-linejoin:round}.shape-option.selected{border-color:#aab88966;background:#aab88910;color:#e1e5d7}.clay-colors{display:flex;justify-content:space-between;padding:12px 11px 14px}.color-option{width:23px;height:23px;border:2px solid #ffffff1c;border-radius:50%;background:var(--swatch);cursor:pointer;box-shadow:inset 0 0 0 1px #0002}.color-option.selected{outline:1px solid #d7ddc4;outline-offset:2px}.control-fold .slider-label{margin:0 11px 7px}.control-fold input[type=range]{width:calc(100% - 22px);margin:0 11px 14px}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:9px 8px 6px}.small-action{padding:7px 5px;border:1px solid #ffffff18;border-radius:5px;background:#ffffff06;color:#c2c8b9;cursor:pointer;font-size:8px}.small-action:disabled{opacity:.38;cursor:default}.resolution-label{display:block!important;margin-bottom:7px!important}.control-fold #captureScale{width:calc(100% - 16px);margin:0 8px 10px}.hint-dot{margin-top:5px;width:6px;height:6px;flex:none;border-radius:50%;background:#c0ca94}.right-rail{position:absolute;z-index:1;right:32px;top:104px;display:flex;align-items:flex-end;flex-direction:column;gap:11px}.view-chip{display:flex;align-items:center;border:1px solid #ffffff16;border-radius:5px;background:#171b17c9;padding:7px 9px;font:8px monospace;letter-spacing:.1em;color:#b7bead;cursor:pointer;white-space:nowrap}.view-chip select{max-width:104px;padding:2px 15px 2px 4px;border:0;appearance:none;background:transparent;color:#d5d9ce;font:inherit;letter-spacing:.06em;cursor:pointer;outline:none}.view-chip select option{background:#20251f;color:#eceee8}.view-chip span:not(.view-dot){color:#646b60;padding:0 3px}.view-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#b4c486;margin-right:7px;vertical-align:1px}.orbit-hint{font-size:9px;color:#838b7e;text-shadow:0 1px 4px #000}.orbit-hint span{font-size:13px;color:#b8c29a;margin-right:5px}.orbit-hint i{font-style:normal;color:#535b4e;margin:0 3px}.view-control{margin-top:5px;width:31px;height:31px;border:1px solid #ffffff18;border-radius:7px;background:#171b17bb;color:#aeb69c;font-size:18px;cursor:pointer}.bottom-panel{position:absolute;z-index:2;left:50%;transform:translate(-50%);bottom:32px;width:min(760px,calc(100% - 48px));min-height:76px;background:#191d19ed;border:1px solid #ffffff19;border-radius:10px;display:flex;align-items:center;padding:0 18px;box-shadow:0 20px 50px #0005;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.wheel-control{display:flex;align-items:center;gap:9px;min-width:154px}.wheel-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:1px solid #aab38a4f;color:#c0ca9a;font-size:20px}.wheel-copy b{display:block;font:9px monospace;letter-spacing:.13em}.wheel-copy small{display:block;margin-top:5px;color:#899282;font:7px monospace;letter-spacing:.07em;white-space:nowrap}.play-button{width:27px;height:27px;border:1px solid #ffffff23;border-radius:50%;background:#ffffff08;color:#d2d8c2;cursor:pointer;font-size:11px;margin-left:2px}.speed-control{display:grid;grid-template-columns:auto minmax(90px,170px) auto;align-items:center;gap:12px;flex:1;padding:0 18px}.speed-control label{font-size:8px;white-space:nowrap}.speed-control input{margin:0}.speed-control output{font:11px monospace;color:#d4dac5;white-space:nowrap}.speed-control output small{font-size:8px;color:#838a7c}.bottom-separator{height:33px;width:1px;background:#ffffff1a;margin:0 18px 0 5px}.piece-meta{min-width:66px}.piece-meta span{display:block;font:8px monospace;letter-spacing:.08em;color:#838b7f}.reset-button{height:31px;padding:0 10px;margin-left:14px;background:#ffffff08;border:1px solid #ffffff1d;border-radius:5px;color:#c1c7b7;font-size:9px;white-space:nowrap;cursor:pointer}.reset-button span{font-size:14px;margin-right:4px}.footer-left,.footer-right{position:absolute;bottom:18px;color:#687064;font:8px monospace;letter-spacing:.12em}.footer-left{left:34px}.footer-left span{color:#aeb793;margin:0 4px}.footer-right{right:34px}.footer-right .status-light{width:5px;height:5px;margin-right:5px}.status-light.paused{background:#85897a;box-shadow:none}.toast{position:absolute;z-index:5;left:50%;bottom:125px;transform:translate(-50%,8px);opacity:0;pointer-events:none;padding:10px 15px;border:1px solid #ffffff20;border-radius:7px;background:#1b211aee;color:#e1e6d6;font-size:11px;box-shadow:0 10px 28px #0004;transition:opacity .18s,transform .18s}.toast.visible{opacity:1;transform:translate(-50%)}canvas.sculpting{cursor:grabbing}canvas.view-only{cursor:grab}button:hover{filter:brightness(1.2)}@media(max-width:700px){.topbar{height:60px;padding:0 17px}.project-name{display:none}.left-rail{left:14px;top:74px;width:184px;max-height:calc(100% - 180px);gap:8px}.tool-card{padding:11px}.tool-icon{display:none}.tool-options{margin-top:9px;gap:4px}.tool-option{padding:5px 1px 4px}.tool-option small{font-size:7px}.right-rail{right:14px;top:76px}.orbit-hint{max-width:118px;text-align:right;line-height:1.6}.bottom-panel{bottom:20px;width:calc(100% - 24px);min-height:75px;padding:11px 10px;flex-wrap:wrap;row-gap:10px}.wheel-control{min-width:calc(50% - 4px);gap:6px}.wheel-icon{width:30px;height:30px}.wheel-copy small{font-size:6px}.speed-control{order:3;flex-basis:100%;padding:0 2px;gap:8px;grid-template-columns:auto 1fr auto}.bottom-separator{margin:0 8px 0 0}.piece-meta{min-width:55px}.reset-button{margin-left:auto}.footer-left,.footer-right{bottom:6px;font-size:6px}.footer-left{left:14px}.footer-right{right:14px}.color-option{width:20px;height:20px}.toast{bottom:125px;max-width:calc(100% - 28px);text-align:center}}@media(max-height:640px)and (min-width:701px){.left-rail{top:78px;max-height:calc(100% - 145px)}.tool-card{padding:11px}.tool-icon{margin:8px 0 5px}.bottom-panel{bottom:20px}}:root{--control-line: #ffffff18;--control-fill: #20251f;--control-muted: #92998b;--range-fill: #bcc995;--range-empty: #51584c;--focus-ring: #d1dda8}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.topbar{padding-inline:32px}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:9px}.history-controls{display:flex;align-items:center;gap:6px}.language-switch{display:flex;align-items:center;padding:3px;gap:2px;border:1px solid var(--control-line);border-radius:7px;background:#171b17d9}.language-switch button{min-width:30px;height:27px;padding:0 5px;border:0;border-radius:4px;color:#858b80;background:transparent;font:9px monospace;letter-spacing:.06em;cursor:pointer;transition:color .16s,background .16s}.language-switch button:hover{color:#edf0e5}.language-switch button.active{color:#e5ead9;background:#343b31}.language-switch button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.icon-button{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--control-line);border-radius:7px;background:#171b17d9;color:#d2d8c2;cursor:pointer;transition:color .16s,background .16s,border-color .16s,opacity .16s}.icon-button:hover:not(:disabled){color:#f1f3e9;background:#252b23;border-color:#bac79770}.icon-button:disabled{color:#697063;opacity:.48;cursor:default}.mode-switch,.tool-card,.control-fold,.bottom-panel{box-shadow:0 10px 28px #0002}.mode-switch{gap:3px}.mode{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 6px}.mode .icon{width:14px;height:14px}.tool-card{padding:13px 13px 11px}.tool-options{margin-top:10px;gap:6px}.tool-option{min-height:42px;padding:6px 3px}.tool-option .icon{width:16px;height:16px;margin:0 auto}.tool-option small{font-size:8px}.tool-hint{margin:6px 0 13px}.control-fold summary{padding:11px 12px;transition:color .15s,background .15s}.control-fold summary:hover{color:#e5e9dd;background:#ffffff04}.control-fold[open] summary{border-bottom-color:#ffffff0c}.control-fold select,.height-entry input,.view-chip,.small-action,.reset-button,.play-button,.view-control{border-color:var(--control-line);border-radius:6px}.control-fold select,.height-entry input{min-height:32px;background:var(--control-fill)}.compact-label{margin-block:11px 6px}.geometry-options{gap:8px;padding-block:11px 12px}.micro-note{margin-bottom:12px}.action-grid{gap:6px;padding:10px 9px 8px}.small-action{min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:6px 7px;font-size:9px;transition:color .16s,background .16s,border-color .16s}.small-action .icon{width:13px;height:13px}.small-action:hover:not(:disabled),.reset-button:hover,.view-control:hover,.play-button:hover{color:#eef1e5;background:#ffffff0d;border-color:#bbc79766}.shape-option,.color-option{transition:color .15s,background .15s,border-color .15s,outline-color .15s,transform .15s}.shape-option:hover{color:#e1e5d7;background:#ffffff09}.color-option:hover{transform:scale(1.08)}.view-control{width:36px;height:36px;display:grid;place-items:center}.view-chip .icon{width:14px;height:14px;color:#b4c486}.wheel-icon .icon{width:18px;height:18px}.wheel-icon.spinning .icon{animation:wheel-turn 5s linear infinite}@keyframes wheel-turn{to{transform:rotate(360deg)}}.play-button{width:32px;height:32px;display:grid;place-items:center}.play-button .icon{width:14px;height:14px}.speed-control{gap:14px}.reset-button{height:34px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding-inline:11px}.reset-button .icon{width:14px;height:14px}input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:24px;padding:0 1px;margin:0 0 9px;border:0;border-radius:0;background:transparent;accent-color:var(--range-fill);cursor:pointer;touch-action:pan-y}input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:99px;background:linear-gradient(to right,var(--range-fill) 0 var(--range-progress, 50%),var(--range-empty) var(--range-progress, 50%) 100%);transition:filter .15s}input[type=range]::-moz-range-track{height:4px;border-radius:99px;background:var(--range-empty);transition:filter .15s}input[type=range]::-moz-range-progress{height:4px;border-radius:99px;background:var(--range-fill)}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:13px;height:13px;margin-top:-4.5px;border:1px solid #e0e6c7;border-radius:50%;background:#c1ce9b;box-shadow:0 1px 4px #0006;transition:transform .14s,box-shadow .14s,background .14s}input[type=range]::-moz-range-thumb{width:12px;height:12px;border:1px solid #e0e6c7;border-radius:50%;background:#c1ce9b;box-shadow:0 1px 4px #0006;transition:transform .14s,box-shadow .14s,background .14s}input[type=range]:hover::-webkit-slider-thumb,input[type=range]:active::-webkit-slider-thumb{transform:scale(1.08);background:#d0daa9}input[type=range]:hover::-moz-range-thumb,input[type=range]:active::-moz-range-thumb{transform:scale(1.08);background:#d0daa9}input[type=range]:focus-visible{outline:none}input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px #cbd8a755}input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px #cbd8a755}input[type=range]:disabled{cursor:not-allowed;opacity:.5}.slider-label{margin-bottom:5px}.slider-label output{font-variant-numeric:tabular-nums}.height-entry{margin-top:0}.height-entry input:focus-visible,.control-fold select:focus-visible,.view-chip select:focus-visible,button:focus-visible,summary:focus-visible,.geometry-options input:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}button:focus:not(:focus-visible),select:focus:not(:focus-visible){outline:none}button,select,summary{-webkit-tap-highlight-color:transparent}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media(max-width:700px){.topbar{padding-inline:17px}.topbar-actions{gap:6px}.history-controls{gap:5px}.icon-button{width:34px;height:34px}.left-rail{gap:8px}.bottom-panel{row-gap:8px}}@media(max-width:410px){.brand{gap:7px;font-size:12px;letter-spacing:.1em}.brand-mark{width:26px;height:26px}.brand small{font-size:6px}.topbar-actions{gap:4px}.language-switch button{min-width:25px}}.rail-content{display:flex;flex-direction:column;gap:10px;width:100%;min-height:0}.sheet-toggle{display:none}@media(max-width:900px),(max-height:520px)and (orientation:landscape){html,body{width:100%;height:100%;overflow:hidden;overscroll-behavior:none}#app{width:100%;height:100dvh;min-height:0;overflow:hidden}#stage{width:100%;height:100%;height:100dvh;overflow:hidden}.topbar{height:calc(54px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 14px 0;background:linear-gradient(#101310dd,#10131030)}.project-name{display:none}.topbar-actions{gap:6px}.language-switch{padding:2px}.language-switch button{min-width:31px;min-height:32px}.history-controls{gap:4px}.icon-button{width:38px;height:38px}.left-rail{inset:auto 12px calc(122px + env(safe-area-inset-bottom)) 12px;width:auto;max-height:min(54dvh,500px);gap:0;padding:0;overflow:hidden;border:1px solid #ffffff18;border-radius:14px;background:#191d19f2;box-shadow:0 14px 38px #0006;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);transition:max-height .28s cubic-bezier(.2,.75,.25,1),background .18s,border-color .18s,box-shadow .18s}.sheet-toggle{flex:none;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;gap:2px 8px;width:100%;min-height:48px;padding:6px 13px;border:0;border-radius:12px 12px 0 0;background:#20251f;color:#dfe4d4;text-align:left;cursor:pointer;font:10px monospace;letter-spacing:.08em}.sheet-grabber{grid-column:1 / -1;justify-self:center;width:34px;height:3px;border-radius:9px;background:#7d8576}.sheet-toggle .icon{width:16px;height:16px;color:#aeb996}.rail-content{gap:8px;max-height:calc(54dvh - 49px);overflow-y:auto;overscroll-behavior:contain;padding:0 8px 10px;scrollbar-width:thin;scrollbar-color:#525a49 transparent;opacity:1;visibility:visible;transition:max-height .28s cubic-bezier(.2,.75,.25,1),opacity .18s ease,padding .18s ease,visibility .28s}.left-rail[data-sheet-open=false]{bottom:calc(122px + env(safe-area-inset-bottom));max-height:48px;overflow:visible;border-color:transparent;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.left-rail[data-sheet-open=false] .sheet-toggle{min-height:46px;border:1px solid #ffffff1c;border-radius:13px;background:#191d19ed;box-shadow:0 8px 24px #0005;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.left-rail[data-sheet-open=false] .rail-content{max-height:0;padding-block:0;opacity:0;visibility:hidden;overflow:hidden}.right-rail{top:calc(64px + env(safe-area-inset-top));right:12px;gap:7px}.right-rail .orbit-hint{display:none}.view-chip{min-height:38px;padding:7px 8px;font-size:8px}.view-chip select{min-height:30px}.view-control{width:40px;height:40px}.bottom-panel{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"wheel meta reset" "speed speed speed";align-items:center;gap:6px 8px;left:10px;right:10px;bottom:max(8px,env(safe-area-inset-bottom));transform:none;width:auto;min-height:0;padding:4px 8px;border-radius:12px;row-gap:4px}.wheel-control{grid-area:wheel;min-width:0;gap:6px}.wheel-icon{width:26px;height:26px}.wheel-copy b{font-size:8px}.wheel-copy small{margin-top:3px;font-size:6px}.play-button{width:38px;height:38px;margin-left:auto}.speed-control{grid-area:speed;min-width:0;width:100%;grid-template-columns:auto minmax(0,1fr) auto;gap:7px;padding:0}.speed-control input{min-width:0}.speed-control input[type=range]{margin-bottom:0}.bottom-separator{display:none}.piece-meta{grid-area:meta;min-width:48px;text-align:center}.reset-button{grid-area:reset;min-height:38px;height:38px;margin:0;padding:0 9px;font-size:9px}.reset-button .icon{width:14px;height:14px}.footer-left,.footer-right{display:none}.toast{bottom:calc(138px + env(safe-area-inset-bottom));max-width:calc(100% - 32px);text-align:center}.control-fold summary{min-height:44px;display:flex;align-items:center}.tool-option{min-height:48px}.shape-option{min-height:54px;font-size:9px}.color-option{width:30px;height:30px}.small-action{min-height:42px;font-size:10px}.geometry-options label{min-height:34px;font-size:10px}.geometry-options input{width:17px;height:17px}input[type=range]{height:32px;margin-bottom:8px}input[type=range]::-webkit-slider-runnable-track{height:4px}input[type=range]::-webkit-slider-thumb{width:16px;height:16px;margin-top:-6px}input[type=range]::-moz-range-thumb{width:16px;height:16px}.height-entry input,.control-fold select{min-height:40px;font-size:12px}}@media(max-height:520px)and (orientation:landscape)and (max-width:1000px){.topbar{height:calc(48px + env(safe-area-inset-top));padding-inline:12px}.brand{font-size:12px;gap:7px}.brand-mark{width:25px;height:25px;font-size:16px}.brand small{font-size:6px}.left-rail{inset:auto 10px calc(70px + env(safe-area-inset-bottom)) 10px;max-height:54dvh}.left-rail[data-sheet-open=false]{bottom:calc(70px + env(safe-area-inset-bottom))}.rail-content{max-height:calc(54dvh - 49px)}.right-rail{top:calc(54px + env(safe-area-inset-top))}.bottom-panel{grid-template-columns:minmax(105px,1fr) minmax(125px,1.3fr) auto auto;grid-template-areas:"wheel speed meta reset";gap:8px;bottom:max(6px,env(safe-area-inset-bottom));padding:5px 8px;border-radius:10px}.wheel-icon{width:25px;height:25px}.wheel-control{gap:5px}.play-button{width:32px;height:32px}.speed-control{grid-template-columns:auto minmax(45px,1fr) auto;gap:6px}.speed-control label{font-size:7px}.speed-control output{font-size:10px}.piece-meta{min-width:44px}.piece-meta span{font-size:7px}.reset-button{min-height:34px;height:34px;padding-inline:7px;font-size:8px}.toast{bottom:calc(72px + env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce)and (max-width:900px),(prefers-reduced-motion:reduce)and (max-height:520px)and (orientation:landscape){.left-rail,.rail-content{transition-duration:.01ms}}@media(max-width:390px)and (orientation:portrait){.topbar{padding-inline:10px}.brand{gap:6px;font-size:11px;letter-spacing:.08em}.brand-mark{width:24px;height:24px}.brand small{letter-spacing:.1em}.topbar-actions{gap:4px}.language-switch button{min-width:28px}.icon-button{width:35px;height:35px}.bottom-panel{left:7px;right:7px;padding-inline:8px;gap:5px 6px}.reset-button{gap:4px;padding-inline:7px;font-size:8px}}@media(min-width:901px){.left-rail{width:252px;gap:11px}.mode-switch{padding:5px}.mode{min-height:38px;font-size:12px}.mode .icon{width:16px;height:16px}.mode.active{background:#aab88920;color:#e5ebd7;box-shadow:inset 0 0 0 1px #aab88948}.tool-card{padding:16px 15px 14px}.card-label{color:#a7b18f;font-size:10px;letter-spacing:.13em}.tool-options{gap:7px;margin-top:13px}.tool-option{min-height:68px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:7px 4px;border-color:#ffffff16;background:#ffffff04}.tool-option .icon{width:22px;height:22px;margin:0 auto;color:#aeb69e;stroke-width:1.85}.tool-option small{margin-top:1px;color:inherit;font-size:9px;letter-spacing:.01em}.tool-option:hover{border-color:#aab88950;background:#aab8890c;color:#e0e6d3}.tool-option.active{border-color:#bcc9959a;background:#aab88920;color:#e3e9d5;box-shadow:inset 0 0 0 1px #aab88920}.tool-option.active .icon{color:#d0dba8}.tool-hint{margin:8px 0 15px;color:#a0a898;font-size:11px;line-height:1.45}.height-lock-toggle{min-height:34px;margin:-5px 0 13px;gap:8px;font-size:10px}.height-lock-toggle input{width:16px;height:16px}.height-lock-toggle .icon{width:15px;height:15px}.slider-label,.control-fold .slider-label{margin-bottom:7px;color:#a7ae9e;font-size:10px;letter-spacing:.075em}.slider-label output{color:#e0e5d4;font-size:12px;font-variant-numeric:tabular-nums}.height-entry{gap:9px;font-size:11px}.height-entry input{font-size:12px}.control-fold summary{padding:13px;color:#d0d6c5;font-size:10px;font-weight:600;letter-spacing:.11em}.compact-label{margin:12px 12px 7px;color:#a5ad9b;font-size:9px}.control-fold>select{width:calc(100% - 24px);margin-inline:12px;font-size:10px}.geometry-options{gap:7px;padding:12px}.geometry-options label{gap:8px;color:#b4bbab;font-size:10px}.micro-note{margin:0 12px 12px;color:#899282;font-size:9px;line-height:1.55}.shape-catalog{gap:6px;padding:9px}.shape-option{padding:6px 3px 7px;font-size:9px}.shape-option svg{width:30px;height:32px}.clay-colors{padding:13px 12px 15px}.color-option{width:25px;height:25px}.action-grid{gap:7px;padding:11px 10px 8px}.small-action{min-height:36px;gap:6px;padding-inline:8px;font-size:10px}.small-action .icon{width:15px;height:15px}}#immersiveToggle{transition:color .18s,background .18s,border-color .18s,opacity .18s,transform .18s}#stage .topbar,#stage .left-rail,#stage .right-rail,#stage .bottom-panel,#stage .footer-left,#stage .footer-right,#stage .toast{transition:opacity .2s ease,visibility .2s ease}#stage.immersive-mode .topbar{height:0;padding:0;border:0;background:transparent}#stage.immersive-mode .brand,#stage.immersive-mode .project-name,#stage.immersive-mode .language-switch,#stage.immersive-mode .history-controls,#stage.immersive-mode .left-rail,#stage.immersive-mode .right-rail,#stage.immersive-mode .bottom-panel,#stage.immersive-mode .footer-left,#stage.immersive-mode .footer-right,#stage.immersive-mode .toast{opacity:0;visibility:hidden;pointer-events:none}#stage.immersive-mode .topbar-actions{margin:0;padding:0;border:0;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}#stage.immersive-mode #immersiveToggle{position:fixed;z-index:20;top:calc(16px + env(safe-area-inset-top));right:24px;opacity:.78;background:#171b17c9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}#stage.immersive-mode #immersiveToggle:hover,#stage.immersive-mode #immersiveToggle:focus-visible{opacity:1}#stage.immersive-mode #immersiveToggle:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}@media(max-width:900px),(max-height:520px)and (orientation:landscape){#stage.immersive-mode #immersiveToggle{top:calc(10px + env(safe-area-inset-top));right:12px}}.shortcut-button{display:grid;place-items:center;width:31px;height:31px;margin-top:5px;border:1px solid #ffffff18;border-radius:7px;background:#171b17bb;color:#aeb69c;font:14px Georgia,serif;cursor:pointer;transition:color .16s,border-color .16s,background .16s}.shortcut-button:hover{color:#e4e9d9;border-color:#bac79770;background:#252b23}.shortcut-button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}#shortcutsDialog{width:min(440px,calc(100vw - 32px));max-height:min(82dvh,720px);margin:auto;padding:0;overflow:auto;border:1px solid #ffffff20;border-radius:12px;background:#191d19f7;color:#e5e9de;box-shadow:0 24px 80px #0009;scrollbar-width:thin;scrollbar-color:#525a49 transparent}#shortcutsDialog::backdrop{background:#050705b8;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.shortcuts-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:17px 18px 13px;border-bottom:1px solid #ffffff12;background:#191d19}.shortcuts-header p{margin:0 0 5px;color:#aab492;font:8px monospace;letter-spacing:.12em}.shortcuts-header h2{margin:0;font-size:16px;font-weight:550}.shortcuts-close{display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff16;border-radius:7px;background:#ffffff06;color:#c6cdbc;font-size:21px;cursor:pointer}.shortcuts-list{display:grid;gap:0;margin:0;padding:4px 18px 10px}.shortcut-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:34px;border-bottom:1px solid #ffffff0b}.shortcut-row:last-child{border-bottom:0}.shortcut-row dt{color:#c2c8b9;font-size:11px}.shortcut-row dd{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:4px;margin:0;color:#9da691;font-size:10px}.shortcut-row kbd{padding:3px 6px;border:1px solid #ffffff1c;border-radius:4px;background:#242a22;color:#e0e6d2;font:10px ui-monospace,SFMono-Regular,monospace;white-space:nowrap}.shortcut-help-note dt{color:#aab492}.help-content{padding:0 0 8px}.help-section{padding:10px 18px 0}.help-section+.help-section{margin-top:8px;border-top:1px solid #ffffff12}.help-section>h3{margin:0 0 6px;color:#aab492;font:9px ui-monospace,SFMono-Regular,monospace;letter-spacing:.11em;text-transform:uppercase}.help-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:16px}.help-item{min-width:0;padding:7px 0;border-bottom:1px solid #ffffff0b}.help-item h4{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 4px;color:#d5dbcc;font-size:11px;font-weight:550;line-height:1.25}.help-item p{margin:0;color:#a5ad9b;font-size:10px;line-height:1.42}.help-content kbd{flex:none;padding:3px 6px;border:1px solid #ffffff1c;border-radius:4px;background:#242a22;color:#e0e6d2;font:10px ui-monospace,SFMono-Regular,monospace;white-space:nowrap}.help-shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;padding:5px 18px 8px}.help-shortcut{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:6px 0;border-bottom:1px solid #ffffff0b;color:#c2c8b9;font-size:10px;line-height:1.35}.help-key-pair{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px}@media(max-width:900px),(max-height:520px)and (orientation:landscape){.shortcut-button{width:40px;height:40px;margin-top:0;font-size:17px}#shortcutsDialog{width:min(440px,calc(100vw - 24px));max-height:84dvh}.shortcuts-header{padding:15px 15px 12px}.shortcuts-list{padding-inline:15px}.shortcut-row{min-height:38px;gap:8px}.shortcut-row dt{font-size:12px}}@media(max-width:560px){#shortcutsDialog{max-height:84dvh}.help-section{padding-inline:14px}.help-grid,.help-shortcut-grid{grid-template-columns:minmax(0,1fr)}.help-shortcut-grid{padding-inline:14px}}.topbar-actions{gap:4px;padding:4px;border:1px solid #ffffff18;border-radius:9px;background:#171b17d9;box-shadow:0 8px 24px #0003;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbar-actions .language-switch{padding:0;border:0;background:transparent}.topbar-actions .history-controls{gap:3px}.topbar-actions .icon-button{flex:none;width:34px;height:34px;margin:0;border-radius:6px;background:#ffffff05}.topbar-actions .view-control,.topbar-actions .shortcut-button{flex:none;display:grid;place-items:center;width:34px;height:34px;margin:0;border-radius:6px}.topbar-actions .view-control{border:1px solid var(--control-line);background:#ffffff05;color:#c4cbb5}.topbar-actions .shortcut-button{font-size:15px}.right-rail{top:82px;gap:0}.view-chip{padding:4px 6px;border-color:transparent;background:#171b1770;color:#8c9485;opacity:.78;font-size:7px;letter-spacing:.07em}.view-chip select{color:#b6beaa}.view-chip:hover,.view-chip:focus-within{opacity:1;border-color:#ffffff12;background:#171b17b5}@media(max-width:900px),(max-height:520px)and (orientation:landscape){.topbar-actions{gap:4px;padding:3px}.topbar-actions .icon-button,.topbar-actions .view-control,.topbar-actions .shortcut-button{width:38px;height:38px}.right-rail{top:calc(62px + env(safe-area-inset-top))}.view-chip{min-height:30px;padding:4px 6px}}@media(max-width:410px){.topbar{padding-inline:8px}.topbar-actions{gap:2px}.topbar-actions .icon-button,.topbar-actions .view-control,.topbar-actions .shortcut-button{width:32px;height:32px}.topbar-actions .language-switch button{min-width:27px;padding-inline:3px}}@media(max-width:350px){.brand-mark,.brand small{display:none}.brand{font-size:10px;letter-spacing:.045em}.topbar{padding-inline:7px}.topbar-actions{padding:2px}.topbar-actions .icon-button,.topbar-actions .view-control,.topbar-actions .shortcut-button{width:28px;height:28px}.topbar-actions .language-switch button{min-width:24px;min-height:26px;font-size:8px}}.footer-left a{color:#8f9787;text-decoration:none;transition:color .15s}.footer-left a:hover,.footer-left a:focus-visible{color:#c4cdae;text-decoration:underline}.view-chip{font-size:9px;letter-spacing:.06em}.view-chip select{max-width:150px;padding:2px 1px;font:12px -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:0}.view-chip .view-chevron{width:12px;height:12px;margin-left:2px;color:#929b88}@media(max-width:900px),(max-height:520px)and (orientation:landscape){.view-chip{font-size:8px}.view-chip select{font-size:12px}.footer-left{display:block;z-index:3;right:auto;left:12px;bottom:calc(102px + env(safe-area-inset-bottom));padding:3px 5px;border-radius:4px;background:#101310a6;color:#798173;font-size:7px;letter-spacing:.04em}}@media(max-height:520px)and (orientation:landscape)and (max-width:1000px){.footer-left{bottom:calc(58px + env(safe-area-inset-bottom));left:10px}}.brand small{color:#858d80;font-size:9px;letter-spacing:.13em}.project-name{color:#b0b7a7;font-size:10px;letter-spacing:.1em}.card-label{color:#9aa38e;font-size:10px}.slider-label{color:#a3aa9b;font:10.5px -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:.01em}.slider-label output{color:#d2d8c5;font:11px -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.control-fold summary{color:#d0d6c5;font:11px/1.15 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:.01em}.compact-label{color:#a4ac99;font:10px -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:0}.micro-note{color:#8b9383;font-size:9px}.small-action{font-size:10px}.wheel-copy small{color:#929a8b;font-size:8px}.shortcuts-header p{font-size:9px}.footer-left,.footer-right{color:#7b8476;font-size:9px;letter-spacing:.08em}.footer-left a{color:#929a8b}@media(max-width:900px),(max-height:520px)and (orientation:landscape){.brand small,.footer-left{font-size:8px}}@media(max-width:900px){.tool-option .icon{width:19px;height:19px}.tool-option small{font-size:8px}.tool-option.active .icon{color:#d0dba8}.height-lock-toggle{min-height:40px;margin:-4px 0 10px;font-size:11px}.height-lock-toggle input{width:18px;height:18px}.height-lock-toggle .icon{width:16px;height:16px}}
