:root{color-scheme:dark;--bg:#121514;--panel:#1a1e1b;--panel-raised:#202521;--line:#30372f;--muted:#8c978d;--text:#edf0e7;--accent:#d5ec89;--accent-dark:#293222;--orange:#dfaf78;--radius:12px;font-family:Inter,"Segoe UI","Yu Gothic UI",Meiryo,sans-serif;font-size:13px;font-synthesis:none}
*{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{transition:background .16s,border-color .16s,color .16s}button:disabled{opacity:.35;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input,select{min-width:0;color:var(--text)}button svg,span svg,a svg{display:block;width:18px;height:18px;flex-shrink:0}button{display:inline-flex;align-items:center;justify-content:center;gap:8px}svg{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button:not(.primary):not(.play-button):not(:disabled):hover{color:var(--accent)}button:disabled:hover{color:inherit}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}
.app-header{height:85px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:58px;padding:0 32px;background:#171b18}.brand{display:flex;align-items:center;gap:11px;font-size:29px;font-weight:750;letter-spacing:-1px;line-height:1}.brand-light{font-weight:400}.brand small{display:block;font-size:8px;letter-spacing:1.7px;font-weight:550;color:var(--muted);margin-top:8px}.brand-mark{width:42px;height:42px;background:var(--accent);border-radius:13px;display:grid;place-items:center;color:#20281b}.brand-mark svg{width:29px;height:29px;stroke-width:2}.top-nav{height:100%;display:flex;gap:28px}.nav-tab{height:100%;border:0;background:transparent;position:relative;color:var(--muted);padding:0 3px;font-weight:600}.nav-tab.active{color:var(--accent)}.nav-tab.active:after{content:"";position:absolute;bottom:0;height:2px;background:var(--accent);width:100%;left:0}.nav-tab #saved-count{background:#30362d;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:400}.header-actions{margin-left:auto;display:flex;align-items:center;gap:22px}.icon-button{width:32px;height:32px;background:transparent;border:1px solid transparent;border-radius:6px;color:var(--muted);flex-shrink:0}.icon-button:hover{background:#ffffff07;border-color:var(--line)}
.app-layout{display:grid;grid-template-columns:218px minmax(0,1fr);max-width:1800px;margin:auto;min-height:calc(100vh - 85px)}.sidebar{padding:31px 18px 25px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:20px}.sidebar-heading{font-size:9px;letter-spacing:1.8px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;padding:0 12px}.sidebar-heading span{font-family:monospace;color:#bbc5b5;letter-spacing:0}.category-list{display:flex;flex-direction:column;gap:7px}.category-button{padding:12px 12px;width:100%;border:1px solid transparent;background:transparent;border-radius:7px;justify-content:flex-start;color:#a4ada1;gap:11px;font-size:12px}.category-button svg{width:17px;height:17px}.category-button .category-count{margin-left:auto;font-size:10px;color:#7f8a7b;font-family:monospace}.category-button.active{background:#d5ec8910;border-color:#d5ec8924;color:var(--accent)}.category-button.active .category-count{color:var(--accent)}.sidebar-bottom{margin-top:auto;padding-top:45px}.your-sound{background:linear-gradient(135deg,#24291f,#1b201b);border:1px solid #384030;border-radius:10px;padding:17px 14px}.small-icon{color:#bdc999}.small-icon svg{width:22px;height:22px}.your-sound h3{font-size:11px;font-weight:600;margin:14px 0 9px}.your-sound p{font-size:10px;color:var(--muted);line-height:1.9}.button{border:1px solid var(--line);background:#252b24;border-radius:7px;padding:10px 13px;font-weight:600;font-size:11px;white-space:nowrap;min-height:37px}.record-button{width:100%;margin-top:18px;background:#30382a;color:#e0e8d0;border-color:#444e3a;font-size:11px}.record-dot{width:7px;height:7px;border-radius:50%;background:#ed9a7e;display:inline-block;flex-shrink:0}.record-button.is-recording .record-dot{border-radius:1px;animation:pulse 1s infinite}.record-button.is-recording{border-color:#d78b68;color:#f0b59c}.record-status{text-align:center;color:#8c9784;font-size:9px;margin-top:10px}.meter{height:3px;margin-top:10px;background:#111710;border-radius:2px;overflow:hidden}.meter span{display:block;width:0;height:100%;background:var(--accent);transition:width 80ms}.import-button{background:none;border:1px dashed #414a3c;border-radius:7px;padding:11px 4px;width:100%;margin-top:14px;font-size:10px;color:#b1bca7}.import-button svg{width:15px;height:15px}.privacy-note{margin-top:23px;color:#798574;display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;white-space:nowrap}.privacy-note svg{width:11px;height:11px}
main{padding:32px 32px 0;min-width:0}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;gap:20px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:600;color:#9ca98e;display:flex;align-items:center;gap:8px}.eyebrow>span{background:var(--accent);width:5px;height:5px;border-radius:1px}.intro h1{font-size:clamp(23px,2.1vw,32px);letter-spacing:1px;font-weight:650;line-height:1.4;margin:12px 0 10px}.intro p{color:var(--muted);font-size:11px;letter-spacing:.3px;line-height:1.8}.intro-decoration{height:62px;display:flex;align-items:center;gap:5px;margin-right:9px;opacity:.6}.intro-decoration i{width:3px;background:#718a4d;border-radius:3px;height:15px}.intro-decoration i:nth-child(2n){height:29px}.intro-decoration i:nth-child(3n){height:44px}.intro-decoration i:nth-child(4n){height:56px}.intro-decoration i:nth-child(7n){height:36px;background:var(--accent)}.workspace-top{display:grid;grid-template-columns:minmax(0,1fr) 304px;gap:20px;margin-bottom:20px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);overflow:hidden}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:19px 20px}.section-heading>div{display:flex;align-items:center;gap:9px;min-width:0}.section-heading h2{font-size:13px;font-weight:600;white-space:nowrap}.step-number{display:grid;place-items:center;width:22px;height:22px;background:#2a3027;color:#a6b393;font-size:10px;border-radius:5px;font-family:monospace;flex-shrink:0}.count-badge{font-size:8px;letter-spacing:1px;color:var(--muted);white-space:nowrap;margin-left:3px}.search-box{position:relative;display:flex;align-items:center;gap:6px;width:130px;color:#7e8978}.search-box svg{width:14px;height:14px}.search-box input{background:transparent;border:0;border-bottom:1px solid transparent;width:100%;font-size:10px;outline:0;padding:4px 0}.search-box input:focus{border-color:var(--accent);outline:0}.search-box input::placeholder{color:#7e8978}.sound-browser{display:flex;flex-direction:column;min-height:438px}.sound-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 20px 17px;align-content:start;overflow-y:auto;max-height:351px;flex:1;scrollbar-width:thin;scrollbar-color:#46513d transparent}.sound-card{border:1px solid #353c31;border-radius:8px;background:#20251f;min-width:0;min-height:104px;position:relative;transition:border-color .15s,background .15s}.sound-card:hover{border-color:#626f52;background:#242b22}.sound-card.selected{border-color:#9cab6d;background:linear-gradient(115deg,#2b3424,#262e23)}.card-select{width:100%;height:100%;min-height:104px;align-items:flex-start;flex-direction:column;gap:0;padding:13px 12px 12px;border:0;background:transparent;justify-content:flex-start;text-align:left;border-radius:8px}.card-icon{width:27px;height:27px;display:grid;place-items:center;border:1px solid #404939;background:#2a3225;border-radius:7px;color:#b5c898;margin-bottom:10px}.card-icon svg{width:15px;height:15px}.sound-card[data-category="objects"] .card-icon{color:#dcc293;background:#352f24;border-color:#4a4030}.sound-card[data-category="ui"] .card-icon{color:#b7b3db;background:#2f2c39;border-color:#444050}.sound-card[data-category="ambient"] .card-icon{color:#94c9c0;background:#223431;border-color:#364944}.sound-card[data-category="movement"] .card-icon{color:#a1bede;background:#26303b;border-color:#3a4854}.sound-card[data-category="events"] .card-icon{color:#dfb392;background:#362b25;border-color:#4b3c31}.card-name{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-weight:550}.card-detail{font-size:8px;color:#8c9784;margin-top:5px;letter-spacing:.6px;text-transform:uppercase}.card-preview{position:absolute;top:13px;right:10px;width:24px;height:24px;border:1px solid #46513c;color:#a0ae90;background:#242c20;border-radius:50%;opacity:.75}.card-preview svg{width:10px;height:10px;fill:currentColor;stroke-width:1}.card-preview:hover{opacity:1}.sound-card.selected:after{content:"";position:absolute;right:12px;bottom:15px;width:4px;height:4px;background:var(--accent);border-radius:50%;pointer-events:none}.browser-foot{border-top:1px solid #30372c;color:#86927d;display:flex;align-items:center;justify-content:space-between;font-size:9px;padding:13px 20px;gap:8px;min-height:42px}.browser-foot>span:last-child{display:flex;align-items:center;gap:5px;white-space:nowrap}.tiny-play svg{width:11px;height:11px}.designer .section-heading{padding-bottom:14px}.synth-badge{color:#7c8b6d;font-size:8px;letter-spacing:1.5px;border:1px solid #37412f;border-radius:4px;padding:4px 7px}.selected-sound{display:flex;gap:12px;align-items:center;padding:0 20px}.selected-icon{color:var(--accent);display:grid;place-items:center;background:#313b26;width:44px;height:44px;border-radius:10px;border:1px solid #465436;flex-shrink:0}.selected-icon svg{width:23px;height:23px}.selected-sound .eyebrow{font-size:8px;color:#a0b383;letter-spacing:1.4px}.selected-sound h3{font-size:18px;line-height:1.5;font-weight:600;margin-top:3px;letter-spacing:.5px}.selected-star{font-size:35px;font-weight:200;color:#566546;margin-left:auto}.sound-description{font-size:10px;color:var(--muted);padding:13px 20px 15px;line-height:1.6;min-height:52px}.parameter{padding:0 20px;margin-bottom:10px}.parameter label{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#c4cebc}.parameter output{font-family:"Consolas",monospace;color:var(--accent);font-size:12px}.parameter output small{font-size:9px;color:#91a279}.range-labels{display:flex;justify-content:space-between;font-size:8px;color:#7a8773;margin-top:0}input[type=range]{--fill:50%;-webkit-appearance:none;appearance:none;background:linear-gradient(to right,#afc66f var(--fill),#394032 var(--fill));height:3px;outline:none;width:100%;margin:13px 0 8px;cursor:pointer;border-radius:2px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;height:10px;width:10px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 3px #d5ec890c}input[type=range]::-moz-range-thumb{height:10px;width:10px;border:0;background:var(--accent);border-radius:50%}input[type=range]:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.generate-actions{padding:5px 20px 0;display:flex;gap:8px}.primary{background:var(--accent);color:#273019;border-color:var(--accent)}.primary:hover{background:#e0f4a6;border-color:#e0f4a6}.primary svg{width:16px;height:16px}.generate-actions .primary{flex:1;justify-content:space-between;padding:10px 12px}.square{width:38px;flex-shrink:0;padding:7px;background:#2c3326}.designer-note{text-align:center;font-size:8px;color:#91a17e;padding:11px 12px 17px;min-height:40px}
.editor-heading{border-bottom:1px solid #2d352b;padding-top:14px;padding-bottom:14px}.source-badge{font-size:9px;color:#9ba891;padding:3px 7px;border:1px solid #3d4834;border-radius:4px;margin-left:5px}.history-actions{gap:6px!important}.divider{height:18px;width:1px;background:var(--line);margin:0 7px}.text-button{border:0;background:transparent;color:#a7b697;font-size:10px;padding:6px;white-space:nowrap}.text-button svg{width:14px;height:14px}.clip-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 21px}.clip-name-label{display:flex;align-items:center;gap:8px;min-width:0}.clip-name-label>span{color:#839174}.clip-name-label svg{width:14px;height:14px}.clip-name-label input{border:0;background:transparent;font-size:11px;width:180px;max-width:100%}.clip-meta>div{font-family:Consolas,monospace;font-size:9px;color:#8e9b80;display:flex;align-items:center;gap:8px;white-space:nowrap}.meta-dot{color:#535e49}.waveform-wrap{position:relative;height:145px;margin:0 20px;background:#151a14;border:1px solid #343e2d;border-radius:7px;overflow:hidden;touch-action:none;cursor:crosshair}.waveform-wrap canvas{display:block;width:100%;height:100%;touch-action:none}.waveform-hint{position:absolute;bottom:10px;right:12px;display:flex;align-items:center;gap:5px;font-size:8px;color:#99a888;background:#182013db;padding:5px 7px;border-radius:4px;pointer-events:none}.waveform-hint svg{width:10px;height:10px}.timeline{display:flex;justify-content:space-between;padding:7px 20px 0;color:#77866b;font:9px Consolas,monospace}.transport{display:flex;align-items:center;justify-content:space-between;padding:11px 20px 15px;gap:12px}.transport-left{display:flex;align-items:center;gap:14px}.play-button{width:34px;height:34px;border:0;border-radius:50%;color:#28331c;background:var(--accent);flex-shrink:0}.play-button:hover{background:#e3f6aa}.play-button svg{height:14px;width:14px;fill:currentColor;stroke-width:1.2}.play-time{font-family:Consolas,monospace;font-size:12px;color:#d4dfc7;min-width:94px}.play-time small{font-size:10px;color:#7a8c6c}.icon-button[aria-pressed=true]{color:var(--accent);border-color:#5b6b45;background:#303c24}.volume-control{display:flex;align-items:center;gap:9px;color:#869a76}.volume-control svg{height:15px;width:15px}.volume-control input{width:70px;margin:0}.volume-control output{font-family:Consolas,monospace;font-size:9px;min-width:26px}.keyboard-hint{font-size:9px;color:#7d8c72}kbd{font-size:8px;font-family:inherit;padding:2px 4px;border:1px solid #3b4730;border-radius:3px;color:#9eae8e;margin-right:4px}.edit-actions{border-top:1px solid #30392a;border-bottom:1px solid #30392a;padding:13px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:#1d231b}.trim-controls{display:flex;align-items:center;gap:8px}.field-label{font-size:10px;color:#9eac91;margin-right:3px}.trim-controls label{display:flex;align-items:center;background:#151b13;border:1px solid #3a4631;border-radius:5px;padding:6px 6px 6px 8px;gap:3px}.trim-controls input{width:54px;border:0;padding:0;background:transparent;color:#c0d2aa;font:11px Consolas,monospace;-moz-appearance:textfield}.trim-controls input::-webkit-inner-spin-button{display:none}.trim-controls label>span:not(.sr-only){font-size:9px;color:#748465}.range-dash{color:#6f805f;font-size:10px}.subtle{padding:7px 10px;font-size:10px;min-height:30px;background:#283021;border-color:#404c33;color:#bbcba8;font-weight:400}.subtle svg{width:13px;height:13px}.effects{display:flex;gap:7px;align-items:center}.editor-footer{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;gap:15px}.editor-footer p{color:#859578;font-size:9px;display:flex;align-items:center;gap:7px;line-height:1.8}.editor-footer p svg{width:13px;height:13px;flex-shrink:0}.export-button{background:#cfdfa7;border-color:#cfdfa7;color:#28331d;gap:9px;min-height:37px;padding:8px 15px;font-size:11px}.export-button:hover{background:#e0ebc4;color:#27321b!important}.export-button svg{width:14px;height:14px}.export-button svg:last-child{margin-left:12px}.app-footer{display:flex;justify-content:space-between;gap:15px;color:#718265;padding:21px 2px 24px;font-size:8px;letter-spacing:.4px}.app-footer>span:first-child{letter-spacing:2px;font-size:8px}.footer-version{padding-left:23px;color:#98a78d;letter-spacing:1px}
.empty-state{grid-column:1/-1;display:flex;min-height:240px;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#89987c;text-align:center;padding:30px;line-height:1.9}.empty-state svg{height:30px;width:30px;opacity:.65}.empty-state strong{font-size:13px;color:#b5c3a9}.empty-state p{font-size:10px}.saved-card .card-select{padding-right:33px}.saved-card .card-name{max-width:100%;overflow-wrap:anywhere;white-space:normal;font-size:10px}.saved-card .card-detail{letter-spacing:0;font-family:Consolas,monospace}.card-delete{position:absolute;right:8px;bottom:8px;width:23px;height:23px}.card-delete svg{width:13px;height:13px}.recording-overlay{position:absolute;inset:0;background:#151a14eb;display:flex;align-items:center;justify-content:center;gap:13px;color:#e7b197}.recording-overlay strong{font:26px Consolas,monospace}.recording-overlay>span:last-child{font-size:11px}.recording-overlay .record-dot{animation:pulse 1s infinite;width:10px;height:10px}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#d6e9b4;color:#25331a;border:1px solid #e7f5cf;border-radius:9px;padding:13px 20px;box-shadow:0 8px 32px #0005;font-size:12px;z-index:20;max-width:calc(100vw - 32px);line-height:1.6}.toast.error{background:#432d24;color:#f6cfb4;border-color:#886045}.drop-overlay{position:fixed;inset:10px;z-index:30;background:#172210f2;border:2px dashed var(--accent);border-radius:14px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;pointer-events:none}.drop-overlay svg{width:50px;height:50px;color:var(--accent)}.drop-overlay h2{font-size:28px}.drop-overlay p{color:#b1c39d}
dialog{width:480px;max-width:calc(100vw - 30px);max-height:90vh;background:#20261d;border:1px solid #4c593e;border-radius:15px;padding:27px;color:var(--text);box-shadow:0 20px 100px #0006}dialog::backdrop{background:#070c07bd;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:18px}.dialog-heading h2{font-size:21px;margin-top:10px;font-weight:600}.dialog-heading .eyebrow{font-size:8px}.dialog-heading .icon-button{margin-top:-8px;margin-right:-8px}dialog p{font-size:11px;line-height:1.9;color:#a2b293}dialog .primary{width:100%;margin-top:14px;min-height:43px}.form-field{display:flex;flex-direction:column;gap:9px;font-size:10px;color:#bac9ac;margin-top:22px}.form-field input,.form-field select{background:#141b10;border:1px solid #49583b;border-radius:6px;padding:12px;width:100%;font-size:12px}.filename-field{display:flex;align-items:center;border:1px solid #49583b;border-radius:6px;background:#141b10;padding-right:13px;color:#8fa27d}.filename-field input{border:0;background:none}.export-options{display:grid;grid-template-columns:1fr 1fr;gap:15px}.dialog-note{margin-top:16px;font-size:10px!important}.help-steps{list-style:none;padding:0;counter-reset:help;display:flex;flex-direction:column;gap:20px;margin-top:24px}.help-steps li{position:relative;padding-left:34px;counter-increment:help}.help-steps li:before{content:"0" counter(help);position:absolute;left:0;top:1px;color:var(--accent);font:12px Consolas,monospace}.help-steps strong{font-size:12px;font-weight:600}.help-steps p{margin-top:5px}.help-note{display:flex;align-items:flex-start;gap:12px;padding:15px;border-radius:7px;background:#2b3425;margin-top:23px;color:#b9ca9e}.help-note p{font-size:10px}.help-note svg{width:20px;height:20px}.shortcut-row{display:flex;justify-content:space-between;font-size:9px;color:#98a989;margin-top:20px}.busy .sound-card{opacity:.65}.busy #sound-grid{pointer-events:none}@keyframes pulse{50%{opacity:.4}}
@media(min-width:1500px){.workspace-top{grid-template-columns:minmax(0,1fr) 340px}.sound-card,.card-select{min-height:112px}.sound-grid{max-height:370px}.sound-browser{min-height:455px}.designer .parameter{margin-bottom:15px}.intro{margin-bottom:34px}.app-layout{grid-template-columns:238px minmax(0,1fr)}main{padding:36px 40px 0}.sidebar{padding:34px 22px}.sound-description{padding-top:16px;padding-bottom:18px}}
@media(max-width:1200px){.app-layout{grid-template-columns:192px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}main{padding:25px 22px 0}.workspace-top{grid-template-columns:minmax(0,1fr) 280px;gap:15px}.sound-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-left:15px;padding-right:15px}.section-heading{padding-left:15px;padding-right:15px}.count-badge{display:none}.search-box{width:105px}.intro-decoration{display:none}.volume-control input{width:55px}.browser-foot{padding-left:15px;padding-right:15px;font-size:8px}.browser-foot>span:last-child{display:none}.editor-footer p{max-width:330px}.selected-sound h3{font-size:16px}.field-label{font-size:9px}.edit-actions{gap:10px}.app-footer>span:last-child{font-size:7px}.footer-version{padding-left:10px}}
@media(max-width:950px){.app-layout{grid-template-columns:168px minmax(0,1fr)}.sidebar{padding:25px 10px}.sidebar-heading{font-size:8px;padding:0 5px}.category-button{font-size:11px;padding:11px 9px}.your-sound{padding:13px 10px}.your-sound h3{font-size:10px}.your-sound p{font-size:9px}.record-button{font-size:10px;padding-left:6px;padding-right:6px}.import-button{font-size:9px;gap:5px}.privacy-note{font-size:7px;gap:3px}main{padding:23px 16px 0}.workspace-top{grid-template-columns:minmax(0,1fr) 248px;gap:12px}.section-heading{gap:5px}.section-heading>div{gap:7px}.section-heading h2{font-size:12px}.search-box{width:75px}.sound-grid{gap:8px;padding-left:12px;padding-right:12px}.card-select{padding:12px 9px}.card-name{font-size:10px}.card-preview{right:7px}.selected-sound,.parameter{padding-left:15px;padding-right:15px}.sound-description{padding-left:15px;padding-right:15px}.generate-actions{padding-left:15px;padding-right:15px}.clip-meta{align-items:flex-start;flex-direction:column;gap:8px}.clip-meta>div{font-size:8px;padding-left:22px}.keyboard-hint{display:none}.editor-footer{align-items:flex-start}.editor-footer p{font-size:8px}.editor-heading .history-actions{gap:0!important}.history-actions .text-button{font-size:9px}.source-badge{display:none}.app-footer>span:last-child{display:none}.selected-star{font-size:29px}.intro h1{font-size:23px}.intro p{font-size:10px}.sound-browser{min-height:430px}}
@media(max-width:760px){.app-header{height:70px;padding:0 18px;gap:28px}.brand{font-size:23px;gap:8px}.brand-mark{width:34px;height:34px;border-radius:10px}.brand-mark svg{width:24px;height:24px}.brand small{font-size:6px;margin-top:6px;letter-spacing:1px}.top-nav{gap:18px}.nav-tab{font-size:11px}.header-actions{gap:0}.app-layout{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--line);padding:15px 16px;gap:10px}.sidebar-heading{display:none}.category-list{flex-direction:row;overflow:auto;gap:7px;padding-bottom:4px;scrollbar-width:none}.category-button{width:auto;white-space:nowrap;padding:8px 12px;border-color:#303c29;gap:7px}.category-button .category-count{display:none}.category-button svg{width:14px;height:14px}.sidebar-bottom{padding-top:0;margin:0;display:flex;gap:10px;align-items:center}.your-sound{display:flex;align-items:center;gap:12px;background:transparent;border:0;padding:0}.your-sound .small-icon,.your-sound h3,.your-sound p,.privacy-note{display:none}.record-button{width:auto;min-height:32px;padding:6px 12px;margin:0}.record-status{margin:0;font-size:8px;display:none}.meter{width:50px;margin:0}.import-button{width:auto;margin:0;padding:8px 10px;font-size:10px;min-height:32px}main{padding:23px 16px 0}.intro{margin-bottom:22px}.intro h1{font-size:24px}.intro .eyebrow{font-size:8px}.intro p{font-size:10px;line-height:1.9;max-width:340px}.workspace-top{grid-template-columns:minmax(0,1fr) 250px}.sound-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sound-browser .section-heading{flex-wrap:wrap;gap:12px}.search-box{width:110px}.sound-browser .section-heading h2{font-size:12px}.browser-foot{font-size:7px}.clip-meta{flex-direction:row}.clip-meta>div{padding-left:0;margin-top:2px}.clip-meta #audio-peak,.clip-meta .meta-dot:last-of-type{display:none}.clip-name-label input{width:150px}.waveform-wrap{height:132px}.edit-actions{padding:12px 15px}.editor-footer p{max-width:235px}.app-footer{padding-top:18px}}
@media(max-width:580px){.app-header{gap:20px;padding:0 15px}.brand{font-size:22px}.top-nav{gap:15px}.nav-tab{font-size:10px}.header-actions .icon-button{width:27px}.nav-tab #saved-count{padding:1px 4px;font-size:8px}.workspace-top{display:flex;flex-direction:column;gap:15px}.sound-browser{min-height:0}.sound-browser .section-heading{flex-wrap:nowrap}.count-badge{display:inline;font-size:7px}.sound-grid{grid-template-columns:repeat(3,minmax(0,1fr));max-height:246px;padding-bottom:12px}.sound-card,.card-select{min-height:102px}.card-select{padding:11px 9px}.card-icon{margin-bottom:9px}.card-preview{width:21px;height:21px;top:12px;right:8px}.card-name{font-size:10px}.card-detail{font-size:7px}.browser-foot{padding:11px 15px;font-size:8px}.browser-foot>span:last-child{display:flex}.designer{display:grid;grid-template-columns:1fr 1fr;align-items:start}.designer .section-heading{grid-column:1/-1;padding-bottom:15px}.selected-sound{grid-column:1/-1}.selected-sound h3{font-size:18px}.selected-star{font-size:36px;margin-right:5px}.sound-description{grid-column:1/-1;padding-top:10px;padding-bottom:13px;min-height:0}.parameter{margin-bottom:14px}.parameter:last-of-type{grid-column:1/-1}.generate-actions{grid-column:1/-1;width:100%;padding-top:0}.designer-note{grid-column:1/-1;padding:11px 15px}.history-actions .text-button{font-size:0;gap:0}.history-actions .text-button svg{width:17px;height:17px}.divider{margin:0 3px}.editor-heading{padding:13px 15px}.clip-meta{padding:13px 15px;flex-direction:column;gap:8px}.clip-name-label input{width:210px}.clip-meta>div{padding-left:22px}.clip-meta #audio-peak,.clip-meta .meta-dot:last-of-type{display:inline}.waveform-wrap{margin:0 15px;height:132px}.timeline{padding-left:15px;padding-right:15px}.transport{padding:12px 15px}.transport-left{gap:10px}.play-time{min-width:83px;font-size:11px}.volume-control{gap:6px}.volume-control input{width:55px}.volume-control output{font-size:8px}.trim-controls{gap:6px;flex-wrap:wrap}.trim-controls .field-label{width:100%;margin-bottom:2px}.trim-controls input{width:59px}.effects{padding-top:2px}.editor-footer{flex-direction:column;align-items:stretch;padding:13px 15px}.editor-footer p{max-width:100%;font-size:8px}.export-button{width:100%;justify-content:center;font-size:12px;min-height:41px}.export-button svg:last-child{margin-left:auto}.export-button svg:first-child{margin-right:auto}.app-footer{font-size:7px}.app-footer>span:first-child{font-size:7px}.section-heading>div{gap:7px}.sound-browser .count-badge{margin-left:0}.search-box{width:96px}.intro h1{font-size:23px;letter-spacing:.2px}.intro p{font-size:10px}.toast{font-size:11px;bottom:17px;width:max-content}.export-options{gap:10px}.shortcut-row{font-size:8px}dialog{padding:23px}.dialog-heading h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* The two trim handles use separate rows, so even a very short selection stays reachable. */
.trim-range{position:relative;height:72px;margin:0 20px;user-select:none}
.trim-range-track,.trim-range-fill{position:absolute;top:33px;height:4px;border-radius:3px;pointer-events:none}
.trim-range-track{left:0;right:0;background:#394333}
.trim-range-fill{background:#b8ce83}
.trim-range-handle{position:absolute;left:0;width:38px;height:26px;padding:0;transform:translateX(-50%);border:1px solid currentColor;border-radius:5px;font-size:10px;font-weight:600;cursor:ew-resize;touch-action:none;z-index:2;box-shadow:0 2px 6px #0003}
.trim-range-start{top:0;color:#d5ec89;background:#323f25}
.trim-range-end{top:44px;color:#dfb985;background:#453a29}
.trim-range-handle:after{content:'';position:absolute;left:calc(50% - 1px);width:2px;height:10px;background:currentColor;pointer-events:none}
.trim-range-start:after{top:100%}
.trim-range-end:after{bottom:100%}
.trim-range-handle:not(:disabled):hover{filter:brightness(1.18)}
.trim-range-end:not(:disabled):hover{color:#f0cea2!important}
.trim-range-handle:active{cursor:grabbing}
.trim-range-handle:disabled{cursor:not-allowed}
.waveform-wrap{cursor:default;touch-action:auto}
.waveform-wrap canvas{touch-action:auto}
@media(max-width:580px){.trim-range{margin-left:15px;margin-right:15px}.trim-range-handle{width:30px;font-size:9px}}

/* Separate creation and arrangement workspaces while retaining their editor state. */
.daw-screen{max-width:1800px;margin:0 auto;padding:28px 28px 40px;min-height:calc(100vh - 85px)}
.daw-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.daw-intro h1{font-size:24px;font-weight:600;letter-spacing:.3px;margin:11px 0 8px}
.daw-intro p{font-size:11px;line-height:1.8;color:var(--muted)}
.daw-screen-label{color:#93a77e;font:10px Consolas,monospace;letter-spacing:2px;white-space:nowrap}
.daw-workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start}
.daw-workspace .arranger{margin-top:0;min-width:0}
.daw-workspace .sound-library{position:sticky;top:18px}
.library-save-button{min-height:37px}
.library-save-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;line-height:1.8;color:var(--accent);padding:12px 2px 0}
.editor-output-actions #export-btn{background:#283021;border-color:#404c33;color:#bbcba8}
@media(max-width:1100px){.daw-screen{padding:22px 16px 32px}.daw-workspace{grid-template-columns:220px minmax(0,1fr);gap:14px}.daw-screen-label{display:none}}
@media(max-width:760px){.daw-screen{padding:22px 14px 30px}.daw-workspace{display:flex;flex-direction:column;gap:16px}.daw-workspace .sound-library{position:static;width:100%}.daw-workspace .arranger{width:100%}.daw-intro h1{font-size:21px}.daw-intro p{font-size:10px}.top-nav{gap:22px}}
@media(max-width:580px){.library-save-button{width:100%;min-height:42px}.daw-intro h1{font-size:19px}.app-header{gap:24px}.top-nav{gap:20px}}

/* Give the sound designer room for grouped parameters. */
#studio-screen .workspace-top{grid-template-columns:minmax(280px,.88fr) minmax(340px,1.12fr);align-items:start}
#studio-screen .designer{display:block;min-width:0}
#studio-screen .designer .generate-actions{padding-top:12px}
#studio-screen .designer .designer-note{font-size:10px;line-height:1.7;padding-bottom:16px}
#studio-screen .designer .sound-description{min-height:0}
@media(max-width:1150px){#studio-screen .workspace-top{grid-template-columns:minmax(0,1fr)}#studio-screen .sound-browser{min-height:0}#studio-screen .sound-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:246px}}
@media(max-width:650px){#studio-screen .sound-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Source selection leaves the current editor audio intact until synthesis. */
.sound-source-bar{display:flex;align-items:center;gap:20px;margin:0 0 20px;padding:14px 18px;border:1px solid var(--line);border-radius:10px;background:#1c2419}
.sound-source-bar label{display:flex;align-items:center;gap:12px;font-size:12px;font-weight:600;white-space:nowrap}
.sound-source-bar select{padding:9px 30px 9px 12px;min-width:175px;border:1px solid #536446;border-radius:6px;background:#151d12;font-size:12px;color:var(--text)}
.sound-source-bar p{font-size:11px;line-height:1.7;color:var(--muted)}
.fm-sidebar{padding:8px 12px;font-size:11px;line-height:1.9;color:var(--muted)}
.fm-sidebar h3{font-size:14px;font-weight:600;color:var(--text);margin:16px 0 10px}
.fm-sidebar p+p{margin-top:14px}
.fm-browser{min-width:0;width:100%;overflow:hidden}
.fm-routing{display:flex;flex-direction:column;align-items:stretch;margin:0 22px 24px}
.fm-operator{padding:17px 18px;border:1px solid #4e5746;border-radius:9px;background:#232b20}
.fm-operator h3{margin:9px 0 6px;font-size:15px;font-weight:500}
.fm-operator p{font:11px/1.7 Consolas,monospace;color:#b3c5a0}
.fm-operator-carrier{border-color:#718452;background:#2a3521}
.fm-routing-arrow{display:flex;align-items:center;gap:10px;justify-content:center;padding:8px;color:#a3b78d;font-size:10px}
.fm-routing-arrow>span:first-child{font-size:24px;line-height:1}
.fm-patch-area{padding:0 22px}
.fm-patch-area h3{font-size:12px;font-weight:500;margin-bottom:12px}
.fm-patches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.fm-patch{display:block;min-width:0;text-align:left;border:1px solid #3f4b35;border-radius:7px;padding:12px;background:#1b2218;line-height:1.6}
.fm-patch strong{display:block;font-size:11px;font-weight:600;margin-bottom:5px}
.fm-patch span{display:block;font-size:10px;color:#a0b08e}
.fm-patch[aria-pressed="true"]{border-color:#a5c36f;background:#303e23}
.fm-patch:hover:not(:disabled){border-color:#a5c36f}
.fm-patch-area>p,.fm-start-tip{font-size:10px;line-height:1.9;color:#a0b08e}
.fm-patch-area>p{margin:12px 0 0}
.fm-start-tip{margin:20px 22px 22px;padding-top:16px;border-top:1px solid var(--line)}
@media(max-width:1150px) and (min-width:651px){.fm-routing{flex-direction:row;align-items:center;gap:10px}.fm-operator{flex:1;min-width:0}.fm-routing-arrow{flex-direction:column}.fm-routing-arrow>span:first-child{transform:rotate(-90deg)}.fm-patches{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.fm-sidebar{display:none}.sound-source-bar{align-items:stretch;flex-direction:column;gap:8px;padding:12px 14px}.sound-source-bar select{flex:1}.sound-source-bar p{font-size:10px}.fm-routing{margin-left:16px;margin-right:16px}.fm-patch-area{padding:0 16px}.fm-start-tip{margin-left:16px;margin-right:16px}}
