:root{background:#fafbf9;color:#39453e;font-family:Arial,Helvetica,sans-serif;font-size:13px}.object-studio{height:100dvh;overflow:hidden;background:#fafbf9}.object-studio .site-header{height:78px;margin:0;padding:24px 38px 12px;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;position:relative;z-index:2}.brand{font-size:22px;font-weight:600;letter-spacing:-1px;color:#3c4741;line-height:1}.brand span{display:block;font-size:10px;font-weight:400;letter-spacing:.02em;color:#9aA39d;margin-top:7px}.site-menu{display:flex;gap:21px;align-items:center;padding-top:2px}.site-menu>button{border:0;padding:3px 0;background:none;color:#848e87;font-size:11px}.site-menu>button:hover{color:#324a3c}.site-menu .is-recording{color:#a3483f}.site-menu .is-recording:before{content:'●';margin-right:5px;font-size:8px}.languages{margin-left:10px}.languages button{font-size:9px;padding:4px 5px}.languages button[aria-pressed=true]{background:#e9ede8;border-color:transparent;color:#394d40}.object-stage{max-width:none;margin:0;padding:0;height:calc(100dvh - 123px);position:relative;width:100%;overflow:hidden}#instrument-canvas{display:block;width:100%;height:100%;outline:none;touch-action:none;cursor:grab}#instrument-canvas:focus-visible{box-shadow:inset 0 0 0 1px #b8c6bd}#surface-hover{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);font-size:11px;letter-spacing:.02em;color:#687b6e;white-space:nowrap;pointer-events:none;min-height:16px}#take-notice{position:absolute;right:38px;bottom:18px;border-color:#c7d0c7;background:#f4f7f1;font-size:11px;color:#42684b;box-shadow:0 5px 20px #526d4f10}#webgl-error{position:absolute;inset:30% 20%;text-align:center}.object-studio .site-footer{height:45px;padding:8px 38px 15px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0;font-size:10px;color:#a0aaa2;line-height:1.3}.site-footer button{border:0;background:none;color:#8d9a90;padding:0;font-size:10px}.site-footer #stage-state{margin-left:auto;text-align:right;max-width:30%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#studio-modal{border:1px solid #e0e5df;border-radius:13px;background:#fafbf8;color:#3d4941;box-shadow:0 25px 100px #1f342733;width:min(940px,calc(100vw - 50px));max-height:calc(100dvh - 80px);padding:0;overflow:auto}#studio-modal::backdrop{background:#e1e7df66;backdrop-filter:blur(8px)}.modal-heading{position:sticky;top:0;z-index:3;padding:20px 24px 15px;background:#fafbf8f5;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e1e6df}.modal-heading h2{font-size:17px;font-weight:500;margin:0}.modal-heading button{border:0;background:none;color:#7d8b80;font-size:11px;padding:5px}.modal-body{padding:20px 24px 24px}.studio-panel h3{font-size:15px;font-weight:500;margin:4px 0 16px}.source-columns{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px}.source-columns #manual{margin:0;padding:0;border:0}.source-columns #manual>summary{display:none}.source-columns textarea{min-height:180px;resize:vertical;background:#fff;border-color:#d3dcd1;font-size:14px;line-height:1.65;margin-top:0}.source-columns .manual-actions{flex-wrap:wrap}.source-columns #wikipedia-import{margin-top:22px}.source-columns #load-form{padding-top:12px}.source-columns .url-row{flex-wrap:wrap}.source-columns #url{flex-basis:100%}.source-columns #load{width:100%}.source-columns .reading{background:#fff;border-color:#d9e1d6}.source-columns .article-heading{padding:12px;gap:10px;flex-wrap:wrap}.source-columns #now{min-width:80px;justify-content:flex-start}.source-columns #reader{height:235px;font-size:15px;line-height:1.9;padding:12px 16px}.source-columns .fragment-tools{padding:10px 12px;gap:7px}.source-columns .fragment-tools select{max-width:155px}.source-columns #source{font-size:9px}.source-columns #position{font-size:9px}.source-columns .placeholder{font-size:13px}#source-message #message{margin:0 0 15px;font-size:11px}#panel-controls .controls{border:0;padding-top:0}#panel-controls .performance-panel{margin-bottom:0}#panel-controls .sound-panel{background:#eaf0e8;border-color:#d4dfd0}#panel-takes #takes{padding:0;border:0;margin:0}#panel-takes #takes h3{display:none}#panel-takes #take-list{display:block}#panel-takes #take-list li{padding:11px 0;border-bottom:1px solid #e1e8de;justify-content:space-between}#panel-takes #take-list a{font-size:12px;color:#4c7052}#panel-takes .export-details{margin-top:20px}#panel-guide p{font-size:13px;line-height:1.85;max-width:720px}#panel-guide .guide-local,#panel-guide .credits{color:#849180;font-size:11px}#panel-guide #equivalences{margin-top:24px}#panel-guide #equivalences summary{display:none}.object-studio .primary{background:#3c5e49;border-color:#3c5e49}#use-text{background:#3c5e49;color:#fff;border-color:#3c5e49}.object-studio input[type=checkbox],.object-studio input[type=range]{accent-color:#57775a}.object-studio button:focus-visible,.object-studio input:focus-visible,.object-studio textarea:focus-visible{outline-color:#7a957c}
@media(max-width:650px){.object-studio .site-header{padding:20px 20px 8px;height:94px;gap:14px;flex-wrap:wrap}.brand{font-size:20px}.brand span{font-size:9px;margin-top:5px}.site-menu{gap:15px;margin-left:auto}.site-menu>button{font-size:10px}.site-menu .languages{margin-left:0}.object-stage{height:calc(100dvh - 145px)}.object-studio .site-footer{height:51px;padding:8px 20px 16px;flex-wrap:wrap;gap:6px;font-size:9px}.site-footer>span:first-child{flex-basis:100%}.site-footer #stage-state{margin-left:0;max-width:65%;text-align:left}.site-footer button{margin-left:auto;font-size:9px}#studio-modal{width:calc(100vw - 24px);max-height:calc(100dvh - 32px)}.modal-heading{padding:15px 16px}.modal-body{padding:16px}.source-columns{grid-template-columns:1fr;gap:20px}.source-columns textarea{min-height:130px}.source-columns #reader{height:170px}#take-notice{right:18px;bottom:24px}#surface-hover{bottom:5px;font-size:10px}}
@media(max-width:400px){.site-menu{gap:13px}.site-menu>button{font-size:9px}.object-studio .site-header{height:110px}.object-stage{height:calc(100dvh - 161px)}}
#step-switches{display:grid;grid-template-columns:repeat(16,1fr);gap:4px;margin-top:18px}#step-switches button{padding:8px 0;font:10px ui-monospace,monospace;background:#d9e6d8;border:1px solid #b4c8b2;border-radius:3px;color:#506c4f}#step-switches button[aria-pressed=false]{background:#eef0ed;border-color:#d8dfd4;color:#9aa395}@media(max-width:650px){#step-switches{gap:2px}#step-switches button{font-size:8px;padding:9px 0}}
.object-studio,.object-studio .site-header,.object-stage,.object-studio .site-footer{background:#fff}
/* The text editor is the expanded smoked display, with the same red phosphor. */
#studio-modal[data-panel=source]{background:#131516;color:#f16c60;border:5px solid #292c2d;border-radius:10px;box-shadow:0 0 0 1px #090b0c,0 2px 0 6px #b9bdbc,0 28px 110px #1c222459,inset 0 1px 2px #ffffff18;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
#studio-modal[data-panel=source]::backdrop{background:#d8dedd77}
#studio-modal[data-panel=source] .modal-heading{background:#191b1cf5;border-bottom:1px solid #4b2a28;color:#ff4330;letter-spacing:.12em;text-transform:uppercase}
#studio-modal[data-panel=source] .modal-heading h2:before{content:'▎';margin-right:10px;color:#ff493a;animation:lcd-caret 1.1s steps(1) infinite}
#studio-modal[data-panel=source] .modal-heading button{color:#ec8075}
#studio-modal[data-panel=source] h3{color:#d9776d;font:12px ui-monospace,monospace}
#studio-modal[data-panel=source] textarea,#studio-modal[data-panel=source] input,#studio-modal[data-panel=source] select{background:#0e1011;color:#ff4330;border:1px solid #56302d;border-radius:3px;caret-color:#ff4a36;font-family:inherit;box-shadow:inset 0 2px 12px #0007}
#studio-modal[data-panel=source] textarea{font-size:16px;line-height:1.7;text-shadow:0 0 8px #ff3a2024;min-height:215px}
#studio-modal[data-panel=source] textarea::placeholder,#studio-modal[data-panel=source] input::placeholder{color:#9f5b54}
#studio-modal[data-panel=source] button{background:#252323;color:#ef8c80;border-color:#63403a;border-radius:3px;font-family:inherit;font-size:11px}
#studio-modal[data-panel=source] #use-text{background:#bf352b;color:#fff2ee;border-color:#e65b47}
#studio-modal[data-panel=source] .reading{background:#0e1011;border-color:#4a2c29;border-radius:4px;color:#ce746b}
#studio-modal[data-panel=source] .article-heading,#studio-modal[data-panel=source] .fragment-tools{border-color:#412b29}
#studio-modal[data-panel=source] #title{color:#ed9c90;font-size:14px}
#studio-modal[data-panel=source] #reader{color:#cb4d3a;font-family:inherit;font-size:14px}
#studio-modal[data-panel=source] #reader .active{color:#fff1e8;background:#b73628;box-shadow:0 0 12px #ff38274d}
#studio-modal[data-panel=source] #now,#studio-modal[data-panel=source] #letter{background:#2c1b19;color:#ff7865;border-color:#73342b}
#studio-modal[data-panel=source] a,#studio-modal[data-panel=source] summary{color:#ed8b7e}
#studio-modal[data-panel=source] label,#studio-modal[data-panel=source] #message,#studio-modal[data-panel=source] #position{color:#ba7f75}
#studio-modal[data-panel=source] input[type=checkbox]{accent-color:#e04835}
#studio-modal[data-panel=source] :focus-visible{outline:2px solid #ef705b;outline-offset:3px}
#studio-modal[data-panel=source] progress{accent-color:#ef5440}
@keyframes lcd-caret{50%{opacity:0}}
@media(prefers-reduced-motion:reduce){#studio-modal[data-panel=source] .modal-heading h2:before{animation:none}}

#studio-modal[data-panel=source] .fragment-tools{background:#201b1a}
#studio-modal[data-panel=source] progress{background:#2e211f;border:0}
#studio-modal[data-panel=source] progress::-webkit-progress-bar{background:#2e211f}
#studio-modal[data-panel=source] progress::-webkit-progress-value{background:#e85a43}
#studio-modal[data-panel=source] #wikipedia-import{border-color:#4a2c29}
#studio-modal[data-panel=source] #now{color:#ed8b7e}
#studio-modal[data-panel=source] .muted,#studio-modal[data-panel=source] #source{color:#a7746b}
#studio-modal[data-panel=source]{color-scheme:dark}
#studio-modal[data-panel=source] #reader .current{color:#fff0e8;background:#ad3227;box-shadow:0 0 0 2px #ad3227,0 0 12px #ff38274d}
#studio-modal[data-panel=source] #sound-name{color:#bc867b}
#ambient-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}#instrument-canvas{position:relative;z-index:1}#surface-hover,#take-notice,#setup-notice{z-index:2}.site-footer #ambient-toggle{white-space:nowrap}.site-footer #ambient-toggle[aria-pressed=true]:before{content:'· ';color:#783f3b}.site-footer #ambient-toggle[aria-pressed=false]{opacity:.5}#setup-notice{position:absolute;top:4px;left:50%;transform:translateX(-50%);max-width:90%;font-size:10px;color:#8c7874;text-align:center;pointer-events:none}
#panel-share{max-width:690px;margin:auto}#panel-share>p{font-size:12px;line-height:1.7;color:#7e7e77}#share-post{white-space:pre-wrap;overflow-wrap:anywhere;font:15px/1.8 ui-monospace,monospace;color:#c3756a;background:#181a1a;padding:24px;border:4px solid #343635;border-radius:6px;box-shadow:inset 0 2px 15px #0006;margin:20px 0 12px}#panel-share #share-summary{font-size:10px;letter-spacing:.04em}#share-link{display:block;width:100%;font:11px ui-monospace,monospace;margin-top:7px;background:#fff}.share-actions{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0}.share-actions button,.setup-file-label{padding:9px 14px;font-size:11px;background:#fff;border:1px solid #d0d3ce;border-radius:4px;color:#59605a}.share-actions #share-x{background:#333b37;color:#fff}.share-actions #share-x:disabled{background:#eceeea;color:#8c928b;opacity:1}.setup-file-label{position:relative;cursor:pointer;overflow:hidden}.setup-file-label input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.setup-file-label:focus-within{outline:2px solid #7a957c;outline-offset:2px}#share-status{min-height:20px}.site-menu{gap:17px}
@media(max-width:650px){.site-menu{gap:11px}.object-studio .site-footer{height:64px}.object-stage{height:calc(100dvh - 158px)}.site-footer #stage-state{max-width:30%;margin-left:auto}.site-footer>span:first-child{flex-basis:100%}#panel-share #share-post{padding:17px;font-size:13px}}
@media(max-width:400px){.object-stage{height:calc(100dvh - 174px)}.site-menu{gap:9px}}
.ambient-control{position:relative;flex-shrink:0}.object-studio .site-footer{position:relative;z-index:3}.site-footer #ambient-menu{white-space:nowrap;color:#8b7974}#ambient-panel{position:absolute;bottom:calc(100% + 18px);left:50%;transform:translateX(-50%);width:280px;padding:19px;background:#f9faf8;border:1px solid #d9ddd6;border-radius:9px;box-shadow:0 12px 45px #18251f26;color:#4c5650;text-align:left}#ambient-panel[hidden]{display:none}.ambient-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.ambient-heading strong{font-size:12px;font-weight:500}.site-footer #ambient-panel button{border:1px solid #d4d9d1;padding:6px 9px;border-radius:4px;font-size:10px;color:#68736b;background:#fff;margin:0}.site-footer #ambient-panel #ambient-toggle[aria-pressed=true]{color:#8b4038;border-color:#bc8377;background:#f2e7e3}.rain-label{display:flex;justify-content:space-between;color:inherit;font-size:11px;margin:12px 0 8px}#rain-intensity{width:100%;margin:0 0 10px;accent-color:#9a554b;cursor:pointer}#rain-intensity-value{font:10px ui-monospace,monospace}.rain-themes{display:flex;gap:7px}.site-footer #ambient-panel .rain-themes button{flex:1;display:flex;align-items:center;gap:7px;padding:8px;font-size:10px}.site-footer #ambient-panel .rain-themes button[aria-pressed=true]{border-color:#9a554b;box-shadow:0 0 0 1px #9a554b33}.theme-swatch{width:15px;height:15px;border-radius:50%;border:1px solid #bdc1bc;display:inline-block;flex-shrink:0}.theme-swatch.light{background:#fff}.theme-swatch.dark{background:#0c0d0e;border-color:#88362e;box-shadow:inset 0 0 0 4px #0c0d0e,inset 0 0 0 5px #b6362b}#rain-reduced{font-size:10px;line-height:1.5;margin:12px 0 0}
body[data-studio-theme=dark],body[data-studio-theme=dark] .site-header,body[data-studio-theme=dark] .object-stage,body[data-studio-theme=dark] .site-footer{background:#090a0b;color:#969c98}body[data-studio-theme=dark] .brand{color:#c5cbc7}body[data-studio-theme=dark] .brand span{color:#717a73}body[data-studio-theme=dark] .site-menu>button,body[data-studio-theme=dark] .site-footer button{color:#969d98}body[data-studio-theme=dark] .site-menu>button:hover{color:#ecdad5}body[data-studio-theme=dark] .languages button{background:transparent;color:#8e9690;border-color:transparent}body[data-studio-theme=dark] .languages button[aria-pressed=true]{background:#272623;color:#d4b0a7}body[data-studio-theme=dark] #surface-hover{color:#a78c85}body[data-studio-theme=dark] #ambient-panel{background:#17191a;border-color:#373b37;color:#c0c4bf;box-shadow:0 12px 50px #0009}body[data-studio-theme=dark] .site-footer #ambient-panel button{background:#222526;border-color:#424740;color:#b7c0b8}body[data-studio-theme=dark] .site-footer #ambient-panel #ambient-toggle[aria-pressed=true]{background:#35201e;color:#e7a496;border-color:#8d4b41}body[data-studio-theme=dark] #instrument-canvas:focus-visible{box-shadow:inset 0 0 0 1px #69332b}
#panel-takes #take-list li>a{flex:1}#panel-takes #take-list .remove-take{font-size:21px;line-height:1;padding:3px 8px;border:0;background:transparent;color:#92746c;border-radius:4px}#panel-takes #take-list .remove-take:hover{background:#f1e3de;color:#8a352b}#take-list-status:empty{display:none}#take-list-status{font-size:11px;color:#827b70}
@media(max-width:650px){#ambient-panel{left:0;transform:none;width:min(280px,calc(100vw - 40px))}.site-footer #ambient-menu{margin-left:0}}
/* Three direct scene choices, always visible above the instrument. */
.scene-modes{position:absolute;top:14px;right:38px;z-index:3;display:flex;align-items:center;gap:8px}.scene-modes>span{font-size:10px;color:#8b918c;margin-right:3px}.scene-modes button{width:38px;height:29px;padding:0;border-radius:5px;border:1px solid #b9bdb7;font:15px ui-monospace,SFMono-Regular,monospace;box-shadow:0 2px 3px #00000012}.scene-modes .mode-dark{background:#101112;color:#ef3525;border-color:#56312c;text-shadow:0 0 5px #ff221940}.scene-modes .mode-light{background:#f5f6f4;color:#7a817c}.scene-modes .mode-plain{background:#fff;color:#b1b7b2}.scene-modes button[aria-pressed=true]{outline:1px solid #a86458;outline-offset:3px}.scene-modes button:focus-visible{outline:2px solid #da725d;outline-offset:3px}body[data-studio-theme=dark] .scene-modes>span{color:#9b9892}#setup-notice{top:51px}
@media(max-width:650px){.scene-modes{right:20px;top:8px;gap:7px}.scene-modes button{width:35px;height:28px}.scene-modes>span{font-size:9px}#setup-notice{top:43px}}

.preset-picker{margin:0 0 22px;padding-bottom:16px;border-bottom:1px solid #4b2a28}.preset-picker>label{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px}.preset-row{display:flex;gap:20px;align-items:stretch}.preset-row select{min-width:0;flex:1;padding:9px}.preset-row button{white-space:nowrap;padding:9px 12px}#preset-help{font-size:11px;line-height:1.5;margin:9px 0 0;color:#ce746b}#studio-modal[data-panel=source] #demo[hidden]{display:none}@media(max-width:430px){.preset-row{flex-direction:column}}
.source-columns{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.source-columns>div{min-width:0}.source-columns #reader{overflow-wrap:anywhere}@media(max-width:780px){.source-columns{grid-template-columns:minmax(0,1fr)}#studio-modal[data-panel=source] textarea{min-height:130px}.source-columns #reader{height:170px}}
