/* Dark background while the Flutter engine loads (no white flash). */
html, body {
  margin: 0;
  background: #0D0B1A;
}

/* The app icon while the engine and fonts load; removed on the first
   frame (web/splash.js). */
#splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0D0B1A;
  transition: opacity 200ms ease-out;
}
#splash img {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  animation: splash-pulse 1.4s ease-in-out infinite;
}
#splash.gone {
  opacity: 0;
}
@keyframes splash-pulse {
  50% { opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  #splash img { animation: none; }
}
