/* ── Splash di lancio PWA ─────────────────────────────────────────────────────
   Overlay full-screen come PSEUDO-ELEMENTO su :root (nessuna iniezione nel DOM).
   Compare SOLO quando pwa-splash.js aggiunge la classe .ec-splash-on — cosa che
   avviene esclusivamente in modalità standalone e solo per un vero lancio PWA.
   Nel browser normale la classe non viene mai aggiunta: il pseudo-elemento non
   esiste, zero costo visivo, nessuna regressione web.
   Stessa immagine e stesso crop (cover, center) dello splash iOS → continuità. */
:root.ec-splash-on::before{
  content:"";
  position:fixed; inset:0; z-index:2147483000;
  background-color:#317acb; /* tinta media della parte alta dell'immagine: nessun lampo scuro prima del decode */
  background-image:url('/splash/splash-cover.jpg?v=1');
  background-repeat:no-repeat; background-position:center center; background-size:cover;
  opacity:1; transition:opacity .45s ease; will-change:opacity;
  pointer-events:auto; /* copre i tap finché è visibile (l'app sotto sta ancora caricando) */
}
:root.ec-splash-off::before{ opacity:0; pointer-events:none; }
:root.ec-splash-gone::before{ display:none; }
