[hidden] {
  display: none !important;
}
.startup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: #f8fafc;
  color: #17233d;
  font-family: Inter, system-ui, sans-serif;
}
.startup-content {
  width: min(320px, calc(100% - 48px));
  text-align: center;
}
.startup img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: block;
  margin: 0 auto 14px;
}
.startup h1 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}
.startup p {
  font-size: 12px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}
.startup-progress {
  width: 112px;
  height: 3px;
  margin: 20px auto 0;
  border-radius: 3px;
  background: #dbeafe;
  overflow: hidden;
}
.startup-progress:after {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  background: #2563eb;
  border-radius: 3px;
  animation: startup-loading 1.2s ease-in-out infinite;
}
.startup-error .startup-progress {
  display: none;
}
.startup button {
  margin-top: 18px;
  padding: 9px 18px;
  border: 1px solid #2563eb;
  background: #2563eb;
  color: white;
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.startup button:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}
html[data-theme="dark"] .startup {
  background: #101827;
  color: #f1f5f9;
}
html[data-theme="dark"] .startup p {
  color: #a3b1c6;
}
html[data-theme="dark"] .startup-progress {
  background: #1e3a5f;
}
@keyframes startup-loading {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(330%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .startup-progress:after {
    animation: none;
    margin: auto;
  }
}
