/* Desktop shell: one palette, one set of pixel edges, quiet artwork. */
.desktop{
 --bar-height:48px;--shell-bg:#15253d;--shell-panel:#1d3149;--shell-title:#2b425e;
 --shell-line:#69829c;--shell-shine:#a8bbcb;--shell-text:#e9e5d8;--shell-muted:#a3b6c9;
 --shell-accent:#dfc28b;--shell-shadow:#071426;--shell-input:#101f34;
 color:var(--shell-text);--glass:var(--shell-panel);--window:var(--shell-bg);--desktop-muted:var(--shell-muted);
}
.desktop.light{
 --shell-bg:#e1e9ed;--shell-panel:#cbdbe3;--shell-title:#b8cdd9;--shell-line:#718da2;
 --shell-shine:#f7f4e6;--shell-text:#293e55;--shell-muted:#536e83;--shell-accent:#765a37;
 --shell-shadow:#58768d;--shell-input:#f0f4f3;
 --glass:var(--shell-panel);--window:var(--shell-bg);--desktop-muted:var(--shell-muted);
}
.desktop-wallpaper{bottom:var(--bar-height)}
#wallpaper-art{object-fit:fill;width:100%;height:100%;image-rendering:pixelated}
.desktop button:focus-visible{outline:1px dashed var(--shell-accent);outline-offset:2px}
.game-stage canvas:focus-visible{outline:1px dashed var(--shell-accent);outline-offset:2px}
.desktop-icons{
 left:var(--icon-left,24px);top:var(--icon-top,24px);bottom:calc(var(--bar-height) + 16px);
 grid-template-rows:repeat(var(--icon-rows,10),76px);grid-auto-columns:var(--icon-cell,88px);
 gap:0 var(--icon-gap,8px);max-width:calc(100vw - var(--icon-left,24px) * 2);
 scrollbar-color:var(--shell-line) transparent;
}
.desktop .desktop-icon{width:var(--icon-cell,88px);height:76px;padding:2px 0;gap:4px;justify-content:center}
.desktop .desktop-icons canvas,.desktop .desktop-icons .avatar-portrait{width:48px;height:48px;flex:none}
.desktop .desktop-icon>span:last-child{line-height:18px;max-width:100%;overflow:hidden;text-overflow:ellipsis;text-shadow:1px 1px #091329}
.desktop.light .desktop-icon>span:last-child{text-shadow:1px 1px #edf5f6}
.desktop .desktop-icon:hover{background:#b7c5de0e;border-color:#adbed436}
.desktop .desktop-icon.selected{background:#97b4d329;border:1px dashed var(--shell-line)}
.desktop.light .desktop-icon:hover{background:#f6f1da38;border-color:#6e8aa55c}
.desktop.light .desktop-icon.selected{background:#edf3ed66}
.taskbar{
 height:var(--bar-height);padding:0 12px;gap:6px;background:#16283f;
 border-top:1px solid var(--shell-line);box-shadow:0 -1px var(--shell-shadow),inset 0 1px #a8bbcb1c;
}
.desktop.light .taskbar{background:#c6d8e1;border-top-color:#f7f4e6;box-shadow:0 -1px #6e889c}
.desktop .taskbar>button{height:34px;width:36px;color:var(--shell-text);border:1px solid transparent}
.desktop .taskbar>button:hover,.desktop .taskbar>button[aria-expanded=true]{background:#a8c0d324;border-color:var(--shell-line)}
.desktop .taskbar>button[aria-pressed=true]{background:#a8c0d318;border-bottom:2px solid var(--shell-accent)}
.desktop .taskbar>button:active{background:#a8c0d345;box-shadow:inset 1px 1px var(--shell-shadow)}
.desktop .taskbar .start-button{width:78px;display:flex;gap:8px;justify-content:center;font-size:12px}
.taskbar svg,.taskbar .start-button svg{width:24px;height:24px}
.taskbar .clock{width:84px;gap:0;line-height:16px;padding:2px 7px;align-items:flex-end}
.taskbar .clock small{font-size:12px;color:var(--shell-muted)}
.taskbar-divider{width:2px;height:24px;margin:0 3px;background:var(--shell-shadow);border-right:1px solid var(--shell-line)}
.start-menu{
 display:flex;flex-direction:column;width:368px;max-width:calc(100vw - 24px);padding:8px;
 left:12px;bottom:calc(var(--bar-height) + 8px);max-height:calc(100dvh - var(--bar-height) - 20px);
 background:var(--shell-bg);border:1px solid var(--shell-line);box-shadow:4px 4px var(--shell-shadow),inset 1px 1px var(--shell-shine);overflow:hidden;
}
.start-menu-heading{padding:8px 10px 12px;margin:0 0 6px;gap:10px;border-bottom:1px solid var(--shell-line)}
.start-menu-heading svg{width:24px;height:24px}
.start-menu-heading strong{font-size:12px;color:var(--shell-text)}
.menu-apps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow-y:auto;min-height:0;max-height:484px;scrollbar-width:thin;scrollbar-color:var(--shell-line) transparent;gap:2px;padding:2px}
.menu-apps button{min-height:46px;padding:6px;display:flex;align-items:center;gap:8px;border:1px solid transparent;background:transparent;text-align:left;font-size:12px;color:var(--shell-text)}
.menu-apps button:hover,.menu-apps button:focus-visible{border-color:var(--shell-line);background:var(--shell-panel)}
.menu-apps canvas,.menu-apps img{width:28px;height:28px;image-rendering:pixelated;object-fit:contain;flex:none}
.menu-apps span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.start-menu>button.menu-power{flex:none;display:flex;align-items:center;gap:9px;border-top:1px solid var(--shell-line);padding:10px;margin-top:6px;background:transparent;font-size:12px;color:var(--shell-muted)}
.menu-power svg{width:20px;height:20px}
.start-menu>button.menu-power:hover{background:var(--shell-panel);color:var(--shell-text)}
.app-window{
 top:calc((100dvh - var(--bar-height)) / 2);width:460px;max-width:calc(100vw - 24px);
 max-height:calc(100dvh - var(--bar-height) - 24px);background:var(--shell-bg);color:var(--shell-text);
 border:1px solid var(--shell-line);box-shadow:4px 4px var(--shell-shadow),inset 1px 1px var(--shell-shine);
}
.app-window:not([hidden]){display:flex;flex-direction:column}
.app-window>header{height:36px;flex:0 0 36px;padding:0 5px 0 12px;border-bottom:1px solid var(--shell-line);background:var(--shell-title);color:var(--shell-text)}
.desktop.light .app-window>header{background:var(--shell-title);color:var(--shell-text)}
.window-controls{gap:4px}
.app-window>header button{width:28px;height:26px;display:grid;place-items:center;padding:0;border:1px solid var(--shell-line);border-top-color:var(--shell-shine);border-left-color:var(--shell-shine);background:var(--shell-panel);color:var(--shell-text);box-shadow:1px 1px var(--shell-shadow)}
.app-window>header button svg{width:20px;height:20px;stroke:none;fill:currentColor}
.app-window>header button:hover{background:#6e6485;color:#fff1df}
.app-window>header button:last-child:hover{background:#a4576e;color:#fff1df}
.app-window>header button:active{box-shadow:none;translate:1px 1px}
.app-window-content{min-height:0;overflow-y:auto;padding:20px;scrollbar-width:thin;scrollbar-color:var(--shell-line) transparent;color:var(--shell-text)}
.app-window.is-chat{width:460px;height:568px;min-height:0;min-width:0;max-height:calc(100dvh - var(--bar-height) - 24px)}
.app-window.is-chat .app-window-content{overflow:hidden}
.app-window.maximized{left:12px!important;right:12px!important;top:12px!important;bottom:calc(var(--bar-height) + 12px)!important;width:auto!important;height:auto!important;transform:none!important;max-height:none}
.setting-row{border-bottom:1px solid var(--shell-line);padding:14px 0}
.segmented{gap:4px}
:is(.desktop,.desktop.light) .segmented button{padding:6px 8px;border:1px solid var(--shell-line);background:var(--shell-input);color:var(--shell-muted)}
:is(.desktop,.desktop.light) .segmented button.active{background:var(--shell-title);color:var(--shell-text);border-color:var(--shell-accent)}
.window-note{color:var(--shell-muted);font-size:12px}
:is(.desktop,.desktop.light) .chat-profile{padding:12px 14px;background:var(--shell-title);border-bottom:1px solid var(--shell-line)}
:is(.desktop,.desktop.light) .chat-profile strong{color:var(--shell-text)}
:is(.desktop,.desktop.light) .chat-profile div>span{color:var(--shell-muted)}
:is(.desktop,.desktop.light) .chat-mode{border-color:var(--shell-line);color:var(--shell-accent)}
:is(.desktop,.desktop.light) .conversation{background:var(--shell-bg);padding:14px}
:is(.desktop,.desktop.light) .chat-welcome{display:grid;grid-template-columns:20px 1fr;gap:0 8px;text-align:left;border-bottom:1px dashed var(--shell-line);margin-bottom:16px;padding:0 0 14px;color:var(--shell-muted)}
.chat-welcome .pixel-spark{grid-row:span 2;font-size:20px;color:var(--shell-accent)}
:is(.desktop,.desktop.light) .chat-welcome strong{margin:0;color:var(--shell-text)}
.chat-welcome p{grid-column:2;font-size:12px}
:is(.desktop,.desktop.light) .message-name{color:var(--shell-muted)}
:is(.desktop,.desktop.light) .message-bubble{background:var(--shell-panel);color:var(--shell-text);border-color:var(--shell-line);box-shadow:2px 2px var(--shell-shadow);line-height:1.8}
:is(.desktop,.desktop.light) .message-row.user .message-bubble{background:var(--shell-title);color:var(--shell-text);border-color:var(--shell-line)}
:is(.desktop,.desktop.light) .chat-chips,:is(.desktop,.desktop.light) .chat-composer,:is(.desktop,.desktop.light) .chat-capability{background:var(--shell-panel)}
.chat-chips{border-top:1px solid var(--shell-line);padding:10px 12px 8px}
:is(.desktop,.desktop.light) .chat-chips button{background:var(--shell-bg);border:1px solid var(--shell-line);color:var(--shell-text);padding:6px 8px}
.chat-composer{padding:0 12px 10px}
:is(.desktop,.desktop.light) .chat-composer textarea{background:var(--shell-input);color:var(--shell-text);border:1px solid var(--shell-line);min-height:44px;padding:10px}
.chat-composer textarea:focus{outline:1px solid var(--shell-accent);outline-offset:1px}
.chat-composer button{border-width:1px;background:#cfb27a;color:#26374b}
:is(.desktop,.desktop.light) .chat-capability{color:var(--shell-muted);font-size:12px;padding:0 12px 10px}
.desktop-companion::before{content:'';position:absolute;z-index:-1;left:50%;top:calc(95.8333% - 2px);width:40px;height:6px;transform:translateX(-50%);background:#040d2480;clip-path:polygon(20% 0,80% 0,80% 25%,100% 25%,100% 75%,80% 75%,80% 100%,20% 100%,20% 75%,0 75%,0 25%,20% 25%)}
.desktop-companion.is-held::before{display:none}
.desktop.light .desktop-companion::before{background:#365e7848}
@media(max-width:600px){
 .desktop{--bar-height:46px}.taskbar{padding:0 8px;gap:4px}.desktop .taskbar .start-button{width:34px}.start-label{display:none}.desktop .taskbar>button{width:32px}.desktop .taskbar .clock{width:74px}
 .desktop-companion{width:108px;height:144px}.desktop-companion canvas{width:144px;height:144px;left:-18px}
 .app-window{width:calc(100vw - 24px)}.chat-profile{gap:8px}.chat-profile .static-portrait{width:48px;height:48px}.chat-mode{padding:2px 4px}
}
@media(max-height:520px){
 .app-window,.app-window.is-chat{top:8px;transform:translateX(-50%);height:auto;min-height:0;max-height:calc(100dvh - var(--bar-height) - 16px)}
 .app-window.is-chat{height:calc(100dvh - var(--bar-height) - 16px)}
 .chat-profile{padding:6px 12px!important}.chat-profile .static-portrait{width:32px;height:32px}.chat-profile div>span{margin-top:3px}.chat-welcome{display:none!important}.chat-chips{padding:5px 12px}.chat-capability{padding-bottom:5px!important}
 .desktop-companion{width:96px;height:128px}.desktop-companion canvas{width:128px;height:128px;left:-16px}
}
.desktop .taskbar .running-app{width:auto;max-width:164px;min-width:40px;padding:0 8px;display:flex;gap:8px;flex:none}
.running-app canvas{width:24px;height:24px;image-rendering:pixelated;flex:none}.running-app span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){.taskbar{gap:2px;padding:0 6px}.desktop .taskbar>button{width:30px}.desktop .taskbar .start-button{width:32px}.taskbar-divider{display:none}.desktop .taskbar .clock{width:70px}.desktop .taskbar .running-app{width:32px;min-width:32px;padding:0 3px}.running-app span{display:none}}

.desktop .desktop-icons #palette-icon,.desktop .desktop-icons #boot-icon{width:48px;height:48px}
#desktop-character{height:auto!important;aspect-ratio:3/4}
.desktop-companion.is-obscured:not(.is-held):not(.is-perched){visibility:hidden}
.desktop-companion.is-seated::before{display:none}
.companion-bubble{max-width:min(250px,calc(100vw - 20px));pointer-events:none;font-size:14px;line-height:1.7}

/* Keep the pixel frame, while giving conversation text a comfortable reading size. */
:is(.desktop,.desktop.light) .message-bubble{font-size:16px;line-height:1.8;padding:12px 14px;max-width:94%;overflow-wrap:anywhere}
.message-row{margin-bottom:18px}
.windows .app-window.is-chat .conversation{min-height:0}
.chat-profile,.chat-chips,.chat-composer,.chat-capability{flex-shrink:0}
.message-name{font-size:12px;margin-bottom:6px}
.chat-profile strong{font-size:16px}
.chat-profile div>span{font-size:12px;line-height:1.6}
.chat-chips{gap:8px}
.chat-chips button{min-height:36px;font-size:14px;padding:7px 10px}
:is(.desktop,.desktop.light) .chat-composer textarea{font-size:16px;line-height:1.5;min-height:48px}
.chat-composer button{font-size:14px;min-width:60px}
@media(max-width:600px){
 .chat-profile{gap:8px}.chat-profile div{min-width:0}.chat-profile div>span{font-size:11px}.chat-mode{white-space:nowrap}
 .chat-chips{gap:6px}.chat-chips button{font-size:13px;padding:6px 8px}
 :is(.desktop,.desktop.light) .message-bubble{max-width:100%;padding:10px 12px}
}
@media(max-height:520px){
 .chat-profile .static-portrait{width:32px;height:32px}.chat-profile{padding:5px 10px!important}
 .chat-chips{padding:5px 10px}.chat-chips button{min-height:32px;padding:4px 7px}
 .message-row{margin-bottom:12px}
}
.appearance-categories{display:flex;gap:8px;position:sticky;top:-18px;background:var(--shell-bg);z-index:2;border-bottom:1px solid var(--shell-line);padding:0 0 12px;margin-bottom:18px}
.appearance-categories button{font:14px Pixel,monospace;padding:7px 20px;border:1px solid var(--shell-line);color:var(--shell-muted);background:var(--shell-panel)}
.appearance-categories [aria-pressed=true]{color:var(--shell-text);border-color:var(--shell-accent);box-shadow:inset 0 -2px var(--shell-accent)}
.wallpaper-settings{padding:0}
.wallpaper-preview{height:150px;border:1px solid var(--shell-line);background:var(--shell-input);display:flex;align-items:center;justify-content:center;overflow:hidden;margin:12px 0}
.wallpaper-preview canvas{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.wallpaper-preview>span{font-size:14px;color:var(--shell-muted);padding:16px;text-align:center}
.wallpaper-name{font-size:14px;overflow-wrap:anywhere;color:var(--shell-text)}
.wallpaper-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.wallpaper-settings button{padding:7px 10px;font:14px Pixel,monospace;background:var(--shell-panel);color:var(--shell-text);border:1px solid var(--shell-line)}
.wallpaper-settings button[aria-pressed=true]{border-color:var(--shell-accent)}
.wallpaper-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.wallpaper-options label{display:grid;gap:6px;font-size:14px;color:var(--shell-muted)}
.wallpaper-options select{border:1px solid var(--shell-line);border-radius:0;background:var(--shell-input);font:14px Pixel,monospace;color:var(--shell-text);padding:6px;min-width:0}
.wallpaper-options input{min-width:0;max-width:100%;accent-color:var(--shell-accent)}
.wallpaper-options .pixel-option{display:flex;align-items:center;gap:8px}
.wallpaper-status{font-size:14px;color:var(--shell-accent);margin-top:12px!important;min-height:24px}
.desktop.custom-wallpaper .desktop-icon>span:last-child{background:#101c30b8;color:#eee5cd;text-shadow:1px 1px #101c30;padding:1px 3px}
.desktop.has-open-window .desktop-companion:not(.is-held):not(.is-perched){z-index:20}
.boot-shell{background:#101c30;color:#eee5cd;--accent:#b7d1dd;--gold:#d4ae68}
.boot-shell .power-halo{display:none}.boot-shell .power-button{width:88px;height:88px;margin-bottom:28px;background:#263d55;color:#b7d1dd;border:3px solid #7199b8;border-top-color:#b7d1dd;border-left-color:#b7d1dd;box-shadow:6px 6px #071426,inset 3px 3px #3d5570}
.boot-shell .power-button svg{width:48px;height:48px}.boot-shell .power-composition h1{font-size:16px;color:#b7d1dd;margin-bottom:14px}.boot-shell .keyboard-hint{margin-top:18px}
.quick-start{background:none;border:0;border-bottom:1px dashed #69829c;color:#a3b6c9;padding:8px;font-size:14px}.quick-start:hover{color:#f1d79c;border-color:#d4ae68}
.boot-shell .editor{width:min(680px,92vw);border-color:#69829c;background:#15253d;box-shadow:6px 6px #071426}.boot-shell .editor-titlebar{background:#2b425e;color:#e9e5d8;border-color:#69829c}.boot-shell .editor-tabs{background:#1d3149}.boot-shell .editor-tab{border-top-color:#d4ae68;background:#15253d}.boot-shell .code-line.current{background:#263d55}.boot-shell .terminal{background:#101c30}.boot-shell .editor-status{background:#2b425e}.boot-shell .code-caption:empty{display:none}
.boot-shell .brand-mark,.boot-shell .small-brand svg{color:#b7d1dd}.boot-shell .brand-lockup h1{color:#eee5cd;font-size:28px}.boot-shell .brand-lockup>span{display:none}.boot-shell .progress-track{border-color:#69829c}.boot-shell .progress-track>div{background:repeating-linear-gradient(90deg,#b7d1dd 0 8px,#7199b8 8px 10px)}.boot-shell .progress-counter{color:#d4ae68}.runner-ground.stopped i{animation-play-state:paused;opacity:0}
.desktop.visible .desktop-icons{animation:icons-arrive .45s steps(5) both}.desktop.visible .taskbar{animation:bar-arrive .35s steps(4) both}
@keyframes icons-arrive{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}@keyframes bar-arrive{from{translate:0 12px}to{translate:0 0}}
.reduced .desktop.visible .desktop-icons,.reduced .desktop.visible .taskbar{animation:none}

/* Independent windows share pixel edges; each keeps its own content and geometry. */
.windows{position:absolute;inset:0;pointer-events:none}
.windows .app-window{pointer-events:auto;max-width:none;max-height:none;min-width:0;min-height:0;resize:none;overflow:visible}
.windows .app-window:not([hidden]){display:flex}
.windows .app-window[hidden]{display:none}
.windows .app-window>.app-window-content{flex:1;min-height:0;overflow:auto;font-size:14px;line-height:1.7;padding:18px}
.windows .app-window.is-chat>.app-window-content{display:flex;flex-direction:column;padding:0;overflow:hidden}
.windows .app-window>header{opacity:.78;user-select:none;min-width:0}
.windows .app-window.is-active>header{opacity:1;background:var(--shell-title);box-shadow:inset 0 2px var(--shell-accent)}
.window-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:8px}
.window-controls{flex:none}
.resize-handle{position:absolute;touch-action:none;z-index:2}
.resize-n,.resize-s{left:6px;right:6px;height:7px;cursor:ns-resize}.resize-n{top:-4px}.resize-s{bottom:-4px}
.resize-e,.resize-w{top:6px;bottom:6px;width:7px;cursor:ew-resize}.resize-e{right:-4px}.resize-w{left:-4px}
.resize-ne,.resize-nw,.resize-se,.resize-sw{width:12px;height:12px}.resize-ne{top:-4px;right:-4px;cursor:nesw-resize}.resize-nw{top:-4px;left:-4px;cursor:nwse-resize}.resize-se{bottom:-4px;right:-4px;cursor:nwse-resize}.resize-sw{bottom:-4px;left:-4px;cursor:nesw-resize}
.app-window[data-mode=normal] .resize-se:after{content:'';position:absolute;right:4px;bottom:4px;width:6px;height:6px;border-right:2px solid var(--shell-line);border-bottom:2px solid var(--shell-line)}
.app-window:not([data-mode=normal])>.resize-handle{display:none}
.snap-preview{position:absolute;z-index:90;border:2px dashed var(--shell-accent);background:#7199b82b;pointer-events:none}
.utility-content button,.file-button{padding:7px 10px;border:1px solid var(--shell-line);border-top-color:var(--shell-shine);background:var(--shell-panel);color:var(--shell-text);box-shadow:1px 1px var(--shell-shadow);font:14px Pixel,monospace;cursor:pointer}
.utility-content button:hover,.file-button:hover{background:var(--shell-title);border-color:var(--shell-accent)}
.utility-content button:disabled{opacity:.45;cursor:default}.utility-content input{font:14px Pixel,monospace;color:var(--shell-text);accent-color:var(--shell-accent)}
.utility-content input:not([type=range]):not([type=file]){border:1px solid var(--shell-line);background:var(--shell-input);padding:9px;min-width:0}
.app-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.app-hint{font-size:12px;color:var(--shell-muted);line-height:1.7;margin:10px 0 0!important}
.terminal-app{height:100%;display:flex;flex-direction:column;gap:12px}.terminal-output{flex:1;min-height:40px;overflow:auto;background:var(--shell-input);padding:12px;scrollbar-width:thin}.terminal-line{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:10px;font-size:14px}.terminal-welcome{color:var(--shell-accent)}.terminal-error{color:#d7889a}.terminal-input{color:var(--shell-muted)}
.terminal-form{display:flex;gap:8px}.terminal-form label{display:flex;align-items:center;flex:1;min-width:0;gap:4px;font-size:12px}.terminal-form input{flex:1;width:40px}
.focus-app{max-width:560px;margin:auto;text-align:center;padding:8px 0}.app-eyebrow{color:var(--shell-muted);margin-bottom:20px;font-size:14px}.focus-presets{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.focus-presets [aria-pressed=true]{border-color:var(--shell-accent);background:var(--shell-title)}.focus-task{display:grid;gap:8px;text-align:left;margin:20px 0;color:var(--shell-muted)}.focus-clock{font-size:64px;color:var(--shell-text);line-height:1.4;letter-spacing:4px}.focus-track{height:8px;background:var(--shell-input);border:1px solid var(--shell-line);margin:8px 24px 18px}.focus-track span{display:block;height:100%;width:0;background:var(--shell-accent)}.focus-status{color:var(--shell-muted);font-size:14px}.focus-app .app-toolbar{justify-content:center}
.music-app{text-align:center;max-width:620px;margin:auto}.record-player{width:128px;height:120px;margin:0 auto 18px;position:relative}.pixel-record{width:108px;height:108px;background:repeating-radial-gradient(circle,#101c30 0 5px,#263d55 5px 7px);border:4px solid var(--shell-line);clip-path:polygon(24% 0,76% 0,76% 8%,92% 8%,92% 24%,100% 24%,100% 76%,92% 76%,92% 92%,76% 92%,76% 100%,24% 100%,24% 92%,8% 92%,8% 76%,0 76%,0 24%,8% 24%,8% 8%,24% 8%);display:grid;place-items:center;position:absolute;left:0;top:6px}.pixel-record span{width:30px;height:30px;background:#d4ae68;border:8px solid #8e6e50}.pixel-record.is-playing{animation:record-turn 5s steps(24) infinite}.record-arm{position:absolute;right:3px;top:12px;width:9px;height:70px;background:var(--shell-line);transform:rotate(28deg);transform-origin:top;box-shadow:3px 3px var(--shell-shadow)}.record-arm:after{content:'';position:absolute;width:14px;height:18px;bottom:0;left:-3px;background:var(--shell-accent)}
@keyframes record-turn{to{rotate:360deg}}.reduced .pixel-record.is-playing{animation:none}
.track-title{overflow-wrap:anywhere}.music-status{font-size:14px;color:var(--shell-muted);min-height:24px}.file-button{display:inline-block;position:relative;overflow:hidden}.file-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.file-button:focus-within{outline:2px solid var(--shell-accent)}
.music-timeline{display:flex;align-items:center;gap:8px;margin:18px 0 12px;font-size:12px}.music-timeline input{min-width:0;flex:1}.music-controls{justify-content:center}.music-controls label{display:flex;align-items:center;gap:4px;font-size:12px}.music-controls input{width:70px}.music-playlist{list-style:none;padding:0;max-height:160px;overflow-y:auto;text-align:left;margin:16px 0}.music-playlist button{width:100%;text-align:left;box-shadow:none;overflow-wrap:anywhere;margin-bottom:4px}.music-playlist [aria-current=true]{border-color:var(--shell-accent);background:var(--shell-title)}
.windows .app-window>.game-content{padding:12px;overflow:hidden}.game-app{display:flex;flex-direction:column;height:100%;min-height:0;gap:8px}.game-score{display:flex;justify-content:space-between;font-size:14px;gap:8px;flex:none}.game-score b{font-weight:400;color:var(--shell-accent)}.game-stage{flex:1;min-height:50px;display:flex;align-items:center;justify-content:center;background:#101c30}.game-stage canvas{width:auto;height:100%;max-width:100%;max-height:100%;aspect-ratio:8/9;object-fit:contain;image-rendering:pixelated;touch-action:none}.game-app .app-toolbar{flex:none;justify-content:center}.game-app .app-toolbar span{font-size:12px;color:var(--shell-muted)}.game-app .app-hint{text-align:center;margin:0!important;flex:none}
.taskbar{z-index:100000}.start-menu{z-index:100001}.desktop-companion{z-index:99990}.desktop-companion.is-held{z-index:100002}.companion-bubble{z-index:100003}
.running-apps{display:flex;gap:4px;min-width:0;overflow-x:auto;scrollbar-width:thin;align-items:center}
.running-apps:empty{display:none}
.running-apps button{height:34px;background:transparent;color:var(--shell-text);border:1px solid var(--shell-line);border-bottom:2px solid var(--shell-muted);cursor:pointer}
.running-apps button[aria-pressed=true]{background:var(--shell-title);border-bottom-color:var(--shell-accent)}
.running-apps button[data-running=minimized]{opacity:.65;border-bottom-style:dashed}
.taskbar>button[data-running]{border-bottom:2px solid var(--shell-muted)}
.taskbar>button[data-running=minimized]{border-bottom-style:dashed}
.app-window .app-window-content h2{font-size:20px;font-weight:400;margin:0 0 12px}
.app-window .app-window-content p{margin:0 0 12px}
@media(max-width:600px){.taskbar-spacer{flex:0}.running-apps{flex:1}.running-apps .running-app{max-width:32px;min-width:32px;padding:0 3px}.windows .app-window>.app-window-content{padding:12px}.setting-row{flex-wrap:wrap}.segmented{flex-wrap:wrap}.windows .app-window.is-chat>.app-window-content{padding:0}}

#taskbar-settings-art{width:28px;height:28px;image-rendering:pixelated}
