/* P25X Live -- first-heard celebration + "came online" toasts (js/celebrate.js).

   ANIMATION AUDIT: the particle show is a one-shot 3.8 s canvas (js/celebrate.js), then cancelled and cleared.
   Nothing here loops. CSS: .fx-banner and .toast fade in once (0.25 s opacity keyframe, "1 both", no repeat).
   Photosensitivity: no flash, no full-screen fill; three small bursts 0.8 s apart. Under prefers-reduced-motion and
   the Reduce motion button the canvas is never started (banner and toasts only), and the rules below
   (and app.css) switch animation off (body.rm / the media query). All of it is pointer-events:none: it never blocks a click. */

.fx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 60; pointer-events: none; }
.fx[hidden] { display: none; }

.fx-banner {
  position: fixed; left: 50%; top: clamp(72px, 14vh, 160px); transform: translateX(-50%); z-index: 61;
  max-width: min(92vw, 760px); padding: 12px 22px; border-radius: 12px; text-align: center;
  font: 800 clamp(1rem, 2.6vw, 1.5rem)/1.25 var(--mono); letter-spacing: 0.04em; color: #fff;
  background: rgba(8, 14, 32, 0.9); border: 1px solid var(--gold); box-shadow: 0 0 22px rgba(255, 207, 122, 0.35);
  text-shadow: 0 0 10px rgba(255, 207, 122, 0.6);
  pointer-events: none; animation: fxin 0.25s ease-out 1 both;
}
.fx-banner[hidden] { display: none; }

.toasts {
  position: fixed; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 62;
  display: flex; flex-direction: column; gap: 8px; align-items: flex-end; max-width: min(92vw, 420px); pointer-events: none;
}
.toast {
  padding: 9px 14px; border-radius: 10px; font: 600 0.88rem/1.3 var(--sans); color: var(--ink);
  background: rgba(8, 14, 32, 0.92); border: 1px solid rgba(57, 255, 176, 0.55); box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
  pointer-events: none; animation: fxin 0.25s ease-out 1 both;
}
.toast::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--teal); }

/* one-shot fade-in (plays once; app.css removes it under reduced motion) */
@keyframes fxin { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fx-banner, .toast { animation: none; } }
body.rm .fx-banner, body.rm .toast { animation: none; }
