:root{color-scheme:dark;--bg:#101311;--panel:#171b18;--line:#2b302b;--text:#f0f1eb;--muted:#899187;--accent:#c5f3b1;--secondary:#b2bcac;--radius:15px;font-family:'DM Sans',system-ui,sans-serif;font-size:13px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0;background:none}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,.brand{font-family:'Manrope',system-ui,sans-serif}input[type=range]{accent-color:var(--accent);cursor:pointer}input[type=range]{appearance:none;-webkit-appearance:none;height:3px;background:linear-gradient(to right,var(--accent) 0%,var(--accent) var(--fill,50%),#333a32 var(--fill,50%),#333a32 100%);border-radius:10px;margin:0}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:10px;height:10px;border-radius:50%;background:var(--accent);border:2px solid var(--accent)}input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:var(--accent);border:0}.icon-sprite{display:none}.topbar{height:77px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 3.2%;gap:30px}.brand{display:flex;align-items:center;gap:10px;font-size:29px;font-weight:800;letter-spacing:-1.5px;text-decoration:none;color:var(--text)}.brand-mark{color:var(--accent);font-size:44px;font-weight:500;line-height:1;letter-spacing:0}.brand-dot{color:var(--accent)}.brand-sub{font-size:9px;letter-spacing:2px;font-weight:500;color:#a3ab9f;border-left:1px solid var(--line);padding-left:28px}.header-right{margin-left:auto;display:flex;align-items:center;gap:25px}.local-badge{display:flex;align-items:center;gap:8px;letter-spacing:1.3px;font-size:8px;color:var(--secondary)}.local-badge>span{width:5px;height:5px;background:var(--accent);border-radius:50%}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;transition:background .2s;color:var(--secondary);flex-shrink:0}.icon-button:hover{background:#ffffff0d;color:var(--text)}#helpBtn{border:1px solid #3a4338;border-radius:50%;height:23px;width:23px;font-weight:700;font-size:12px}.small{width:26px;height:26px}.small svg{width:15px;height:15px}main{max-width:1660px;margin:0 auto;padding:39px 3.2% 0}.workspace-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:29px}.eyebrow{font-size:8px;font-weight:650;letter-spacing:1.9px;color:var(--accent);margin-bottom:12px}h1{font-size:34px;line-height:1.3;font-weight:600;letter-spacing:-1.4px}h1>span{color:var(--accent)}.workspace-heading p{color:var(--muted);font-size:12px;margin-top:9px}.button{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line);border-radius:8px;min-height:40px;padding:10px 16px;font-weight:500;transition:background .2s,border-color .2s}.button:hover{border-color:#64745d;background:#ffffff05}.button svg{width:16px;height:16px}.subtle{color:#d1d8cd;font-size:11px;margin-top:22px;background:#1a1f19}.studio-grid{display:grid;grid-template-columns:206px minmax(0,1fr) 232px;gap:18px;align-items:start}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}.library{padding:20px 15px 0;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.panel-heading h2{font-size:13px;font-weight:650;letter-spacing:-.3px}.count{font-size:9px;line-height:19px;min-width:24px;text-align:center;border:1px solid #343c32;border-radius:5px;color:#b4bfad}.library-tabs{display:flex;background:#111612;border:1px solid #292e29;border-radius:7px;padding:3px;margin-bottom:16px}.library-tabs button{width:50%;font-size:10px;padding:7px 0;color:var(--muted);border-radius:4px}.library-tabs button.active{color:var(--text);background:#30372e}.library-tabs button span{font-size:8px;margin-left:4px;color:var(--accent)}.search{display:flex;align-items:center;gap:7px;margin-bottom:15px;color:#717e6b}.search svg{width:14px;height:14px}.search input{width:100%;background:none;border:0;color:var(--text);font-size:10px;padding:4px 0}.search input::placeholder{color:#7e8978}.preset-list{display:flex;flex-direction:column;gap:10px;min-height:470px;max-height:650px;overflow:auto;scrollbar-width:thin;scrollbar-color:#414a3c transparent;padding-bottom:5px}.preset-card{position:relative;text-align:left;border:1px solid #30362e;border-radius:9px;overflow:hidden;width:100%;background:#111512;padding:0;flex-shrink:0;transition:border-color .2s}.preset-card:hover{border-color:#788c6c}.preset-card.active{border-color:#b7e39d;box-shadow:0 0 0 1px #b7e39d33}.preset-art{display:block;width:100%;height:66px;background-size:cover;background-position:50% 50%;filter:saturate(.9)}.preset-card .preset-meta{display:flex;align-items:center;justify-content:space-between;padding:9px 10px;background:#1c211b}.preset-card strong{font-size:10px;font-weight:500;letter-spacing:-.1px}.preset-card .preset-number{font-size:8px;color:#84927b}.preset-card.active .preset-number{color:var(--accent)}.preset-card.active:after{content:'✓';position:absolute;right:7px;top:7px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--accent);color:#13220e;font-size:10px;font-weight:800}.empty-state{font-size:11px;color:var(--muted);line-height:1.8;padding:15px 1px}.saved-item{position:relative}.saved-item .preset-card{padding-right:25px}.delete-look{position:absolute;right:6px;bottom:5px;z-index:1;width:23px;height:23px}.delete-look svg{width:12px;height:12px}.library-bottom{border-top:1px solid var(--line);display:flex;gap:10px;align-items:center;margin:16px -15px 0;padding:17px 15px;color:#aaba9f}.library-bottom>svg{width:24px;height:24px;color:var(--accent)}.library-bottom p{font-size:9px;line-height:1.8}.library-bottom p span{color:#72836a}.center-column{min-width:0}.stage{width:100%;aspect-ratio:1.38;min-height:340px;max-height:640px;position:relative;background:#030507;border:1px solid #313b32;border-radius:var(--radius);overflow:hidden;isolation:isolate}.stage:before{position:absolute;inset:0;background:linear-gradient(#03060435,transparent 23%,transparent 63%,#030604cc);content:'';pointer-events:none;z-index:1}.stage canvas{display:block;position:absolute;inset:0;width:100%;height:100%}.stage-top{position:absolute;top:19px;left:19px;right:15px;z-index:2;display:flex;align-items:center;justify-content:space-between}.live-pill{display:flex;align-items:center;gap:7px;font-size:7px;letter-spacing:1.3px;font-weight:550;background:#0b161884;border:1px solid #b2dbcb22;padding:7px 9px;border-radius:5px;backdrop-filter:blur(12px);color:#d2e1d7}.live-pill>span:first-child{background:var(--accent);width:5px;height:5px;border-radius:50%;box-shadow:0 0 8px #b8e99a55}.stage-top-actions{display:flex;gap:3px}.stage .icon-button{color:#d7dfd7;background:#11221c40;backdrop-filter:blur(12px)}.stage .icon-button:hover{background:#42604770}.stage-bottom{position:absolute;bottom:24px;left:26px;right:20px;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.scene-kicker{font-size:7px;letter-spacing:1.7px;color:#bbd0c3}.stage-bottom h2{font-size:25px;font-weight:550;letter-spacing:-.9px;margin-top:8px;text-shadow:0 1px 15px #000}.stage-bottom p{font-size:10px;color:#b9cabf;margin-top:7px;letter-spacing:.1px}.scene-nav{display:flex;gap:8px}.scene-nav .icon-button{border:1px solid #aec8b533;width:31px;height:31px;border-radius:50%}.scene-nav svg{width:13px;height:13px}.stage.chr-hidden .stage-chrome,.stage.chr-hidden:before{opacity:0;pointer-events:none}.stage-chrome{transition:opacity .2s}.restore-ui{display:none;position:absolute;bottom:15px;right:15px;z-index:3;background:#132218b3;border:1px solid #7080684d;border-radius:8px;padding:8px 10px;align-items:center;gap:8px;font-size:10px;opacity:.15}.restore-ui:hover,.restore-ui:focus-visible{opacity:1}.stage.chr-hidden .restore-ui{display:flex}.restore-ui svg{width:14px;height:14px}.stage:fullscreen,.stage.full-window{width:100vw;height:100dvh;max-height:none;aspect-ratio:auto;border:0;border-radius:0}.stage.full-window{position:fixed;inset:0;z-index:100}.drop-overlay{display:none;position:absolute;inset:0;background:#142218dc;backdrop-filter:blur(12px);z-index:6;align-items:center;justify-content:center;flex-direction:column;border:2px dashed var(--accent);border-radius:15px}.drop-overlay.visible{display:flex}.drop-overlay svg{width:42px;height:42px;color:var(--accent);margin-bottom:15px}.drop-overlay h2{font-size:25px;font-weight:500}.drop-overlay p{margin-top:10px;color:var(--secondary)}.renderer-error{position:absolute;inset:0;z-index:5;background:#17211bea;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px}.renderer-error:not([hidden]){display:flex}.renderer-error h2{font-size:20px;margin-bottom:12px}.renderer-error p{color:var(--secondary);line-height:1.7}.stage-toolbar{display:flex;justify-content:space-between;align-items:center;margin:13px 2px 19px}.engine-state{display:flex;align-items:center;gap:7px;font-size:7px;letter-spacing:.6px;color:#8b9e83;white-space:nowrap}.status-dot{width:4px;height:4px;background:var(--accent);border-radius:50%}.divider{height:8px;width:1px;background:#41493c;margin:0 2px}.toolbar-right{display:flex;gap:17px}.text-button{display:flex;align-items:center;gap:6px;font-size:9px;padding:0;color:#abb6a4;white-space:nowrap}.text-button svg{width:12px;height:12px}.text-button:hover{color:var(--accent)}.toggle-dot{display:block;width:18px;height:10px;border-radius:10px;background:#30382d;position:relative}.toggle-dot:after{content:'';position:absolute;width:6px;height:6px;top:2px;left:2px;border-radius:50%;background:#96a18e;transition:transform .2s}#autoBtn[aria-pressed=true] .toggle-dot{background:#536b42}#autoBtn[aria-pressed=true] .toggle-dot:after{background:var(--accent);transform:translateX(8px)}.audio-panel{padding:17px 20px 12px}.audio-source-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:13px;gap:8px}.section-label{font-size:7px;letter-spacing:1.2px;color:#8d9a84;white-space:nowrap}.source-tabs{display:flex;gap:4px}.source-tabs button{display:flex;align-items:center;gap:5px;padding:6px 8px;font-size:9px;border-radius:5px;color:#96a58d;border:1px solid transparent}.source-tabs button svg{width:12px;height:12px}.source-tabs button.active{color:var(--accent);background:#c5f3b10c;border-color:#c5f3b122}.source-tabs button:hover{background:#ffffff08}.track-row{display:flex;align-items:center;gap:12px;margin-top:16px}.album-art{width:39px;height:39px;border-radius:8px;display:grid;place-items:center;background:radial-gradient(at 20% 30%,#657751,#1e3029 65%);border:1px solid #4e613f;color:#c2dcaa}.album-art svg{width:23px;height:23px;stroke-width:1.2}.track-details{display:flex;flex-direction:column;gap:5px;min-width:0}.track-details strong{font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.track-details>span{font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.play-button{margin-left:auto;flex-shrink:0;width:35px;height:35px;display:grid;place-items:center;background:var(--accent);border-radius:50%;color:#202c1b}.play-button:hover{background:#dbffca;box-shadow:0 0 20px #c5f3b11a}.play-button svg{width:17px;height:17px;stroke-width:2}.timeline-row{display:flex;align-items:center;gap:10px;margin:17px 0 12px}.timeline-row span{font-size:8px;color:#87947f;font-variant-numeric:tabular-nums}.timeline-row input{flex:1;min-width:10px;height:2px}.timeline-row input::-webkit-slider-thumb{width:6px;height:6px}.player-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px}.player-bottom>span{font-size:8px;color:#75846b;line-height:1.5}.volume{display:flex;gap:8px;align-items:center;color:#9daf94}.volume svg{width:12px;height:12px}.volume input{width:50px;height:2px}.volume input::-webkit-slider-thumb{width:6px;height:6px}.playlist{border-top:1px solid var(--line);margin-top:12px;padding-top:6px;max-height:110px;overflow:auto}.playlist button{display:block;width:100%;text-align:left;font-size:10px;color:#99ac8f;padding:7px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.playlist button.active{color:var(--accent)}.studio-caption{display:flex;align-items:center;justify-content:space-between;margin:17px 1px 0;font-size:8px;color:#78886e;gap:8px}.studio-caption>span:first-child{font-style:italic;letter-spacing:.1px}.studio-caption>span:last-child{display:flex;align-items:center;gap:4px;font-size:7px}.caption-separator{margin:0 4px}kbd{font-size:7px;font-family:inherit;line-height:13px;padding:0 4px;min-width:14px;display:inline-block;border:1px solid #414a3b;border-radius:3px;color:#a5b59a;text-align:center}.controls{padding:19px 18px 0}.controls .panel-heading{margin-bottom:22px}.control-section{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:20px}.control-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.control-heading h3{font-size:10px;font-weight:500;color:#cfd9c7}.control-heading>span{font-size:8px;color:#8fa082}.palettes{display:flex;align-items:center;gap:9px}.palette{height:27px;width:27px;padding:0;border-radius:50%;border:3px solid #171b18;outline:1px solid transparent;position:relative;transition:outline-color .2s}.palette.active{outline-color:var(--accent)}.palette:hover{transform:scale(1.08)}.palette.active:after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 0 1px #ffffff33;border-radius:50%}.control-label{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:10px;color:#cbd5c3;margin-bottom:13px}.control-label output{font-size:9px;color:#9aab8d;font-variant-numeric:tabular-nums}.visual-range{width:100%;display:block}.range-endpoints{display:flex;justify-content:space-between;font-size:7px;color:#728268;margin-top:10px;margin-bottom:22px}.range-section{padding-bottom:21px}.extra-controls{padding-bottom:17px}.switch-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.switch-row label{font-size:10px;color:#cbd5c3}.switch-row p{font-size:8px;color:#738369;margin-top:4px}.switch-row input{appearance:none;-webkit-appearance:none;width:27px;height:15px;border-radius:20px;background:#414b3b;margin:0;position:relative;cursor:pointer;transition:background .2s}.switch-row input:checked{background:var(--accent)}.switch-row input:after{content:'';width:9px;height:9px;position:absolute;left:3px;top:3px;background:#1f2e17;border-radius:50%;transition:transform .2s}.switch-row input:checked:after{transform:translateX(12px)}.quality-label{margin-bottom:0}.quality-label select{color:#9baa8e;background:#20261e;border:1px solid #3a4433;border-radius:4px;padding:4px;font-size:8px;max-width:100px}.frequency-section{padding-bottom:15px;margin-bottom:16px}.frequency-section .control-heading{margin-bottom:0}.frequency-section canvas{width:100%;height:49px;display:block;margin-top:10px}.spectrum-labels{display:flex;justify-content:space-between;font-size:6px;letter-spacing:.8px;color:#7d8d71;margin-top:6px}.save-section .button{width:100%;font-size:10px;min-height:36px;padding:8px;margin-bottom:9px}.save-button{background:var(--accent);border-color:var(--accent);color:#25331e}.save-button:hover{background:#d7ffc4;border-color:#d7ffc4}.save-button svg{width:13px;height:13px}.record-button{color:#b3c3a7;border-color:#3a4632;background:#1c2419}.record-dot{width:6px;height:6px;border-radius:50%;background:#ee9d93}.record-button.recording{border-color:#d18877;color:#f6b5a4}.record-button.recording .record-dot{border-radius:1px;animation:record-pulse 1s infinite}@keyframes record-pulse{50%{opacity:.4}}.save-section>p{text-align:center;font-size:7px;color:#738369;margin:11px -5px 17px;line-height:1.6}footer{border-top:1px solid var(--line);margin:32px 0 0;padding:18px 0 24px;display:flex;align-items:center;justify-content:space-between;color:#74846a;font-size:8px}footer>span:first-child{display:flex;align-items:center;gap:8px}footer>span:last-child{font-size:6px;letter-spacing:1.1px;color:#697c5d}.mini-mark{color:#a9c693;font-size:19px;line-height:1}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:200;background:#d1efbd;color:#26351e;padding:12px 20px;border-radius:9px;box-shadow:0 10px 40px #0008;max-width:90vw;font-size:12px;line-height:1.5;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{background:#192018;color:var(--text);border:1px solid #4b5e40;border-radius:18px;padding:27px;width:440px;max-width:92vw;box-shadow:0 20px 100px #000b}dialog::backdrop{background:#030903b8;backdrop-filter:blur(7px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.dialog-header .eyebrow{margin:0}.dialog-header .icon-button{width:25px;height:25px}.dialog-header .icon-button svg{width:15px;height:15px}dialog h2{font-size:26px;letter-spacing:-.8px;font-weight:500;margin:15px 0}dialog p{color:#a8b79e;font-size:12px;line-height:1.8;margin-top:17px}dialog .help-small{font-size:10px;color:#7f9472}.help-shortcuts{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;font-size:11px;margin:22px 0;color:#c4d4b9}.help-shortcuts kbd{font-size:10px;padding:3px 8px}#saveForm{display:flex;flex-direction:column;gap:20px}#saveForm input{background:#0f170d;border:1px solid #46583b;border-radius:7px;padding:12px;color:var(--text);font-size:12px}#saveForm .primary{background:var(--accent);color:#23321b}.no-scroll{overflow:hidden}
@media(min-width:1500px){.studio-grid{grid-template-columns:230px minmax(0,1fr) 260px;gap:22px}.stage{aspect-ratio:1.53}.preset-art{height:72px}.preset-list{max-height:720px}.controls{padding:21px 22px 0}.control-section{padding-bottom:23px;margin-bottom:23px}.frequency-section canvas{height:60px}.library{padding:23px 19px 0}.library-bottom{margin-left:-19px;margin-right:-19px;padding-left:19px}.preset-card strong{font-size:11px}.stage-bottom h2{font-size:31px}}
@media(max-width:1150px){.studio-grid{grid-template-columns:175px minmax(0,1fr) 204px;gap:13px}main{padding-left:2.4%;padding-right:2.4%}.controls{padding:17px 14px 0}.palettes{gap:7px}.palette{width:24px;height:24px}.library{padding:17px 12px 0}.library-bottom{margin-left:-12px;margin-right:-12px;padding-left:12px}.preset-art{height:57px}.preset-list{max-height:610px}.stage{aspect-ratio:1.18;min-height:350px}.audio-panel{padding:14px}.source-tabs button{font-size:8px;padding:5px}.source-tabs{gap:1px}.section-label{font-size:6px}.studio-caption>span:first-child{display:none}.studio-caption{justify-content:flex-end}.stage-bottom{left:20px}.stage-bottom h2{font-size:22px}.toolbar-right{gap:10px}.engine-state{font-size:6px}.text-button{font-size:8px}}
@media(max-width:960px){.studio-grid{grid-template-columns:175px minmax(0,1fr)}.controls{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.8fr 1fr;gap:18px;padding:20px;align-items:start}.controls .panel-heading{grid-column:1/-1;margin-bottom:-6px}.controls .range-section{grid-column:2;grid-row:2/4;border:0;display:grid;grid-template-columns:1fr 1fr;column-gap:20px;margin:0;padding:0}.range-section .control-label,.range-section .visual-range,.range-section .range-endpoints{grid-column:auto}.range-section .control-label:nth-of-type(1){grid-column:1;grid-row:1}.range-section input#intensity{grid-column:1;grid-row:2}.range-section .range-endpoints:nth-of-type(2){grid-column:1;grid-row:3}.range-section .control-label:nth-of-type(3){grid-column:2;grid-row:1}.range-section input#speed{grid-column:2;grid-row:2}.range-section .range-endpoints:nth-of-type(4){grid-column:2;grid-row:3}.range-section .control-label:nth-of-type(5){grid-column:1;grid-row:4}.range-section input#sensitivity{grid-column:1;grid-row:5}.range-section .range-endpoints:nth-of-type(6){grid-column:1;grid-row:6}.range-section .control-label:nth-of-type(7){grid-column:2;grid-row:4}.range-section input#symmetry{grid-column:2;grid-row:5}.controls .control-section{margin:0;padding-bottom:15px}.extra-controls{grid-column:1;grid-row:3;border:0}.frequency-section{grid-column:3;grid-row:2}.save-section{grid-column:3;grid-row:3}.controls .control-label{font-size:9px}.controls .save-section>p{margin-bottom:0}.controls .range-endpoints{margin-bottom:20px}.controls .control-section:first-of-type{grid-column:1;grid-row:2}.stage{aspect-ratio:1.25;max-height:600px}.preset-art{height:64px}.preset-list{max-height:610px}.library-bottom{padding-top:17px;padding-bottom:17px}.workspace-heading{margin-bottom:25px}.source-tabs button{font-size:9px;padding:6px 9px}.audio-panel{padding:17px}.stage-toolbar{margin-bottom:15px}.engine-state{font-size:7px}.text-button{font-size:9px}.studio-caption>span:first-child{display:block}.studio-caption{justify-content:space-between}}
@media(max-width:680px){.topbar{height:65px;padding:0 5%;gap:18px}.brand{font-size:26px}.brand-mark{font-size:37px}.brand-sub{font-size:6px;letter-spacing:1px;padding-left:17px}.local-badge{display:none}.header-right{gap:0}main{padding:27px 4% 0}.workspace-heading{align-items:flex-end;margin-bottom:23px;gap:10px}.eyebrow{font-size:6px;letter-spacing:1.3px;margin-bottom:10px}h1{font-size:28px;letter-spacing:-1.1px}.workspace-heading p{font-size:10px;line-height:1.6;max-width:235px;margin-top:7px}.workspace-heading .subtle{padding:10px;min-height:35px;margin:0 0 4px}.workspace-heading .subtle span{display:none}.workspace-heading .subtle svg{width:16px;height:16px}.studio-grid{display:flex;flex-direction:column;gap:18px}.center-column{order:0;width:100%}.stage{aspect-ratio:.98;min-height:340px;max-height:590px}.stage-top{top:14px;left:14px;right:9px}.stage-bottom{bottom:21px;left:21px;right:16px}.stage-bottom h2{font-size:25px}.stage-bottom p{font-size:10px}.stage-toolbar{margin:13px 2px 18px}.engine-state{font-size:6px}.toolbar-right{gap:12px}.text-button{font-size:8px}.audio-panel{padding:15px}.section-label{font-size:6px}.source-tabs button{font-size:8px;padding:6px}.source-tabs button svg{width:11px;height:11px}.studio-caption{margin-top:14px}.studio-caption>span{font-size:7px}.studio-caption>span:last-child{font-size:6px}.library{order:1;width:100%;padding:16px 14px 12px}.library .panel-heading{margin-bottom:13px}.library-tabs{width:180px;margin-bottom:0}.search{position:absolute;top:56px;right:15px;width:calc(100% - 215px);margin:0}.library{position:relative}.preset-list{margin-top:16px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;min-height:0;max-height:410px}.preset-art{height:63px}.preset-card .preset-meta{padding:9px 7px;gap:4px}.preset-card strong{font-size:8px}.preset-number{display:none}.library-bottom{display:none}.controls{order:2;width:100%;display:block;padding:19px}.controls .panel-heading{margin-bottom:22px}.controls .control-section{padding-bottom:20px;margin-bottom:20px}.controls .control-section:first-of-type{grid-column:auto}.controls .range-section{display:grid;grid-template-columns:1fr 1fr;column-gap:26px;border-bottom:1px solid var(--line);padding-bottom:0;margin-bottom:20px}.palettes{gap:16px}.palette{width:29px;height:29px}.controls .control-label{font-size:11px}.control-heading h3{font-size:11px}.control-heading>span{font-size:9px}.extra-controls{display:grid;grid-template-columns:1fr 1fr;gap:25px}.switch-row{margin-bottom:0}.quality-label{align-self:center}.switch-row label{font-size:11px}.frequency-section canvas{height:65px}.save-section{display:flex;flex-wrap:wrap;gap:10px}.save-section .button{width:calc(50% - 5px);font-size:11px;margin:0}.save-section>p{width:100%;margin:0!important;font-size:8px}.spectrum-labels{font-size:7px}.range-endpoints{font-size:8px}.controls .range-endpoints{margin-bottom:25px}.extra-controls p{font-size:9px}footer{font-size:7px;margin-top:24px;gap:15px;padding:18px 0 24px}footer>span:last-child{font-size:5px;max-width:100px;text-align:right;line-height:1.6}.live-pill{font-size:6px}.playlist button{font-size:10px}.empty-state{grid-column:1/-1}.save-section .record-button.recording{font-size:10px}.stage:fullscreen .stage-bottom h2,.stage.full-window .stage-bottom h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}.record-button.recording .record-dot{animation:none}}

/* Comfortable touch targets and a compact phone studio. */
html{-webkit-text-size-adjust:100%}button,input,select{touch-action:manipulation}.icon-button{min-width:36px;min-height:36px}.source-tabs{flex-wrap:wrap;justify-content:flex-end}.source-tabs button{min-height:38px;padding:8px}.audio-source-row{align-items:flex-start}.source-tabs button:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.stage{touch-action:pan-y}.stage.full-window,.stage:fullscreen{touch-action:none}.stream-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}#streamDialog{width:520px;max-height:88dvh;overflow:auto}#streamDialog strong{color:#d4e7cb}#connectTabBtn{margin-top:16px;min-height:44px}.stream-actions .button{min-height:44px}.stream-actions .primary,#connectTabBtn{background:var(--accent);color:#203019;border-color:var(--accent)}.source-tabs button svg{flex-shrink:0}.stage-bottom p{max-width:31em}.preset-card .preset-art{height:75px}.preset-list{max-height:800px}.audio-panel .section-label{padding-top:14px}.toast{bottom:max(24px,env(safe-area-inset-bottom))}.stage.full-window .stage-top,.stage:fullscreen .stage-top{top:max(16px,env(safe-area-inset-top))}.stage.full-window .stage-bottom,.stage:fullscreen .stage-bottom{bottom:max(24px,env(safe-area-inset-bottom))}.quality-label select{min-height:36px}
@media(max-width:1150px){.audio-source-row{flex-direction:column;gap:8px}.audio-panel .section-label{padding-top:0}.source-tabs{justify-content:flex-start;width:100%}.source-tabs button{flex:1;justify-content:center;font-size:9px;padding:6px 4px}.source-tabs button:last-child{flex:1.5}}
@media(max-width:680px){.topbar{padding-top:env(safe-area-inset-top);height:calc(60px + env(safe-area-inset-top));padding-left:max(5%,env(safe-area-inset-left));padding-right:max(5%,env(safe-area-inset-right))}main{padding-top:20px;padding-bottom:env(safe-area-inset-bottom)}.workspace-heading{margin-bottom:17px}.workspace-heading .eyebrow{font-size:8px}.workspace-heading h1{font-size:29px}.workspace-heading p{font-size:11px;max-width:260px}.stage{aspect-ratio:1.08;min-height:280px;max-height:55dvh}.stage-bottom{left:16px;right:12px;bottom:18px}.stage-bottom h2{font-size:24px}.stage-bottom p{font-size:10px;max-width:220px;line-height:1.5}.stage-top{top:10px;left:10px;right:8px}.stage .icon-button,.scene-nav .icon-button{width:44px;height:44px;min-width:44px;min-height:44px}.scene-nav{gap:3px}.stage-toolbar{margin:7px 0 10px;min-height:36px}.text-button{min-height:40px;font-size:10px}.engine-state{font-size:7px}.audio-panel{padding:12px}.audio-source-row{gap:8px;padding-bottom:9px}.source-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.source-tabs button{flex-direction:column;gap:4px;min-height:50px;padding:5px 2px;font-size:10px}.source-tabs button svg{width:15px;height:15px}.audio-panel .section-label{font-size:8px;letter-spacing:1px}.track-row{margin-top:12px;gap:8px}.track-details strong{font-size:12px}.track-details>span{font-size:10px}.play-button{width:46px;height:46px}.timeline-row{margin:8px 0}.timeline-row input{height:28px;background-size:100% 3px;background-repeat:no-repeat;background-position:center}.timeline-row input::-webkit-slider-thumb{width:14px;height:14px}.timeline-row span{font-size:10px}.player-bottom>span{font-size:10px}.volume input{width:65px;height:22px}.volume input::-webkit-slider-thumb{width:14px;height:14px}.preset-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:550px}.preset-card .preset-art{height:90px}.preset-card strong{font-size:11px}.preset-card .preset-meta{padding:12px 8px}.library .panel-heading h2{font-size:14px}.library-tabs button{min-height:40px;font-size:11px}.search{top:60px}.search input{font-size:12px;min-height:40px}.controls input.visual-range{height:30px;background-size:100% 3px;background-repeat:no-repeat;background-position:center}.visual-range::-webkit-slider-thumb{width:20px;height:20px}.visual-range::-moz-range-thumb{width:20px;height:20px}.controls .control-label{font-size:12px;margin-bottom:4px}.controls .range-endpoints{margin-top:0}.palette{width:40px;height:40px}.palettes{justify-content:space-between;gap:8px}.quality-label select{min-height:44px;font-size:11px}.save-section .button{min-height:46px}.studio-caption{display:none}dialog{padding:20px}dialog p{font-size:13px}.dialog-header .icon-button{width:44px;height:44px}footer>span:last-child{font-size:6px;max-width:125px}.switch-row input{width:44px;height:26px}.switch-row input:after{width:18px;height:18px;left:4px;top:4px}.switch-row input:checked:after{transform:translateX(18px)}}
@media(max-width:360px){.brand-sub{display:none}.source-tabs button{font-size:9px}.stage-bottom p{max-width:175px}.stage-bottom h2{font-size:21px}.toolbar-right{gap:7px}}

.watch-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-4px 0 12px;padding:0 2px}.watch-options .text-button{min-height:44px;font-size:11px}.watch-options>span{font-size:10px;color:var(--muted)}.watch-options [data-state="active"]{color:var(--accent)}.watch-options [data-state="waiting"] .toggle-dot{opacity:.45}.watch-options button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:680px){.watch-options{margin-top:-4px;gap:8px}.watch-options>span{font-size:9px;text-align:right}.watch-options .text-button{font-size:10px}}
