/* LITTLESITE · PHONES — Gesture (2023 Glass): the phone in the hand now.
   A mark on black, a lock screen swiped up, widgets and squircles over a
   deep wallpaper, translucent sheets, a gesture bar. The variables the
   desk's parts and a game in a window read as the look are set here, so
   a game wears the phone as it wears a desk look (apps.js look). */
.phone-gesture {
  --phone-ink: #f2f2f7;
  --phone-glass: rgba(255, 255, 255, 0.12);
  --phone-glass-strong: rgba(26, 26, 44, 0.94);
  --phone-accent: #6c63ff;
  --phone-wallpaper: radial-gradient(120% 80% at 20% 10%, #3b2d8f 0%, #141432 45%, #07070f 100%);
  --desktop-bg: var(--phone-wallpaper);
  --window-bg: #101020;
  --window-border: rgba(255, 255, 255, 0.14);
  --window-active-border: var(--phone-accent);
  --accent: var(--phone-accent);
  --accent-hover: #7c73ff;
  --accent-glow: rgba(108, 99, 255, 0.4);
  --surface: var(--phone-glass-strong);
  --surface-hover: rgba(50, 50, 80, 0.95);
  --taskbar-bg: rgba(10, 10, 20, 0.9);
  --text-primary: var(--phone-ink);
  --text-main: var(--phone-ink);
  --text-secondary: #a0a0b8;
  background: #07070f;
  color: var(--phone-ink);
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
}
.phone-gesture #desktop { background: var(--phone-wallpaper) !important; }

.phone-gesture .phone-status { color: var(--phone-ink); font-weight: 600; background: #07070f; }
.phone-gesture .phone-status-signal, .phone-gesture .phone-status-battery { font-size: 12px; letter-spacing: 1px; opacity: 0.9; }

.phone-gesture .phone-widget-time { font-size: 54px; font-weight: 200; letter-spacing: -2px; line-height: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4); }
.phone-gesture .phone-widget-date { font-size: 15px; margin-top: 6px; opacity: 0.85; }
.phone-gesture .phone-app-icon {
  background: var(--phone-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 10px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.phone-gesture .phone-app:active .phone-app-icon { transform: scale(0.94); }
.phone-gesture .phone-app:focus-visible .phone-app-icon { outline: 2px solid var(--phone-accent); outline-offset: 2px; }
.phone-gesture .phone-app-label { color: var(--phone-ink); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }

.phone-gesture .phone-nav { background: #07070f; color: var(--phone-ink); }

.phone-gesture .phone-recents, .phone-gesture .phone-settings { background: rgba(8, 8, 18, 0.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: var(--phone-ink); }
.phone-gesture .phone-card { background: var(--phone-glass); }
.phone-gesture .phone-card.active { box-shadow: 0 0 0 2px var(--phone-accent); }
.phone-gesture .phone-card:focus-visible { outline: 2px solid var(--phone-accent); }
.phone-gesture .phone-recents-clear { background: var(--phone-glass); color: var(--phone-ink); }
.phone-gesture .phone-row { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.phone-gesture .phone-row:focus-visible { outline: 2px solid var(--phone-accent); outline-offset: -2px; border-radius: 10px; }
.phone-gesture .phone-switch { background: rgba(255, 255, 255, 0.22); }
.phone-gesture .phone-switch[aria-checked="true"] { background: var(--phone-accent); }

.phone-gesture .context-menu { background: var(--phone-glass-strong); border: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 0; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.phone-gesture .context-menu-item { color: var(--phone-ink); }
.phone-gesture .context-menu-item:hover, .phone-gesture .context-menu-item:focus { background: var(--phone-accent); color: #ffffff; }
.phone-gesture .context-menu-divider { background: rgba(255, 255, 255, 0.1); }

.phone-gesture dialog.desk-dialog { background: var(--phone-glass-strong); color: var(--phone-ink); border-color: rgba(255, 255, 255, 0.14); }
.phone-gesture dialog.desk-dialog button { min-height: 44px; }
