#boot {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: #f1f2f2;
  transition: opacity .55s cubic-bezier(.22,.61,.36,1), visibility .55s;
}
#boot.bt-x { opacity: 0; visibility: hidden; }
#boot.bt-d { background: #090a0b; }

#boot .bt-o { width: 56px; height: 56px; position: relative; }
#boot .bt-o b {
  position: absolute; left: 50%; top: 50%;
  width: 8px; height: 8px; margin: -4px;
  border-radius: 50%; background: #0b0b0d;
  animation: btSpin 1.25s cubic-bezier(.45,.1,.55,.9) infinite;
}
#boot .bt-o b:nth-child(2) { animation-delay: -.14s; }
#boot .bt-o b:nth-child(3) { animation-delay: -.28s; }
@keyframes btSpin {
  0%   { transform: rotate(0deg)   translateY(-19px); }
  100% { transform: rotate(360deg) translateY(-19px); }
}

#boot .bt-l {
  width: 128px; height: 2px; border-radius: 2px;
  background: rgba(0,0,0,.09); overflow: hidden;
}
#boot .bt-l i {
  display: block; width: 42%; height: 100%;
  border-radius: 2px; background: #0b0b0d;
  animation: btSlide 1.1s ease-in-out infinite;
}
@keyframes btSlide {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(270%); }
}

#boot .bt-t {
  font: 600 9.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .46em;
  color: rgba(0,0,0,.4);
}

#boot.bt-d .bt-o b { background: #fafafa; }
#boot.bt-d .bt-l { background: rgba(255,255,255,.1); }
#boot.bt-d .bt-l i { background: #fafafa; }
#boot.bt-d .bt-t { color: rgba(255,255,255,.38); }

@media (prefers-reduced-motion: reduce) {
  #boot .bt-o b, #boot .bt-l i { animation-duration: 2.4s; }
}
