.miosa-startup {
  display: none;
}

#miosa-app:not(:has(> :not(script):not(style):not(link))) + .miosa-startup {
  position: fixed;
  inset: 0;
  display: grid;
  justify-items: center;
  place-content: center;
  gap: 18px;
  pointer-events: none;
  color: light-dark(#22252b, #f4f4f7);
  color-scheme: light dark;
  font: 500 13px system-ui, sans-serif;
}

:root[data-theme="glass-dark"] .miosa-startup,
:root[data-theme="dark"] .miosa-startup {
  color-scheme: dark;
}

:root[data-theme="glass"] .miosa-startup,
:root[data-theme="light"] .miosa-startup {
  color-scheme: light;
}

.miosa-launch-mark {
  display: grid;
  place-items: center;
}

.miosa-startup::after {
  width: 54px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  animation: miosa-loading-pulse 1.6s ease-in-out infinite alternate;
}

@keyframes miosa-loading-pulse {
  from { opacity: .22; transform: scaleX(.55); }
  to { opacity: .65; transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .miosa-startup::after { animation: none; opacity: .35; }
}

:root[data-hydrated] .miosa-startup {
  display: none !important;
}
