:root {
  --blur: 2px;
  --wall: url('../img/dark-aurora.png');
  --glass: rgba(16, 24, 34, 0.52);
  --glass-2: rgba(255, 255, 255, 0.05);
  --edge: rgba(255, 255, 255, 0.26);
  --edge-in: rgba(255, 255, 255, 0.30);
  --title: linear-gradient(to bottom, rgba(255,255,255,0.24), rgba(255,255,255,0.07) 46%, rgba(0,0,0,0.16));
  --ink: #eef5fc;
  --ink-dim: rgba(228, 240, 252, 0.62);
  --rule: rgba(255, 255, 255, 0.12);
  --hover: rgba(120, 200, 255, 0.16);
  --glow: rgba(110, 205, 255, 0.55);
  --accent: #7fd4ff;
  --accent-2: #86f0ad;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
  --ink-glow: 0 1px 12px rgba(0, 0, 0, 0.55);
  --btn: linear-gradient(to bottom, #f2fbff, #cfe8fa 46%, #a8d2f0);
  --btn-ink: #10293c;
  --btn-edge: rgba(255, 255, 255, 0.72);
}
html[data-theme="light"] {
  --wall: url('../img/light-desert.png');
  --glass: rgba(238, 247, 255, 0.58);
  --glass-2: rgba(255, 255, 255, 0.42);
  --edge: rgba(255, 255, 255, 0.75);
  --edge-in: rgba(255, 255, 255, 0.85);
  --title: linear-gradient(to bottom, rgba(255,255,255,0.78), rgba(255,255,255,0.34) 46%, rgba(120,150,175,0.18));
  --ink: #152532;
  --ink-dim: rgba(21, 37, 50, 0.62);
  --rule: rgba(30, 60, 85, 0.14);
  --hover: rgba(90, 165, 225, 0.20);
  --glow: rgba(70, 150, 215, 0.45);
  --accent: #1c5f8f;
  --accent-2: #2c7f4e;
  --shadow: 0 20px 46px rgba(20, 45, 70, 0.32);
  --ink-glow: 0 1px 10px rgba(255, 255, 255, 0.65);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #06090d; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; }

.desktop {
  min-height: 100vh;
  background: var(--wall) center / cover fixed no-repeat, #06090d;
  font-family: Lato, 'Helvetica Neue', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
/* free x/y desktop: coordinates come from data/desktop.yml as --x / --y / --w / --z */
.canvas { position: relative; max-width: 1440px; height: var(--canvas-h, 1610px); margin: 0 auto; padding: 26px 26px 120px; }
.canvas > [data-win] { position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: var(--z, 1); }
.canvas > [data-win][data-closed], .canvas > [data-win][data-minimized] { display: none; }
.canvas > [data-win][data-maximized] {
  position: fixed !important; left: 18px !important; top: 18px !important; right: 18px !important; bottom: 66px !important;
  width: auto !important; z-index: 850 !important;
}
[data-win][data-maximized] > *:not(.win-bar) { max-width: 900px; margin-left: auto; margin-right: auto; }
[data-win][data-maximized] [data-drag-handle] { cursor: default; }
.page-wrap { max-width: 860px; margin: 0 auto; padding: 30px 26px 110px; }
body.arranging [data-drag-handle] { cursor: move; }
.lock-btn {
  position: relative; display: grid; place-items: center;
  width: 28px; height: 28px; flex: none; padding: 0; cursor: pointer;
  border-radius: 4px; border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(to bottom, rgba(255,255,255,0.30), rgba(255,255,255,0.08) 48%, rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #eef5fc;
}
.lock-btn:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 0 14px rgba(120,200,255,0.7); }
.lock-btn[aria-pressed="true"] {
  color: #bfe6ff; border-color: rgba(150,215,255,0.85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 0 14px rgba(120,200,255,0.75);
}
.lock-icon { position: relative; display: block; width: 12px; height: 15px; }
.lock-shackle { position: absolute; left: 2.5px; top: 0; width: 7px; height: 7px; border: 2px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; transition: transform 200ms ease; }
.lock-btn[aria-pressed="true"] .lock-shackle { transform: translate(4px, -1px) rotate(16deg); }
.lock-body { position: absolute; left: 0; bottom: 0; width: 12px; height: 9px; border-radius: 2px; background: currentColor; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4); }
@media (max-width: 980px) { .tray .lock-btn { display: none; } }
body.arranging .canvas { outline: 1px dashed rgba(255, 255, 255, 0.18); outline-offset: -26px; }

/* --- Aero window chrome --- */
.win {
  border-radius: 3px 3px 2px 2px;
  background: var(--glass);
  backdrop-filter: blur(var(--blur)) saturate(1.6);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(1.6);
  border: 1px solid var(--edge);
  box-shadow: inset 0 0 0 1px var(--edge-in), var(--shadow);
  overflow: hidden;
  transition: box-shadow 240ms ease;
}
.win:hover { box-shadow: inset 0 0 0 1px var(--edge-in), 0 0 30px var(--glow), var(--shadow); }
.win-bar {
  position: relative; display: flex; align-items: stretch; gap: 10px;
  height: 34px; padding: 0 0 0 10px;
  background: var(--title); border-bottom: 1px solid var(--rule); overflow: hidden;
}
.win-bar::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0));
  pointer-events: none;
}
.win-icon { align-self: center; width: 13px; height: 13px; border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 2px rgba(0,0,0,0.35); }
.win-title { align-self: center; font-size: 12.5px; letter-spacing: 0.02em; text-shadow: var(--ink-glow); }
.win-btns { margin-left: auto; display: flex; }
.wb {
  width: 32px; align-self: stretch; padding: 0; cursor: pointer;
  border: 1px solid var(--edge); border-right: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.02));
  display: grid; place-items: center; color: var(--ink);
}
.wb:hover { background: linear-gradient(to bottom, rgba(255,255,255,0.68), rgba(190,225,255,0.38)); box-shadow: inset 0 0 10px var(--glow); }
.wb-min-glyph { display: block; width: 9px; height: 1.6px; border-radius: 1px; background: currentColor; }
.wb-max-glyph { position: relative; display: block; width: 10px; height: 9px; }
.wb-max-back, .wb-max-front { position: absolute; width: 7px; height: 7px; border: 1.3px solid currentColor; border-radius: 1px; font-style: normal; }
.wb-max-back { right: 0; top: 0; opacity: 0; background: var(--glass); }
.wb-max-front { left: 0; bottom: 0; }
.wb-max[aria-pressed="true"] .wb-max-back { opacity: 1; }
.wb-max[aria-pressed="true"] .wb-max-front { width: 6px; height: 6px; }
.wb-close {
  width: 36px; font-size: 12.5px; border-top-right-radius: 2px;
  background: linear-gradient(to bottom, #ffd3cc, #e8877c 50%, #c85045); color: #4a0f0a;
}
.wb-close:hover {
  background: linear-gradient(to bottom, #ff9a8d, #e5342f 55%, #c01c1c);
  color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,0.4); box-shadow: inset 0 0 10px rgba(255,70,70,0.7);
}
.win-body { padding: 20px; }
.win-foot { padding: 12px 18px; font-size: 12px; color: var(--ink-dim); }

/* --- hero --- */
.hero-body { padding: 54px 46px 46px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.eyebrow { margin: 0 0 18px; font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-dim); }
.hero-body h1 { margin: 0; font-family: Mulish, Lato, sans-serif; font-weight: 200;font-size: clamp(46px, 7vw, 96px); line-height: 0.98; letter-spacing: -0.02em; text-shadow: var(--ink-glow); }
.tagline { margin: 18px 0 0; font-family: Mulish, sans-serif; font-weight: 300; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.25; text-shadow: var(--ink-glow); }
.lede { margin: 20px 0 0; max-width: 46ch; font-size: 16px; line-height: 1.62; color: var(--ink-dim); text-wrap: pretty; }
.lede.sm { margin: 0; font-size: 14.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.monogram {
  width: 168px; height: 168px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.9), rgba(150,220,255,0.45) 42%, rgba(30,90,140,0.35) 70%, rgba(10,25,40,0.5));
  bsorder: 1px solid var(--edge);
  box-shadow: inset 0 2px 10px rgba(255,255,255,0.5), 0 0 40px var(--glow);
  display: grid; place-items: center;
  font-family: Mulish, serif; font-weight: 200; font-size: 78px; color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}

/* --- glossy jelly buttons --- */
.btn { position: relative; overflow: hidden; display: inline-block; flex: none; white-space: nowrap; border-radius: 5px; padding: 11px 22px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-sm { padding: 8px 24px; font-size: 13px; }
.btn-jelly { border: 1px solid var(--btn-edge); color: var(--btn-ink); background: var(--btn); box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), inset 0 -9px 14px -9px rgba(0,0,0,0.3), 0 2px 7px rgba(0,0,0,0.3); }
.btn-jelly::after { content: ''; position: absolute; left: 1px; right: 1px; top: 1px; height: 44%; border-radius: 4px 4px 10px 10px; background: linear-gradient(to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.12)); pointer-events: none; }
.btn-jelly:hover { filter: brightness(1.07); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 0 20px var(--glow), 0 2px 7px rgba(0,0,0,0.3); color: var(--btn-ink); }
.btn-glass { border: 1px solid var(--edge); color: var(--ink); background: var(--glass-2); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-glass:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 0 18px var(--glow); color: var(--ink); }

/* --- explorer rows --- */
.crumbs { display: flex; align-items: center; gap: 6px; padding: 8px 12px; font-size: 11.5px; color: var(--ink-dim); border-bottom: 1px solid var(--rule); background: var(--glass-2); }
.crumb-now { color: var(--ink); }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 15px 18px; border-bottom: 1px solid var(--rule); color: var(--ink); transition: background 160ms ease; }
.row:hover { background: var(--hover); color: var(--ink); text-decoration: none; }
.row-name { font-size: 15.5px; }
.row-meta { font-size: 11.5px; color: var(--ink-dim); white-space: nowrap; }
.row-head { padding: 8px 14px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }
.row-head:hover { background: none; }
.row-file { padding: 13px 14px; }
.row-file .row-name { font-size: 14.5px; }
.explorer { display: grid; grid-template-columns: 116px minmax(0, 1fr); }
.tree { border-right: 1px solid var(--rule); background: var(--glass-2); padding: 12px 10px; display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; color: var(--ink-dim); }
.tree span { padding-left: 12px; }
.tree-top { padding-left: 0 !important; color: var(--ink); }

/* --- dialog + now --- */
.dialog-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 20px 22px; border-top: 1px solid var(--rule); background: var(--glass-2); }
.prose { font-size: 14.5px; line-height: 1.65; color: var(--ink-dim); }
.prose h1, .prose h2, .prose h3 { color: var(--ink); font-family: Mulish, sans-serif; font-weight: 300; }
.prose h2 { font-size: 22px; color: var(--accent); margin: 0 0 10px; }
.prose.article { padding: 34px 40px; max-width: 72ch; }
.prose.article h1 { font-size: 34px; margin: 0 0 6px; }
.now-list { display: flex; flex-direction: column; gap: 14px; }
.now-row { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; font-size: 14px; color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 14px; }
.now-row:last-child { border-bottom: 0; padding-bottom: 0; }
.now-label { color: var(--ink-dim); }
.accent { color: var(--accent-2); }
.fine { display: flex; flex-direction: column; gap: 5px; margin-top: 16px; font-size: 12.5px; color: var(--ink-dim); }

/* --- gadgets --- */
.gadget { border-radius: 10px; overflow: hidden; background: var(--glass); backdrop-filter: blur(var(--blur)) saturate(1.5); -webkit-backdrop-filter: blur(var(--blur)) saturate(1.5); border: 1px solid var(--edge); box-shadow: inset 0 0 0 1px var(--edge-in), var(--shadow); }
.clock-gadget { padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gadget-head { padding: 12px 14px 8px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }
.gadget-foot { font-size: 12px; color: var(--ink-dim); letter-spacing: 0.06em; }
.gadget-foot.pad { padding: 10px 14px; border-top: 1px solid var(--rule); font-size: 11.5px; }
.clock { position: relative; width: 168px; height: 168px; border-radius: 50%; border: 6px solid rgba(255,255,255,0.55);
  background: radial-gradient(circle at 34% 26%, rgba(255,255,255,0.95), rgba(226,238,248,0.85) 45%, rgba(176,196,214,0.9));
  box-shadow: inset 0 3px 14px rgba(255,255,255,0.9), inset 0 -8px 20px rgba(60,90,120,0.28), 0 8px 22px rgba(0,0,0,0.35); }
.tick { position: absolute; font-size: 10px; color: #33506a; }
.t12 { top: 8px; left: 50%; transform: translateX(-50%); }
.t3 { right: 10px; top: 50%; transform: translateY(-50%); }
.t6 { bottom: 8px; left: 50%; transform: translateX(-50%); }
.t9 { left: 12px; top: 50%; transform: translateY(-50%); }
.hand { position: absolute; left: 50%; top: 50%; transform-origin: 50% 100%; border-radius: 2px; }
.hour { width: 4px; height: 46px; margin-left: -2px; background: #24384a; }
.min { width: 3px; height: 64px; margin-left: -1.5px; background: #33506a; }
.sec { width: 1.5px; height: 70px; margin-left: -0.75px; background: #b23b3b; }
.pin { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #24384a; box-shadow: 0 0 0 2px rgba(255,255,255,0.7); }
.swatches { display: flex; gap: 10px; padding: 0 14px 12px; }
.swatch { flex: 1; height: 52px; padding: 0; cursor: pointer; position: relative; overflow: hidden; border: 1px solid var(--edge); border-radius: 6px; }
.swatch::after { content: ''; position: absolute; left: 2px; right: 2px; top: 2px; height: 42%; border-radius: 5px 5px 12px 12px; background: linear-gradient(to bottom, rgba(255,255,255,0.6), rgba(255,255,255,0.05)); pointer-events: none; }
.swatch:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 0 16px var(--glow); }
.graphite { background: linear-gradient(to bottom, #6d7a86, #2c343c 52%, #171c22); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 2px 6px rgba(0,0,0,0.35); }
.frost { background: linear-gradient(to bottom, #fff, #e6f2fb 52%, #c7dceb); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 2px 6px rgba(0,0,0,0.28); }
.swatch-labels { display: flex; justify-content: space-between; padding: 0 14px 14px; font-size: 11.5px; color: var(--ink-dim); }
.feed-row { display: block; padding: 10px 14px; font-size: 13px; color: var(--ink); border-top: 1px solid var(--rule); }
.feed-row:hover { background: var(--hover); color: var(--ink); text-decoration: none; }

/* --- taskbar --- */
.taskbar {
  position: fixed; left: 0; right: 0; bottom: 0; height: 48px; z-index: 900;
  display: flex; align-items: center; gap: 8px; padding: 0 10px 0 6px;
  background: linear-gradient(to bottom,
    rgba(255,255,255,0.50) 0px, rgba(255,255,255,0.50) 1px,
    rgba(198,229,255,0.34) 1px, rgba(146,192,232,0.20) 44%,
    rgba(12,24,38,0.50) 45%, rgba(6,12,20,0.74));
  backdrop-filter: blur(20px) saturate(1.7); -webkit-backdrop-filter: blur(20px) saturate(1.7);
  border-top: 1px solid rgba(255,255,255,0.55);
  box-shadow: inset 0 2px 6px rgba(255,255,255,0.28), inset 0 -1px 0 rgba(255,255,255,0.14), 0 -10px 28px rgba(0,0,0,0.45);
}
/* broad specular curve across the glass */
.taskbar::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 190% at 50% -80%, rgba(255,255,255,0.40), rgba(255,255,255,0.06) 52%, rgba(255,255,255,0) 70%);
}
.orb {
  position: relative; overflow: hidden; padding: 0; border: none;
  width: 54px; height: 54px; margin-top: -18px; flex: none; border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, rgba(255,255,255,0.98), rgba(170,228,255,0.85) 34%, rgba(24,96,150,0.92) 74%, rgba(6,28,50,0.96));
  border: 1px solid rgba(255,255,255,0.7); display: grid; place-items: center;
  font-family: Mulish, sans-serif; font-weight: 300; font-size: 26px; color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.55); animation: orbPulse 4.5s ease-in-out infinite;
}
.orb::after {
  content: ''; position: absolute; left: 9px; right: 9px; top: 4px; height: 42%;
  border-radius: 50%; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0.85), rgba(255,255,255,0.05));
}
.orb:hover { filter: brightness(1.12); color: #fff; text-decoration: none; }
@keyframes orbPulse {
  0%, 100% { box-shadow: 0 0 14px 2px rgba(140,215,255,0.55), 0 2px 6px rgba(0,0,0,0.5); }
  50% { box-shadow: 0 0 26px 6px rgba(140,215,255,0.8), 0 2px 6px rgba(0,0,0,0.5); }
}
.tb-sep { width: 1px; height: 30px; background: rgba(255,255,255,0.22); }
.tb-apps { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tb-btn {
  position: relative; display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; cursor: pointer;
  border-radius: 4px; border: 1px solid rgba(255,255,255,0.42); font-family: Lato, sans-serif;
  background: linear-gradient(to bottom, rgba(255,255,255,0.38), rgba(255,255,255,0.14) 47%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), inset 0 -1px 0 rgba(255,255,255,0.14), 0 1px 3px rgba(0,0,0,0.38);
  font-size: 12.5px; color: #eef5fc; text-shadow: 0 1px 2px rgba(0,0,0,0.5); white-space: nowrap;
}
.tb-btn::after {
  content: ''; position: absolute; left: 1px; right: 1px; top: 1px; height: 46%;
  border-radius: 3px 3px 9px 9px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), rgba(255,255,255,0.05));
}
.tb-btn:hover {
  background: linear-gradient(to bottom, rgba(196,236,255,0.55), rgba(96,176,232,0.30) 47%, rgba(40,110,170,0.22) 50%, rgba(120,200,255,0.24));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 0 16px rgba(120,200,255,0.7), 0 1px 3px rgba(0,0,0,0.38);
  color: #fff; text-decoration: none;
}
.tb-ico { width: 10px; height: 10px; border-radius: 2px; }
.ico-amber { background: linear-gradient(to bottom, #ffe6a9, #cf9a2f); }
.ico-green { background: linear-gradient(to bottom, #c8ffd8, #3c9c62); }
.ico-blue { background: linear-gradient(to bottom, #a9e6ff, #2f86c8); }
.ico-pink { background: linear-gradient(to bottom, #ffd0e2, #c2568c); }
.ico-violet { background: linear-gradient(to bottom, #d9d0ff, #6b57b8); }
.ico-orange { background: linear-gradient(to bottom, #ffd9ad, #c97a35); }
.tray { margin-left: auto; display: flex; align-items: center; gap: 12px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,0.22); font-size: 12.5px; color: #eef5fc; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tray-caret { opacity: 0.75; }

/* small screens: no coordinates, one window at a time, taskbar switches them */
@media (max-width: 980px) {
  .canvas { height: auto !important; padding: 20px 14px 96px; display: flex; flex-direction: column; }
  .canvas > [data-win] { position: static; left: auto; top: auto; width: 100%; display: none; }
  .canvas > [data-win][data-active] { display: block; }
  .canvas > [data-win][data-closed], .canvas > [data-win][data-minimized] { display: none; }
.canvas > [data-win][data-maximized] {
  position: fixed !important; left: 18px !important; top: 18px !important; right: 18px !important; bottom: 66px !important;
  width: auto !important; z-index: 850 !important;
}
[data-win][data-maximized] > *:not(.win-bar) { max-width: 900px; margin-left: auto; margin-right: auto; }
[data-win][data-maximized] [data-drag-handle] { cursor: default; }
  .canvas > [data-win] [data-drag-handle] { cursor: default; }
  .page-wrap { padding: 20px 14px 96px; }
  .hero-body { padding: 34px 24px; grid-template-columns: minmax(0, 1fr); }
  .monogram { width: 110px; height: 110px; font-size: 52px; }
  .explorer { grid-template-columns: minmax(0, 1fr); }
  .tree { display: none; }
}
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

/* --- Start Menu --- */
.start-menu {
  display: none; position: fixed; left: 10px; bottom: 50px; z-index: 950;
  width: 460px; max-width: calc(100vw - 20px);
  border-radius: 3px 3px 2px 2px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 26px 64px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.3);
}
.start-menu.open { display: block; }
.start-cols { display: grid; grid-template-columns: 1.1fr 1fr; }
.start-left {
  background: linear-gradient(180deg, rgba(246,250,253,0.97), rgba(222,232,241,0.97));
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  padding: 12px 0 10px; display: flex; flex-direction: column;
}
.start-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 16px; border: 0; background: transparent;
  cursor: pointer; text-align: left; font: 13px/1.2 Lato, sans-serif; color: #16232f;
}
.start-item:hover { background: linear-gradient(to right, rgba(90,160,220,0.32), rgba(90,160,220,0)); }
.start-ico { width: 28px; height: 28px; border-radius: 5px; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.8); }
.start-divider { height: 1px; margin: 8px 16px 10px; background: linear-gradient(to right, rgba(255,150,60,0.6), rgba(255,150,60,0)); }
.start-right {
  background: linear-gradient(180deg, rgba(30,40,54,0.95), rgba(9,14,22,0.97));
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
}
.start-user {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.start-avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,0.95), rgba(150,220,255,0.55) 45%, rgba(30,90,140,0.55));
  font: 300 15px Mulish, sans-serif; color: #0d2436;
}
.start-name { font: 700 13px Lato, sans-serif; color: #f2f7fb; }
.start-link {
  display: block; width: 100%; padding: 8px 16px; border: 0; background: transparent; cursor: pointer;
  text-align: left; font: 13px Lato, sans-serif; color: #eef5fc; text-decoration: none;
}
.start-link:hover { background: rgba(130,195,255,0.28); text-decoration: none; color: #eef5fc; }
.start-foot {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: linear-gradient(180deg, rgba(18,24,32,0.94), rgba(7,11,17,0.97));
  border-top: 1px solid rgba(255,255,255,0.12);
}
.start-search {
  flex: 1; display: flex; align-items: center; gap: 8px; height: 27px; padding: 0 10px;
  border-radius: 14px; background: rgba(255,255,255,0.92); box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}
.start-search-ico { position: relative; width: 11px; height: 11px; flex: none; display: block; }
.start-search-ico::before { content: ''; position: absolute; left: 0; top: 0; width: 8px; height: 8px; border: 1.4px solid #5c7284; border-radius: 50%; }
.start-search-ico::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 5px; height: 1.4px; background: #5c7284; transform: rotate(45deg); }
.start-search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 12.5px Lato, sans-serif; color: #26364a;
}
.start-toggles {
  display: flex; align-items: stretch; height: 30px; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.55); box-shadow: 0 1px 3px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.12);
}
.start-circle {
  position: relative; width: 34px; align-self: stretch; cursor: pointer; padding: 0; border: 0;
  display: grid; place-items: center;
}
.start-circle::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 46%; pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0.28), rgba(255,255,255,0));
}
.start-power {
  border-right: 1px solid rgba(0,0,0,0.5); color: #f7dedb;
  background: linear-gradient(to bottom, #9a4f47, #6e2f29 50%, #451c19);
}
.start-power:hover { background: linear-gradient(to bottom, #c9756a, #8f3e36 50%, #5c2621); }
.start-lock {
  color: #eef1f4;
  background: linear-gradient(to bottom, #565c63, #33383d 50%, #202327);
}
.start-lock:hover { background: linear-gradient(to bottom, #767e86, #4a5057 50%, #2c3034); }
.start-lock[aria-pressed="true"] { color: #bfe6ff; box-shadow: inset 0 0 10px rgba(120,200,255,0.6); }
.start-lock[aria-pressed="true"] .lock-shackle { transform: translate(4px, -1px) rotate(16deg); }
.power-icon { position: relative; width: 14px; height: 14px; display: block; }
.power-icon::before { content: ''; position: absolute; left: 1px; top: 1.5px; width: 12px; height: 12px; border: 1.6px solid currentColor; border-radius: 50%; }
.power-icon::after { content: ''; position: absolute; left: 50%; top: -1.5px; width: 1.8px; height: 8px; background: currentColor; transform: translateX(-50%); border-radius: 1px; }
@media (max-width: 980px) { .canvas > [data-win] .wb-max { display: none; } }
