/**
 * Copyright (c) 2014 The xterm.js authors. All rights reserved.
 * Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
 * https://github.com/chjj/term.js
 * @license MIT
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 * Originally forked from (with the author's permission):
 *   Fabrice Bellard's javascript vt100 for jslinux:
 *   http://bellard.org/jslinux/
 *   Copyright (c) 2011 Fabrice Bellard
 *   The original design remains. The terminal itself
 *   has been extended to include xterm CSI codes, among
 *   other features.
 */.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;right:0;left:0;top:0;bottom:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;left:0;top:0;bottom:0;right:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{font-family:monospace;-webkit-user-select:text;user-select:text;white-space:pre}.xterm .xterm-accessibility-tree>div{transform-origin:left;width:fit-content}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.xterm .xterm-scrollable-element>.scrollbar{cursor:default}.xterm .xterm-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.xterm .xterm-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.xterm .xterm-scrollable-element>.invisible{opacity:0;pointer-events:none}.xterm .xterm-scrollable-element>.invisible.fade{transition:opacity .8s linear}.xterm .xterm-scrollable-element>.shadow{position:absolute;display:none}.xterm .xterm-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.xterm .xterm-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}#terminal-container .xterm{padding:8px;height:100%}#terminal-container .xterm-viewport{background-color:#0c0d14!important;overflow-y:auto!important}*{margin:0;padding:0;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Segoe UI,Roboto,sans-serif;-webkit-font-smoothing:antialiased;-webkit-user-select:none;user-select:none}body{height:100vh;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;color:#fff;background-color:#0078d7;background-size:cover;background-position:center;background-repeat:no-repeat;transition:background-image .4s ease-in-out}.top-bar{height:30px;background-color:#00000040;backdrop-filter:blur(20px) saturate(180%);-webkit-backdrop-filter:blur(20px) saturate(180%);display:flex;justify-content:space-between;align-items:center;padding:0 16px;font-size:13px;font-weight:500;box-shadow:0 1px #ffffff26;z-index:1000}.os-title{font-weight:700;letter-spacing:.3px;text-shadow:0 1px 2px rgba(0,0,0,.3)}.top-bar-right{display:flex;gap:12px;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px rgba(0,0,0,.3)}.desktop{flex-grow:1;position:relative;overflow:hidden;width:100vw;height:calc(100vh - 110px)}.os-window{position:absolute;width:520px;height:360px;background:#1e1e1ee0;-webkit-backdrop-filter:blur(30px) saturate(190%);backdrop-filter:blur(30px) saturate(190%);border:1px solid rgba(255,255,255,.2);border-radius:12px;box-shadow:0 20px 50px #00000080;display:flex;flex-direction:column;overflow:hidden;will-change:left,top;transition:opacity .2s ease,transform .25s cubic-bezier(.175,.885,.32,1.275)}.os-window.minimized{transform:translateY(400px) scale(.1);opacity:0;pointer-events:none}.os-window.maximized{top:10px!important;left:10px!important;width:calc(100vw - 20px)!important;height:calc(100vh - 100px)!important;border-radius:8px}.window-header{height:36px;background:#ffffff0d;display:flex;align-items:center;padding:0 12px;border-bottom:1px solid rgba(255,255,255,.1);cursor:grab}.window-controls{display:flex;gap:8px}.control-btn{width:12px;height:12px;border-radius:50%;border:none;cursor:pointer}.btn-close{background:#ff5f56}.btn-minimize{background:#ffbd2e}.btn-maximize{background:#27c93f}.window-title{flex-grow:1;text-align:center;font-size:13px;font-weight:600;color:#ffffffd9;margin-right:52px}.window-body{padding:16px;flex-grow:1;font-size:14px;color:#e0e0e0;overflow-y:auto}.wallpaper-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:4px}.wallpaper-card{display:flex;flex-direction:column;align-items:center;gap:8px;background:#ffffff0d;border:1px solid rgba(255,255,255,.15);border-radius:8px;padding:8px;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease}.wallpaper-card:hover{transform:translateY(-2px);border-color:#00f3ff;background:#00f3ff1a}.wallpaper-card img{width:100%;height:90px;object-fit:cover;border-radius:6px;image-rendering:-webkit-optimize-contrast}.wallpaper-card span{font-size:11px;font-weight:600}#boot-screen{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#040810;z-index:9999;display:flex;align-items:center;justify-content:center;transition:opacity .5s ease,visibility .5s ease}#boot-screen.fade-out{opacity:0;visibility:hidden}.boot-box{width:680px;height:380px;background:#08141cf2;border:2px solid #00f3ff;box-shadow:0 0 25px #00f3ff4d;border-radius:8px;display:flex;flex-direction:column;overflow:hidden}.boot-header{background:#00f3ff;color:#040810;padding:6px 12px;font-family:monospace;font-weight:700;font-size:13px;display:flex;justify-content:space-between}.boot-content{display:flex;flex-grow:1;padding:16px;gap:16px;background:#060d14}.boot-gif-container{width:180px;display:flex;align-items:center;justify-content:center;border-right:1px solid rgba(0,243,255,.2);padding-right:16px}.miku-gif{width:100%;height:auto;object-fit:contain;border-radius:8px}.boot-terminal{flex-grow:1;font-family:Courier New,Courier,monospace;font-size:12px;color:#3fa;overflow-y:auto;display:flex;flex-direction:column;gap:4px}.log-line{line-height:1.4}.log-success{color:#00f3ff}.log-system{color:#888}.log-ok{color:#5f5;font-weight:700}.bottom-bar{height:70px;margin:0 auto 15px;display:flex;align-items:center;justify-content:center;gap:12px;z-index:100;position:fixed;bottom:0;left:0;width:100%;padding:0 20px;pointer-events:none;box-sizing:border-box;background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:none!important;box-shadow:none!important}.minimized-tray{display:flex;align-items:center;gap:8px}.tray-pill{animation:trayPop .25s cubic-bezier(.175,.885,.32,1.275);background-color:#00f3ff33!important;border-color:#00f3ff66!important}@keyframes trayPop{0%{transform:scale(.2);opacity:0}to{transform:scale(1);opacity:1}}.radial-dock-container{position:relative;padding:10px}.dock-item{padding:8px 16px;border-radius:12px;font-size:13px;font-weight:600;color:#fff;background-color:#ffffff40;backdrop-filter:blur(25px) brightness(1.1);-webkit-backdrop-filter:blur(25px) brightness(1.1);border:.5px solid rgba(255,255,255,.3);cursor:pointer;text-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .25s cubic-bezier(.175,.885,.32,1.275),background-color .2s}.app-launcher-btn{position:relative;z-index:20;width:48px;height:48px;padding:0;display:flex;align-items:center;justify-content:center;background:transparent!important;border:none!important;box-shadow:none!important;outline:none!important;cursor:pointer;border-radius:12px;overflow:hidden}.apps-icon-img{width:100%;height:100%;object-fit:cover;border:none!important;outline:none!important;box-shadow:none!important;border-radius:12px;filter:drop-shadow(0 4px 12px rgba(0,0,0,.3))}.radial-menu{position:absolute;top:50%;left:50%;width:0;height:0;pointer-events:none}.radial-item{position:absolute;opacity:0;transform:translate(-50%,-50%) scale(.3);pointer-events:auto;white-space:nowrap;transition:transform .3s cubic-bezier(.175,.885,.32,1.275),opacity .25s}.radial-dock-container:hover .radial-item{opacity:1;transform:translate(-50%,-50%) rotate(var(--angle)) translate(var(--distance)) rotate(calc(-1 * var(--angle))) scale(1)}.radial-menu:hover .radial-item:hover{transform:translate(-50%,-50%) rotate(var(--angle)) translate(var(--distance)) rotate(calc(-1 * var(--angle))) scale(1.3)!important;background-color:#ffffff80;z-index:30}.calc-container{display:flex;flex-direction:column;gap:12px;height:100%}.calc-display{width:100%;height:52px;background:#0006;border:1px solid rgba(255,255,255,.15);border-radius:8px;color:#00f3ff;font-size:24px;font-family:monospace;text-align:right;padding:0 12px;outline:none}.calc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;flex-grow:1}.calc-btn{background:#ffffff14;border:1px solid rgba(255,255,255,.15);border-radius:8px;color:#fff;font-size:16px;font-weight:600;cursor:pointer;transition:background .2s ease,transform .1s ease}.calc-btn:hover{background:#fff3}.calc-btn:active{transform:scale(.95)}.calc-op{background:#00f3ff33;color:#00f3ff}.calc-action{background:#ff5f5633;color:#ff5f56}.calc-equals{background:#00f3ff;color:#000;font-weight:700}.notes-app{display:flex;flex-direction:column;gap:16px;height:100%}.notes-composer{background:#ffffff0f;border:1px solid rgba(255,255,255,.15);border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:8px}.notes-composer input,.notes-composer textarea{background:transparent;border:none;outline:none;color:#fff;font-size:13px}.notes-composer input{font-weight:700;font-size:14px}.notes-composer textarea{resize:none;height:50px}.notes-composer-footer{display:flex;justify-content:space-between;align-items:center}.color-picker-row{display:flex;gap:6px}.color-dot{width:18px;height:18px;border-radius:50%;cursor:pointer;border:1px solid rgba(255,255,255,.3)}.color-dot.selected{border-color:#00f3ff;box-shadow:0 0 6px #00f3ff}.add-note-btn{background:#00f3ff;color:#000;border:none;padding:6px 14px;border-radius:6px;font-weight:700;cursor:pointer}.notes-container{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;overflow-y:auto;flex-grow:1}.note-card{border:1px solid rgba(255,255,255,.15);border-radius:8px;padding:10px;display:flex;flex-direction:column;gap:6px}.note-card.pinned{border-color:#00f3ff}.note-card-header{display:flex;justify-content:space-between;align-items:center}.note-card-title{background:transparent;border:none;color:#fff;font-weight:700;font-size:13px;outline:none;width:80%}.note-card-body{background:transparent;border:none;color:#ffffffd9;font-size:12px;resize:none;outline:none;height:60px}.note-pin-btn,.note-delete-btn{background:transparent;border:none;cursor:pointer;color:#fff;font-size:11px}.note-card-footer{display:flex;justify-content:flex-end}.wiki-app{display:flex;flex-direction:column;gap:12px;height:100%}.wiki-header{display:flex;gap:8px}.wiki-header input{flex-grow:1;background:#0000004d;border:1px solid rgba(255,255,255,.2);border-radius:6px;padding:8px 12px;color:#fff;outline:none}.wiki-header button,.wiki-back-btn{background:#00f3ff;color:#000;font-weight:700;border:none;padding:8px 16px;border-radius:6px;cursor:pointer}.wiki-body{flex-grow:1;overflow-y:auto;background:#0003;border-radius:8px;padding:12px}.wiki-placeholder{color:#ffffff80;text-align:center;margin-top:40px;font-size:13px}.wiki-results{display:flex;flex-direction:column;gap:10px}.wiki-card{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:6px;padding:10px;cursor:pointer;transition:background .2s ease,border-color .2s ease}.wiki-card:hover{background:#00f3ff1a;border-color:#00f3ff}.wiki-card h3{font-size:14px;color:#00f3ff;margin-bottom:4px}.wiki-card p{font-size:12px;color:#ccc}.wiki-article{display:flex;flex-direction:column;gap:12px}.wiki-thumb{max-width:180px;border-radius:6px}.wiki-extract{font-size:13px;line-height:1.6;color:#e0e0e0}.wiki-link{color:#00f3ff;font-size:12px;text-decoration:none}.google-app{display:flex;flex-direction:column;height:100%;gap:8px}.browser-nav{display:flex;gap:6px;align-items:center}.browser-btn{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;border-radius:4px;padding:6px 10px;cursor:pointer}.go-btn{background:#00f3ff;color:#000;font-weight:700;border:none}.browser-nav input{flex-grow:1;background:#0006;border:1px solid rgba(255,255,255,.2);border-radius:4px;padding:6px 10px;color:#00f3ff;font-family:monospace;font-size:12px;outline:none}#googleFrame{width:100%;flex-grow:1;border-radius:6px;background:#fff}.hover-dock{position:fixed;bottom:25px;right:25px;display:flex;gap:12px;z-index:99999}.hover-widget{position:relative;display:flex;align-items:center}.widget-badge{background:#ffffff26;backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%);border:1px solid rgba(255,255,255,.25);color:#fff;padding:8px 12px;border-radius:14px;cursor:pointer;font-size:12px;font-weight:500;box-shadow:0 4px 15px #0000004d;transition:background .2s ease,border-color .2s ease;height:42px;display:flex;align-items:center;justify-content:center;white-space:nowrap}.hover-widget:hover .widget-badge{background:#00f3ff40;border-color:#00f3ff}.popup-window{position:absolute;bottom:50px;right:0;width:250px;background:#14141ebf;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.2);border-radius:16px;padding:14px;color:#fff;box-shadow:0 10px 30px #0006;opacity:0;visibility:hidden;transform:translateY(10px) scale(.95);transition:opacity .2s ease .5s,transform .2s ease .5s,visibility .2s ease .5s;pointer-events:none;display:none;min-width:180px;z-index:10000}.hover-widget:hover .popup-window{opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto;transition-delay:0s;display:block}.popup-header{border-bottom:1px solid rgba(255,255,255,.1);padding-bottom:6px;margin-bottom:10px}.popup-header h3{margin:0;font-size:14px;color:#00f3ff}.popup-header .location{font-size:11px;opacity:.7}.weather-body{text-align:center}.temp-display{font-size:32px;font-weight:700;margin:4px 0;color:#00f3ff}.condition{font-size:12px;margin-bottom:8px;color:#e0e0e0}.details{font-size:11px;display:flex;justify-content:space-between;opacity:.8}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center;font-size:11px;margin-top:8px}.cal-day-header{font-weight:700;opacity:.6;padding-bottom:2px;color:#00f3ff}.cal-date{padding:4px;border-radius:4px;cursor:pointer;border:1px solid transparent}.cal-date.active{background:#00f3ff;font-weight:700;color:#000}.cal-date.empty{opacity:0;pointer-events:none}.mac-dock-container{position:absolute;left:50%;transform:translate(-50%);pointer-events:auto;display:flex;align-items:center}.mac-dock{display:flex;align-items:center;gap:10px;padding:6px 14px;background:#ffffff26;backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%);border:1px solid rgba(255,255,255,.25);border-radius:20px;box-shadow:0 8px 32px #0003}.dock-app{position:relative;width:52px;height:52px;border-radius:12px!important;background:transparent;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s ease-out;transform-origin:bottom center;outline:none!important;box-shadow:none!important;overflow:hidden;flex-direction:column;padding:4px}.app-icon{font-size:26px;pointer-events:none}.dock-app:after{content:"";position:absolute;top:-38px;left:50%;transform:scaleX(0);background:#000c;color:#fff;padding:4px 8px;border-radius:4px;font-size:11px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s ease,transform .2s ease;bottom:-4px;width:12px;height:3px;background-color:#38bdf8}.dock-app:hover:after{opacity:1}.widgets-corner{margin-left:auto;display:flex;align-items:center;gap:10px;pointer-events:auto;flex-direction:row}.cal-header{display:flex;justify-content:space-between;align-items:center}.cal-header button{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#00f3ff;border-radius:4px;width:22px;height:22px;cursor:pointer;display:flex;align-items:center;justify-content:center;font-weight:700}.cal-header button:hover{background:#00f3ff;color:#000}.cal-date:hover{background:#ffffff1a}.cal-date.today{background:#00f3ff33;font-weight:700;color:#00f3ff}.cal-date.selected{border:1px solid #00f3ff!important;box-shadow:0 0 6px #00f3ff99}.popup-window:after{content:"";position:absolute;bottom:-15px;left:0;width:100%;height:15px;background:transparent}.app-icon-img{width:40px;height:40px;object-fit:contain;pointer-events:none;border-radius:10px;border:none!important;outline:none!important;box-shadow:none!important}.dock-app.active:after{content:"";position:absolute;bottom:-6px;left:50%;transform:scaleX(1);width:6px;height:6px;background-color:#fff;border-radius:50%;box-shadow:0 0 4px #fffc;opacity:1}.music-widget-container{display:flex;align-items:center;margin:0;width:100%}.music-player-widget{display:flex;align-items:center;gap:10px;padding:6px 12px;border-radius:16px;background:#ffffff26;backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%);border:1px solid rgba(255,255,255,.25);box-shadow:0 8px 32px #0003;color:#fff;font-family:system-ui,-apple-system,sans-serif;flex-direction:row}.album-art-container{width:44px;height:44px;border-radius:8px;overflow:hidden;flex-shrink:0;box-shadow:0 2px 8px #0000004d}.album-art{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:1 / 1}.track-info{display:flex;flex-direction:column;justify-content:center;min-width:90px;text-align:center}.track-title{font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:110px;display:block}.track-artist{font-size:9px;opacity:.75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:110px;display:block}.player-controls{display:flex;align-items:center;gap:6px}.music-btn{background:transparent;border:none;color:#fff;font-size:12px;cursor:pointer;padding:2px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:transform .15s ease}.music-btn:hover{background:#fff3;transform:scale(1.15)}.music-btn.play-btn{font-size:16px;width:28px;height:28px;background:#ffffff40}.music-btn.play-btn:hover{background:#fff6}.music-details{display:flex;flex-direction:column;align-items:center;width:100%;gap:2px}.desktop-music-widget{position:absolute;top:24px;right:28px;width:260px;height:350px;padding:14px;box-sizing:border-box;border-radius:24px;background:#fff;backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%);border:none;box-shadow:0 10px 25px #00000026;display:flex;flex-direction:column;align-items:center;justify-content:space-between;z-index:10;color:#1a1a1a;overflow:hidden}.widget-top-bar{width:100%;display:flex;justify-content:flex-end}.more-options{font-size:16px;font-weight:700;cursor:pointer;color:#333}.desktop-album-container{width:150px;height:150px;border-radius:16px;overflow:hidden;box-shadow:0 4px 12px #0000001a}.desktop-album-art{width:100%;height:100%;object-fit:cover;aspect-ratio:1 / 1;display:block}.widget-action-row{width:80%;display:flex;justify-content:space-between;align-items:center;margin:4px 0}.icon-btn{background:transparent;border:none;font-size:16px;cursor:pointer;color:#333;transition:transform .1s ease}.progress-container{width:90%;display:flex;flex-direction:column;gap:4px}.music-progress{width:100%;accent-color:#000000;cursor:pointer;height:3px}.time-stamps{display:flex;justify-content:space-between;font-size:11px;font-weight:600;color:#666}.desktop-player-controls{display:flex;align-items:center;justify-content:center;gap:20px;width:100%}.ctrl-btn{background:transparent;border:none;font-size:18px;cursor:pointer;color:#1a1a1a;transition:transform .15s ease}.ctrl-btn:hover{transform:scale(1.15)}.ctrl-btn.play-main-btn{font-size:22px}.icon-btn:hover{transform:scale(1.2)}.icon-btn.liked{color:#ff3b30}.widget-track-title{font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px;display:block;margin-top:2px}.playlist-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#fff;z-index:20;display:flex;flex-direction:column;padding:12px;box-sizing:border-box;transform:translateY(100%);transition:transform .25s ease-in-out}.playlist-overlay.open{transform:translateY(0)}.playlist-header{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:13px;padding-bottom:8px;border-bottom:1px solid #eeeeee}.close-playlist-btn{background:transparent;border:none;font-size:14px;cursor:pointer}.playlist-items{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:4px;margin-top:8px}.playlist-item{display:flex;align-items:center;gap:10px;padding:6px 8px;border-radius:8px;cursor:pointer;font-size:11px;transition:background .15s ease}.playlist-item:hover{background:#f0f0f0}.playlist-item.active{background:#e6f7ff;font-weight:600;color:#0076ff}.playlist-empty{font-size:11px;color:#888;text-align:center;margin-top:20px}.desktop-music-widget .widget-top-bar,.desktop-music-widget .more-options,.desktop-music-widget .add-btn,.desktop-music-widget .plus-icon{display:none!important}.desktop-music-widget .widget-action-row{display:flex;justify-content:space-between;align-items:center;width:80%}.desktop-music-widget .widget-action-row .icon-btn:not(#likeBtn):not(#playlistBtn){display:none!important}.miku-store{width:100%;height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;padding:24px;box-sizing:border-box;background:radial-gradient(circle at 10% 0%,rgba(0,229,255,.12),transparent 32%),radial-gradient(circle at 90% 10%,rgba(255,0,150,.1),transparent 30%),#11151c;color:#fff;font-family:Arial,sans-serif}.miku-store::-webkit-scrollbar{width:8px}.miku-store::-webkit-scrollbar-thumb{background:#ffffff38;border-radius:10px}.miku-store-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.miku-store-title{margin:0;font-size:28px;font-weight:700}.miku-store-subtitle{margin:5px 0 0;color:#ffffff8c;font-size:14px}.miku-store-search{width:280px;max-width:100%;padding:11px 15px;border:1px solid rgba(255,255,255,.12);border-radius:12px;outline:none;background:#ffffff12;color:#fff;font-size:14px;box-sizing:border-box}.miku-store-search::placeholder{color:#fff6}.miku-store-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;align-items:start}.miku-store-card{min-width:0;padding:16px;border:1px solid rgba(255,255,255,.1);border-radius:18px;background:#ffffff0e;box-shadow:0 10px 30px #0000002e;transition:transform .2s ease,background .2s ease,border-color .2s ease;box-sizing:border-box;display:flex;flex-direction:column}.miku-store-card:hover{transform:translateY(-4px);background:#ffffff17;border-color:#fff3}.miku-store-card img{display:block;width:72px;height:72px;object-fit:contain;margin:0 auto 14px;border-radius:16px}.miku-store-card h3{margin:0;text-align:center;font-size:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.miku-store-card p{margin:6px 0 14px;min-height:34px;text-align:center;color:#ffffff80;font-size:12px;line-height:1.4}.miku-store-card button{width:100%;padding:9px 12px;border:0;border-radius:10px;background:#ffffff1f;color:#fff;cursor:pointer;font-size:13px;font-weight:600;transition:background .2s ease,transform .15s ease}.miku-store-card button:hover{background:#fff3}.miku-store-card button:active{transform:scale(.96)}.miku-store-card .open-btn{background:#00a8e8}.miku-store-card .open-btn:hover{background:#0096d1}.miku-store-card .uninstall-btn{background:#ff464629}.miku-store-card .uninstall-btn:hover{background:#ff464647}.miku-store-category{margin:28px 0 12px;font-size:18px;font-weight:700}.miku-store-empty{padding:40px 20px;text-align:center;color:#ffffff80}.miku-web-app{position:relative;width:100%;height:100%;overflow:hidden;background:#10141b}.miku-web-app-frame{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;display:block;background:#fff;z-index:2}.miku-web-app-loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#10141b;color:#ffffffb3;font-size:14px}.miku-web-app-spinner{width:28px;height:28px;border:3px solid rgba(255,255,255,.15);border-top-color:#00f3ff;border-radius:50%;animation:mikuStoreSpin .8s linear infinite}@keyframes mikuStoreSpin{to{transform:rotate(360deg)}}.miku-store-card-icon{width:72px;height:72px;margin:0 auto 14px;border-radius:16px;overflow:hidden;background:#ffffff14;display:flex;align-items:center;justify-content:center}.miku-store-card-icon img{width:58px;height:58px;object-fit:contain}.miku-store-card-info{text-align:center;flex:1}.miku-store-card-actions{display:flex;gap:8px;margin-top:14px}.miku-store-card-actions button{flex:1;min-width:0}.miku-store-button{border:0;border-radius:9px;padding:9px 8px;color:#fff;background:#ffffff1f;cursor:pointer;font-size:12px;font-weight:600;transition:background .2s ease,transform .15s ease,filter .2s ease}.miku-store-install,.miku-store-open{background:#00a8e8}.miku-store-remove{background:#ff46462e}.miku-store-button:hover{filter:brightness(1.15)}.miku-store-button:active{transform:scale(.96)}.miku-store-card-category{display:inline-block;padding:4px 8px;border-radius:999px;background:#00a8e81f;color:#00c8ff;font-size:10px;font-weight:600}.miku-store-card-info h3{margin:0}.miku-store-card-info p{margin-bottom:8px}
