body[data-theme="minimal"]{background:#fff;color:#1b1b1b;--surface:#fff;--surface-soft:#fff;--line:#e1e1e1;--button-text:#fff;color-scheme:light}
body[data-theme="minimal"] .ambient,body[data-theme="minimal"] .corner,body[data-theme="minimal"] .brand-mark{display:none}
body[data-theme="minimal"] .brand{letter-spacing:1px;color:#171717}
body[data-theme="minimal"] .board-frame{background:#fff;border:1px solid #303030;box-shadow:0 3px 14px #0000000b;border-radius:3px}
body[data-theme="minimal"] .board-frame.cinematic{border-color:#303030}
body[data-theme="minimal"] .command-panel,body[data-theme="minimal"] .player,body[data-theme="minimal"] .mode-tabs{background:#fff;box-shadow:none}
body[data-theme="minimal"] .player.active,body[data-theme="minimal"] .mode-tabs button.selected{background:#f7f7f7;border-color:#777;color:#222}
body[data-theme="minimal"] .mini-core{display:none}
body[data-theme="minimal"] .cosmic-mini{width:36px;height:36px}
body[data-theme="minimal"] .live-dot{box-shadow:none!important}
body[data-theme="minimal"] .result{background:#ffffff70;backdrop-filter:blur(3px)}
body[data-theme="minimal"] .result-card{background:#fff;border:1px solid #dedede;box-shadow:0 8px 40px #00000012}
body[data-theme="minimal"] .result-card:before,body[data-theme="minimal"] .result-emblem i{display:none}
body[data-theme="minimal"] .result-emblem{animation:none;filter:none;color:#be943b;transform:none}
body[data-theme="minimal"] .text-btn{color:#555}
#custom-open{white-space:nowrap;font-size:14px;padding:5px 10px;background:#fff;border:1px solid #d4d4d4;border-radius:5px;color:#333;min-height:34px}
#custom-dialog{color:#222;background:#fff;border:1px solid #dedede;border-radius:12px;width:min(610px,calc(100vw - 24px));max-height:calc(100dvh - 28px);padding:0;box-sizing:border-box;box-shadow:0 15px 70px #0002}
#custom-dialog::backdrop{background:#0004}
.custom-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #eee}
.custom-head h2{font-size:20px;margin:0;font-weight:600}.custom-head button{color:#444;background:#fff;border:0;font-size:28px;min-width:40px;min-height:40px}
.custom-body{padding:18px 20px;overflow-y:auto;max-height:calc(100dvh - 112px)}.custom-lead{margin:0 0 16px;color:#666;font-size:14px;line-height:1.7}
.custom-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.custom-player{border:1px solid #e6e6e6;border-radius:8px;padding:12px;min-width:0}.custom-player h3{margin:0;font-size:15px;font-weight:500}.custom-player canvas{display:block;width:64px;height:64px;margin:4px auto 9px}.custom-player label{display:block;font-size:14px}.custom-player input[type=text]{box-sizing:border-box;display:block;width:100%;margin:7px 0 12px;padding:9px 10px;font-size:18px;background:#fff;border:1px solid #ccc;border-radius:5px;color:#222}
.custom-upload{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:8px 10px;border:1px solid #ccc;border-radius:5px;min-height:36px;box-sizing:border-box;font-size:14px;background:#fff;color:#222;overflow:hidden}.custom-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.custom-upload:focus-within{outline:2px solid #555;outline-offset:2px}
.custom-remove{border:0;background:#fff;color:#666;font-size:13px;padding:9px 5px;min-height:36px}.custom-remove:disabled{opacity:.35;cursor:default}.custom-board-section{margin:18px 0 0}.custom-board-section h3{font-size:15px;font-weight:500;margin:0 0 9px}.custom-board-controls{display:flex;gap:8px;align-items:center}.custom-preview-wrap{margin:14px 0;text-align:center}#custom-preview{width:min(240px,100%);height:auto;border:1px solid #ddd;border-radius:4px}.custom-preview-wrap p{font-size:12px;color:#777;margin:6px 0}.custom-actions{display:flex;gap:8px;justify-content:flex-end;border-top:1px solid #eee;padding-top:14px}.custom-actions button{border-radius:5px;padding:9px 14px;font-size:15px;min-height:42px;background:#fff;color:#333;border:1px solid #ccc}#custom-reset{margin-right:auto;padding:9px 5px;border:0;font-size:13px;color:#666}#custom-apply{background:#222;border-color:#222;color:#fff}#custom-apply:disabled{opacity:.4}.custom-status{font-size:13px;color:#666;line-height:1.5;min-height:20px;margin:12px 0}
@media(max-width:760px){body[data-theme="minimal"] .theme-toolbar{height:auto;min-height:43px;flex-wrap:wrap;gap:6px}body[data-theme="minimal"] #coord{display:none}body[data-theme="minimal"] .theme-toolbar select{max-width:126px}body[data-theme="minimal"] .player{gap:6px}.custom-body{padding:14px}.custom-grid{gap:10px}.custom-player{padding:10px}.custom-actions button{padding:9px 10px}}
/* The full new name fits alongside the existing independent audio controls. */
@media(max-width:480px){.topbar .brand-mark{display:none}.topbar .brand{font-size:18px;letter-spacing:0;white-space:nowrap}.topbar .header-actions{gap:4px}.topbar .music-btn,.topbar .sound-btn{font-size:12px;padding:7px 6px}.topbar{gap:5px}.topbar .sound-btn #sound-icon{display:none}}
