/* Écran de démarrage (kit mip-cloud-run). Deux couleurs à régler : le fond (le même que background_color
   du manifeste, pour que le lancement soit continu) et l'accent. */
#splash {
  --splash-fond: #0b0d10;
  --splash-accent: #e30613;
  --splash-texte: #f2f4f5;
  position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center;
  background: var(--splash-fond); color: var(--splash-texte);
  font-family: inherit; transition: opacity .7s ease;
}
#splash.done { opacity: 0; pointer-events: none; }
#splash .coin { position: absolute; width: 5vmin; height: 5vmin; border: 0 solid var(--splash-accent); opacity: .8; }
#splash .hg { left: 3vmin; top: 3vmin; border-left-width: 2px; border-top-width: 2px; }
#splash .hd { right: 3vmin; top: 3vmin; border-right-width: 2px; border-top-width: 2px; }
#splash .bd { right: 3vmin; bottom: 3vmin; border-right-width: 2px; border-bottom-width: 2px; }
#splash .bg { left: 3vmin; bottom: 3vmin; border-left-width: 2px; border-bottom-width: 2px; }
.splash-centre { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6vmin; }
.splash-icone { width: 20vmin; height: 20vmin; margin-bottom: 4vmin; animation: splash-pouls 2.4s ease-in-out infinite; }
@keyframes splash-pouls { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.splash-surtitre { font-size: 1.7vmin; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--splash-accent); }
.splash-surtitre:empty { display: none; }
.splash-titre { margin-top: 1.2vmin; font-size: 6vmin; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.splash-barre { position: relative; width: 26vmin; height: 2px; margin-top: 4vmin; overflow: hidden; background: color-mix(in srgb, var(--splash-texte) 18%, transparent); }
.splash-barre i { position: absolute; top: 0; bottom: 0; width: 35%; background: var(--splash-accent); animation: splash-barre 1.4s ease-in-out infinite; }
@keyframes splash-barre { from { left: -35%; } to { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .splash-icone, .splash-barre i { animation: none; } }
