:root{font-family:Inter,'Segoe UI','Microsoft YaHei',system-ui,sans-serif;color:#20304b;font-synthesis:none;--accent:#3269ed;--muted:#7e899d;--line:#e8edf4;--panel:#f7f9fd;--glass:rgba(239,246,255,.82);--shadow:0 28px 90px #00143150,0 2px 8px #082b5a20;--cell-w:104px;--cell-h:112px;--rows:5;--taskbar-height:44px;color-scheme:light}

*{box-sizing:border-box}
body{margin:0;overflow:hidden;height:100vh;height:100dvh}
button,input,textarea,select{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;color:inherit;border:0;background:none}
button:disabled{cursor:default;opacity:.55}
a{color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #83b8ff;outline-offset:3px}
button svg{pointer-events:none}
svg.icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
[hidden]{display:none!important}
.wallpaper{position:fixed;inset:0;background:radial-gradient(ellipse at 67% 64%,#1d81ea 0,#1453af 35%,#102d63 85%);background-size:cover;background-position:center;z-index:-2}
.wallpaper:after{content:'';position:absolute;inset:0;background:none}
.desktop-header{height:76px;padding:0 35px;display:flex;align-items:center;justify-content:space-between;color:#fff}
.os-brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.os-brand strong{font-size:20px;font-weight:650;letter-spacing:-.6px}
.os-brand strong>span{font-weight:350;opacity:.8}
.brand-symbol{font-family:'Segoe UI',sans-serif;font-size:35px;font-weight:750;position:relative;line-height:1;letter-spacing:-3px;display:inline-flex;width:28px;height:34px}
.brand-symbol>span{color:#8dd7ff;font-size:24px;position:absolute;right:-2px;top:-9px}
.brand-divider{height:16px;width:1px;background:#ffffff30;margin:0 4px 0 12px}
.workspace-label{font-size:12px;letter-spacing:1px;color:#d9eaffb3}
.header-actions{display:flex;gap:20px;align-items:center}
.local-status{font-size:12px;color:#d5e7fd;display:flex;align-items:center;gap:7px}
.local-status i{width:5px;height:5px;border-radius:100%;background:#7de2bd;box-shadow:0 0 8px #72d6af70}
.glass-button{display:flex;align-items:center;gap:7px;font-size:12px;color:#eef7ff;padding:8px 12px;border-radius:8px;background:#ffffff0c;border:1px solid #ffffff1c}
.glass-button svg{width:15px;height:15px}
.glass-button:hover{background:#ffffff20}
#desktop{position:absolute;inset:86px 26px calc(var(--taskbar-height) + 22px)}
.desktop-grid{display:grid;grid-template-rows:repeat(var(--rows),var(--cell-h));grid-auto-columns:var(--cell-w);grid-auto-flow:column;gap:0;width:100%;height:100%;align-content:start;overflow:auto;scrollbar-width:none}
.desktop-icon{width:var(--cell-w);height:var(--cell-h);padding:9px 5px;border-radius:10px;display:flex;align-items:center;flex-direction:column;gap:9px;user-select:none;position:relative;touch-action:none;color:white;transition:background .16s;flex-shrink:0;justify-content:flex-start}
.desktop-icon:hover{background:#ffffff12}
.desktop-icon:focus-visible{background:#ffffff1e}
.desktop-icon .icon-label{font-size:12px;font-weight:450;text-shadow:0 1px 5px #0a214ca0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.app-art{width:56px;height:56px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;position:relative;color:white;flex-shrink:0;box-shadow:inset 0 1px 1px #ffffff65,0 5px 9px #000b2620;background:linear-gradient(145deg,#62b5ff,#2f63e8)}
.app-art>.icon{width:31px;height:31px;stroke-width:1.65}
.app-art-image{overflow:hidden;background:transparent;color:#fff}
.app-art-image>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;background:transparent}
.app-art-image.image-failed{background:linear-gradient(145deg,#72b7ff,#3470f2)}
.art-blue{background:linear-gradient(145deg,#72b7ff,#3470f2)}
.art-indigo{background:linear-gradient(145deg,#7892ff,#4d55d8)}
.art-yellow{background:linear-gradient(145deg,#ffe9aa,#ffc855);color:#805617}
.art-slate{background:linear-gradient(145deg,#687888,#344454)}
.art-coral{background:linear-gradient(145deg,#ffad9b,#ed6b69)}
.art-green{background:linear-gradient(145deg,#73dcbd,#36aa99)}
.art-silver{background:linear-gradient(145deg,#e7edf4,#a0b0c7);color:#50617b}
.folder-art{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;padding:8px;background:#d9e9ff42;backdrop-filter:blur(15px);border:1px solid #ffffff32}
.folder-art .app-art{width:17px;height:17px;border-radius:5px;box-shadow:none}
.folder-art .app-art svg{width:11px;height:11px}
.clock-widget{position:absolute;top:25px;right:37px;color:#fff;text-align:right;pointer-events:none;user-select:none}
.clock-widget p{font-size:14px;margin:0 0 5px;letter-spacing:2px;color:#e4efffd4}
.clock-widget>time{font-size:70px;font-weight:250;letter-spacing:-4px;line-height:1.2;font-variant-numeric:tabular-nums}
.clock-widget>span{display:block;font-size:12px;color:#d4e7ff9c;letter-spacing:1px;margin-top:8px}
.desktop-caption{position:absolute;bottom:35px;right:38px;color:#e5f1ffbb;display:flex;flex-direction:column;align-items:flex-end;gap:12px;pointer-events:none}
.caption-line{width:32px;height:1px;background:#c2e0ff75;margin-bottom:8px}
.desktop-caption>span:not(.caption-line){font-size:14px;letter-spacing:3px}
.desktop-caption>small{font-size:12px;letter-spacing:2px;color:#bddbff70}
.taskbar{position:fixed;bottom:6px;left:10px;right:10px;height:var(--taskbar-height);background:transparent;border:0;display:flex;align-items:center;justify-content:center;z-index:2000;pointer-events:none}
.taskbar>*{pointer-events:auto}
.taskbar-reveal-zone,.taskbar-tray-reveal-zone{display:none}
html[data-ui=desktop] body.window-maximized :is(.taskbar-reveal-zone,.taskbar-tray-reveal-zone){display:block;position:fixed;z-index:1999;bottom:0;height:16px}
html[data-ui=desktop] body.window-maximized .taskbar-reveal-zone{left:50%;width:140px;transform:translateX(-50%)}
html[data-ui=desktop] body.window-maximized .taskbar-tray-reveal-zone{right:10px;width:150px}
html[data-ui=desktop] body.window-maximized .taskbar-reveal-zone::after{content:'';position:absolute;left:50%;bottom:3px;width:44px;height:3px;border-radius:999px;background:#dce9f4aa;box-shadow:0 1px 5px #102c4d40;transform:translateX(-50%)}
html[data-ui=desktop] body.window-maximized .taskbar :is(.dock,.system-tray){transform:translateY(calc(100% + 8px));transition:transform .24s cubic-bezier(.22,.8,.25,1);transition-delay:.32s}
html[data-ui=desktop] body.window-maximized .taskbar-reveal-zone:hover~.taskbar .dock,html[data-ui=desktop] body.window-maximized .taskbar .dock:hover,html[data-ui=desktop] body.window-maximized .taskbar .dock:focus-within{transform:translateY(0);transition-delay:0s}
html[data-ui=desktop] body.window-maximized .taskbar-tray-reveal-zone:hover~.taskbar .system-tray,html[data-ui=desktop] body.window-maximized .taskbar .system-tray:hover,html[data-ui=desktop] body.window-maximized .taskbar .system-tray:focus-within{transform:translateY(0);transition-delay:0s}
.dock{display:flex;gap:5px;align-items:center;height:44px;padding:3px 9px;border:1px solid #ffffff9e;border-radius:16px;background:#e5f0fadf;backdrop-filter:blur(30px);box-shadow:0 8px 26px #17385f22}
.dock-button{width:40px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:8px;position:relative}
.dock-button:hover,.dock-button.active{background:#ffffff90}
.dock-button .app-art{width:29px;height:29px;border-radius:8px;box-shadow:0 2px 4px #50658918,inset 0 1px #ffffff60}
.dock-button .app-art svg{width:21px;height:21px}
.dock-button.running:after{content:'';width:5px;height:3px;background:#8296b0;position:absolute;bottom:1px;border-radius:4px}
.dock-button.active:after{width:16px;background:#3b79e9}
.dock-button>svg{width:23px;height:23px;color:#526984}
.pisces-start{width:27px;height:27px;border-radius:50% 50% 46% 54%;display:grid;place-items:center;background:linear-gradient(145deg,#62b9ff,#315bd8);color:white;font-size:20px;font-weight:750;font-family:Arial,sans-serif;box-shadow:inset 0 1px 1px #ffffff70,0 3px 9px #2559ad35;position:relative;line-height:1}
.pisces-start>span{position:absolute;color:#9ee4ff;font-size:13px;right:3px;top:0}
.dock-divider{height:24px;width:1px;background:#bacce263;margin:0 5px}
.system-tray{position:absolute;right:10px;display:flex;align-items:center;gap:9px;font-size:11px;padding:6px 10px;border:1px solid #ffffff8c;border-radius:15px;background:#e8f2fbd9;backdrop-filter:blur(28px);box-shadow:0 6px 20px #19395c18}
.system-tray svg{width:16px;height:16px}
.system-tray>div{display:flex;flex-direction:column;align-items:flex-end;gap:2px;margin-left:7px}
.window{position:absolute;width:930px;height:614px;left:max(170px,calc(50vw - 410px));top:max(105px,calc(50vh - 288px));background:#f8fafdef;border:1px solid #ffffffbd;border-radius:13px;box-shadow:var(--shadow);backdrop-filter:blur(45px);overflow:hidden;display:flex;flex-direction:column;animation:window-in .2s ease-out;min-width:340px;min-height:260px;max-width:calc(100vw - 30px);max-height:calc(100dvh - var(--taskbar-height) - 25px)}
@keyframes window-in{from{opacity:0;transform:translateY(12px) scale(.985)}
to{opacity:1;transform:none}
}
.window:not(.focused){box-shadow:0 15px 45px #061c3d2b}
.window-titlebar{height:44px;flex-shrink:0;background:#f1f5fbbf;display:flex;align-items:center;justify-content:space-between;user-select:none;touch-action:none}
.window-title{display:flex;align-items:center;gap:9px;padding:0 16px;font-size:12px;font-weight:500}
.window-title .app-art{width:20px;height:20px;border-radius:6px;box-shadow:none}
.window-title .app-art svg{width:13px;height:13px}
.window-controls{display:flex;height:100%}
.window-controls button{width:44px;display:flex;align-items:center;justify-content:center;color:#6b7890}
.window-controls svg{width:15px;height:15px}
.window-controls button:hover{background:#dfe7f0}
.window-controls .close-window:hover{background:#e64e58;color:white}
.window-content{flex:1;min-height:0;overflow:auto;background:#fcfdff}
.window.maximized{left:0!important;top:0!important;width:100vw!important;height:calc(100dvh - var(--taskbar-height) - 6px)!important;max-width:none;max-height:none;border:0;border-radius:0;background:var(--panel,#f7f9fd)}
html[data-ui=desktop] body.window-maximized .window.maximized{height:100dvh!important}
.resize-handle{position:absolute;width:18px;height:18px;bottom:0;right:0;cursor:nwse-resize;touch-action:none;z-index:5}
.resize-handle:after{content:'';position:absolute;right:5px;bottom:5px;width:6px;height:6px;border-right:2px solid #a7b5c77d;border-bottom:2px solid #a7b5c77d}
.window.maximized .resize-handle{display:none}
.store-shell{display:grid;grid-template-columns:177px 1fr;min-height:100%;height:100%}
.store-sidebar{background:#f0f4fa;display:flex;flex-direction:column;padding:24px 12px 15px;border-right:1px solid #e7edf5}
.sidebar-heading{font-size:18px;font-weight:650;letter-spacing:-.3px;padding:0 12px;margin:0 0 24px}
.store-nav{display:flex;flex-direction:column;gap:5px}
.store-nav button{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:7px;text-align:left;font-size:13px;color:#6b7890}
.store-nav button svg{width:18px;height:18px}
.store-nav button.active{background:#e0e9fb;color:#3565c5;font-weight:600}
.store-nav button:hover{background:#e5ecf6}
.sidebar-footer{margin-top:auto;padding:22px 12px 0;font-size:12px;color:#8b98ac;line-height:1.8}
.sidebar-footer>span{display:flex;align-items:center;gap:6px;color:#637c9c;font-size:12px}
.sidebar-footer svg{width:14px;height:14px}
.store-main{padding:24px 28px;overflow:auto}
.store-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}
.store-top h1{margin:0;font-size:21px;letter-spacing:-.7px;font-weight:650}
.store-top p{margin:6px 0 0;color:#96a0b1;font-size:12px}
.search-field{display:flex;align-items:center;gap:8px;background:#f1f4f8;border:1px solid #e7ecf3;border-radius:8px;padding:8px 10px;max-width:220px}
.search-field svg{color:#91a0b4;width:16px;height:16px}
.search-field input{width:100%;border:0;outline:0;background:none;color:#334462;font-size:12px;min-width:0}
.store-feature{border-radius:11px;padding:23px;min-height:134px;color:white;background:linear-gradient(110deg,#192e59,#284678 60%,#38669c);display:flex;align-items:center;gap:18px;position:relative;overflow:hidden}
.store-feature .app-art{width:66px;height:66px;border-radius:18px;background:#5c8bd145;border:1px solid #95c4ff5c;box-shadow:0 8px 30px #081d4336;transform:rotate(-5deg)}
.store-feature .app-art svg{width:38px;height:38px}
.feature-copy{flex:1}
.feature-copy>span{font-size:12px;letter-spacing:2px;color:#9ec5ff}
.feature-copy h2{font-size:20px;font-weight:550;letter-spacing:.5px;margin:5px 0 8px}
.feature-copy p{font-size:12px;color:#b9cbe7;margin:0;line-height:1.7}
.feature-link{display:flex;align-items:center;gap:7px;border:1px solid #ffffff32;background:#ffffff15;padding:8px 12px;border-radius:7px;color:#eef5ff;font-size:12px;white-space:nowrap}
.feature-link svg{width:13px;height:13px}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 0 13px}
.section-heading h2{font-size:14px;font-weight:600;margin:0}
.section-heading>span{font-size:12px;color:#96a2b3}
.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tool-card{display:flex;align-items:center;gap:12px;padding:16px 13px;background:white;border:1px solid #e7ecf3;border-radius:10px;transition:box-shadow .15s,border-color .15s;min-height:93px}
.tool-card:hover{box-shadow:0 4px 14px #213b6810;border-color:#ccdaee}
.tool-card .app-art{width:42px;height:42px;border-radius:12px}
.tool-card .app-art svg{width:25px;height:25px}
.tool-copy{flex:1;min-width:0}
.tool-copy h3{font-size:13px;font-weight:600;margin:0 0 6px}
.tool-copy p{font-size:12px;color:#919bab;margin:0;line-height:1.55}
.install-button{color:#3f79dd;display:flex;align-items:center;justify-content:center;gap:4px;background:#eff5ff;border-radius:6px;padding:7px 8px;font-size:12px;white-space:nowrap}
.install-button svg{width:13px;height:13px}
.install-button.installed{color:#8b99ac;background:#f3f6f9}
.install-button:hover{background:#ddeaff;color:#3c75d8}
.custom-strip{margin-top:17px;padding:13px 14px;border:1px dashed #d5dfed;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#7c8da5}
.custom-strip button{display:flex;align-items:center;gap:5px;color:#4379d1;font-size:12px}
.custom-strip svg{width:15px;height:15px}
.mobile-status,.mobile-search,.home-indicator{display:none}
.toast{position:fixed;z-index:6000;bottom:calc(var(--taskbar-height) + 23px);left:50%;transform:translateX(-50%);background:#f5f9fff2;padding:13px 20px;border-radius:12px;box-shadow:0 8px 30px #00173130;font-size:13px;text-align:center;max-width:min(90vw,500px);backdrop-filter:blur(20px)}
.noscript{position:fixed;inset:30%;background:#fff;padding:40px;z-index:9999}
.edit-tip{position:absolute;bottom:0;left:50%;transform:translateX(-50%);white-space:nowrap;display:flex;align-items:center;gap:14px;background:#ecf4fff0;padding:11px 16px;border-radius:12px;font-size:12px;box-shadow:0 8px 30px #001b3930;z-index:100}
.edit-tip button{color:#3170d8}
.editing .desktop-icon .app-art{animation:wiggle .24s ease-in-out infinite alternate}
.editing .desktop-icon:nth-child(even) .app-art{animation-direction:alternate-reverse}
@keyframes wiggle{to{transform:rotate(2.5deg)}
from{transform:rotate(-2.5deg)}
}
.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 17px;border-radius:8px;font-size:14px;font-weight:500;background:#3775e9;color:#fff;text-decoration:none}
.primary-button:hover{background:#2864d4}
.secondary-button{background:#eef2f8;color:#536b8f}
.secondary-button:hover{background:#e2eaf4}
.primary-button svg,.secondary-button svg{width:17px;height:17px}
.empty-state{text-align:center;padding:45px 20px;color:#8a98ae;font-size:14px}
.muted{color:#8795aa}
.row{display:flex;align-items:center;gap:10px}
.mobile-back{display:none}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
