/* First paint: calm, light splash. The app takes over immediately after mount. */
html, body { background: #f8fafc; color: #0f172a; margin: 0; }
#app-splash {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #f8fafc;
  z-index: 9999;
  transition: opacity 200ms ease;
}
html.app-mounted #app-splash { opacity: 0; pointer-events: none; }
.os-splash { display: grid; justify-items: center; gap: 10px; padding: 24px; }
.os-splash-mark { width: 56px; height: 56px; }
.os-splash-mark svg { width: 100%; height: 100%; display: block; }
.os-splash-name { font: 600 18px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; letter-spacing: 0.2px; color: #0f172a; }
.os-splash-bar {
  width: 160px;
  height: 3px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
.os-splash-sweep {
  height: 100%;
  width: 42%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0), rgba(14, 165, 233, 0.55), rgba(14, 165, 233, 0));
  animation: osSweep 1.35s ease-in-out infinite;
}
@keyframes osSweep {
  0% { transform: translateX(-120%); opacity: 0.65; }
  50% { opacity: 1; }
  100% { transform: translateX(260%); opacity: 0.65; }
}
@media (prefers-reduced-motion: reduce) {
  #app-splash { transition: none; }
  .os-splash-sweep { animation: none; opacity: 1; transform: translateX(0); background: rgba(14,165,233,0.35); }
}
