/* ═══════════════════════════════════════════
   Panipaali â€” Mobile-First Design System v2
   Deep Gen-Z aesthetic, touch-optimized
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Syne:wght@700;800&family=JetBrains+Mono:wght@400;600&display=swap');

/* ─€─€ Tokens ─€─€ */
:root {
  --bg:        #060610;
  --bg2:       #0c0c1e;
  --bg3:       #13132a;
  --surface:   rgba(255,255,255,0.035);
  --surface2:  rgba(255,255,255,0.07);
  --surface3:  rgba(255,255,255,0.11);
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.14);
  --border3:   rgba(255,255,255,0.22);

  --neon:      #ff2d55;
  --neon2:     #ff6b35;
  --violet:    #7c3aed;
  --violet2:   #a855f7;
  --cyan:      #06d6a0;
  --cyan2:     #0af5c0;
  --gold:      #ffd60a;
  --gold2:     #ffae00;
  --pink:      #f72585;

  --grad-fire:   linear-gradient(135deg, #ff2d55 0%, #ff6b35 100%);
  --grad-vent:   linear-gradient(135deg, #7c3aed 0%, #ff2d55 60%, #ff6b35 100%);
  --grad-earn:   linear-gradient(135deg, #06d6a0 0%, #0096c7 100%);
  --grad-gold:   linear-gradient(135deg, #ffd60a 0%, #ff9500 100%);
  --grad-violet: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --grad-bg:     radial-gradient(ellipse at 15% 40%, rgba(124,58,237,0.18) 0%, transparent 55%),
                 radial-gradient(ellipse at 85% 15%, rgba(255,45,85,0.14) 0%, transparent 50%),
                 radial-gradient(ellipse at 55% 85%, rgba(6,214,160,0.09) 0%, transparent 50%);

  --text:      #f0f0ff;
  --text2:     rgba(240,240,255,0.58);
  --text3:     rgba(240,240,255,0.32);

  /* Touch-friendly sizes */
  --touch-min: 44px;
  --touch-lg:  52px;

  --r-xs:   6px;
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   22px;
  --r-xl:   30px;
  --r-2xl:  40px;
  --r-pill: 999px;

  --shadow-neon:   0 0 24px rgba(255,45,85,0.45), 0 0 60px rgba(255,45,85,0.15);
  --shadow-cyan:   0 0 24px rgba(6,214,160,0.45), 0 0 60px rgba(6,214,160,0.15);
  --shadow-violet: 0 0 24px rgba(124,58,237,0.45), 0 0 60px rgba(124,58,237,0.15);
  --shadow-card:   0 8px 40px rgba(0,0,0,0.55), 0 2px 8px rgba(0,0,0,0.3);
  --shadow-lift:   0 20px 60px rgba(0,0,0,0.6);

  --font-main: 'Space Grotesk', sans-serif;
  --font-head: 'Syne', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Safe areas for notched phones */
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);
}

/* ─€─€ Reset ─€─€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  /* Momentum scrolling on iOS */
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button {
  cursor: pointer;
  font-family: var(--font-main);
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
input, select, textarea {
  font-family: var(--font-main);
  outline: none;
  border: none;
  -webkit-appearance: none;
  appearance: none;
}
img { display: block; max-width: 100%; }

/* ─€─€ Noise texture ─€─€ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ─€─€ Scrollbar ─€─€ */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.5); border-radius: 2px; }

/* ══════════════════════════════
   LAYOUT â€” MOBILE FIRST
══════════════════════════════ */
.page {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  background: var(--bg);
  background-image: var(--grad-bg);
}

.container { max-width: 480px; margin: 0 auto; padding: 0 18px; }
.container--wide { max-width: 960px; margin: 0 auto; padding: 0 18px; }

/* ─€─€ Nav â€” mobile ─€─€ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  padding-top: calc(14px + var(--safe-top));
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,6,16,0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav__logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  line-height: 1;
}
.nav__logo span { color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.nav__actions { display: flex; gap: 8px; align-items: center; }

/* ══════════════════════════════
   BUTTONS â€” touch-optimized
══════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: var(--touch-min);
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.18s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.15s;
}
.btn:active { transform: scale(0.95) !important; }
.btn:active::after { background: rgba(255,255,255,0.1); }

.btn--fire {
  background: var(--grad-fire);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,45,85,0.35);
}
.btn--fire:hover { box-shadow: 0 6px 32px rgba(255,45,85,0.55); transform: translateY(-1px); }

.btn--earn {
  background: var(--grad-earn);
  color: #fff;
  box-shadow: 0 4px 20px rgba(6,214,160,0.35);
}
.btn--earn:hover { box-shadow: 0 6px 32px rgba(6,214,160,0.55); transform: translateY(-1px); }

.btn--ghost {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn--ghost:hover { background: var(--surface3); border-color: var(--border3); }

.btn--violet {
  background: var(--grad-violet);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn--violet:hover { box-shadow: 0 6px 32px rgba(124,58,237,0.6); transform: translateY(-1px); }

.btn--gold {
  background: var(--grad-gold);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255,214,10,0.3);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
  min-height: var(--touch-lg);
  border-radius: var(--r-pill);
}
.btn--sm {
  padding: 8px 16px;
  font-size: 0.8rem;
  min-height: 36px;
}
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.4; pointer-events: none; }

/* Haptic feel via scale */
@media (hover: none) {
  .btn:hover { transform: none !important; box-shadow: inherit; }
  .btn:active { transform: scale(0.94) !important; }
}

/* ══════════════════════════════
   CARDS / GLASS
══════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 22px;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s;
}

.card--glow-fire { border-color: rgba(255,45,85,0.28); box-shadow: 0 0 32px rgba(255,45,85,0.1), var(--shadow-card); }
.card--glow-cyan { border-color: rgba(6,214,160,0.28); box-shadow: 0 0 32px rgba(6,214,160,0.1), var(--shadow-card); }
.card--glow-violet { border-color: rgba(124,58,237,0.28); box-shadow: 0 0 32px rgba(124,58,237,0.1), var(--shadow-card); }
.card--glow-gold { border-color: rgba(255,214,10,0.25); box-shadow: 0 0 32px rgba(255,214,10,0.08), var(--shadow-card); }
.card--interactive { cursor: pointer; transition: all 0.2s; }
.card--interactive:active { transform: scale(0.98); }

/* ══════════════════════════════
   FORM â€” touch-friendly
══════════════════════════════ */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 0.75rem; font-weight: 600; color: var(--text3); text-transform: uppercase; letter-spacing: 0.9px; }

.input {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 15px 16px;
  color: var(--text);
  font-size: 16px; /* prevent iOS zoom */
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  min-height: var(--touch-min);
}
.input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(255,45,85,0.12);
  background: rgba(255,255,255,0.06);
}
.input::placeholder { color: var(--text3); }

.input-wrap { position: relative; }
.input-wrap .input { padding-left: 46px; }
.input-wrap .input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text3);
  font-size: 1rem;
  pointer-events: none;
  line-height: 1;
}

/* ─€─€ Toggle ─€─€ */
.toggle-wrap { display: flex; align-items: center; gap: 12px; }
.toggle { position: relative; width: 54px; height: 30px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--surface3);
  border-radius: var(--r-pill);
  cursor: pointer;
  border: 1.5px solid var(--border2);
  transition: 0.3s;
}
.toggle__slider::before {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  left: 3px; top: 3px;
  background: var(--text3);
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.toggle input:checked + .toggle__slider { background: var(--grad-earn); border-color: transparent; box-shadow: 0 0 12px rgba(6,214,160,0.35); }
.toggle input:checked + .toggle__slider::before { transform: translateX(24px); background: #fff; }

/* ══════════════════════════════
   BADGES
══════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}
.badge--fire   { background: rgba(255,45,85,0.12);  color: #ff5577; border: 1px solid rgba(255,45,85,0.28); }
.badge--cyan   { background: rgba(6,214,160,0.12);  color: var(--cyan2); border: 1px solid rgba(6,214,160,0.28); }
.badge--gold   { background: rgba(255,214,10,0.12); color: var(--gold);  border: 1px solid rgba(255,214,10,0.28); }
.badge--violet { background: rgba(124,58,237,0.12); color: var(--violet2); border: 1px solid rgba(124,58,237,0.28); }
.badge--pink   { background: rgba(247,37,133,0.12); color: #ff4da6; border: 1px solid rgba(247,37,133,0.28); }

/* ══════════════════════════════
   TYPOGRAPHY
══════════════════════════════ */
.text-grad-fire   { background: var(--grad-fire);   -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-grad-earn   { background: var(--grad-earn);   -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-grad-vent   { background: var(--grad-vent);   -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-grad-gold   { background: var(--grad-gold);   -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-grad-violet { background: var(--grad-violet); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-mono   { font-family: var(--font-mono); }
.text-muted  { color: var(--text2); }
.text-faint  { color: var(--text3); }
.text-center { text-align: center; }

/* ══════════════════════════════
   AVATAR
══════════════════════════════ */
.avatar {
  border-radius: 50%;
  background: var(--grad-vent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-head);
  flex-shrink: 0;
}
.avatar--sm { width: 38px; height: 38px; font-size: 0.85rem; }
.avatar--md { width: 52px; height: 52px; font-size: 1.1rem; }
.avatar--lg { width: 80px; height: 80px; font-size: 1.8rem; }
.avatar--xl { width: 110px; height: 110px; font-size: 2.2rem; }

/* ══════════════════════════════
   DIVIDER
══════════════════════════════ */
.divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--text3); font-size: 0.78rem; font-weight: 500;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
@keyframes pulse-fire {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,45,85,0.6); }
  50%       { box-shadow: 0 0 0 18px rgba(255,45,85,0); }
}
@keyframes pulse-cyan {
  0%, 100% { box-shadow: 0 0 0 0 rgba(6,214,160,0.6); }
  50%       { box-shadow: 0 0 0 18px rgba(6,214,160,0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -400% center; }
  100% { background-position: 400% center; }
}
@keyframes wave {
  0%, 100% { transform: scaleY(0.25); }
  50%       { transform: scaleY(1); }
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
@keyframes ripple {
  0%   { transform: scale(0); opacity: 0.6; }
  100% { transform: scale(4); opacity: 0; }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}
@keyframes slide-in-bottom {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.anim-fade-up       { animation: fadeInUp 0.5s ease forwards; }
.anim-float         { animation: float 3.5s ease-in-out infinite; }
.anim-pulse-fire    { animation: pulse-fire 2.2s ease-in-out infinite; }
.anim-pulse-cyan    { animation: pulse-cyan 2.2s ease-in-out infinite; }

/* Staggered children */
.stagger-children > * { animation: fadeInUp 0.5s ease both; }
.stagger-children > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.12s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.19s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.26s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.33s; }

/* ══════════════════════════════
   SHIMMER LOADING STATE
══════════════════════════════ */
.shimmer {
  background: linear-gradient(90deg, var(--surface2) 25%, var(--surface3) 50%, var(--surface2) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease infinite;
  border-radius: var(--r-md);
}

/* ══════════════════════════════
   CRISIS BANNER
══════════════════════════════ */
.crisis-banner {
  background: rgba(255,214,10,0.07);
  border: 1px solid rgba(255,214,10,0.22);
  border-radius: var(--r-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  color: var(--gold);
  line-height: 1.4;
}
.crisis-banner a { color: var(--gold); font-weight: 700; text-decoration: underline; }

/* ══════════════════════════════
   TOAST â€” slide up from bottom
══════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: calc(80px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  align-items: center;
  pointer-events: none;
  width: calc(100% - 40px);
  max-width: 360px;
}
.toast {
  background: rgba(20,20,36,0.96);
  border: 1px solid var(--border3);
  border-radius: var(--r-pill);
  padding: 12px 22px;
  font-size: 0.85rem;
  font-weight: 500;
  animation: slideUp 0.35s cubic-bezier(0.34,1.56,0.64,1);
  backdrop-filter: blur(24px);
  white-space: nowrap;
  pointer-events: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

/* ══════════════════════════════
   BOTTOM NAV â€” mobile first
══════════════════════════════ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(6,6,16,0.96);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 8px 8px calc(8px + var(--safe-bottom));
  z-index: 50;
  gap: 0;
}
.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 12px;
  border-radius: var(--r-lg);
  color: var(--text3);
  font-size: 0.65rem;
  font-weight: 600;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  min-width: 56px;
  min-height: var(--touch-min);
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav__item--active { color: var(--neon); }
.bottom-nav__item--active .bottom-nav__icon { filter: drop-shadow(0 0 6px rgba(255,45,85,0.6)); }
.bottom-nav__icon { font-size: 1.35rem; line-height: 1; }
.bottom-nav__label { font-size: 0.6rem; letter-spacing: 0.3px; }

/* FAB button in bottom nav */
.bottom-nav__fab {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--grad-fire);
  box-shadow: var(--shadow-neon);
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  margin-top: -22px;
  min-width: 58px;
  min-height: 58px;
  flex-direction: row;
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
}
.bottom-nav__fab:active { transform: scale(0.9); }
.bottom-nav__fab .bottom-nav__icon { font-size: 1.7rem; }

/* Active indicator dot */
.bottom-nav__item--active::after {
  content: '';
  display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--neon);
  margin-top: 2px;
  box-shadow: 0 0 6px var(--neon);
}

/* ══════════════════════════════
   PAGE BODY PADDING for bottom nav
══════════════════════════════ */
.has-bottom-nav {
  padding-bottom: calc(80px + var(--safe-bottom));
}

/* ══════════════════════════════
   MODAL â€” slide up sheet (mobile)
══════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6,6,16,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: flex-end; /* sheet from bottom */
  justify-content: center;
  padding: 0;
  z-index: 200;
}
.modal {
  width: 100%;
  max-width: 480px;
  text-align: center;
  padding: 28px 24px calc(28px + var(--safe-bottom));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  animation: slideUp 0.38s cubic-bezier(0.34,1.56,0.64,1);
  max-height: 90vh;
  overflow-y: auto;
}

/* Pull handle for modals */
.modal::before {
  content: '';
  display: block;
  width: 40px; height: 4px;
  background: var(--border3);
  border-radius: 2px;
  margin: 0 auto 24px;
}

/* ══════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════ */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .container--wide { padding: 0 32px; }
  .nav { padding: 16px 28px; }
  .modal-overlay { align-items: center; }
  .modal { border-radius: var(--r-xl); animation: fadeInUp 0.35s ease; max-width: 440px; }
  .modal::before { display: none; }
}

@media (min-width: 768px) {
  .bottom-nav { display: none; }
  .has-bottom-nav { padding-bottom: 0; }
}

/* ══════════════════════════════
   RIPPLE EFFECT on tap
══════════════════════════════ */
.ripple-host { position: relative; overflow: hidden; }
.ripple-host .ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  pointer-events: none;
  animation: ripple 0.6s linear forwards;
  transform: scale(0);
}

/* ══════════════════════════════
   SWIPE CARD (for onboarding etc)
══════════════════════════════ */
.swipe-card {
  touch-action: pan-y;
  user-select: none;
  transition: transform 0.2s;
}

/* ══════════════════════════════
   PULL-TO-REFRESH indicator
══════════════════════════════ */
.ptr-indicator {
  text-align: center;
  padding: 16px;
  color: var(--text3);
  font-size: 0.8rem;
  transform: translateY(-100%);
  transition: transform 0.2s;
}

/* ══════════════════════════════
   STATUS BAR SPACER (notch phones)
══════════════════════════════ */
.status-bar-spacer {
  height: var(--safe-top);
  background: var(--bg);
}

/* ══════════════════════════════
   HAPTIC BUTTON VARIANTS
══════════════════════════════ */
.btn--haptic { transition: transform 0.1s, box-shadow 0.1s; }
.btn--haptic:active { transform: scale(0.93) !important; }
