body {
  margin: 0;
  background: #f2f2f7;
}
@media (prefers-color-scheme: dark) {
  body {
    background: #000;
  }
}

#boot-splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.3s ease;
}
#boot-splash.hidden {
  opacity: 0;
  pointer-events: none;
}
#boot-splash .spinner {
  position: relative;
  width: 20px;
  height: 20px;
  color: rgb(60, 60, 68);
}
@media (prefers-color-scheme: dark) {
  #boot-splash .spinner {
    color: rgb(235, 235, 245);
  }
}
#boot-splash .spinner .bar {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
#boot-splash .spinner .bar::before {
  content: '';
  width: 2px;
  height: 7px;
  background: currentColor;
  border-radius: 1px;
  animation: boot-splash-fade 1s linear infinite;
}
@keyframes boot-splash-fade {
  0%, 12.49%   { opacity: 0.184; }
  12.5%, 24.99%{ opacity: 0.576; }
  25%, 37.49%  { opacity: 0.478; }
  37.5%, 49.99%{ opacity: 0.380; }
  50%, 62.49%  { opacity: 0.282; }
  62.5%, 100%  { opacity: 0.184; }
}
#boot-splash .spinner .bar:nth-child(1) { transform: rotate(0deg);   }
#boot-splash .spinner .bar:nth-child(2) { transform: rotate(45deg);  }
#boot-splash .spinner .bar:nth-child(3) { transform: rotate(90deg);  }
#boot-splash .spinner .bar:nth-child(4) { transform: rotate(135deg); }
#boot-splash .spinner .bar:nth-child(5) { transform: rotate(180deg); }
#boot-splash .spinner .bar:nth-child(6) { transform: rotate(225deg); }
#boot-splash .spinner .bar:nth-child(7) { transform: rotate(270deg); }
#boot-splash .spinner .bar:nth-child(8) { transform: rotate(315deg); }
#boot-splash .spinner .bar:nth-child(1)::before { animation-delay:  0s;     }
#boot-splash .spinner .bar:nth-child(2)::before { animation-delay: -0.875s; }
#boot-splash .spinner .bar:nth-child(3)::before { animation-delay: -0.750s; }
#boot-splash .spinner .bar:nth-child(4)::before { animation-delay: -0.625s; }
#boot-splash .spinner .bar:nth-child(5)::before { animation-delay: -0.500s; }
#boot-splash .spinner .bar:nth-child(6)::before { animation-delay: -0.375s; }
#boot-splash .spinner .bar:nth-child(7)::before { animation-delay: -0.250s; }
#boot-splash .spinner .bar:nth-child(8)::before { animation-delay: -0.125s; }
