/* Console ident inside the photographed glass, below its reflection and raster. */
.boot-pending .screen-inner,
.boot-pending #object-world {
  visibility: hidden;
}
.boot-screen {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  /* Keep the same tube surface instead of covering it with a flat panel. */
  background: transparent;
  color: var(--tube-ink);
  text-shadow: 0 0 2px #bddb9238;
  overflow: hidden;
}
.boot-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #020906;
  pointer-events: none;
  animation: boot-dark 650ms ease-out both;
}
.boot-beam {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 48%, #a8c68b12, transparent 65%);
  transform: scaleY(0.015);
  animation: boot-power 550ms ease-out both;
}
.boot-ident {
  width: 70%;
  text-align: center;
  animation: boot-ident var(--boot-duration) linear both;
  perspective: 500px;
}
.boot-mark {
  display: block;
  width: 32%;
  height: auto;
  margin: 0 auto 5%;
  filter: drop-shadow(0 0 1px #bfec9c50);
  animation: boot-turn 2.8s cubic-bezier(0.16, 0.6, 0.25, 1) both;
}
.boot-wordmark {
  display: block;
  width: 62%;
  margin: 0 auto;
  background: #c3d9aa;
  opacity: 0.92;
  filter: none;
}
.boot-ident p {
  margin: 5% 0 0;
  font:
    400 clamp(7px, 1.05cqw, 18px)/1.3 MenuText,
    monospace;
  animation: boot-tagline var(--boot-duration) linear both;
}
/* This is the boot sequence's progress, not a network-loading percentage. */
.boot-progress {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.3333%;
  width: 40%;
  margin: 7% auto 0;
}
.boot-progress span {
  display: block;
  aspect-ratio: 1;
  background: #a8bd8d;
  /* Whole blocks switch on. No empty track, partial fill or scaling. */
  /* WebKit can finish at 0.9999999999998899: step-end then stays off.
     Visibility switches as a whole, without relying on that exact endpoint. */
  animation: boot-block 1ms linear var(--block-delay) both;
}
@keyframes boot-block {
  from { visibility: hidden; }
  to { visibility: visible; }
}
@keyframes boot-dark {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes boot-power {
  from {
    opacity: 0;
    transform: scaleY(0.015);
  }
  30% {
    opacity: 1;
    transform: scaleY(0.025);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}
@keyframes boot-turn {
  from {
    transform: rotateY(-38deg) rotateX(8deg) scale(0.83);
  }
  to {
    transform: rotateY(0) rotateX(0) scale(1);
  }
}
@keyframes boot-ident {
  0%,
  10% {
    opacity: 0;
  }
  24%,
  94% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes boot-tagline {
  0%,
  38% {
    opacity: 0;
  }
  48%,
  94% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .boot-screen::before {
    opacity: 0;
    animation: none;
  }
  .boot-screen * {
    animation: none !important;
  }
  .boot-beam {
    transform: none;
  }
}
