/* The only render-blocking stylesheet: the brand is visible while the app loads. */
html[data-booting],
html[data-booting] body {
  margin: 0;
  background: #0a1527;
}
.boot-screen,
.startup-error {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(30px, env(safe-area-inset-top)) max(30px, env(safe-area-inset-right))
    max(30px, env(safe-area-inset-bottom)) max(30px, env(safe-area-inset-left));
  text-align: center;
  font-family:
    'Segoe UI',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: radial-gradient(ellipse at 50% 35%, #203b59, #0a1527 70%);
  color: #ecf4ff;
}
.boot-screen .brand-logo,
.startup-error .brand-logo {
  display: block;
  width: min(280px, 75vw);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.boot-screen p,
.startup-error p {
  color: #b6c8df;
  font-size: 13px;
  line-height: 1.5;
  margin: 20px 0 0;
}
.boot-progress {
  display: block;
  width: 100px;
  height: 3px;
  margin-top: 24px;
  border-radius: 3px;
  background: #3c5878;
  overflow: hidden;
}
.boot-progress::after {
  content: '';
  display: block;
  width: 45%;
  height: 100%;
  background: #7ca8d9;
  border-radius: 3px;
  animation: logo-loading 1.3s ease-in-out infinite alternate;
}
@keyframes logo-loading {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(225%);
  }
}
.startup-error a {
  margin-top: 24px;
  color: #ecf4ff;
}
@media (prefers-reduced-motion: reduce) {
  .boot-progress::after {
    animation: none;
    margin-inline: auto;
  }
}
