/* audit: motion overrides (loaded last) */
:root { --dur-fast: .24s; --dur: .4s; --dur-slow: .72s; }   /* x0.8 with the tempo (js/tempo.js) */

/* no `transition: all` (animates layout/paint props too) */
.ml-dot { transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }

/* svg glow blur is re-rasterised every frame while the camera zooms; drop it during motion, restored once settled */
.mapview.moving .vec .glow { filter: none; }

/* progress bar: scale instead of width would change markup; keep it but on the shared curve */
.mb-p i { transition: width var(--dur-slow) var(--ease); }

/* UI auto-hide fade: same duration/curve everywhere, compositor-only */
#ui::before { transition: opacity var(--dur-slow) var(--ease); }

/* hint layers that always animate */
.hm i, .at-touch i { will-change: transform, opacity; }

/* canvas + world: stay on their own compositor layer */
.map-canvas { transform: translateZ(0); }

@media (prefers-reduced-motion: reduce) {
  .hm i, .at-touch i { animation: none !important; }
  .mapview { scroll-behavior: auto; }
}

/* TV perf: panels with a >=.88 opaque glass gain nothing from backdrop-filter, and ~40 live blurs over a moving map are the costliest paint.
   Drop the blur on the large/always-visible ones (look is unchanged because the fill is nearly opaque); keep it on small floating chips. */
.info, .pl-card, #chap, .strip, .dr-panel, .pin span, .stn span, .lm .nm, .gtag, .heat-tag { -webkit-backdrop-filter: none; backdrop-filter: none; }
.dr-scrim { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(14, 11, 20, .6); }
