/* Schermata di caricamento mostrata finché Flutter non disegna il primo fotogramma. */
html, body { margin: 0; height: 100%; background: #0e1016; }
#ms-loading {
  position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: rgba(255,255,255,.75);
  transition: opacity .3s ease;
}
#ms-loading.is-done { opacity: 0; pointer-events: none; }
#ms-loading .mark {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, #04aa6d, #1ed760); color: #fff; font-weight: 700; font-size: 22px; letter-spacing: .02em;
}
#ms-loading .spinner {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.15); border-top-color: #1ed760;
  animation: ms-spin .9s linear infinite;
}
#ms-loading p { margin: 0; font-size: 15px; }
@keyframes ms-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { #ms-loading .spinner { animation-duration: 3s; } }
