/* SahajOS 0.2 prototype - design tokens (iOS-inspired glass) */
:root {
  --ink: #0d0f13;
  --ink-2: #14171d;
  --ink-3: #1b1f27;
  --line: rgba(255, 255, 255, 0.10);
  --text: #e9ecf2;
  --text-dim: #9aa3b2;
  --accent: #e8a33d;
  --accent-soft: rgba(232, 163, 61, 0.16);
  --glass: rgba(26, 29, 38, 0.58);
  --glass-strong: rgba(18, 21, 28, 0.72);
  --spec: rgba(255, 255, 255, 0.11);   /* specular top highlight */
  --radius: 18px;
  --dock-bottom: 12px;
  --font-ui: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
}
:root[data-theme='ocean']  { --accent: #4fb3d9; --accent-soft: rgba(79, 179, 217, 0.16); }
:root[data-theme='rose']   { --accent: #e4688a; --accent-soft: rgba(228, 104, 138, 0.15); }
:root[data-theme='forest'] { --accent: #62bd7c; --accent-soft: rgba(98, 189, 124, 0.16); }
:root[data-theme='sky']    { --accent: #4da3ff; --accent-soft: rgba(77, 163, 255, 0.16); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--ink);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ---------- wallpapers (vignette baked into each stack) ---------- */
body::before {
  content: '';
  position: fixed; inset: 0;
  transition: opacity 600ms var(--ease-out);
  pointer-events: none;
}
body[data-wp='aurora']::before {
  background:
    radial-gradient(120% 100% at 50% 42%, transparent 52%, rgba(4, 5, 9, 0.42)),
    radial-gradient(75% 60% at 18% 12%, rgba(94, 92, 230, 0.55), transparent 62%),
    radial-gradient(70% 58% at 86% 18%, rgba(50, 173, 230, 0.46), transparent 62%),
    radial-gradient(82% 72% at 76% 92%, rgba(191, 90, 242, 0.38), transparent 66%),
    radial-gradient(62% 55% at 14% 86%, rgba(255, 55, 95, 0.28), transparent 62%),
    linear-gradient(160deg, #0a0c12 0%, #0d1017 100%);
}
body[data-wp='dune']::before {
  background:
    radial-gradient(120% 100% at 50% 42%, transparent 55%, rgba(4, 5, 9, 0.4)),
    radial-gradient(120% 90% at 82% 8%, rgba(232, 163, 61, 0.16), transparent 55%),
    radial-gradient(90% 80% at 12% 88%, rgba(79, 179, 217, 0.10), transparent 60%),
    linear-gradient(160deg, #101319 0%, #0d0f13 60%, #0b0d11 100%);
}
body[data-wp='ridge']::before {
  background:
    radial-gradient(120% 100% at 50% 42%, transparent 55%, rgba(4, 5, 9, 0.4)),
    radial-gradient(110% 80% at 15% 10%, rgba(120, 144, 180, 0.18), transparent 55%),
    radial-gradient(80% 70% at 88% 92%, rgba(232, 163, 61, 0.08), transparent 60%),
    linear-gradient(200deg, #12151d 0%, #0d0f13 70%);
}
body[data-wp='loom']::before {
  background:
    radial-gradient(120% 100% at 50% 42%, transparent 55%, rgba(4, 5, 9, 0.4)),
    radial-gradient(100% 90% at 78% 16%, rgba(98, 189, 124, 0.13), transparent 55%),
    radial-gradient(90% 80% at 10% 85%, rgba(232, 163, 61, 0.08), transparent 60%),
    linear-gradient(150deg, #10140f 0%, #0d0f13 65%);
}

.hidden { display: none !important; }

/* ---------- boot ---------- */
.boot {
  position: fixed; inset: 0; z-index: 300;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px;
  background: var(--ink);
  transition: opacity 500ms var(--ease-out), visibility 500ms;
}
.boot.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.boot-word { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; }
.boot-os { color: var(--accent); }
.boot-mark { animation: bootIn 700ms var(--ease-out) both; }
@keyframes bootIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.boot-bar {
  width: 220px; height: 4px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.10); overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}
.boot-bar-fill {
  display: block; height: 100%; width: 0;
  background: linear-gradient(180deg, #ffffff55, transparent 45%), var(--accent);
  border-radius: 4px;
  transition: width 160ms linear;
}
.boot-hint { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }

/* ---------- lock ---------- */
.lock {
  position: fixed; inset: 0; z-index: 250;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 12, 16, 0.38);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  transition: opacity 450ms var(--ease-out), visibility 450ms;
  cursor: pointer;
}
.lock.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.lock-inner { text-align: center; display: grid; gap: 10px; }
.lock-date { font-size: 17px; font-weight: 500; color: var(--text); opacity: 0.85; }
.lock-time { font-size: 88px; font-weight: 200; letter-spacing: -0.04em; line-height: 1; }
.lock-word { font-size: 24px; font-weight: 700; margin-top: 10px; }
.lock-hint {
  font-size: 13px; color: var(--text-dim);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }

/* ---------- desktop ---------- */
.desktop { position: fixed; inset: 0; }
.windows { position: absolute; inset: 0 0 88px 0; }

.desktop-icons {
  position: absolute; top: 20px; left: 20px;
  display: grid; gap: 10px; grid-auto-flow: row;
}
.desk-icon {
  width: 92px; padding: 10px 6px;
  display: grid; justify-items: center; gap: 7px;
  border-radius: 14px;
  transition: background 140ms var(--ease-out);
}
.desk-icon:hover, .desk-icon:focus-visible { background: rgba(255, 255, 255, 0.08); }
.desk-icon-label { font-size: 11.5px; color: var(--text); text-shadow: 0 1px 6px rgba(0,0,0,0.7); }

/* ---------- iOS-style app tiles (launcher, desktop, dock) ---------- */
.launcher-icon, .desk-icon-glyph, .task-app-icon {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  border-radius: 27%;
  color: #fff;
  background: linear-gradient(160deg, #3a4150, #1d212b);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 2px rgba(0, 0, 0, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.35);
}
.launcher-icon { width: 46px; height: 46px; font-size: 21px; }
.desk-icon-glyph { width: 48px; height: 48px; font-size: 22px; }
.task-app-icon { width: 40px; height: 40px; font-size: 19px; }
.launcher-icon::after, .desk-icon-glyph::after, .task-app-icon::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.32), rgba(255,255,255,0.06) 42%, transparent 60%);
  pointer-events: none;
}
[data-app='terminal'] { background: linear-gradient(160deg, #424959, #14171d); color: #7ee787; }
[data-app='files']    { background: linear-gradient(160deg, #64d2ff, #0a84ff); }
/* CSS-drawn folder glyph on the Files tile (works without emoji fonts) */
[data-app='files']::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 50%; height: 38%;
  transform: translate(-50%, -46%);
  background: linear-gradient(180deg, #f4fbff, #d4ebff);
  clip-path: polygon(0 18%, 30% 18%, 39% 0, 64% 0, 70% 18%, 100% 18%, 100% 100%, 0 100%);
}
[data-app='editor']   { background: linear-gradient(160deg, #ffd60a, #ff9f0a); color: #3a2c00; }
[data-app='monitor']  { background: linear-gradient(160deg, #30d158, #0f9d3a); color: #06280f; }
[data-app='settings'] { background: linear-gradient(160deg, #aeaeb2, #5c5c60); }
[data-app='about']    { background: linear-gradient(160deg, #bf5af2, #5e5ce6); }

/* ---------- windows ---------- */
.window {
  position: absolute;
  display: flex; flex-direction: column;
  background: var(--glass);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.55),
    0 3px 14px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 var(--spec);
  overflow: hidden;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.window.opening { opacity: 0; transform: scale(0.955); }
.window.closing { opacity: 0; transform: scale(0.965); }
.window.minimized { opacity: 0; transform: translateY(28px) scale(0.955); pointer-events: none; }
.window.focused {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.62),
    0 4px 18px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.window:not(.focused) { box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.07); }
.window:not(.focused) .win-btn { background: #454a54; box-shadow: inset 0 1px 1px rgba(255,255,255,0.12); }
.window:not(.focused) .win-btn::after { content: none; }

.win-titlebar {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 10px 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015));
  border-bottom: 1px solid var(--line);
  cursor: grab; user-select: none;
  touch-action: none;
}
.win-icon { color: var(--accent); font-size: 14px; width: 18px; text-align: center; }
.win-title { font-size: 13.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; }

/* glossy traffic-light window controls (macOS order: close, min, max) */
.win-actions {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  display: flex; gap: 8px;
}
.win-btn {
  width: 13px; height: 13px; border-radius: 50%;
  position: relative;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    inset 0 -1px 1px rgba(0, 0, 0, 0.22),
    0 0 0 0.5px rgba(0, 0, 0, 0.18);
  transition: filter 120ms var(--ease-out);
}
.win-btn.close { background: linear-gradient(180deg, #ff6159, #e0443e); }
.win-btn.min   { background: linear-gradient(180deg, #ffbd2e, #e5a123); }
.win-btn.max   { background: linear-gradient(180deg, #28c840, #1da82c); }
.win-btn::after {
  content: attr(data-sym);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 9.5px; font-weight: 700; line-height: 1;
  color: rgba(0, 0, 0, 0.55);
  opacity: 0; transition: opacity 120ms;
}
.win-titlebar:hover .win-btn::after { opacity: 1; }
.win-btn:hover { filter: brightness(1.12); }

.win-body { flex: 1; overflow: auto; min-height: 0; }
.win-resize {
  position: absolute; right: 0; bottom: 0;
  width: 18px; height: 18px; cursor: nwse-resize;
  touch-action: none;
}
.win-resize::after {
  content: ''; position: absolute; right: 6px; bottom: 6px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--text-dim);
  border-bottom: 2px solid var(--text-dim);
  opacity: 0.5; border-radius: 1px;
}

/* ---------- floating glass dock ---------- */
.taskbar {
  position: absolute; left: 50%; right: auto; bottom: var(--dock-bottom);
  transform: translateX(-50%);
  width: auto; max-width: calc(100vw - 20px);
  min-height: 62px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  z-index: 90000;
}
.launcher-btn {
  width: 46px; height: 46px; border-radius: 15px;
  display: grid; place-items: center;
  transition: transform 160ms var(--spring), background 140ms var(--ease-out);
}
.launcher-btn:hover { transform: translateY(-5px) scale(1.08); background: rgba(255, 255, 255, 0.07); }
.launcher-btn:active { transform: scale(0.96); }
.launcher-btn-mark {
  width: 40px; height: 40px; border-radius: 27%;
  display: grid; place-items: center;
  font-weight: 700; font-size: 19px;
  color: #1a1200;
  background: linear-gradient(160deg, #ffd98a, var(--accent) 55%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 2px rgba(0, 0, 0, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.35);
}
.taskbar-apps { display: flex; gap: 4px; overflow-x: auto; }
.task-app {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  border-radius: 15px;
  color: var(--text-dim);
  transition: transform 160ms var(--spring), background 140ms var(--ease-out);
}
.task-app:hover { transform: translateY(-6px) scale(1.12); background: rgba(255, 255, 255, 0.07); }
.task-app-label { display: none; }
.task-app::before {
  content: attr(data-label);
  position: absolute; bottom: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 5px 10px; border-radius: 9px;
  background: var(--glass-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  color: var(--text); font-size: 12px; font-weight: 500;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 140ms var(--ease-out), transform 140ms var(--ease-out);
}
.task-app:hover::before { opacity: 1; transform: translateX(-50%) translateY(0); }
.task-app.active::after {
  content: ''; position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}
.taskbar-tray {
  display: flex; align-items: center; gap: 10px;
  padding-left: 10px; margin-left: 2px;
  border-left: 1px solid var(--line);
}
.tray-net { color: var(--accent); font-size: 10px; }
.clock { font-family: var(--font-mono); font-size: 13px; color: var(--text); }

/* ---------- launcher ---------- */
.launcher {
  position: absolute; left: 50%; bottom: calc(62px + var(--dock-bottom) + 14px);
  transform: translateX(-50%);
  width: 360px; max-width: calc(100vw - 24px);
  background: var(--glass-strong);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  padding: 14px;
  z-index: 95000;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 var(--spec);
  animation: launchIn 200ms var(--spring);
}
@keyframes launchIn { from { opacity: 0; transform: translateX(-50%) translateY(12px) scale(0.97); } to { opacity: 1; transform: translateX(-50%); } }
.launcher-search {
  width: 100%; height: 38px;
  padding: 0 12px; margin-bottom: 12px;
  border-radius: 11px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06); color: var(--text);
  font-family: var(--font-ui); font-size: 13.5px;
  outline: none;
  transition: border-color 140ms, box-shadow 140ms;
}
.launcher-search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.launcher-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.launcher-app {
  display: grid; justify-items: center; gap: 8px;
  padding: 14px 6px;
  border-radius: 14px;
  transition: background 140ms var(--ease-out), transform 140ms var(--spring);
}
.launcher-app:hover { background: rgba(255, 255, 255, 0.07); transform: translateY(-2px); }
.launcher-label { font-size: 11.5px; }
.launcher-foot {
  margin-top: 12px; padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 11px; color: var(--text-dim); text-align: center;
}

/* ---------- terminal ---------- */
.term {
  height: 100%; display: flex; flex-direction: column;
  background: rgba(9, 11, 15, 0.72);
  font-family: var(--font-mono); font-size: 13px;
}
.term-out { flex: 1; overflow-y: auto; padding: 12px 14px 4px; }
.term-line { white-space: pre-wrap; word-break: break-word; line-height: 1.55; }
.term-echo { color: var(--accent); }
.term-err { color: #ff7a93; }
.term-dim { color: var(--text-dim); }
.term-form {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 12px;
}
.term-prompt { color: var(--accent); white-space: nowrap; }
.term-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); font-family: var(--font-mono); font-size: 13px;
  caret-color: var(--accent);
}

/* ---------- files ---------- */
.files { height: 100%; display: flex; flex-direction: column; }
.files-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-bottom: 1px solid var(--line);
}
.files-up {
  width: 30px; height: 30px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 130ms;
}
.files-up:hover { background: var(--accent-soft); }
.files-path {
  flex: 1; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-dim);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.files-new, .files-newfile {
  height: 30px; padding: 0 12px; border-radius: 9px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 130ms;
}
.files-new:hover, .files-newfile:hover { background: var(--accent-soft); }
.files-grid {
  flex: 1; overflow-y: auto;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 6px; padding: 14px; align-content: start;
}
.file-item {
  display: grid; justify-items: center; gap: 8px;
  padding: 12px 6px; border-radius: 12px;
  transition: background 130ms var(--ease-out);
}
.file-item:hover { background: rgba(255, 255, 255, 0.06); }
.file-item.selected { background: var(--accent-soft); }
.file-icon { position: relative; width: 30px; height: 30px; }
/* CSS-drawn folder */
.file-icon.ic-dir {
  width: 32px; height: 24px; margin-top: 6px;
  background: linear-gradient(160deg, #64d2ff, #0a84ff);
  border-radius: 4px 6px 6px 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 3px 8px rgba(0, 0, 0, 0.3);
}
.file-icon.ic-dir::before {
  content: ''; position: absolute; top: -5px; left: 0;
  width: 14px; height: 6px;
  background: #64d2ff;
  border-radius: 4px 5px 0 0;
}
/* CSS-drawn document */
.file-icon.ic-file {
  width: 24px; height: 30px;
  background: linear-gradient(160deg, #f5f7fa, #c7d0dc);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 3px 8px rgba(0, 0, 0, 0.3);
}
.file-icon.ic-file::before {
  content: ''; position: absolute; top: 7px; left: 5px; right: 5px; height: 2px;
  background: #9aa7b8; border-radius: 2px;
  box-shadow: 0 5px 0 #9aa7b8, 0 10px 0 #9aa7b8;
}
.file-name {
  font-size: 11.5px; max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.files-empty { grid-column: 1 / -1; text-align: center; color: var(--text-dim); padding: 40px 0; font-size: 13px; }

/* ---------- editor ---------- */
.editor { height: 100%; display: flex; flex-direction: column; }
.editor-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-bottom: 1px solid var(--line);
}
.editor-path {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1;
}
.editor-status { font-size: 11px; color: var(--text-dim); }
.editor-save {
  height: 28px; padding: 0 14px; border-radius: 9px;
  font-size: 12px; font-weight: 600;
  color: #1a1200;
  background: linear-gradient(180deg, #ffd98a, var(--accent) 60%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 3px 10px rgba(0, 0, 0, 0.3);
  transition: transform 110ms var(--ease-out), filter 130ms;
}
.editor-save:hover { filter: brightness(1.07); }
.editor-save:active { transform: scale(0.96); }
.editor-area {
  flex: 1; resize: none; border: none; outline: none;
  background: transparent; color: var(--text);
  font-family: var(--font-mono); font-size: 13px; line-height: 1.6;
  padding: 14px;
}

/* ---------- monitor ---------- */
.monitor { padding: 16px; display: grid; gap: 14px; align-content: start; }
.mon-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mon-card {
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  display: grid; gap: 5px;
}
.mon-label { font-size: 11px; color: var(--text-dim); }
.mon-value { font-family: var(--font-mono); font-size: 15px; }
.mon-graph {
  width: 100%; border-radius: 14px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
}
.mon-note { font-size: 11px; color: var(--text-dim); }

/* ---------- settings ---------- */
.settings { padding: 18px; display: grid; gap: 14px; align-content: start; }
.settings h2 { font-size: 13px; font-weight: 500; color: var(--text-dim); text-transform: none; }
.set-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  font-size: 13px;
}
.swatches { display: flex; gap: 8px; }
.swatch {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid transparent;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 130ms var(--spring), border-color 130ms;
}
.swatch:hover { transform: scale(1.14); }
.swatch-amber { background: #e8a33d; }
.swatch-ocean { background: #4fb3d9; }
.swatch-rose { background: #e4688a; }
.swatch-forest { background: #62bd7c; }
.swatch-sky { background: #4da3ff; }
.wp-choices { display: flex; gap: 8px; flex-wrap: wrap; }
.wp-choice {
  height: 30px; padding: 0 14px; border-radius: 9px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  transition: background 130ms;
}
.wp-choice:hover { background: var(--accent-soft); }
.set-btn {
  height: 30px; padding: 0 14px; border-radius: 9px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 130ms;
}
.set-btn:hover { background: var(--accent-soft); }
.set-about { font-size: 11.5px; color: var(--text-dim); line-height: 1.6; }

/* ---------- about ---------- */
.about { padding: 28px; display: grid; gap: 12px; align-content: start; text-align: center; }
.about-logo { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
.about-logo span { color: var(--accent); }
.about-ver { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.about-p { font-size: 13.5px; line-height: 1.65; color: var(--text); }
.about-p.dim { color: var(--text-dim); font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .desktop-icons { display: none; }
  .lock-time { font-size: 60px; }
  .boot-word { font-size: 36px; }
  .window { left: 6px !important; right: 6px; width: calc(100vw - 12px) !important; }
  .task-app-label { display: none; }
  .taskbar { min-height: 56px; padding: 6px 10px; }
  .task-app { width: 42px; height: 42px; }
  .task-app-icon { width: 34px; height: 34px; font-size: 16px; }
  .win-title { max-width: 46%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
