html, body { margin: 0; height: 100%; background: #fff6dc; }
#aea-splash {
  position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; pointer-events: none; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #3d3a5c;
  background: linear-gradient(#fff3d6, #d8f0c8); transition: opacity .35s ease;
  /* behind the Flutter view: once the app draws, it covers the splash even before it is removed */
  z-index: -1;
}
#aea-splash img { border-radius: 30px; box-shadow: 0 10px 30px rgba(60, 60, 120, .18); }
#aea-splash p { margin: 0; font-size: 18px; font-weight: 700; }
#aea-splash.aea-hide { opacity: 0; }
.aea-bar { width: 180px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .7); overflow: hidden; }
.aea-bar span { display: block; width: 40%; height: 100%; border-radius: 8px; background: #4f8df5; animation: aea-move 1.2s ease-in-out infinite; }
@keyframes aea-move { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
