/* ============================================
   K-OS v2.0 - Windows 11 Style Web OS
   Pure CSS - Glassmorphism / Acrylic / Mica
   ============================================ */

:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --bg-glass: rgba(32, 32, 32, 0.75);
  --bg-acrylic: rgba(32, 32, 32, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent: #0078d4;
  --accent-hover: #006cbd;
  --accent-light: #60a5fa;
  --danger: #ef4444;
  --success: #22c55e;
  --warning: #f59e0b;
  --taskbar-height: 48px;
  --win-radius: 8px;
  --shadow-win: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-menu: 0 12px 40px rgba(0,0,0,0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  width: 100%; height: 100%;
  font-family: 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif;
  overflow: hidden;
  background: #000;
  color: var(--text-primary);
  user-select: none;
}

/* ============================================
   BOOT SCREEN
   ============================================ */
#boot {
  position: fixed; inset: 0;
  background: #000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease;
}
#boot .logo {
  font-size: 5rem; margin-bottom: 1.5rem;
  animation: bootPulse 2s ease-in-out infinite;
}
#boot .name {
  font-size: 1.8rem; letter-spacing: 0.4em;
  font-weight: 300; color: var(--text-secondary);
  margin-bottom: 2.5rem;
}
#boot .bar {
  width: 200px; height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px; overflow: hidden;
}
#boot .bar-inner {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 999px;
  animation: bootProgress 2.5s ease-out forwards;
}
#boot .skip {
  margin-top: 2rem; font-size: 0.8rem;
  color: var(--text-secondary);
  background: none; border: none;
  cursor: pointer; text-decoration: underline;
  opacity: 0.6; transition: opacity 0.2s;
}
#boot .skip:hover { opacity: 1; }

@keyframes bootPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); }
}
@keyframes bootProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ============================================
   LOCK SCREEN (Win11 Style)
   ============================================ */
#lock {
  position: fixed; inset: 0;
  background-size: cover;
  background-position: center;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9000;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.6s;
}
#lock::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
}
#lock .clock {
  font-size: 6rem; font-weight: 200;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  z-index: 2; position: relative;
}
#lock .date {
  font-size: 1.2rem; font-weight: 300;
  margin-top: 0.5rem; opacity: 0.85;
  z-index: 2; position: relative;
}
#lock .unlock-hint {
  position: absolute; bottom: 80px;
  font-size: 0.85rem; opacity: 0.6;
  z-index: 2; animation: bounceHint 2s infinite;
}
@keyframes bounceHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
#lock .version {
  position: absolute; bottom: 16px; right: 24px;
  font-size: 0.7rem; opacity: 0.4; z-index: 2;
}

/* ============================================
   DESKTOP
   ============================================ */
#desktop {
  position: fixed; inset: 0;
  background-size: cover;
  background-position: center;
  display: none;
  overflow: hidden;
}
#desktop-icons {
  position: absolute; top: 12px; left: 12px;
  display: flex; flex-direction: column;
  gap: 4px; z-index: 5;
}
.desk-icon {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  width: 72px; padding: 8px 4px;
  border-radius: 6px; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.desk-icon:hover {
  background: rgba(255,255,255,0.08);
}
.desk-icon:active { transform: scale(0.95); }
.desk-icon .ic {
  font-size: 2rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.desk-icon .lbl {
  font-size: 0.7rem; color: #fff;
  text-align: center; font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  line-height: 1.2;
}
.desk-icon.selected {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
}

/* Desktop context menu */
#ctx-menu {
  position: fixed; display: none;
  background: var(--bg-acrylic);
  backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 6px 0;
  min-width: 220px;
  box-shadow: var(--shadow-menu);
  z-index: 10000;
}
.ctx-item {
  display: flex; align-items: center;
  gap: 10px; padding: 8px 16px;
  font-size: 0.85rem; cursor: pointer;
  transition: background 0.1s;
}
.ctx-item:hover { background: rgba(255,255,255,0.08); }
.ctx-item .ctx-icon { font-size: 1rem; width: 20px; text-align: center; }
.ctx-sep { height: 1px; background: rgba(255,255,255,0.08); margin: 4px 8px; }

/* ============================================
   TASKBAR (Win11 Style - Centered)
   ============================================ */
#taskbar {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--taskbar-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.5);
  border-top: 1px solid var(--border-glass);
  display: flex; align-items: center;
  justify-content: center;
  gap: 4px; padding: 0 16px;
  z-index: 8000;
  transform: translateY(var(--taskbar-height));
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
#taskbar.visible { transform: translateY(0); }

#start-btn {
  width: 40px; height: 40px;
  border-radius: 6px; display: flex;
  align-items: center; justify-content: center;
  background: none; border: none;
  cursor: pointer; color: var(--text-primary);
  transition: background 0.2s;
}
#start-btn:hover { background: rgba(255,255,255,0.1); }
#start-btn.active { background: rgba(255,255,255,0.15); }

#tb-pins {
  display: flex; align-items: center; gap: 2px;
  margin: 0 8px;
}
.tb-pin {
  width: 40px; height: 40px;
  border-radius: 6px; display: flex;
  align-items: center; justify-content: center;
  background: none; border: none;
  cursor: pointer; font-size: 1.4rem;
  position: relative; transition: background 0.2s;
}
.tb-pin:hover { background: rgba(255,255,255,0.1); }
.tb-pin.active::after {
  content: ''; position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 3px; border-radius: 2px;
  background: var(--accent);
}
.tb-pin.minimized::after {
  content: ''; position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--text-secondary);
}

#tb-tray {
  position: absolute; right: 16px;
  display: flex; align-items: center; gap: 12px;
}
#tb-clock {
  text-align: right; color: var(--text-primary);
  font-size: 0.75rem; line-height: 1.3;
  cursor: pointer; padding: 4px 8px;
  border-radius: 4px; transition: background 0.2s;
}
#tb-clock:hover { background: rgba(255,255,255,0.08); }
#tb-time { font-weight: 600; font-size: 0.8rem; }
#tb-date { font-size: 0.65rem; opacity: 0.7; }

/* ============================================
   START MENU (Win11 Style)
   ============================================ */
#start-menu {
  position: fixed; bottom: calc(var(--taskbar-height) + 12px);
  left: 50%; transform: translateX(-50%) scale(0.95);
  width: 560px; max-height: 640px;
  background: var(--bg-acrylic);
  backdrop-filter: blur(30px) saturate(1.8);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: var(--shadow-menu);
  z-index: 9000;
  opacity: 0; pointer-events: none;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
#start-menu.visible {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

.sm-search-wrap {
  padding: 24px 24px 12px;
}
.sm-search {
  width: 100%; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px; padding: 8px 12px;
  font-size: 0.875rem; color: var(--text-primary);
  outline: none; font-family: inherit;
}
.sm-search::placeholder { color: var(--text-secondary); }
.sm-search:focus { border-color: var(--accent); }

.sm-pinned-wrap { padding: 12px 24px; }
.sm-title {
  font-size: 0.7rem; font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 12px;
  display: flex; justify-content: space-between;
  align-items: center;
}
.sm-title button {
  background: none; border: none;
  color: var(--accent); font-size: 0.7rem;
  cursor: pointer; font-weight: 600;
}
.sm-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.sm-app {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  padding: 12px 4px; border-radius: 6px;
  background: none; border: none;
  cursor: pointer; color: var(--text-primary);
  transition: background 0.15s;
}
.sm-app:hover { background: rgba(255,255,255,0.08); }
.sm-app .icon {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.sm-app .name {
  font-size: 0.65rem; color: var(--text-secondary);
  text-align: center;
}

.sm-all-wrap {
  flex: 1; overflow-y: auto;
  padding: 12px 24px;
}
.sm-list {
  display: flex; flex-direction: column; gap: 2px;
}
.sm-list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px; border-radius: 4px;
  background: none; border: none;
  cursor: pointer; color: var(--text-primary);
  transition: background 0.15s; text-align: left;
  width: 100%;
}
.sm-list-item:hover { background: rgba(255,255,255,0.06); }
.sm-list-item .icon {
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.sm-list-item .name { font-size: 0.8rem; }

.sm-footer {
  padding: 12px 24px;
  border-top: 1px solid var(--border-glass);
  display: flex; align-items: center;
  justify-content: space-between;
}
.sm-user { display: flex; align-items: center; gap: 10px; }
.sm-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.875rem; font-weight: 700;
}
.sm-username { font-size: 0.85rem; font-weight: 500; }
.sm-lock-btn {
  width: 32px; height: 32px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: var(--text-secondary); transition: all 0.2s;
}
.sm-lock-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ============================================
   WINDOWS (Win11 Style)
   ============================================ */
#win-container {
  position: fixed; inset: 0;
  pointer-events: none;
  padding-bottom: var(--taskbar-height);
}
.win {
  position: absolute;
  background: var(--bg-acrylic);
  backdrop-filter: blur(24px) saturate(1.5);
  border-radius: var(--win-radius);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  display: flex; flex-direction: column;
  pointer-events: auto;
  box-shadow: var(--shadow-win);
  min-width: 240px; min-height: 160px;
}
.win.maximized {
  border-radius: 0; border: none;
  box-shadow: none;
}
.win.minimized {
  opacity: 0; pointer-events: none;
  transform: scale(0.8);
}

.win-title {
  height: 36px;
  display: flex; align-items: center;
  padding: 0 12px; cursor: default;
  user-select: none;
}
.win-title-text {
  display: flex; align-items: center;
  gap: 8px; flex: 1; min-width: 0;
}
.win-title-text .icon { font-size: 0.9rem; }
.win-title-text .name {
  font-size: 0.75rem; color: var(--text-secondary);
  font-weight: 500; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.win-btns {
  display: flex; align-items: center;
  margin-left: auto;
}
.win-btn {
  width: 44px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none;
  cursor: pointer; color: var(--text-secondary);
  transition: all 0.15s; border-radius: 4px;
}
.win-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.win-btn.close:hover { background: var(--danger); }

/* Resize handles */
.win-resize {
  position: absolute; z-index: 10;
}
.win-resize.n { top: 0; left: 8px; right: 8px; height: 4px; cursor: n-resize; }
.win-resize.s { bottom: 0; left: 8px; right: 8px; height: 4px; cursor: s-resize; }
.win-resize.w { left: 0; top: 8px; bottom: 8px; width: 4px; cursor: w-resize; }
.win-resize.e { right: 0; top: 8px; bottom: 8px; width: 4px; cursor: e-resize; }
.win-resize.nw { top: 0; left: 0; width: 8px; height: 8px; cursor: nw-resize; }
.win-resize.ne { top: 0; right: 0; width: 8px; height: 8px; cursor: ne-resize; }
.win-resize.sw { bottom: 0; left: 0; width: 8px; height: 8px; cursor: sw-resize; }
.win-resize.se { bottom: 0; right: 0; width: 8px; height: 8px; cursor: se-resize; }

.win-content {
  flex: 1; overflow: auto;
  position: relative;
}

/* ============================================
   APP: BROWSER
   ============================================ */
.browser-body {
  height: 100%; display: flex; flex-direction: column;
  background: #0f172a;
}
.browser-bar {
  display: flex; align-items: center;
  gap: 8px; padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-glass);
}
.browser-nav { display: flex; gap: 4px; }
.browser-nav button {
  width: 28px; height: 28px; border-radius: 4px;
  background: none; border: none;
  color: var(--text-secondary); cursor: pointer;
  font-size: 0.75rem; display: flex;
  align-items: center; justify-content: center;
  transition: background 0.15s;
}
.browser-nav button:hover { background: rgba(255,255,255,0.08); }
.browser-url {
  flex: 1; background: rgba(255,255,255,0.05);
  border-radius: 4px; padding: 4px 12px;
  font-size: 0.8rem; color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.browser-url:focus-within { border-color: var(--accent); }
.browser-url input {
  background: none; border: none; outline: none;
  color: var(--text-primary); flex: 1;
  font-family: inherit; font-size: 0.8rem;
}
.browser-view {
  flex: 1; background: #0f172a; overflow: auto;
}
.browser-home {
  padding: 48px 24px; text-align: center;
}
.browser-home .logo { font-size: 4rem; margin-bottom: 16px; }
.browser-home h1 {
  font-size: 1.5rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: 8px;
}
.browser-home p { font-size: 0.9rem; color: var(--text-secondary); }
.browser-bookmarks {
  display: flex; gap: 12px; justify-content: center;
  margin-top: 32px; flex-wrap: wrap;
}
.bm-card {
  background: rgba(255,255,255,0.05);
  border-radius: 8px; padding: 16px;
  width: 100px; cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.bm-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-glass);
  transform: translateY(-2px);
}
.bm-card .emoji { font-size: 1.8rem; margin-bottom: 8px; }
.bm-card .label { font-size: 0.75rem; color: var(--text-secondary); }

/* ============================================
   APP: FILE EXPLORER
   ============================================ */
.files-body {
  height: 100%; display: flex; flex-direction: column;
  background: #0f172a;
}
.files-toolbar {
  display: flex; align-items: center;
  gap: 4px; padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-glass);
}
.files-toolbar button {
  padding: 4px 10px; border-radius: 4px;
  background: none; border: none;
  color: var(--text-secondary); cursor: pointer;
  font-size: 0.75rem; transition: background 0.15s;
}
.files-toolbar button:hover { background: rgba(255,255,255,0.08); color: #fff; }
.files-path {
  padding: 6px 12px; font-size: 0.8rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-glass);
  display: flex; align-items: center; gap: 8px;
}
.files-path span { cursor: pointer; }
.files-path span:hover { color: var(--accent); }
.files-main {
  flex: 1; display: flex; overflow: hidden;
}
.files-sidebar {
  width: 180px; padding: 8px;
  border-right: 1px solid var(--border-glass);
  overflow-y: auto;
}
.files-sidebar-item {
  display: flex; align-items: center;
  gap: 8px; padding: 6px 10px;
  border-radius: 4px; cursor: pointer;
  font-size: 0.8rem; color: var(--text-secondary);
  transition: background 0.15s;
}
.files-sidebar-item:hover { background: rgba(255,255,255,0.05); color: #fff; }
.files-sidebar-item.active { background: rgba(255,255,255,0.08); color: #fff; }
.files-grid {
  flex: 1; padding: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px; align-content: start;
  overflow-y: auto;
}
.file-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  padding: 12px 8px; border-radius: 6px;
  cursor: pointer; transition: all 0.15s;
}
.file-item:hover { background: rgba(255,255,255,0.05); }
.file-item.selected {
  background: rgba(0,120,212,0.2);
  border: 1px solid rgba(0,120,212,0.4);
}
.file-item .icon { font-size: 2.2rem; transition: transform 0.2s; }
.file-item:hover .icon { transform: scale(1.05); }
.file-item .name {
  font-size: 0.7rem; color: var(--text-secondary);
  text-align: center; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  width: 100%;
}

/* ============================================
   APP: SETTINGS
   ============================================ */
.settings-body {
  height: 100%; display: flex;
  background: #0f172a;
}
.settings-sidebar {
  width: 220px;
  border-right: 1px solid var(--border-glass);
  padding: 16px 8px; overflow-y: auto;
}
.settings-cat {
  font-size: 0.65rem; font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 12px 6px;
}
.settings-item {
  display: flex; align-items: center;
  gap: 10px; padding: 8px 12px;
  border-radius: 6px; cursor: pointer;
  font-size: 0.85rem; color: var(--text-secondary);
  transition: all 0.15s;
}
.settings-item:hover { background: rgba(255,255,255,0.05); color: #fff; }
.settings-item.active { background: rgba(0,120,212,0.15); color: var(--accent-light); }
.settings-main {
  flex: 1; padding: 24px 32px;
  overflow-y: auto;
}
.settings-main h2 {
  font-size: 1.5rem; font-weight: 600;
  margin-bottom: 24px;
}
.settings-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  border-radius: 8px; padding: 20px;
  margin-bottom: 16px;
}
.settings-card .label {
  font-size: 0.8rem; color: var(--text-secondary);
  margin-bottom: 4px;
}
.settings-card .value {
  font-size: 1rem; color: var(--text-primary);
  font-weight: 500;
}
.settings-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-glass);
}
.settings-row:last-child { border-bottom: none; }
.settings-row .info { flex: 1; }
.settings-row .info .title { font-size: 0.9rem; font-weight: 500; }
.settings-row .info .desc { font-size: 0.75rem; color: var(--text-secondary); margin-top: 2px; }

/* Toggle switch */
.toggle {
  width: 40px; height: 20px;
  background: var(--bg-tertiary);
  border-radius: 999px; position: relative;
  cursor: pointer; transition: background 0.2s;
}
.toggle.on { background: var(--accent); }
.toggle::after {
  content: ''; position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff; border-radius: 50%;
  transition: transform 0.2s;
}
.toggle.on::after { transform: translateX(20px); }

/* Wallpaper grid in Settings */
.wp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-top: 12px;
}
.wp-item {
  aspect-ratio: 16/9; border-radius: 6px;
  background-size: cover; background-position: center;
  cursor: pointer; border: 2px solid transparent;
  transition: all 0.2s; position: relative;
}
.wp-item:hover { transform: scale(1.02); }
.wp-item.active { border-color: var(--accent); }
.wp-item .check {
  position: absolute; top: 4px; right: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; display: none;
}
.wp-item.active .check { display: flex; }

/* ============================================
   APP: MUSIC
   ============================================ */
.music-body {
  height: 100%; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #1a1a2e 0%, #0f172a 100%);
}
.music-player {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px;
}
.music-cover {
  width: 200px; height: 200px; border-radius: 8px;
  background: linear-gradient(135deg, #ec4899, #9333ea);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; margin-bottom: 24px;
  background-size: cover; background-position: center;
}
.music-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 4px; }
.music-artist { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 24px; }
.music-progress-wrap {
  width: 100%; max-width: 400px; margin-bottom: 8px;
}
.music-progress {
  width: 100%; height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px; cursor: pointer;
  position: relative;
}
.music-progress-bar {
  height: 100%; background: var(--accent);
  border-radius: 999px; width: 0%;
  position: relative;
}
.music-progress-bar::after {
  content: ''; position: absolute;
  right: -6px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; opacity: 0; transition: opacity 0.2s;
}
.music-progress:hover .music-progress-bar::after { opacity: 1; }
.music-time {
  display: flex; justify-content: space-between;
  font-size: 0.65rem; color: var(--text-secondary);
  margin-top: 4px;
}
.music-controls {
  display: flex; align-items: center;
  gap: 20px; margin-top: 16px;
}
.music-btn {
  font-size: 1.25rem; color: var(--text-secondary);
  background: none; border: none; cursor: pointer;
  transition: color 0.2s; padding: 4px;
}
.music-btn:hover { color: #fff; }
.music-play {
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; border: none; cursor: pointer;
  transition: transform 0.2s;
}
.music-play:hover { transform: scale(1.05); }

.music-playlist {
  height: 200px; overflow-y: auto;
  border-top: 1px solid var(--border-glass);
}
.pl-item {
  display: flex; align-items: center;
  gap: 12px; padding: 8px 16px;
  cursor: pointer; transition: background 0.15s;
}
.pl-item:hover { background: rgba(255,255,255,0.05); }
.pl-item.active { background: rgba(0,120,212,0.15); }
.pl-item .pl-num { font-size: 0.75rem; color: var(--text-secondary); width: 20px; }
.pl-item .pl-info { flex: 1; }
.pl-item .pl-title { font-size: 0.8rem; font-weight: 500; }
.pl-item .pl-artist { font-size: 0.7rem; color: var(--text-secondary); }
.pl-item .pl-dur { font-size: 0.7rem; color: var(--text-secondary); }

/* ============================================
   APP: PHOTOS
   ============================================ */
.photos-body {
  height: 100%; display: flex; flex-direction: column;
  background: #0f172a;
}
.photos-bar {
  display: flex; align-items: center;
  gap: 4px; padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-glass);
}
.photos-bar button {
  padding: 4px 12px; border-radius: 4px;
  background: none; border: none;
  color: var(--text-secondary); cursor: pointer;
  font-size: 0.8rem; transition: all 0.15s;
}
.photos-bar button:hover { background: rgba(255,255,255,0.08); color: #fff; }
.photos-bar button.active { color: var(--accent); background: rgba(0,120,212,0.1); }
.photos-grid {
  flex: 1; padding: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px; overflow-y: auto;
}
.photo-item {
  aspect-ratio: 1; border-radius: 6px;
  background-size: cover; background-position: center;
  cursor: pointer; transition: all 0.2s;
  position: relative; overflow: hidden;
}
.photo-item:hover { transform: scale(1.02); }
.photo-item::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0); transition: background 0.2s;
}
.photo-item:hover::after { background: rgba(0,0,0,0.2); }

/* Lightbox */
#lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  display: none; align-items: center; justify-content: center;
  z-index: 10000;
}
#lightbox.visible { display: flex; }
#lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain; border-radius: 4px;
}
#lightbox .lb-close {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none; color: #fff; font-size: 1.5rem;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
}
#lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none;
  color: #fff; font-size: 1.5rem; cursor: pointer;
}
#lightbox .lb-prev { left: 20px; }
#lightbox .lb-next { right: 20px; }

/* ============================================
   APP: CALENDAR
   ============================================ */
.calendar-body {
  height: 100%; display: flex; flex-direction: column;
  background: #0f172a; padding: 16px;
}
.calendar-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.calendar-header h2 { font-size: 1.25rem; font-weight: 600; }
.calendar-header button {
  width: 32px; height: 32px; border-radius: 6px;
  background: none; border: none;
  color: var(--text-secondary); cursor: pointer;
  font-size: 1rem; transition: background 0.15s;
}
.calendar-header button:hover { background: rgba(255,255,255,0.08); color: #fff; }
.calendar-days {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; text-align: center;
  font-size: 0.7rem; color: var(--text-secondary);
  font-weight: 600; margin-bottom: 8px;
}
.calendar-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; flex: 1;
}
.calendar-day {
  aspect-ratio: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: 6px; font-size: 0.85rem;
  cursor: pointer; transition: all 0.15s;
  color: var(--text-secondary); position: relative;
}
.calendar-day:hover { background: rgba(255,255,255,0.05); }
.calendar-day.today {
  background: var(--accent); color: #fff; font-weight: 600;
}
.calendar-day.other-month { opacity: 0.3; }
.calendar-day .event-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); position: absolute;
  bottom: 4px;
}

/* Event modal */
#event-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  display: none; align-items: center; justify-content: center;
  z-index: 10000;
}
#event-modal.visible { display: flex; }
.event-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 12px; padding: 24px;
  width: 360px; max-width: 90vw;
}
.event-box h3 { margin-bottom: 16px; font-size: 1.1rem; }
.event-box input, .event-box textarea {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  border-radius: 6px; padding: 8px 12px;
  color: var(--text-primary); font-family: inherit;
  margin-bottom: 12px; outline: none;
}
.event-box input:focus, .event-box textarea:focus { border-color: var(--accent); }
.event-box .actions {
  display: flex; gap: 8px; justify-content: flex-end;
  margin-top: 8px;
}
.event-box button {
  padding: 6px 16px; border-radius: 4px;
  border: none; cursor: pointer; font-family: inherit;
  font-size: 0.85rem;
}
.event-box .btn-primary { background: var(--accent); color: #fff; }
.event-box .btn-secondary { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.event-box .btn-danger { background: var(--danger); color: #fff; }

/* ============================================
   APP: STORE
   ============================================ */
.store-body {
  height: 100%; display: flex; flex-direction: column;
  background: #0f172a;
}
.store-header {
  padding: 24px 32px;
  background: linear-gradient(135deg, #059669, #0d9488);
}
.store-header h1 { font-size: 1.75rem; font-weight: 700; }
.store-header p { font-size: 0.9rem; opacity: 0.85; margin-top: 4px; }
.store-tabs {
  display: flex; gap: 4px; padding: 8px 16px;
  border-bottom: 1px solid var(--border-glass);
}
.store-tabs button {
  padding: 6px 16px; border-radius: 4px;
  background: none; border: none;
  color: var(--text-secondary); cursor: pointer;
  font-size: 0.8rem; transition: all 0.15s;
}
.store-tabs button:hover { color: #fff; }
.store-tabs button.active { color: var(--accent); background: rgba(0,120,212,0.1); }
.store-main {
  flex: 1; padding: 16px; overflow-y: auto;
}
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.store-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  border-radius: 8px; padding: 16px;
  display: flex; gap: 16px;
  cursor: pointer; transition: all 0.2s;
}
.store-item:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}
.store-item .icon {
  width: 56px; height: 56px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; flex-shrink: 0;
}
.store-item .info { flex: 1; }
.store-item .info .name { font-size: 0.95rem; font-weight: 600; }
.store-item .info .desc { font-size: 0.75rem; color: var(--text-secondary); margin-top: 2px; }
.store-item .info .meta { font-size: 0.7rem; color: var(--text-secondary); margin-top: 8px; }
.store-item .install-btn {
  padding: 6px 16px; border-radius: 4px;
  background: var(--accent); color: #fff;
  border: none; cursor: pointer; font-size: 0.8rem;
  font-weight: 500; align-self: center;
  transition: background 0.2s;
}
.store-item .install-btn:hover { background: var(--accent-hover); }
.store-item .install-btn.installed {
  background: rgba(255,255,255,0.1); color: var(--text-secondary);
}

/* ============================================
   APP: CALCULATOR
   ============================================ */
.calc-body {
  height: 100%; display: flex; flex-direction: column;
  background: #0f172a; padding: 12px;
}
.calc-display {
  background: rgba(0,0,0,0.2);
  border-radius: 8px; padding: 16px;
  text-align: right; font-size: 2.2rem;
  font-weight: 300; color: #fff;
  margin-bottom: 12px; min-height: 64px;
  display: flex; align-items: flex-end;
  justify-content: flex-end; word-break: break-all;
}
.calc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; flex: 1;
}
.calc-btn {
  border: none; border-radius: 6px;
  color: #fff; font-weight: 500;
  font-size: 1.1rem; cursor: pointer;
  transition: filter 0.1s;
  display: flex; align-items: center; justify-content: center;
}
.calc-btn:hover { filter: brightness(1.2); }
.calc-btn:active { filter: brightness(0.9); }
.calc-btn.fn { background: #374151; }
.calc-btn.op { background: #f97316; }
.calc-btn.num { background: #1f2937; }
.calc-btn.span2 { grid-column: span 2; }

/* ============================================
   APP: NOTEPAD
   ============================================ */
.np-body {
  height: 100%; display: flex; flex-direction: column;
  background: #0f172a;
}
.np-menu {
  display: flex; align-items: center;
  gap: 2px; padding: 4px 8px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.75rem; color: var(--text-secondary);
}
.np-menu span {
  padding: 4px 10px; border-radius: 4px;
  cursor: pointer; transition: background 0.15s;
}
.np-menu span:hover { background: rgba(255,255,255,0.08); color: #fff; }
.np-textarea {
  flex: 1; background: #0f172a;
  color: var(--text-primary); padding: 12px;
  resize: none; outline: none; border: none;
  font-size: 0.875rem; font-family: 'Consolas', monospace;
  line-height: 1.5;
}

/* ============================================
   APP: TERMINAL
   ============================================ */
.term-body {
  height: 100%; display: flex; flex-direction: column;
  background: #000; padding: 12px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.85rem; color: #4ade80;
  overflow-y: auto;
}
.term-line { margin-bottom: 4px; line-height: 1.4; }
.term-prompt { display: flex; align-items: center; gap: 6px; }
.term-prompt .path { color: #60a5fa; }
.term-input {
  background: transparent; outline: none; border: none;
  color: #4ade80; flex: 1;
  font-family: inherit; font-size: inherit;
}

/* ============================================
   GAMES
   ============================================ */

/* --- Minesweeper --- */
.mine-body {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #0f172a; padding: 16px;
}
.mine-header {
  display: flex; gap: 16px; margin-bottom: 12px;
  align-items: center;
}
.mine-counter {
  background: #000; color: #ef4444;
  font-family: monospace; font-size: 1.5rem;
  padding: 4px 8px; border-radius: 4px;
  min-width: 60px; text-align: center;
}
.mine-face {
  width: 40px; height: 40px; font-size: 1.5rem;
  background: #374151; border: none;
  border-radius: 4px; cursor: pointer;
}
.mine-grid {
  display: grid; gap: 1px;
  background: #475569; padding: 4px;
  border-radius: 4px;
}
.mine-cell {
  width: 28px; height: 28px;
  background: #64748b;
  border: none; display: flex;
  align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
  cursor: pointer; user-select: none;
  transition: background 0.1s;
}
.mine-cell:hover { background: #94a3b8; }
.mine-cell.revealed { background: #1e293b; cursor: default; }
.mine-cell.revealed:hover { background: #1e293b; }
.mine-cell.flagged { background: #f59e0b; }
.mine-cell.mine { background: #ef4444; }
.mine-cell.num1 { color: #3b82f6; }
.mine-cell.num2 { color: #22c55e; }
.mine-cell.num3 { color: #ef4444; }
.mine-cell.num4 { color: #a855f7; }
.mine-cell.num5 { color: #f97316; }
.mine-cell.num6 { color: #14b8a6; }
.mine-cell.num7 { color: #000; }
.mine-cell.num8 { color: #64748b; }

/* --- Solitaire --- */
.sol-body {
  height: 100%; display: flex; flex-direction: column;
  background: #14532d; padding: 12px; overflow: auto;
}
.sol-top {
  display: flex; justify-content: space-between;
  margin-bottom: 12px; gap: 8px;
}
.sol-stock, .sol-waste, .sol-foundation {
  display: flex; gap: 4px;
}
.sol-pile {
  width: 72px; min-height: 100px;
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 6px; position: relative;
}
.sol-card {
  width: 70px; height: 98px;
  background: #fff; border-radius: 6px;
  position: absolute;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  cursor: pointer; user-select: none;
  transition: transform 0.15s;
}
.sol-card:hover { transform: translateY(-4px); }
.sol-card.red { color: #dc2626; }
.sol-card.black { color: #1f2937; }
.sol-card.back {
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  color: transparent;
}
.sol-tableau {
  display: flex; gap: 8px; justify-content: center;
  flex: 1;
}
.sol-col { width: 72px; position: relative; }

/* --- Chess --- */
.chess-body {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #0f172a; padding: 16px;
}
.chess-board {
  display: grid; grid-template-columns: repeat(8, 1fr);
  width: 320px; height: 320px;
  border: 2px solid #78350f;
}
.chess-cell {
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; cursor: pointer;
  position: relative;
}
.chess-cell.light { background: #f0d9b5; }
.chess-cell.dark { background: #b58863; }
.chess-cell.selected { background: #fbbf24 !important; }
.chess-cell.valid-move::after {
  content: ''; position: absolute;
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(0,0,0,0.2);
}
.chess-cell.valid-capture::after {
  content: ''; position: absolute; inset: 0;
  border: 3px solid rgba(239,68,68,0.5);
}

/* --- Bomberman --- */
.bomb-body {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #064e3b; padding: 16px;
}
.bomb-board {
  display: grid; gap: 1px;
  background: #065f46; padding: 4px;
  border-radius: 4px;
}
.bomb-cell {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.bomb-cell.wall { background: #374151; }
.bomb-cell.brick { background: #92400e; }
.bomb-cell.empty { background: #10b981; }
.bomb-cell.bomb { background: #f59e0b; }
.bomb-cell.fire { background: #ef4444; }

/* --- Pinball --- */
.pin-body {
  height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #0f172a; padding: 16px;
}
.pin-canvas {
  border: 2px solid var(--border-glass);
  border-radius: 8px; background: #000;
}

/* ============================================
   UTILITIES
   ============================================ */
.hidden { display: none !important; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }


/* ============================================
   WEATHER WIDGET (Desktop)
   ============================================ */
#weather-widget {
  position: absolute;
  top: 16px; right: 16px;
  width: 220px;
  background: var(--bg-acrylic);
  backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow-menu);
  z-index: 50;
  cursor: default;
  transition: transform 0.2s;
}
#weather-widget:hover { transform: translateY(-2px); }
.ww-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
#ww-city {
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-primary);
}
#ww-refresh {
  background: none; border: none; color: var(--text-secondary);
  cursor: pointer; font-size: 0.8rem; padding: 2px 6px;
  border-radius: 4px; transition: background 0.15s;
}
#ww-refresh:hover { background: rgba(255,255,255,0.1); }
.ww-main {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 4px;
}
#ww-icon { font-size: 2.2rem; }
#ww-temp {
  font-size: 1.8rem; font-weight: 300;
  color: var(--text-primary);
}
#ww-desc {
  font-size: 0.75rem; color: var(--text-secondary);
  margin-bottom: 10px; text-transform: capitalize;
}
.ww-meta {
  display: flex; gap: 12px;
  font-size: 0.7rem; color: var(--text-secondary);
  margin-bottom: 10px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border-glass);
}
.ww-forecast {
  display: flex; justify-content: space-between;
  gap: 4px;
}
.ww-forecast-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  font-size: 0.65rem; color: var(--text-secondary);
}
.ww-forecast-item .day { font-weight: 600; }
.ww-forecast-item .icon { font-size: 1rem; }
.ww-open-btn {
  width: 100%; margin-top: 10px;
  padding: 6px; border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.75rem; cursor: pointer;
  transition: all 0.15s;
}
.ww-open-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ============================================
   APP: WEATHER (Full)
   ============================================ */
.weather-body {
  height: 100%; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0f172a 0%, #1e3a5f 100%);
  overflow-y: auto;
}
.weather-search-bar {
  display: flex; gap: 8px; padding: 16px;
  border-bottom: 1px solid var(--border-glass);
}
.weather-search-bar input {
  flex: 1; background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-glass);
  border-radius: 6px; padding: 8px 12px;
  color: var(--text-primary); font-family: inherit;
  outline: none; font-size: 0.85rem;
}
.weather-search-bar input:focus { border-color: var(--accent); }
.weather-search-bar button {
  padding: 8px 16px; border-radius: 6px;
  background: var(--accent); color: #fff;
  border: none; cursor: pointer; font-size: 0.8rem;
}
.weather-unit-toggle {
  padding: 8px 12px; border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  cursor: pointer; font-size: 0.8rem;
}
.weather-current {
  padding: 24px; text-align: center;
}
.weather-current .big-icon { font-size: 4rem; margin-bottom: 8px; }
.weather-current .big-temp { font-size: 3rem; font-weight: 200; }
.weather-current .big-desc { font-size: 1rem; color: var(--text-secondary); margin-top: 4px; text-transform: capitalize; }
.weather-current .big-feels { font-size: 0.8rem; color: var(--text-secondary); margin-top: 4px; }
.weather-details {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; padding: 0 16px 16px;
}
.weather-detail-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: 8px; padding: 12px;
  text-align: center;
}
.weather-detail-card .label { font-size: 0.65rem; color: var(--text-secondary); text-transform: uppercase; }
.weather-detail-card .value { font-size: 1rem; font-weight: 600; margin-top: 4px; }
.weather-forecast-full {
  padding: 16px;
}
.weather-forecast-full h3 {
  font-size: 0.85rem; color: var(--text-secondary);
  margin-bottom: 12px; text-transform: uppercase;
}
.wf-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-glass);
}
.wf-row:last-child { border-bottom: none; }
.wf-row .day { width: 40px; font-size: 0.8rem; }
.wf-row .icon { font-size: 1.2rem; width: 30px; text-align: center; }
.wf-row .temp-range { font-size: 0.8rem; color: var(--text-secondary); }
.wf-row .temp-high { color: var(--text-primary); font-weight: 500; }

/* ============================================
   APP: MAPS
   ============================================ */
.maps-body {
  height: 100%; display: flex; flex-direction: column;
  background: #0f172a;
}
.maps-toolbar {
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-glass);
  display: flex; flex-direction: column; gap: 8px;
}
.maps-input-row {
  display: flex; gap: 8px; align-items: center;
}
.maps-input-row input {
  flex: 1; background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-glass);
  border-radius: 6px; padding: 6px 10px;
  color: var(--text-primary); font-family: inherit;
  font-size: 0.8rem; outline: none;
}
.maps-input-row input:focus { border-color: var(--accent); }
.maps-input-row button {
  padding: 6px 14px; border-radius: 6px;
  background: var(--accent); color: #fff;
  border: none; cursor: pointer; font-size: 0.75rem;
  white-space: nowrap;
}
.maps-viewport {
  flex: 1; position: relative;
  overflow: hidden; background: #e5e7eb;
}
.maps-tiles {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
}
.maps-tile {
  position: absolute;
  width: 256px; height: 256px;
  image-rendering: auto;
  user-select: none; pointer-events: none;
}
.maps-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  font-size: 1.5rem; z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  pointer-events: none;
}
.maps-route {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 5;
}
.maps-controls {
  position: absolute; bottom: 16px; right: 16px;
  display: flex; flex-direction: column; gap: 4px;
  z-index: 20;
}
.maps-controls button {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--bg-acrylic);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.maps-info {
  position: absolute; top: 12px; left: 12px;
  background: var(--bg-acrylic);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 8px; padding: 10px 14px;
  font-size: 0.75rem; color: var(--text-secondary);
  z-index: 20; max-width: 200px;
}

/* ============================================
   DICTIONARY (Start Menu)
   ============================================ */
.sm-dict {
  margin: 0 24px 12px;
  padding: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  animation: slideUp 0.2s ease;
}
.sm-dict-word {
  font-size: 1rem; font-weight: 600;
  color: var(--text-primary);
}
.sm-dict-phonetic {
  font-size: 0.75rem; color: var(--accent-light);
  margin-top: 2px;
}
.sm-dict-meaning {
  font-size: 0.8rem; color: var(--text-secondary);
  margin-top: 6px; line-height: 1.4;
}

/* Windows Logo */
.win-logo {
  width: 64px; height: 64px;
}
#boot .win-logo {
  width: 80px; height: 80px;
  animation: bootPulse 2s ease-in-out infinite;
}
