:root {
  --boot-bg: #070e20;
  --boot-ink: #f4f8ff;
  --boot-accent: #48b9ef;
  --boot-muted: #a6b7d4;
}
:root[data-theme="light"] {
  --boot-bg: #f5f8ff;
  --boot-ink: #102b57;
  --boot-accent: #1768bf;
  --boot-muted: #4b6286;
}
html:not(.app-ready),
html:not(.app-ready) body {
  overflow: hidden;
  background: var(--boot-bg);
}
#startup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--boot-bg);
  color: var(--boot-ink);
  display: grid;
  place-items: center;
  font-family: Manrope, Arial, sans-serif;
  transition:
    opacity 0.55s ease,
    visibility 0.55s;
}
.boot-content {
  text-align: center;
  padding: 32px;
  max-width: 460px;
}
.boot-symbol {
  width: 124px;
  height: 124px;
  margin-bottom: 28px;
  overflow: visible;
}
.boot-symbol .canopy {
  stroke: var(--boot-accent);
  stroke-dasharray: 160;
  animation: canopy 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.boot-symbol .screen {
  stroke: var(--boot-ink);
}
.boot-symbol .play {
  fill: var(--boot-accent);
  transform-origin: 50% 50%;
  animation: presence 2.8s ease-in-out infinite;
}
.boot-name {
  font-size: clamp(23px, 5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0;
}
.boot-name span {
  color: var(--boot-accent);
}
#boot-status {
  font-size: 13px;
  line-height: 1.6;
  color: var(--boot-muted);
  margin: 20px 0 0;
}
.boot-track {
  height: 2px;
  width: 112px;
  overflow: hidden;
  background: color-mix(in srgb, var(--boot-muted) 20%, transparent);
  margin: 26px auto 0;
}
.boot-track:after {
  content: "";
  display: block;
  height: 100%;
  width: 45%;
  background: var(--boot-accent);
  animation: loading-track 1.8s ease-in-out infinite;
}
#boot-retry {
  margin: 22px auto 0;
  padding: 11px 18px;
  border: 1px solid var(--boot-muted);
  border-radius: 8px;
  background: transparent;
  color: var(--boot-ink);
  cursor: pointer;
}
#boot-retry[hidden] {
  display: none;
}
.app-ready #startup {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes canopy {
  0% {
    stroke-dashoffset: 160;
    opacity: 0.35;
  }
  40%,
  75% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -160;
    opacity: 0.35;
  }
}
@keyframes presence {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes loading-track {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(330%);
  }
}
@media (prefers-reduced-motion: reduce) {
  #startup *,
  #startup *:after {
    animation: none !important;
  }
  .boot-symbol .canopy {
    stroke-dashoffset: 0;
  }
  #startup {
    transition: none;
  }
}
