/* Écran d'ouverture : l'icône de la suite apparaît, puis l'écran s'efface. */
#splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: opacity 0.3s ease;
}
html.dark #splash {
  background: #0b1220;
}
#splash img {
  width: 96px;
  height: 96px;
  animation: splash-pop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
  transition: transform 0.3s ease;
}
#splash.leaving {
  opacity: 0;
  pointer-events: none;
}
#splash.leaving img {
  transform: scale(1.12);
}
@keyframes splash-pop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* Animations réduites : pas d'écran d'ouverture. */
@media (prefers-reduced-motion: reduce) {
  #splash {
    display: none;
  }
}
html[data-motion="reduced"] #splash {
  display: none;
}
