/* شاشة التحميل قبل أول إطار من Flutter، تُزال تلقائياً حين يُرسم التطبيق. */
html,
body {
  margin: 0;
  height: 100%;
  background: #0a1b3a;
}

#wasel-splash {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #e6f1ef;
  font-family: system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-size: 15px;
}

#wasel-splash img {
  border-radius: 22px;
  animation: wasel-pulse 1.4s ease-in-out infinite;
}

/* احتياط إن فات حدث flutter-first-frame (web_boot.js). */
body:has(flutter-view) #wasel-splash {
  display: none;
}

@keyframes wasel-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}
