*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{font:13px/1.5 'Segoe UI Variable','Segoe UI','Microsoft YaHei',sans-serif;color:#1b2537;background:#174bab;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid #1674d8;outline-offset:3px}[hidden]{display:none!important}.icon-library{position:absolute;width:0;height:0;overflow:hidden}svg{display:block}#desktop{height:calc(100svh - 54px - env(safe-area-inset-bottom));position:relative;background:#154bab url('/static/desktop/wallpaper.svg') center/cover no-repeat;overflow:hidden;transition:filter .25s}body[data-theme=midnight] #desktop{background-color:#072440;background-blend-mode:multiply}body[data-theme=violet] #desktop{filter:hue-rotate(32deg)}.desktop-icons{position:absolute;top:24px;left:20px;display:grid;grid-auto-flow:column;grid-template-rows:repeat(6,95px);grid-auto-columns:94px;gap:7px 9px;z-index:1}.desktop-icon{width:94px;height:95px;background:transparent;border:1px solid transparent;border-radius:5px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;padding:9px 4px;text-shadow:0 1px 3px #002652bf;user-select:none}.desktop-icon:hover{background:#e4f0ff20;border-color:#ffffff30}.desktop-icon:focus-visible,.desktop-icon.selected{background:#e4f0ff35;border-color:#e6f4ff90;outline:none}.desktop-icon svg{width:47px;height:47px;filter:drop-shadow(0 3px 2px #16346124);pointer-events:none}.desktop-icon span{line-height:1.45;font-size:12px;max-width:88px;overflow-wrap:anywhere;pointer-events:none}.desktop-caption{position:absolute;right:36px;bottom:31px;text-align:right;color:#ffffff7a;pointer-events:none;user-select:none}.desktop-caption>span{font-size:30px;font-weight:300;letter-spacing:1px}.desktop-caption p{margin:4px 0;font-size:12px;letter-spacing:3px}.taskbar{position:fixed;bottom:0;left:0;right:0;height:calc(54px + env(safe-area-inset-bottom));padding:4px 13px calc(4px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;background:#f1f6ffdb;backdrop-filter:blur(30px) saturate(140%);border-top:1px solid #ffffffab;z-index:10000;box-shadow:0 -2px 16px #0c244c10}.taskbar-center{display:flex;gap:5px;align-items:center;max-width:calc(100% - 170px)}.taskbar-button{position:relative;flex:none;width:42px;height:42px;border:1px solid transparent;border-radius:5px;background:transparent;display:flex;align-items:center;justify-content:center;color:#273d58}.taskbar-button:hover,.tray-button:hover,.clock-button:hover{background:#ffffff8c;border-color:#fff8}.taskbar-button:active{transform:scale(.95)}.taskbar-button>svg{width:25px;height:25px}.start-button{color:#0078d4}.taskbar-button.active{background:#ffffffb8;border-color:#ffffffb8}.taskbar-button.running:after{content:'';position:absolute;bottom:3px;left:17px;right:17px;height:3px;background:#8a9eaf;border-radius:4px}.taskbar-button.active:after{left:12px;right:12px;background:#0078d4}.running-apps{display:flex;gap:4px;align-items:center;overflow:auto;scrollbar-width:none}.system-tray{display:flex;align-items:center;gap:4px;position:absolute;right:8px;height:42px}.tray-button{height:39px;width:35px;border:1px solid transparent;background:none;border-radius:5px;display:grid;place-items:center}.tray-button svg{width:21px;height:21px}.clock-button{height:40px;min-width:86px;border:1px solid transparent;background:transparent;border-radius:5px;padding:2px 8px;text-align:right;line-height:1.45;font-size:11px;color:#253752}.clock-button time,.clock-button span{display:block}#show-desktop{width:5px;height:28px;background:none;border:0;border-left:1px solid #5f748a30;margin-left:5px;padding:0}.desktop-panel{position:fixed;bottom:69px;z-index:10001;background:#f3f7ffed;backdrop-filter:blur(35px) saturate(130%);border:1px solid #ffffffa8;border-radius:9px;box-shadow:0 18px 70px #08295855;animation:panel-in .18s ease-out}.start-menu{left:50%;transform:translateX(-50%);width:535px;padding:31px 33px 0}.start-search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #cbd5e1;border-bottom:2px solid #006cc7;border-radius:5px;padding:8px 12px;box-shadow:0 2px 3px #2a486604}.start-search svg{width:18px;height:18px;color:#64778d}.start-search input{width:100%;border:0;outline:none!important;background:none;font-size:13px;padding:3px 0}.start-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 4px 17px;font-size:13px}.start-heading span{font-size:11px;color:#697b90}.pinned-apps{display:grid;grid-template-columns:repeat(4,1fr);gap:11px 3px;min-height:184px}.pinned-app{border:1px solid transparent;border-radius:5px;background:transparent;min-height:89px;display:flex;flex-direction:column;align-items:center;gap:8px;padding:9px 3px;color:#253752;font-size:12px}.pinned-app:hover{background:#fff9;border-color:#fff}.pinned-app svg{height:37px;width:37px}.start-hint{color:#8d9bae;font-size:11px;margin:22px 4px 26px}.start-footer{margin:0 -33px;padding:15px 28px;display:flex;justify-content:space-between;background:#e6eefbb5;border-top:1px solid #d4deed}.start-footer button{display:flex;align-items:center;gap:11px;border:0;border-radius:5px;background:none;padding:5px 7px;color:#253752}.start-footer button:hover{background:#fff7}.start-footer svg{width:30px;height:30px}#close-all svg{width:20px;height:20px}.quick-panel{right:13px;width:300px;padding:24px}.quick-panel h2{margin:0;font-size:16px;font-weight:600}.quick-panel>p{font-size:12px;color:#788aa0}.theme-options{display:flex;gap:13px;margin:17px 0 23px}.theme-swatch{width:64px;height:45px;border:3px solid #fff;border-radius:5px;box-shadow:0 0 0 1px #c3d1e3}.theme-swatch.selected{box-shadow:0 0 0 2px #0078d4}.theme-swatch.blue{background:linear-gradient(130deg,#76bbff,#1244ad)}.theme-swatch.midnight{background:linear-gradient(130deg,#225588,#071728)}.theme-swatch.violet{background:linear-gradient(130deg,#b7a4ef,#504fba)}.quick-account{display:flex;flex-direction:column;gap:5px;padding:14px 0;border-top:1px solid #d6e1ef;font-size:12px}#coin-label{color:#778aa1}.quick-about{font-size:10px!important;line-height:1.8;color:#8f9eb0!important;margin-bottom:0}.quick-about a{color:inherit;text-decoration:none}.window-layer{position:absolute;inset:0;pointer-events:none;z-index:10}.app-window{position:absolute;left:calc(50% - 440px);top:42px;width:880px;height:min(650px,calc(100% - 65px));min-width:min(340px,100%);min-height:min(250px,100%);padding:6px;background:#f7f9fc;border:1px solid #657eac60;border-radius:9px;box-shadow:0 20px 70px #051c5359,0 0 0 1px #fff3;overflow:hidden;display:flex;flex-direction:column;pointer-events:auto;animation:window-in .16s ease-out}.app-window:not(.focused){box-shadow:0 9px 35px #051c532b}.app-window.minimized{display:none}.window-titlebar{height:39px;flex-shrink:0;display:flex;align-items:center;background:#edf3fb;user-select:none;touch-action:none}.window-title{display:flex;align-items:center;gap:8px;padding:0 13px;min-width:0;flex:1;font-size:12px;color:#283b55}.window-title svg{width:19px;height:19px}.window-title span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.window-controls{display:flex;align-self:stretch}.window-control{width:45px;border:0;background:none;color:#243750;display:grid;place-items:center;border-radius:0;flex:none}.window-control:hover{background:#cddcf370}.window-control.close:hover{background:#c42b1c;color:#fff}.window-control svg{width:13px;height:13px;pointer-events:none}.window-toolbar{height:39px;display:flex;align-items:center;padding:0 9px;gap:6px;border-bottom:1px solid #d9e3f0;background:#f7faff;flex-shrink:0}.window-toolbar button{height:28px;min-width:29px;display:grid;place-items:center;background:transparent;border:1px solid transparent;border-radius:4px;color:#526981}.window-toolbar button:hover{background:#e5edf8;border-color:#d7e3f2}.window-toolbar svg{height:15px;width:15px}.window-address{border:1px solid #dce5f0;background:#fff;color:#8594a7;border-radius:4px;height:26px;line-height:25px;padding:0 10px;font-size:11px;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.window-address span{color:#39764e;margin-right:6px}.window-external{font-size:11px;color:#526981;text-decoration:none;padding:3px 5px;border-radius:4px;white-space:nowrap}.window-external:hover{background:#e5edf8}.window-content{position:relative;flex:1;min-height:0;background:#f5f7fa}.window-content iframe{width:100%;height:100%;border:0;display:block;background:#f5f7fa}.window-loading{position:absolute;inset:0;display:flex;gap:12px;align-items:center;justify-content:center;flex-direction:column;color:#75869e;font-size:12px;background:#f5f7fa;z-index:1}.window-loading:before{content:'';width:24px;height:24px;border:2px solid #d4e3f4;border-top-color:#0078d4;border-radius:50%;animation:spinner .7s linear infinite}.app-window.maximized{padding:0;left:0!important;top:0!important;width:100%!important;height:100%!important;border-radius:0}.window-resizer{position:absolute;z-index:3;touch-action:none;user-select:none}.window-resizer:hover{background:#0078d440}.resize-n,.resize-s{left:6px;right:6px;height:6px;cursor:ns-resize}.resize-n{top:0}.resize-s{bottom:0}.resize-e,.resize-w{top:6px;bottom:6px;width:6px;cursor:ew-resize}.resize-e{right:0}.resize-w{left:0}.resize-ne,.resize-nw,.resize-se,.resize-sw{width:6px;height:6px}.resize-ne{right:0;top:0;cursor:nesw-resize}.resize-nw{left:0;top:0;cursor:nwse-resize}.resize-se{right:0;bottom:0;cursor:nwse-resize}.resize-sw{left:0;bottom:0;cursor:nesw-resize}.resize-se:after{content:'';position:absolute;right:1px;bottom:1px;width:4px;height:4px;border-right:1px solid #7b97b9;border-bottom:1px solid #7b97b9}.app-window.maximized .window-resizer{display:none}.drag-shield{position:absolute;inset:0;z-index:9;background:transparent}.snap-preview{position:absolute;inset:8px;border:2px solid #fff8;border-radius:8px;background:#e3f0ff30;z-index:5;pointer-events:none}.desktop-toast{position:fixed;bottom:72px;left:50%;transform:translateX(-50%);padding:11px 18px;max-width:90%;background:#eef5fff2;backdrop-filter:blur(20px);border:1px solid #fff;border-radius:6px;color:#365470;box-shadow:0 10px 28px #0323542e;z-index:12000;font-size:12px}.no-script{position:fixed;inset:20px;background:#fff;padding:25px;z-index:20000}.no-script a{color:#0078d4}@keyframes panel-in{from{opacity:0;margin-bottom:-10px}to{opacity:1;margin-bottom:0}}@keyframes window-in{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}@keyframes spinner{to{transform:rotate(360deg)}}
@media(max-width:900px){.app-window{width:calc(100% - 36px);left:18px;top:28px;height:calc(100% - 52px)}.desktop-caption{right:25px}.taskbar-center{max-width:calc(100% - 140px);margin-right:70px}.clock-button{min-width:75px;padding:3px 5px}.tray-button{width:29px}}
@media(max-width:600px){.desktop-icons{top:20px;left:11px;grid-template-rows:repeat(4,96px);grid-auto-columns:88px;gap:9px 5px}.desktop-icon{width:88px}.desktop-icon svg{width:45px;height:45px}.desktop-caption{right:19px;bottom:28px}.desktop-caption>span{font-size:22px}.desktop-caption p{font-size:10px;letter-spacing:2px}.taskbar{justify-content:flex-start;padding-left:8px;padding-right:7px}.taskbar-center{max-width:calc(100% - 97px);margin-right:0;gap:3px}.taskbar-button{width:37px;height:39px}.taskbar-button>svg{height:23px;width:23px}.running-apps{gap:1px}.system-tray{right:4px;gap:0}.tray-button{display:none}.clock-button{font-size:10px;min-width:76px;height:38px}#show-desktop{width:4px;margin-left:1px}.start-menu{left:10px;right:10px;transform:none;width:auto;bottom:64px;padding:24px 20px 0}.start-footer{margin:0 -20px;padding:13px 18px}.start-heading{margin-top:22px}.pinned-apps{grid-template-columns:repeat(3,1fr);gap:7px}.start-hint{margin:18px 4px}.quick-panel{bottom:64px;right:10px;left:10px;width:auto}.app-window{left:0!important;top:0!important;width:100%!important;height:100%!important;border:0;border-radius:0;min-width:0;min-height:0;padding:0}.window-titlebar{height:43px}.window-title{padding-left:10px}.window-control{width:40px}.window-control.maximize{display:none}.window-toolbar{height:38px;padding:0 6px}.window-address{font-size:10px;padding:0 7px}.window-external{font-size:10px;padding:2px}.window-resizer{display:none}.window-loading{font-size:13px}.desktop-panel{max-height:calc(100svh - 85px);overflow-y:auto}.desktop-toast{bottom:65px}}
@media(max-height:680px) and (min-width:601px){.desktop-icons{grid-template-rows:repeat(4,88px);gap:4px 9px}.desktop-icon{height:88px}.start-menu{max-height:calc(100svh - 85px);overflow-y:auto}}
body[data-theme=violet] #desktop{filter:none;background-color:#7553b6;background-blend-mode:luminosity}
@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}}
.desktop-caption strong{display:block;font-size:38px;line-height:1.25;font-weight:500;color:#fff;max-width:min(55vw,650px);overflow-wrap:anywhere;text-shadow:0 2px 12px #082a6560;margin-bottom:9px}.desktop-caption>span{display:block;font-size:21px}@media(max-width:600px){.desktop-caption strong{font-size:28px;max-width:70vw}.desktop-caption>span{font-size:17px}}

/* Account entry and task-based navigation share the existing window manager. */
.home-hub{position:absolute;inset:0 auto 0 50%;transform:translateX(-50%);width:100%;max-width:1280px;padding:32px 40px 24px;overflow-y:auto;z-index:1;scrollbar-width:thin;scrollbar-color:#ffffff70 transparent}
.hub-brand{display:flex;align-items:center;gap:12px;color:#fff;margin-bottom:25px}.hub-brand>b{display:grid;place-items:center;width:43px;height:43px;border:1px solid #ffffff60;border-radius:13px;background:#ffffff22;font-size:28px;font-weight:700}.hub-brand strong{display:block;font-size:19px;font-weight:600;letter-spacing:1px}.hub-brand span{display:block;margin-top:2px;color:#d7e8ff;font-size:12px}
.account-welcome{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px 32px;background:#f7fbfff5;border:1px solid #fff;border-radius:18px;box-shadow:0 14px 40px #072b6730}.welcome-copy{min-width:0}.login-status{display:inline-block;margin:0 0 10px;padding:4px 10px;border-radius:20px;background:#e0edfc;color:#245d97;font-size:12px;font-weight:600}.welcome-copy h1{font-size:28px;line-height:1.35;margin:0;color:#193353;overflow-wrap:anywhere}.welcome-copy>p:last-of-type{margin:12px 0 0;color:#60748c;font-size:13px;line-height:1.7}.welcome-actions{display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-end;max-width:330px;flex-shrink:0}.hub-primary,.hub-secondary{border-radius:9px;padding:11px 19px;border:1px solid #cddded;font-weight:600;font-size:14px;line-height:1.4}.hub-primary{background:#126cd3;color:#fff;border-color:#126cd3;box-shadow:0 4px 10px #126cd320}.hub-primary:hover{background:#0959b5}.hub-secondary{color:#315b84;background:#fff}.hub-secondary:hover{background:#edf5ff}.hub-text{border:0;background:transparent;color:#526d8a;padding:6px 3px;font-size:12px}.hub-text:hover{text-decoration:underline}#home-logout{flex-basis:100%;text-align:right}
.hub-section{margin-top:26px}.hub-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 2px 12px;color:#fff}.hub-heading h2{margin:0;font-size:16px;font-weight:600;letter-spacing:.5px}.hub-heading>span{font-size:12px;color:#d3e5ff}.home-hub .desktop-icons{position:static;display:grid;grid-auto-flow:row;grid-template-rows:none;grid-auto-columns:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.home-hub #admin-apps{grid-template-columns:repeat(2,minmax(0,1fr))}.home-hub .desktop-icon{display:flex;flex-direction:row;align-items:center;gap:13px;min-height:100px;height:auto;width:100%;padding:18px;background:#f5f9fff2;border:1px solid #ffffffb0;border-radius:12px;color:#24405e;text-shadow:none;text-align:left;transition:background .15s,box-shadow .15s}.home-hub .desktop-icon:hover{background:#fff;border-color:#fff;box-shadow:0 6px 20px #06275b30}.home-hub .desktop-icon:focus-visible{outline:3px solid #a5d8ff;outline-offset:3px}.home-hub .desktop-icon svg{width:43px;height:43px;flex-shrink:0;filter:none}.home-hub .desktop-icon>span{max-width:none;flex:1;min-width:0}.home-hub .desktop-icon strong{display:block;font-size:15px;font-weight:600;line-height:1.5}.home-hub .desktop-icon em{display:block;font-style:normal;color:#718398;font-size:12px;margin-top:5px;line-height:1.6}.home-hub .desktop-icon small{font-size:11px;color:#7c91a7}.app-arrow{font-size:24px;font-weight:400;color:#92a5b8}.admin-settings{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:10px 3px 0;font-size:12px;color:#cbdff8}.admin-settings .hub-text{color:#fff;text-decoration:underline}.hub-footer{color:#c7ddf8;font-size:12px;line-height:1.8;margin:22px 2px 0}
@media(max-width:1000px){.home-hub{padding:25px 25px 22px}.account-welcome{padding:24px;gap:20px}.welcome-copy h1{font-size:25px}.welcome-actions{max-width:280px}.home-hub .desktop-icons{grid-template-columns:1fr}.home-hub .desktop-icon{min-height:85px;padding:15px 18px}.home-hub .desktop-icon em{margin-top:3px}}
@media(max-width:600px){.home-hub{padding:20px 16px}.hub-brand{margin-bottom:18px}.hub-brand strong{font-size:17px}.account-welcome{padding:21px;display:block;border-radius:14px}.welcome-copy h1{font-size:24px}.welcome-actions{max-width:none;justify-content:flex-start;margin-top:19px}.welcome-actions #home-logout{flex-basis:auto;text-align:left}.hub-primary,.hub-secondary{padding:10px 14px;font-size:13px}.hub-heading{align-items:baseline;gap:10px}.hub-heading>span{font-size:10px}.home-hub #admin-apps{grid-template-columns:1fr}.home-hub .desktop-icon{min-height:82px;padding:15px}.home-hub .desktop-icon strong{font-size:14px}.hub-section{margin-top:23px}.hub-footer{font-size:11px}}
