/* Mobile performance overrides. Loaded LAST so cascade lets it neutralize
   blur effects from earlier layers without per-selector enumeration.

   `backdrop-filter: blur(...)` is the single biggest paint cost on
   mid-range Android (Snapdragon 6xx tier, Galaxy A12-class devices). The
   ten existing usages across hayya-theme / _screens / _new-design /
   _overrides all sit on rgba backgrounds at >= 0.82 opacity, so removing
   the blur preserves readability while eliminating the GPU compositor
   stall on every scroll, drawer-open, and modal entry. Desktop keeps the
   look untouched. */

@media (max-width: 767px) {
  *,
  *::before,
  *::after {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* Respect OS-level reduced-motion preferences. The orbs, scopa pulses,
   capture flights, floating cards, and confetti are all decorative —
   they go away when the user has set "reduce motion" in iOS / Android /
   Windows / macOS settings. Functional micro-transitions (modal fade-in,
   button press feedback) keep a short duration so the UI never feels
   frozen. `animation: none` on a running infinite loop also stops it
   from costing paint budget, which is a quiet win for low-end Android. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
