/* Additive controls only. The original scene, palette, materials and glass UI are retained. */
.cozy-hidden{display:none!important}
#cozy-header,#cozy-nav,#cozy-chat,#cozy-room-status,#cozy-exit-zen,#cozy-read-shortcut{display:none!important}
#btn-original-read{display:inline-flex!important}
.cozy-panel{position:fixed;top:110px;right:12px;width:340px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 145px);overflow:auto;z-index:45;padding:18px;color:#fef3c7;background:rgba(14,13,24,.94);backdrop-filter:blur(18px);border:1px solid rgba(251,191,36,.25);border-radius:22px;box-shadow:0 16px 40px #0007;font-size:13px}
.cozy-panel h2{font-family:Quicksand,Inter,sans-serif;font-weight:700;font-size:17px;margin:0 0 14px;color:#fcd34d}.cozy-panel h3{font-size:13px;color:#fde68a;margin:16px 0 8px}.cozy-panel p{line-height:1.65}.cozy-panel label{display:block;margin:12px 0 6px}.cozy-panel input:not([type=file]):not([type=range]),.cozy-panel select{width:100%;min-height:40px;border:1px solid #ffffff24;background:#0f101b;color:#f8fafc;padding:9px;border-radius:10px}.cozy-panel input[type=range]{width:100%;accent-color:#f59e0b}.cozy-panel button,.reader-import{background:#ffffff10;border:1px solid #ffffff16;border-radius:10px;color:#fef3c7;padding:9px 12px;min-height:40px;cursor:pointer}.cozy-panel button:hover{background:#f59e0b25;border-color:#fbbf2466}.cozy-row{display:flex;align-items:center;gap:8px}.cozy-row>*{flex:1;min-width:0}.cozy-muted{color:#bcb8bb;font-size:12px}
.track-row{display:flex;gap:5px;align-items:center;margin:5px 0}.track-select{flex:1;min-width:0;text-align:left;padding:9px 10px;border-radius:11px;background:#ffffff09;border:1px solid #ffffff14;color:#f8fafc;cursor:pointer;min-height:46px;font-size:12px}.track-select small{display:block;font-size:10px;color:#aaa7b7;margin-top:3px}.track-row.active .track-select{background:#f59e0b23;border-color:#fbbf2466;color:#fde68a}.track-favorite{width:36px;min-height:40px;background:none;border:0;color:#fcd34d;font-size:19px;cursor:pointer}#cozy-favorites-filter{padding:7px;border-radius:9px;background:#ffffff0a;border:1px solid #ffffff16;color:#fde68a;font-size:11px}#music-seek{width:100%;accent-color:#f59e0b;min-height:28px}#music-progress{display:flex;justify-content:space-between;font-size:10px;color:#aaa7b7}#music-error{font-size:11px;color:#fca5a5}#music-track-list{max-height:43dvh!important}
#cozy-reader{width:420px}#cozy-reader h2{margin:0;flex:4}#cozy-reader .reader-toolbar{display:flex;gap:5px;margin:14px 0}.reader-import{flex:1;cursor:pointer;margin:0!important;font-size:12px}#cozy-reader .reader-toolbar button{padding:8px}#reader-note{margin:10px 0 12px;font-size:11px}#reader-library{font-size:12px}#reader-content{white-space:pre-wrap;user-select:text;line-height:1.85;height:44dvh;overflow:auto;background:#211d25;color:#f0e6d2;border-radius:12px;padding:14px;overscroll-behavior:contain}#cozy-reader.reader-dark #reader-content{background:#101018;color:#e2d9c9}#cozy-reader>.cozy-row:last-child{margin-top:12px}#reader-progress{text-align:right;font-size:11px;color:#d3be91}
#original-live-controls{margin-top:12px;padding-top:10px;border-top:1px solid #ffffff15;font-size:11px}#original-live-controls button{border:1px solid #ffffff20;background:#ffffff0a;padding:7px;border-radius:9px;color:#fde68a;font-size:11px;margin:4px 5px 0 0}#original-live-controls #cozy-weather-status{color:#a9bdd5;font-size:10px;line-height:1.5}#btn-original-edit{font-size:11px;border:1px solid #fbbf2444;background:#f59e0b15;border-radius:999px;padding:5px 10px;color:#fde68a;white-space:nowrap}#btn-original-edit[aria-pressed=true]{background:#f59e0b;color:#1c1609}body:not(.editing) #selected-inspector{display:none!important}
button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #fbbf24;outline-offset:3px}
@media(max-width:640px){#ui-top-bar{flex-wrap:wrap!important;overflow:visible!important}#ui-top-bar>div{max-width:100%;overflow-x:auto;scrollbar-width:none;min-height:36px}#ui-top-bar>div button{flex-shrink:0}#ui-top-bar>div:first-child{width:100%}#ui-top-bar>div:first-child>div{flex-shrink:0}#ui-top-bar>div:nth-child(2){width:100%}#ui-top-bar>div:nth-child(3){width:100%}#weather-panel,#audio-panel,#pet-panel,#music-panel,#char-creator-panel,#style-panel{top:132px!important;max-height:calc(100dvh - 220px)!important}.cozy-panel{top:140px;right:10px;width:calc(100vw - 20px);max-width:none;max-height:calc(100dvh - 220px)}#cozy-reader{width:calc(100vw - 20px)}#reader-content{height:33dvh}#builder-dock{bottom:max(6px,env(safe-area-inset-bottom))!important}#touch-walk-pad{bottom:110px!important}#touch-walk-pad button{width:42px!important;height:42px!important}#music-track-list{max-height:32dvh!important}}
@media(max-height:520px){.cozy-panel{top:100px;max-height:calc(100dvh - 120px)}#reader-content{height:28dvh}}
