:root {
  --taskbar-height: 48px;
  --accent: #0067c0;
  --accent-soft: #d8ecff;
  --surface: rgba(246, 248, 252, .88);
  --surface-strong: rgba(250, 251, 253, .96);
  --surface-dark: rgba(33, 37, 45, .9);
  --text: #1d1d1f;
  --muted: #60646c;
  --border: rgba(0, 0, 0, .16);
  --shadow: 0 18px 55px rgba(0, 0, 0, .28), 0 2px 8px rgba(0,0,0,.16);
  --radius: 10px;
  --brightness: 1;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { color: var(--text); font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif; background: #091a35; }
button, input, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #0d78d5; outline-offset: 2px; }
.hidden { display: none !important; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 99999; padding: 10px 14px; border-radius: 6px; background: #fff; color: #000; transition: top .2s; }
.skip-link:focus { top: 12px; }

.boot-screen { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; align-content: center; gap: 40px; background: #202020; transition: opacity .45s ease, visibility .45s ease; }
.boot-screen.done { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-screen img { width: clamp(120px, 19vw, 190px); height: clamp(120px, 19vw, 190px); object-fit: cover; border-radius: 12px; }
.boot-dots { width: 48px; height: 48px; position: relative; animation: bootSpin 1.2s linear infinite; }
.boot-dots i { position: absolute; left: 22px; top: 3px; width: 5px; height: 5px; border-radius: 50%; background: #fff; transform-origin: 2px 21px; opacity: .22; }
.boot-dots i:nth-child(2){ transform: rotate(45deg); opacity:.38 }.boot-dots i:nth-child(3){ transform: rotate(90deg); opacity:.56 }.boot-dots i:nth-child(4){ transform: rotate(135deg); opacity:.76 }.boot-dots i:nth-child(5){ transform: rotate(180deg); opacity:1 }
@keyframes bootSpin { to { transform: rotate(360deg); } }

.desktop { position: relative; width: 100%; height: 100%; overflow: hidden; filter: brightness(var(--brightness)); }
.wallpaper { position: absolute; inset: 0; overflow: hidden; background: #b5d2e3 url("bg2.jpg") no-repeat center center / cover; }
.wallpaper::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(0,20,52,.08), transparent 35%); pointer-events:none; }
.wallpaper-fold { position: absolute; border-radius: 46% 54% 65% 35% / 48% 38% 62% 52%; transform: rotate(-18deg); filter: blur(.3px); }
.fold-one { width: 58vw; height: 68vh; right: -6vw; top: 4vh; background: linear-gradient(130deg, rgba(180,235,255,.85), rgba(35,127,214,.72) 42%, rgba(2,28,67,.62)); box-shadow: inset 30px 10px 55px rgba(255,255,255,.25), -45px 35px 90px rgba(0,20,60,.42); }
.fold-two { width: 50vw; height: 60vh; right: 18vw; bottom: -24vh; background: linear-gradient(150deg, rgba(7,40,92,.9), rgba(36,132,211,.74) 45%, rgba(179,231,255,.7)); box-shadow: 10px -50px 90px rgba(2,22,61,.42); }
.wallpaper-glow { position:absolute; width:38vw; height:38vw; right:18vw; top:18vh; border-radius:50%; background:rgba(102,201,255,.28); filter:blur(60px); }

.desktop-icons { position: absolute; z-index: 3; inset: 10px auto calc(var(--taskbar-height) + 12px) 10px; width: min(360px, 42vw); display: grid; grid-template-columns: repeat(auto-fill, 76px); grid-auto-rows: 88px; grid-auto-flow: column; grid-template-rows: repeat(auto-fill, 88px); align-content: start; gap: 4px 10px; }
.desktop-app { width: 76px; height: 88px; border: 1px solid transparent; border-radius: 4px; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px; padding: 5px 3px; cursor: default; user-select: none; }
.desktop-app:hover, .desktop-app:focus-visible { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.25); }
.desktop-app:active { background: rgba(255,255,255,.26); }
.desktop-app span:last-child { width: 100%; color: #fff; text-align: center; font-size: 12px; line-height: 1.2; text-shadow: 0 1px 3px #000, 0 1px 5px rgba(0,0,0,.8); overflow-wrap: anywhere; }

.app-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 3px 8px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.35); flex: 0 0 auto; }
.app-icon.small { width: 28px; height: 28px; border-radius: 6px; font-size: 10px; box-shadow: none; }
.app-icon.linux, .terminal-logo { background: linear-gradient(145deg,#131a23,#164d75); color:#64ffb0; }
.app-icon.sql { background: linear-gradient(145deg,#4dccff,#1769df); }
.app-icon.php { background: linear-gradient(145deg,#a9b4ff,#5854c9); font-style: italic; font-family: Georgia, serif; }
.app-icon.python { background: linear-gradient(135deg,#3776ab 0 50%,#ffd343 50%); color:#101820; }
.app-icon.javascript { background: linear-gradient(145deg,#fff400,#f1c500); color:#111; }
.app-icon.jquery { background: linear-gradient(145deg,#2686d9,#0e376d); }
.app-icon.explorer, .folder-logo { background: linear-gradient(#ffe47a 0 35%,#f7c842 35%); color:#2d72d9; }
.app-icon.edge, .edge-logo { background: radial-gradient(circle at 35% 30%,#58e6d4,#158ad5 52%,#1154ae 72%,#33c575); }
.app-icon.notepad { background: linear-gradient(#fff 0 18%,#62b2ed 18% 28%,#e9f6ff 28%); color:#2271b4; }
.app-icon.cmd { background: linear-gradient(145deg,#20262f,#050608); color:#fff; font-family: Consolas, monospace; }
.app-icon.taskmanager { background: linear-gradient(145deg,#d9f4ff,#58a6e7); color:#0067c0; }
.app-icon.settings { background: linear-gradient(145deg,#dfe5ee,#667687); color:#fff; }
.app-icon.getstarted { background: linear-gradient(145deg,#2eb5ff,#1768d9); }
.app-icon.store, .store-logo { background: linear-gradient(145deg,#fff,#e7eef8); color:#1976d2; border:1px solid rgba(0,0,0,.1); }
.app-icon.recycle { background: linear-gradient(145deg,#d8efff,#79aee6); color:#0a4d86; }
.app-icon.vlc { background: linear-gradient(145deg,#ffad27,#ff6b00); color:#fff; }

.window-layer { position: absolute; inset: 0 0 var(--taskbar-height) 0; z-index: 10; pointer-events: none; }
.window { pointer-events: auto; position: absolute; display: flex; flex-direction: column; min-width: 340px; min-height: 240px; width: min(760px, 72vw); height: min(540px, 68vh); left: 50%; top: 46%; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.55); border-radius: 8px; overflow: hidden; background: rgba(245,248,252,.9); backdrop-filter: blur(24px) saturate(135%); box-shadow: var(--shadow); animation: windowIn .18s cubic-bezier(.2,.85,.35,1); }
.window.focused { box-shadow: 0 22px 72px rgba(0,0,0,.38), 0 2px 10px rgba(0,0,0,.2); border-color: rgba(0,103,192,.42); }
.window.minimized { display:none; }
.window.maximized { inset: 0 !important; width:100% !important; height:100% !important; transform:none !important; border-radius:0; border:0; }
@keyframes windowIn { from { opacity:0; transform:translate(-50%,-45%) scale(.96) } to { opacity:1; transform:translate(-50%,-50%) scale(1) } }
.window-titlebar { height: 38px; min-height: 38px; display:flex; align-items:center; justify-content:space-between; background: rgba(238,242,249,.96); user-select:none; touch-action:none; border-bottom:1px solid rgba(0,0,0,.08); }
.window-title { min-width:0; display:flex; align-items:center; gap:8px; padding-left:10px; font-size:12px; }
.window-title span:last-child { white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.window-controls { align-self:stretch; display:flex; }
.window-controls button { width:46px; height:100%; border:0; background:transparent; font-size:16px; cursor:default; }
.window-controls button:hover { background:rgba(0,0,0,.08); }
.window-controls .close:hover { color:#fff; background:#c42b1c; }
.window-body { flex:1; min-height:0; overflow:auto; background:#fff; }
.window-body iframe { width:100%; height:100%; border:0; display:block; background:#000; }
.resize-handle { position:absolute; right:0; bottom:0; width:15px; height:15px; cursor:nwse-resize; z-index:10; }
.resize-handle::after { content:""; position:absolute; right:3px; bottom:3px; width:7px; height:7px; border-right:1px solid rgba(0,0,0,.35); border-bottom:1px solid rgba(0,0,0,.35); }

.glass-panel { position:absolute; z-index:900; background:var(--surface); backdrop-filter: blur(30px) saturate(130%); border:1px solid rgba(255,255,255,.52); box-shadow:var(--shadow); }
.start-menu { left:50%; bottom:calc(var(--taskbar-height) + 10px); width:min(590px, calc(100vw - 24px)); height:min(660px, calc(100vh - var(--taskbar-height) - 24px)); transform:translateX(-50%); border-radius:10px; overflow:hidden; display:flex; flex-direction:column; }
.menu-search-wrap { margin:28px 38px 16px; height:34px; display:flex; align-items:center; gap:10px; padding:0 13px; border-radius:5px; background:rgba(255,255,255,.78); border:1px solid rgba(0,0,0,.14); border-bottom:2px solid #0067c0; }
.menu-search-wrap.large { margin:0; height:42px; border-radius:8px; }
.search-glyph { width:15px; height:15px; border:1.8px solid currentColor; border-radius:50%; position:relative; display:inline-block; opacity:.76; flex:0 0 auto; }
.search-glyph::after { content:""; position:absolute; width:6px; height:2px; background:currentColor; right:-5px; bottom:-2px; transform:rotate(45deg); border-radius:2px; }
.menu-search-wrap input { flex:1; min-width:0; height:100%; border:0; outline:0; background:transparent; color:inherit; font-size:13px; }
.menu-heading { display:flex; align-items:center; justify-content:space-between; margin:0 48px 12px; font-size:14px; }
.menu-heading button { border:1px solid rgba(0,0,0,.12); background:rgba(255,255,255,.55); border-radius:4px; padding:4px 10px; font-size:12px; cursor:default; }
.menu-heading button:hover { background:#fff; }
.pinned-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:8px 4px; padding:0 28px; overflow:auto; min-height:250px; align-content:start; }
.start-app { min-height:78px; border:1px solid transparent; background:transparent; border-radius:5px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:5px; font-size:11px; cursor:default; }
.start-app:hover, .start-app:focus-visible { background:rgba(255,255,255,.72); border-color:rgba(0,0,0,.05); }
.start-app b { font-weight:500; text-align:center; line-height:1.15; }
.recommended-heading { margin-top:12px; }
.recommended-grid { display:grid; grid-template-columns:1fr 1fr; gap:4px 16px; padding:0 42px; overflow:hidden; min-height:132px; }
.recommended-app { border:0; background:transparent; border-radius:5px; display:flex; align-items:center; gap:12px; text-align:left; padding:8px; cursor:default; }
.recommended-app:hover { background:rgba(255,255,255,.68); }
.recommended-app b { display:block; font-size:12px; font-weight:500; }.recommended-app small { display:block; color:var(--muted); font-size:11px; margin-top:3px; }
.start-footer { min-height:64px; margin-top:auto; border-top:1px solid rgba(0,0,0,.1); background:rgba(231,235,243,.55); display:flex; align-items:center; justify-content:space-between; padding:0 48px; }
.profile-button { border:0; background:transparent; display:flex; align-items:center; gap:10px; padding:6px 10px; border-radius:5px; font-size:12px; cursor:default; }.profile-button:hover,.power-button:hover{background:rgba(255,255,255,.62)}
.avatar { width:32px; height:32px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(145deg,#0078d4,#65c7ff); color:#fff; font-weight:700; }
.power-button { width:38px; height:38px; border:0; border-radius:5px; background:transparent; font-size:20px; cursor:default; }

.search-menu { left:50%; bottom:calc(var(--taskbar-height) + 10px); transform:translateX(-50%); width:min(720px,calc(100vw - 24px)); height:min(560px,calc(100vh - var(--taskbar-height) - 24px)); border-radius:10px; overflow:hidden; display:flex; flex-direction:column; }
.search-panel-head { padding:24px 30px 12px; }.search-tabs{display:flex; gap:6px; padding:0 30px 10px; border-bottom:1px solid rgba(0,0,0,.08)}
.search-tabs button { border:0; background:transparent; padding:8px 12px; border-radius:5px; font-size:12px; cursor:default; }.search-tabs button:hover{background:rgba(255,255,255,.55)}.search-tabs button.active{background:#fff; color:#005fb8; box-shadow:0 1px 3px rgba(0,0,0,.12)}
.search-content{flex:1; min-height:0; display:grid; grid-template-columns:1.15fr .85fr; padding:18px 28px 24px; gap:18px}.search-left{min-height:0; overflow:auto}.search-left h2{font-size:14px;margin:0 0 10px}.search-results{display:flex;flex-direction:column;gap:4px}.search-result{border:0;background:transparent;border-radius:6px;padding:8px;display:flex;align-items:center;gap:12px;text-align:left;cursor:default}.search-result:hover,.search-result.selected{background:rgba(255,255,255,.72)}.search-result b{display:block;font-size:12px}.search-result small{display:block;color:var(--muted);font-size:11px;margin-top:2px}.search-preview{background:rgba(255,255,255,.55);border:1px solid rgba(0,0,0,.08);border-radius:8px;padding:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-width:0}.search-preview h3{font-size:16px;margin:12px 0 4px}.search-preview p{font-size:12px;color:var(--muted);margin:0 0 16px}.search-preview button{border:0;background:#0067c0;color:#fff;padding:7px 18px;border-radius:5px;font-size:12px}.search-empty{padding:24px;text-align:center;color:var(--muted);font-size:13px}

.widgets-panel { position:absolute; z-index:905; left:10px; top:10px; bottom:calc(var(--taskbar-height) + 10px); width:min(650px,calc(100vw - 20px)); border-radius:10px; background:rgba(23,45,77,.76); backdrop-filter:blur(28px); box-shadow:var(--shadow); color:#fff; padding:18px; overflow:auto; }
.widgets-panel header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.widgets-panel header div{display:flex;flex-direction:column}.widgets-panel header span{opacity:.75;font-size:12px}.widgets-panel header button{border:0;background:rgba(255,255,255,.1);color:#fff;width:34px;height:34px;border-radius:5px;font-size:20px}.widget-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.widget-grid article{min-height:160px;border-radius:10px;background:rgba(255,255,255,.92);color:#16243a;padding:18px;box-shadow:0 5px 20px rgba(0,0,0,.18)}.weather-widget{display:flex;justify-content:space-between}.weather-widget div:first-child{display:flex;flex-direction:column}.weather-widget strong{font-size:44px}.weather-art{font-size:58px}.focus-widget,.terminal-widget{display:flex;flex-direction:column;gap:12px}.focus-widget strong{font-size:38px}.widget-grid button{align-self:flex-start;border:0;background:#0067c0;color:#fff;border-radius:5px;padding:7px 12px}.tips-widget p{font-size:13px;line-height:1.5}

.quick-settings { right:10px; bottom:calc(var(--taskbar-height) + 10px); width:min(360px,calc(100vw - 20px)); border-radius:10px; padding:20px; }
.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quick-grid button{border:0;background:rgba(255,255,255,.65);border-radius:7px;min-height:62px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.quick-grid button.active{background:#0067c0;color:#fff}.slider-row{display:flex;align-items:center;gap:14px;margin:22px 4px}.slider-row input{flex:1;accent-color:#0067c0}.quick-settings footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(0,0,0,.08);padding-top:12px}.quick-settings footer button{border:0;background:transparent;font-size:18px}
.calendar-panel{right:10px;bottom:calc(var(--taskbar-height) + 10px);width:min(360px,calc(100vw - 20px));border-radius:10px;padding:20px}.calendar-panel header{display:flex;justify-content:space-between;align-items:flex-start}.calendar-panel header div{display:flex;flex-direction:column}.calendar-panel header strong{font-size:26px}.calendar-panel header span{font-size:12px;color:var(--muted)}.calendar-panel header button{border:0;background:transparent;font-size:20px}.calendar-month-title{margin:22px 0 12px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center;font-size:12px}.calendar-grid span{height:34px;display:grid;place-items:center;border-radius:50%}.calendar-grid .head{height:24px;color:var(--muted)}.calendar-grid .today{background:#0067c0;color:#fff}.calendar-grid .muted{opacity:.35}
.desktop-context{z-index:950;width:230px;border-radius:8px;padding:6px}.desktop-context button{width:100%;border:0;background:transparent;padding:9px 10px;border-radius:5px;display:flex;gap:12px;text-align:left}.desktop-context button:hover{background:rgba(255,255,255,.65)}

.taskbar { position:absolute; z-index:1000; left:0; right:0; bottom:0; height:var(--taskbar-height); display:flex; justify-content:center; align-items:center; background:rgba(242,245,250,.88); border-top:1px solid rgba(255,255,255,.72); backdrop-filter:blur(24px) saturate(130%); box-shadow:0 -1px 10px rgba(0,0,0,.07); }
.taskbar-center { display:flex; align-items:center; justify-content:center; gap:3px; }
.taskbar-item { position:relative; width:42px; height:42px; border:1px solid transparent; border-radius:5px; background:transparent; display:grid; place-items:center; cursor:default; transition:background .12s, transform .12s; }
.taskbar-item:hover,.taskbar-item.focused{background:rgba(255,255,255,.72);border-color:rgba(0,0,0,.05)}.taskbar-item:active{transform:scale(.86)}
.task-dot{position:absolute;bottom:2px;width:5px;height:3px;border-radius:3px;background:transparent}.taskbar-item.running .task-dot{background:#6b7178}.taskbar-item.focused .task-dot{width:16px;background:#0067c0}
.windows-mark{width:22px;height:22px;display:grid;grid-template-columns:1fr 1fr;gap:2px}.windows-mark i{background:linear-gradient(145deg,#39d7f2,#2674da);border-radius:1px}
.taskbar-search{height:32px;min-width:108px;border:1px solid rgba(0,0,0,.1);background:rgba(255,255,255,.68);border-radius:18px;display:flex;align-items:center;gap:9px;padding:0 14px;margin-right:3px;font-size:12px;cursor:default}.taskbar-search:hover{background:#fff}.taskbar-search .search-glyph{width:13px;height:13px}
.widgets-icon{font-size:22px;color:#1987d5}.edge-logo,.folder-logo,.store-logo,.terminal-logo{width:27px;height:27px;border-radius:7px;display:grid;place-items:center;color:#fff;font-weight:700}.folder-logo{position:relative;border-radius:4px}.folder-logo i{position:absolute;width:12px;height:4px;background:#f5b829;top:2px;left:3px;border-radius:2px 2px 0 0}.store-logo{color:#1976d2;font-size:20px}.terminal-logo{font-size:10px;font-family:Consolas,monospace;color:#58ffac}
.taskbar-right{position:absolute;right:0;height:100%;display:flex;align-items:center}.tray-button,.clock-button,.show-desktop{height:42px;border:0;background:transparent;border-radius:5px;cursor:default}.tray-button{display:flex;gap:6px;align-items:center;padding:0 8px;font-size:13px}.clock-button{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;padding:0 8px;font-size:11px;line-height:1.25}.tray-button:hover,.clock-button:hover{background:rgba(255,255,255,.65)}.show-desktop{width:6px;border-left:1px solid rgba(0,0,0,.2);border-radius:0}
.toast{position:absolute;z-index:2000;left:50%;bottom:calc(var(--taskbar-height) + 22px);transform:translateX(-50%);background:rgba(24,29,36,.92);color:#fff;padding:10px 16px;border-radius:7px;box-shadow:0 8px 28px rgba(0,0,0,.32);font-size:12px}

/* App interiors */
.app-shell{height:100%;display:flex;flex-direction:column;background:#f7f8fa}.app-toolbar{min-height:44px;display:flex;align-items:center;gap:8px;padding:6px 10px;border-bottom:1px solid rgba(0,0,0,.1);background:#f5f6f8}.app-toolbar button,.app-toolbar input{height:30px;border:1px solid rgba(0,0,0,.12);background:#fff;border-radius:5px}.app-toolbar button{padding:0 11px}.app-toolbar input{flex:1;padding:0 10px;min-width:0}.explorer-layout{flex:1;min-height:0;display:grid;grid-template-columns:190px 1fr}.explorer-nav{padding:12px 8px;border-right:1px solid rgba(0,0,0,.08);background:#f7f8fb;overflow:auto}.explorer-nav button{width:100%;border:0;background:transparent;border-radius:5px;padding:8px 10px;text-align:left}.explorer-nav button:hover,.explorer-nav button.active{background:#e7f2fc}.explorer-main{padding:16px;overflow:auto;background:#fff}.explorer-main h3{margin:0 0 12px;font-size:14px}.file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}.file-card{border:1px solid transparent;background:transparent;border-radius:5px;padding:10px;display:flex;align-items:center;gap:10px;text-align:left}.file-card:hover{background:#eaf4fe;border-color:#d5ebff}.file-card b{display:block;font-size:12px}.file-card small{display:block;color:#666;font-size:10px;margin-top:2px}.notepad-shell{height:100%;display:flex;flex-direction:column}.notepad-menu{height:36px;display:flex;align-items:center;gap:4px;padding:0 8px;border-bottom:1px solid #ddd;background:#fafafa}.notepad-menu button{border:0;background:transparent;border-radius:4px;padding:5px 9px}.notepad-menu button:hover{background:#e8e8e8}.notepad-editor{flex:1;resize:none;border:0;outline:0;padding:18px;font:15px/1.55 Consolas,"Courier New",monospace}.cmd-shell{height:100%;background:#0c0c0c;color:#eee;padding:12px;overflow:auto;font:14px/1.45 Consolas,"Courier New",monospace}.cmd-output{white-space:pre-wrap}.cmd-line{display:flex}.cmd-line span{white-space:nowrap}.cmd-line input{flex:1;border:0;outline:0;background:transparent;color:#fff;font:inherit;padding:0 4px}.edge-shell{height:100%;display:flex;flex-direction:column;background:#fff}.edge-tabs{height:34px;background:#d9e3f0;display:flex;align-items:flex-end;padding:0 8px}.edge-tab{height:30px;min-width:180px;background:#fff;border-radius:7px 7px 0 0;padding:7px 12px;font-size:11px}.edge-toolbar{height:46px;display:flex;align-items:center;gap:8px;padding:6px 10px;border-bottom:1px solid #ddd}.edge-toolbar button{border:0;background:transparent;width:30px;height:30px;border-radius:50%}.edge-toolbar button:hover{background:#eee}.edge-toolbar input{flex:1;height:32px;border:1px solid #ddd;border-radius:16px;padding:0 14px}.edge-home{flex:1;overflow:auto;background:linear-gradient(180deg,#eef7ff,#fff);padding:40px}.edge-brand{display:flex;align-items:center;justify-content:center;gap:12px;font-size:30px;font-weight:600}.edge-search{max-width:580px;margin:28px auto;display:flex;box-shadow:0 5px 18px rgba(0,0,0,.12);border-radius:24px;overflow:hidden}.edge-search input{flex:1;border:0;padding:14px 18px;outline:0}.edge-search button{border:0;background:#0078d4;color:#fff;padding:0 24px}.edge-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;max-width:650px;margin:auto}.edge-links button{border:1px solid #dce5ef;background:#fff;border-radius:10px;padding:18px 10px}.settings-shell{height:100%;display:grid;grid-template-columns:210px 1fr;background:#f6f7f9}.settings-nav{padding:18px 10px;border-right:1px solid rgba(0,0,0,.08)}.settings-profile{display:flex;gap:10px;align-items:center;margin:0 8px 18px}.settings-nav button{width:100%;border:0;background:transparent;padding:9px 12px;border-radius:5px;text-align:left}.settings-nav button.active,.settings-nav button:hover{background:#e8edf4}.settings-main{padding:28px;overflow:auto}.settings-main h2{margin-top:0}.setting-card{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:8px;padding:16px;margin:12px 0}.theme-options{display:flex;gap:12px}.theme-choice{width:150px;height:94px;border:3px solid transparent;border-radius:6px;background:linear-gradient(135deg,#0a2752,#75c9ef);position:relative}.theme-choice.dark{background:linear-gradient(135deg,#080d18,#16395a)}.theme-choice.active{border-color:#0067c0}.setting-row{display:flex;align-items:center;justify-content:space-between}.toggle{width:42px;height:22px;border:0;border-radius:14px;background:#777;position:relative}.toggle::after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s}.toggle.on{background:#0067c0}.toggle.on::after{left:23px}.taskmanager-shell{height:100%;display:flex;flex-direction:column}.taskmanager-head{padding:18px;border-bottom:1px solid #ddd}.task-table{width:100%;border-collapse:collapse;font-size:12px}.task-table th,.task-table td{text-align:left;padding:10px;border-bottom:1px solid #eee}.task-table button{border:1px solid #ccc;background:#fff;border-radius:4px;padding:4px 8px}.getstarted-shell{height:100%;display:grid;grid-template-columns:1fr 1.15fr;background:linear-gradient(120deg,#f7fbff,#d9efff)}.getstarted-copy{padding:48px;display:flex;flex-direction:column;justify-content:center}.getstarted-copy h1{font-size:38px;margin:0 0 12px}.getstarted-copy p{line-height:1.6}.getstarted-copy button{align-self:flex-start;border:0;background:#0067c0;color:#fff;border-radius:5px;padding:9px 20px}.getstarted-art{display:grid;place-items:center;overflow:hidden}.getstarted-art img{width:min(75%,360px);border-radius:18px;box-shadow:0 25px 80px rgba(0,43,92,.32)}.store-shell{height:100%;background:#fff;overflow:auto}.store-hero{padding:32px;background:linear-gradient(120deg,#0f67b1,#58b9f1);color:#fff}.store-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;padding:22px}.store-card{border:1px solid #e1e5ea;border-radius:10px;padding:16px;display:flex;align-items:center;gap:12px}.store-card div{flex:1}.store-card b{display:block;font-size:13px}.store-card small{color:#666}.store-card button{border:0;background:#0067c0;color:#fff;border-radius:5px;padding:6px 12px}.recycle-shell{height:100%;display:grid;place-items:center;text-align:center;background:#fff}.recycle-shell .app-icon{margin:auto;width:76px;height:76px;font-size:34px}.vlc-shell{height:100%;display:flex;flex-direction:column;background:#111;color:#fff}.vlc-stage{flex:1;display:grid;place-items:center;min-height:0}.vlc-stage video,.vlc-stage audio{max-width:100%;max-height:100%}.vlc-placeholder{text-align:center;color:#aaa}.vlc-placeholder .app-icon{width:80px;height:80px;margin:0 auto 16px;font-size:36px}.vlc-controls{padding:12px;background:#1c1c1c;display:flex;justify-content:center}.vlc-controls label{background:#f47700;color:#fff;border-radius:5px;padding:8px 16px;cursor:pointer}.vlc-controls input{display:none}

body.dark{--surface:rgba(31,36,45,.9);--surface-strong:rgba(28,32,40,.96);--text:#f5f5f7;--muted:#b5bac3;--border:rgba(255,255,255,.14)}
body.dark .taskbar{background:rgba(24,29,38,.88);border-top-color:rgba(255,255,255,.12)}body.dark .taskbar-search{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.12)}body.dark .taskbar-item:hover,body.dark .taskbar-item.focused,body.dark .tray-button:hover,body.dark .clock-button:hover{background:rgba(255,255,255,.1)}body.dark .window{background:rgba(35,39,47,.94);border-color:rgba(255,255,255,.14)}body.dark .window-titlebar{background:rgba(37,41,50,.98);border-bottom-color:rgba(255,255,255,.08)}body.dark .window-controls button:hover{background:rgba(255,255,255,.1)}body.dark .menu-search-wrap{background:rgba(15,17,22,.75);border-color:rgba(255,255,255,.15)}body.dark .menu-heading button,body.dark .start-app:hover,body.dark .recommended-app:hover,body.dark .profile-button:hover,body.dark .power-button:hover,body.dark .search-result:hover,body.dark .search-result.selected,body.dark .search-preview{background:rgba(255,255,255,.08);color:#fff}body.dark .start-footer{background:rgba(0,0,0,.18);border-top-color:rgba(255,255,255,.08)}body.dark .search-tabs{border-bottom-color:rgba(255,255,255,.08)}body.dark .search-tabs button.active{background:rgba(255,255,255,.12);color:#70c4ff}.dark .app-shell,.dark .settings-shell{color:#111}

@media (max-width: 900px){
  .taskbar-search{min-width:42px;width:42px;padding:0;justify-content:center}.taskbar-search>span:last-child{display:none}.taskbar-center{gap:1px}.taskbar-item{width:39px}.desktop-icons{width:260px}.pinned-grid{grid-template-columns:repeat(5,1fr)}.search-content{grid-template-columns:1fr}.search-preview{display:none}.settings-shell{grid-template-columns:170px 1fr}.getstarted-shell{grid-template-columns:1fr}.getstarted-art{display:none}
}
@media (max-width: 680px){
  :root{--taskbar-height:52px}.desktop-icons{inset:8px auto calc(var(--taskbar-height) + 8px) 5px;width:100%;grid-template-columns:repeat(4,76px);grid-auto-flow:row;grid-template-rows:none;grid-auto-rows:86px;overflow:auto;align-content:start}.window{inset:0!important;width:100%!important;height:100%!important;min-width:0;min-height:0;transform:none!important;border-radius:0;border:0}.resize-handle{display:none}.window-titlebar{height:42px}.window-controls button{width:42px}.taskbar{justify-content:flex-start;overflow:hidden}.taskbar-center{margin-left:4px}.taskbar-center .taskbar-item:nth-of-type(3){display:none}.taskbar-right{right:0;background:inherit}.tray-button{display:none}.clock-button{padding:0 6px}.clock-button span{font-size:10px}.pinned-grid{grid-template-columns:repeat(4,1fr);padding:0 14px}.menu-heading{margin-left:24px;margin-right:24px}.menu-search-wrap{margin-left:18px;margin-right:18px}.recommended-grid{grid-template-columns:1fr;padding:0 18px}.start-footer{padding:0 24px}.widget-grid{grid-template-columns:1fr}.widgets-panel{padding:12px}.explorer-layout{grid-template-columns:1fr}.explorer-nav{display:none}.settings-shell{grid-template-columns:1fr}.settings-nav{display:none}.getstarted-copy{padding:28px}.edge-home{padding:24px 14px}.search-menu,.start-menu{bottom:var(--taskbar-height);width:100%;height:calc(100vh - var(--taskbar-height));border-radius:0}.search-panel-head{padding:18px 16px 10px}.search-tabs{padding-left:16px}.search-content{padding:14px 16px}.quick-settings,.calendar-panel{right:0;bottom:var(--taskbar-height);width:100%;border-radius:0}.app-icon{width:42px;height:42px}
}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
body.no-transparency .glass-panel,
body.no-transparency .window,
body.no-transparency .taskbar,
body.no-transparency .widgets-panel { backdrop-filter: none !important; }
body.no-transparency .glass-panel { background: var(--surface-strong); }
.dynamic-task .app-icon.small { width: 27px; height: 27px; }

.wallpaper-fold, .wallpaper-glow { display: none; }

/* V4 | PWA installation system */
.app-icon.install { background: linear-gradient(145deg,#28c7ff,#1768d9); color:#fff; font-size:20px; }
.start-footer-actions { display:flex; align-items:center; gap:8px; }
.install-start-button { height:38px; border:0; border-radius:6px; background:rgba(255,255,255,.58); color:inherit; padding:0 12px; display:flex; align-items:center; gap:7px; cursor:pointer; }
.install-start-button:hover { background:rgba(255,255,255,.92); }
.install-start-button span { font-size:18px; color:#0678d4; }
.install-start-button strong { font-size:12px; }
.install-tray-button { width:38px; height:38px; border:0; border-radius:5px; background:transparent; color:inherit; font-size:19px; cursor:pointer; }
.install-tray-button:hover { background:rgba(255,255,255,.65); }
.install-dialog { position:absolute; z-index:2500; left:50%; top:50%; width:min(520px,calc(100% - 30px)); transform:translate(-50%,-50%); border-radius:14px; overflow:hidden; box-shadow:0 26px 90px rgba(0,0,0,.46); }
.install-dialog::before { content:""; position:fixed; inset:0; z-index:-1; background:rgba(0,0,0,.28); backdrop-filter:blur(2px); pointer-events:none; }
.install-dialog-head { min-height:74px; display:flex; align-items:center; justify-content:space-between; padding:12px 14px 12px 18px; border-bottom:1px solid rgba(0,0,0,.1); }
.install-dialog-head>div { display:flex; align-items:center; gap:12px; min-width:0; }
.install-dialog-head img { width:48px; height:48px; border-radius:11px; }
.install-dialog-head span { min-width:0; display:flex; flex-direction:column; gap:3px; }
.install-dialog-head strong { font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.install-dialog-head small { color:var(--muted); }
.install-dialog-head>button { width:38px; height:38px; border:0; border-radius:6px; background:transparent; font-size:22px; color:inherit; }
.install-dialog-head>button:hover { background:rgba(0,0,0,.08); }
.install-dialog-body { padding:20px; }
.install-benefits { display:grid; gap:10px; padding:15px; background:rgba(255,255,255,.48); border:1px solid rgba(0,0,0,.08); border-radius:10px; font-size:13px; }
.install-benefits span::first-letter { color:#0a8a43; }
.manual-install { margin-top:14px; padding:15px 16px; border-radius:10px; background:rgba(0,103,192,.08); border:1px solid rgba(0,103,192,.18); font-size:13px; line-height:1.55; }
.manual-install strong { display:block; margin-bottom:7px; }
.manual-install ol { margin:6px 0 0 20px; padding:0; }
.manual-install li+li { margin-top:5px; }
.manual-install small { display:block; margin-top:10px; color:var(--muted); }
.install-dialog-actions { display:flex; justify-content:flex-end; gap:9px; padding:12px 18px 16px; }
.install-dialog-actions button { min-width:92px; border:0; border-radius:6px; padding:9px 15px; font-weight:600; cursor:pointer; }
.install-dialog-actions .secondary { background:rgba(0,0,0,.07); color:inherit; }
.install-dialog-actions .primary { background:#0678d4; color:#fff; }
.install-dialog-actions button:disabled { opacity:.55; cursor:default; }
.update-banner { position:absolute; z-index:2300; right:18px; bottom:calc(var(--taskbar-height) + 18px); display:flex; align-items:center; gap:14px; padding:12px 13px 12px 16px; border-radius:9px; background:rgba(26,31,39,.96); color:#fff; box-shadow:0 14px 40px rgba(0,0,0,.35); font-size:12px; }
.update-banner button { border:0; border-radius:5px; padding:7px 10px; background:#1684d8; color:#fff; font-weight:600; }
.install-setting-card { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.install-setting-card>div { display:flex; align-items:center; gap:11px; }
.install-setting-card span { display:flex; flex-direction:column; gap:3px; }
.install-setting-card small { color:#666; }
.install-setting-card>button { border:0; border-radius:5px; background:#0678d4; color:#fff; padding:8px 13px; font-weight:600; }
.install-setting-card>button:disabled { opacity:.55; }
.getstarted-actions { display:flex; flex-wrap:wrap; gap:9px; }
.getstarted-actions .secondary { background:#fff; color:#075fa5; border:1px solid rgba(0,103,192,.24); }
.install-app-shell { height:100%; overflow:auto; background:linear-gradient(145deg,#f6fbff,#dfedfa); }
.install-app-hero { display:flex; align-items:center; gap:24px; padding:34px; color:#fff; background:linear-gradient(125deg,#0e4f8c,#0878d1 56%,#40bfe9); }
.install-app-hero img { width:112px; height:112px; border-radius:25px; box-shadow:0 20px 50px rgba(0,0,0,.25); }
.install-app-hero span { font-size:11px; letter-spacing:.14em; text-transform:uppercase; opacity:.82; }
.install-app-hero h1 { margin:7px 0 8px; font-size:30px; }
.install-app-hero p { margin:0; line-height:1.5; opacity:.92; }
.install-app-grid { display:grid; grid-template-columns:1fr 1.2fr; gap:16px; padding:22px; }
.install-app-grid article { background:#fff; border:1px solid rgba(0,0,0,.08); border-radius:12px; padding:20px; box-shadow:0 9px 25px rgba(15,70,118,.08); }
.install-app-grid article>b { display:block; color:#5c6670; font-size:12px; }
.install-app-grid article>strong { display:block; margin:9px 0 18px; font-size:20px; }
.install-app-grid article>button { border:0; border-radius:6px; background:#0678d4; color:#fff; padding:9px 15px; font-weight:600; }
.install-app-grid article>button:disabled { opacity:.55; }
.install-app-grid ul { margin:12px 0 0 18px; padding:0; line-height:1.7; font-size:13px; }
body.dark .install-start-button,body.dark .install-benefits { background:rgba(255,255,255,.08); }
body.dark .install-start-button:hover,body.dark .install-tray-button:hover { background:rgba(255,255,255,.13); }
body.dark .install-dialog-head,body.dark .install-dialog-head>button { color:#fff; }
body.dark .install-dialog-head { border-bottom-color:rgba(255,255,255,.09); }
body.dark .install-dialog-head>button:hover { background:rgba(255,255,255,.1); }
body.dark .manual-install { background:rgba(76,194,255,.1); border-color:rgba(76,194,255,.22); }

@media (max-width:680px){
  .install-start-button strong{display:none}.install-start-button{width:38px;padding:0;justify-content:center}.install-tray-button{display:none}.install-dialog{width:calc(100% - 18px)}.install-dialog-head{padding-left:12px}.install-dialog-head strong{font-size:13px}.install-dialog-body{padding:14px}.install-app-hero{padding:24px 18px;gap:15px}.install-app-hero img{width:76px;height:76px;border-radius:17px}.install-app-hero h1{font-size:23px}.install-app-grid{grid-template-columns:1fr;padding:14px}.update-banner{left:10px;right:10px;bottom:calc(var(--taskbar-height) + 10px);justify-content:space-between}.install-setting-card{align-items:flex-start;flex-direction:column}.install-setting-card>button{width:100%}
}
