/* =====================================================
   AIR PAINT – Global Design System
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #0a0a12;
  --bg-mid: #111120;
  --bg-card: rgba(255,255,255,0.04);
  --bg-glass: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.08);
  --border-bright: rgba(255,255,255,0.15);
  --accent: #a855f7;
  --accent2: #38bdf8;
  --accent-glow: rgba(168,85,247,0.35);
  --text-primary: #f1f5f9;
  --text-muted: #64748b;
  --text-dim: #334155;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --toolbar-w: 100px;
  --topbar-h: 58px;
  --shadow-glow: 0 0 30px rgba(168,85,247,0.25);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  height: 100%; width: 100%;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  user-select: none;
}

/* ====== Background particles ====== */
.bg-particles {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.bg-particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0;
}
@keyframes floatParticle {
  0%   { transform: translateY(110vh) scale(0.5); opacity: 0; }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

/* ====== Topbar ====== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  background: rgba(10,10,18,0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 30px rgba(0,0,0,0.5);
}
.topbar-left { display: flex; align-items: center; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  font-size: 26px;
  filter: drop-shadow(0 0 12px rgba(168,85,247,0.7));
  animation: logoFloat 3s ease-in-out infinite;
}
@keyframes logoFloat {
  0%,100%{transform:translateY(0) rotate(-5deg);}
  50%{transform:translateY(-4px) rotate(5deg);}
}
.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 22px; font-weight: 400;
  background: linear-gradient(135deg, #a855f7, #38bdf8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-text strong { font-weight: 800; }

.topbar-center { display: flex; align-items: center; gap: 12px; }
.status-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.status-pill.active { color: #4ade80; border-color: rgba(74,222,128,0.3); }
.status-pill.drawing { color: #a855f7; border-color: rgba(168,85,247,0.5); }

.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-muted);
  transition: background var(--transition), box-shadow var(--transition);
}
.status-pill.active .status-dot {
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80, 0 0 20px rgba(74,222,128,0.5);
  animation: pulse 1.5s ease-in-out infinite;
}
.status-pill.drawing .status-dot {
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7, 0 0 20px rgba(168,85,247,0.7);
  animation: pulse 0.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100%{transform:scale(1);}50%{transform:scale(1.4);}
}

.topbar-right { display:flex; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-primary); font-size: 16px;
  cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.icon-btn:hover {
  background: rgba(168,85,247,0.2);
  border-color: rgba(168,85,247,0.5);
  transform: scale(1.05);
}

/* ====== Canvas Area ====== */
.canvas-area {
  position: fixed;
  top: var(--topbar-h);
  left: var(--toolbar-w);
  right: var(--toolbar-w);
  bottom: 0;
  z-index: 1;
  overflow: hidden;
  cursor: crosshair;
  background: #0d0d1a;
}
#drawCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  touch-action: none;
}
#previewCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  pointer-events: none !important;
  z-index: 5;
}

/* Finger cursor */
.finger-cursor {
  position: absolute; z-index: 20; pointer-events: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: rgba(168,85,247,0.3);
  box-shadow: 0 0 15px rgba(168,85,247,0.7), 0 0 30px rgba(168,85,247,0.3);
  transform: translate(-50%,-50%);
  transition: width 0.1s, height 0.1s, opacity 0.2s;
  display: none;
}
.finger-cursor.active { display: block; }
.finger-cursor.drawing {
  background: var(--activeColor, rgba(168,85,247,0.5));
  box-shadow: 0 0 20px var(--activeColor, rgba(168,85,247,0.7));
  animation: cursorPulse 0.6s ease-in-out infinite;
}
@keyframes cursorPulse {
  0%,100%{transform:translate(-50%,-50%) scale(1);}
  50%{transform:translate(-50%,-50%) scale(1.3);}
}
.finger-cursor.erasing {
  background: rgba(255,100,100,0.3);
  border-color: #ff6464;
  box-shadow: 0 0 20px rgba(255,100,100,0.6);
  width: 36px; height: 36px;
}

/* Camera PIP */
.cam-pip {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 220px; height: 165px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-bright);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  z-index: 10;
  transition: var(--transition);
  background: #000;
}
.cam-pip:hover { transform: scale(1.03); box-shadow: var(--shadow-glow); }
.cam-pip.hidden { transform: translateX(260px); opacity: 0; }
#inputVideo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scaleX(-1);
}
#landmarkCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform: scaleX(-1);
}

/* ====== Toolbars ====== */
.toolbar {
  position: fixed; top: var(--topbar-h); bottom: 0; z-index: 50;
  width: var(--toolbar-w);
  background: rgba(10,10,18,0.88);
  backdrop-filter: blur(24px) saturate(1.6);
  border: none;
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 8px;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.toolbar-left { left: 0; border-right: 1px solid var(--border); }
.toolbar-right { right: 0; border-left: 1px solid var(--border); }

.toolbar-section {
  display: flex; flex-direction: column;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  gap: 4px;
}
.toolbar-section:last-child { border-bottom: none; }

.section-label {
  font-size: 9px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--text-dim);
  padding: 0 4px;
}

/* Brush grid */
.brush-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
}

/* Tool buttons */
.tool-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 6px 2px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer; color: var(--text-muted);
  font-size: 16px; transition: var(--transition);
  width: 100%;
}
.tool-btn:hover {
  background: var(--bg-glass);
  border-color: var(--border-bright);
  color: var(--text-primary);
  transform: translateY(-1px);
}
.tool-btn.active {
  background: rgba(168,85,247,0.15);
  border-color: rgba(168,85,247,0.5);
  color: #a855f7;
  box-shadow: 0 0 14px rgba(168,85,247,0.2);
}
.tool-label { font-size: 7px; font-weight: 600; letter-spacing: 0.3px; }

/* Shapes grid */
.shapes-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 3px; padding: 2px 0;
}
.shape-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 28px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-glass);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.shape-btn:hover {
  background: rgba(168,85,247,0.1);
  border-color: var(--border-bright);
  transform: scale(1.05);
}
.shape-btn.active {
  background: rgba(168,85,247,0.2);
  border-color: rgba(168,85,247,0.5);
  box-shadow: 0 0 10px rgba(168,85,247,0.2);
}

/* Toggle buttons (mirror, fill) */
.toggle-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; padding: 6px 4px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer; color: var(--text-muted);
  font-size: 13px; transition: var(--transition);
  width: 100%;
}
.toggle-btn:hover {
  background: rgba(56,189,248,0.1);
  border-color: var(--border-bright);
  color: var(--text-primary);
}
.toggle-btn.active {
  background: rgba(56,189,248,0.15);
  border-color: rgba(56,189,248,0.5);
  color: #38bdf8;
  box-shadow: 0 0 10px rgba(56,189,248,0.2);
}

/* Effects row */
.effects-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3px;
}

/* Gesture guide */
.gesture-guide { display: flex; flex-direction: column; gap: 2px; padding: 2px 0; }
.gesture-item {
  display: flex; align-items: center; gap: 4px;
  font-size: 8px; color: var(--text-muted);
  padding: 2px 3px;
  border-radius: 4px;
  transition: var(--transition);
}
.gesture-item:hover { background: var(--bg-glass); color: var(--text-primary); }
.g-icon { font-size: 11px; }

/* Color palette */
.color-palette {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5px; padding: 2px 0;
}
.color-swatch {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer; transition: var(--transition);
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.color-swatch:hover { transform: scale(1.2); box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.color-swatch.active {
  border-color: #fff;
  transform: scale(1.2);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.2), 0 4px 15px rgba(0,0,0,0.5);
}

.custom-color-row { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.color-picker {
  width: 100%; height: 32px;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  cursor: pointer;
  padding: 2px;
}

/* Sliders */
.slider-row {
  display: flex; align-items: center; gap: 6px;
}
.slider {
  flex: 1; height: 4px;
  -webkit-appearance: none; appearance: none;
  background: linear-gradient(to right, #a855f7, #38bdf8);
  border-radius: 4px; cursor: pointer; outline: none;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px rgba(168,85,247,0.8);
  cursor: grab;
  transition: box-shadow 0.2s;
}
.slider::-webkit-slider-thumb:active { cursor: grabbing; box-shadow: 0 0 12px rgba(168,85,247,1); }
.slider-value { font-size: 10px; color: var(--text-muted); min-width: 28px; text-align: right; }

.brush-preview-wrap {
  display: flex; align-items: center; justify-content: center;
  height: 40px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.brush-preview {
  border-radius: 50%;
  background: #FF6B9D;
  transition: all 0.2s;
}

/* Action buttons */
.action-btn {
  width: 100%; padding: 9px 4px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 11px; font-weight: 500;
  cursor: pointer; transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.action-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-bright);
  transform: translateY(-1px);
}
.action-btn.accent {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  border-color: rgba(168,85,247,0.5);
  font-weight: 600;
}
.action-btn.accent:hover {
  background: linear-gradient(135deg, #b970f8, #8b5cf6);
  box-shadow: var(--shadow-glow);
}

/* ====== Onboarding Overlay ====== */
.onboarding {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5,5,12,0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1),
              transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.onboarding.hiding {
  opacity: 0; pointer-events: none;
  transform: scale(0.95);
}
.onboard-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 20px; padding: 48px 52px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 60px rgba(168,85,247,0.15);
  max-width: 520px; width: 90%;
  animation: cardEntrance 0.7s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes cardEntrance {
  0%{opacity:0;transform:scale(0.85) translateY(30px);}
  100%{opacity:1;transform:scale(1) translateY(0);}
}
.onboard-icon {
  font-size: 72px;
  filter: drop-shadow(0 0 24px rgba(168,85,247,0.7));
  animation: logoFloat 2.5s ease-in-out infinite;
}
.onboard-card h1 {
  font-family: 'Outfit', sans-serif; font-size: 40px; font-weight: 400;
  background: linear-gradient(135deg, #a855f7, #38bdf8, #a855f7);
  background-size: 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}
.onboard-card h1 strong { font-weight: 800; }
@keyframes shimmer {
  0%{background-position:0%;}100%{background-position:200%;}
}
.onboard-card p {
  text-align: center; color: var(--text-muted); line-height: 1.7; font-size: 15px;
}
.onboard-gestures {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}
.og-item {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 14px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-md);
  font-size: 26px;
  transition: var(--transition);
}
.og-item:hover {
  background: rgba(168,85,247,0.1);
  border-color: rgba(168,85,247,0.4);
  transform: translateY(-3px);
}
.og-item small { font-size: 10px; color: var(--text-muted); white-space: nowrap; }
.start-btn {
  padding: 15px 40px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  border: none; border-radius: var(--radius-md);
  color: #fff; font-family: 'Outfit', sans-serif;
  font-size: 17px; font-weight: 600; cursor: pointer;
  box-shadow: 0 8px 30px rgba(168,85,247,0.4);
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.start-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 40px rgba(168,85,247,0.6);
}
.start-btn:active { transform: scale(0.98); }

/* ====== Toast ====== */
.toast-container {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.toast {
  padding: 10px 22px;
  background: rgba(20,20,35,0.95);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-size: 13px; font-weight: 500;
  color: var(--text-primary);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: toastIn 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
  pointer-events: none;
}
.toast.out { animation: toastOut 0.3s ease forwards; }
@keyframes toastIn { from{opacity:0;transform:translateY(14px) scale(0.9);}to{opacity:1;transform:translateY(0) scale(1);} }
@keyframes toastOut { from{opacity:1;transform:translateY(0);}to{opacity:0;transform:translateY(-10px);} }

/* ====== Footer ====== */
.site-footer {
  position: fixed;
  bottom: 0;
  left: var(--toolbar-w);
  right: var(--toolbar-w);
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background: rgba(10,10,18,0.80);
  backdrop-filter: blur(16px) saturate(1.6);
  border-top: 1px solid var(--border);
}
.footer-text {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.footer-text a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.footer-text a:hover {
  color: var(--accent2);
  text-shadow: 0 0 8px rgba(56,189,248,0.5);
}
.footer-divider {
  margin: 0 8px;
  color: var(--text-dim);
}

/* ====== Scrollbar ====== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 4px; }

/* ====== Mobile Bottom Bar ====== */
.mobile-bar {
  display: none; /* hidden on desktop */
}
.mobile-panel {
  display: none; /* hidden on desktop */
}

/* ====== Responsive ====== */
@media (max-width: 640px) {
  :root { --toolbar-w: 0px; --topbar-h: 48px; }

  /* Hide desktop toolbars on mobile */
  .toolbar-left, .toolbar-right { display: none !important; }
  .topbar-right { display: none; }

  /* Topbar compact */
  .topbar { height: var(--topbar-h); padding: 0 12px; }
  .logo-icon { font-size: 20px; }
  .logo-text { font-size: 17px; }
  .status-pill { font-size: 10px; padding: 4px 10px; }

  /* Canvas takes full width, leave room for bottom bar */
  .canvas-area {
    left: 0; right: 0;
    bottom: 56px;
  }

  /* Camera PiP smaller on mobile */
  .cam-pip { width: 120px; height: 90px; bottom: 10px; right: 10px; }

  /* Footer above mobile bar */
  .site-footer {
    left: 0; right: 0;
    bottom: 56px;
    padding: 4px 12px;
  }
  .footer-text { font-size: 8px; }

  /* Toast above footer */
  .toast-container { bottom: 100px; }

  /* ── Mobile Bottom Bar ── */
  .mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 110;
    height: 56px;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0 6px;
    background: rgba(10,10,18,0.92);
    backdrop-filter: blur(20px) saturate(1.8);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 20px rgba(0,0,0,0.5);
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .mob-btn {
    display: flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .mob-btn:active {
    transform: scale(0.9);
    background: rgba(168,85,247,0.2);
  }
  .mob-btn.active {
    background: rgba(168,85,247,0.18);
    border-color: rgba(168,85,247,0.5);
    color: #a855f7;
  }
  .mob-color-dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    display: block;
  }
  .mob-divider {
    width: 1px; height: 24px;
    background: var(--border-bright);
    margin: 0 4px;
    flex-shrink: 0;
  }

  /* ── Mobile Settings Panel ── */
  .mobile-panel {
    display: block;
    position: fixed;
    bottom: 56px; left: 0; right: 0;
    z-index: 105;
    background: rgba(10,10,18,0.95);
    backdrop-filter: blur(24px) saturate(1.6);
    border-top: 1px solid var(--border-bright);
    border-radius: 18px 18px 0 0;
    padding: 0 16px 16px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 60vh;
    overflow-y: auto;
  }
  .mobile-panel.open {
    transform: translateY(0);
  }
  .mobile-panel-handle {
    width: 36px; height: 4px;
    background: var(--border-bright);
    border-radius: 4px;
    margin: 10px auto 14px;
  }
  .mobile-panel-content {
    display: flex; flex-direction: column; gap: 14px;
  }
  .mp-section {
    display: flex; flex-direction: column; gap: 8px;
  }
  .mp-label {
    font-size: 10px; font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-dim);
  }
  .mp-colors {
    display: flex; gap: 8px; flex-wrap: wrap;
  }
  .mp-swatch {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 2.5px solid transparent;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
  }
  .mp-tools-row {
    display: flex; gap: 6px; flex-wrap: wrap;
  }
  .mp-tool-btn {
    width: 44px; height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-glass);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }
  .mp-tool-btn:active { transform: scale(0.9); }
  .mp-tool-btn.active {
    background: rgba(168,85,247,0.18);
    border-color: rgba(168,85,247,0.5);
    box-shadow: 0 0 10px rgba(168,85,247,0.2);
  }
  .mp-swatch:active { transform: scale(0.9); }
  .mp-swatch.active {
    border-color: #fff;
    transform: scale(1.15);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2), 0 4px 12px rgba(0,0,0,0.5);
  }

  /* Onboarding responsive */
  .onboard-card {
    padding: 28px 20px;
    gap: 14px;
  }
  .onboard-icon { font-size: 48px; }
  .onboard-card h1 { font-size: 28px; }
  .onboard-card p { font-size: 13px; line-height: 1.5; }
  .onboard-gestures { gap: 8px; }
  .og-item { padding: 10px 12px; font-size: 20px; }
  .og-item small { font-size: 9px; }
  .start-btn { padding: 12px 32px; font-size: 15px; }
}
