/* Loading screen shown while main.dart.js downloads; removed on the first Flutter frame (splash.js).
   Plain CSS: no remote fonts or scripts. A separate file keeps the page free of inline styles for the CSP. */

html, body { margin: 0; height: 100%; background: #0E0E0E; }

#splash {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: #0E0E0E;
  z-index: 10;
  transition: opacity 0.25s ease;
}
#splash.done { opacity: 0; pointer-events: none; }
#splash img { width: 112px; height: 112px; border-radius: 24px; }
#splash .spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(249, 207, 88, 0.25);
  border-top-color: #F9CF58;
  border-radius: 50%;
  animation: splash-spin 0.9s linear infinite;
}
@keyframes splash-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #splash .spinner { animation-duration: 3s; }
}
