.start-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 44%, rgba(72,185,220,.14), transparent 34%),
    linear-gradient(180deg, #242526 0%, #303236 100%);
  color: #f6f7f8;
  transition: opacity .38s ease, visibility .38s ease;
}

body.booting {
  overflow: hidden;
}

.start-loader.is-hiding {
  visibility: hidden;
  opacity: 0;
}

.start-loader__box {
  width: min(440px, 100%);
  text-align: center;
}

.start-loader__brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  overflow: hidden;
  isolation: isolate;
  padding: 6px 8px;
}

.start-loader__brand::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -76px;
  z-index: 2;
  width: 64px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), rgba(72,185,220,.55), transparent);
  mix-blend-mode: screen;
  pointer-events: none;
  transform: skewX(-22deg);
  animation: start-sheen 1.9s ease-in-out infinite;
}

.start-loader__gear {
  display: block;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  color: #dce3ea;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.5));
  animation: start-gear 4.8s linear infinite;
}

.start-loader__title {
  overflow: hidden;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.start-loader__status {
  margin: 18px 0 13px;
  color: #cfd3d8;
  font-size: 13px;
}

.start-loader__bar {
  position: relative;
  overflow: hidden;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
}

.start-loader__bar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, #337ab7, #48b9dc, #ffffff);
  animation: start-progress 1.18s ease-in-out infinite;
}

.start-loader__pulse {
  width: 7px;
  height: 7px;
  margin: 18px auto 0;
  border-radius: 50%;
  background: #48b9dc;
  box-shadow: 0 0 0 0 rgba(72,185,220,.55);
  animation: start-pulse 1.25s ease-out infinite;
}

@keyframes start-sheen {
  0% { left: -84px; opacity: 0; }
  20% { opacity: 1; }
  70% { opacity: 1; }
  100% { left: calc(100% + 44px); opacity: 0; }
}

@keyframes start-gear {
  to { transform: rotate(360deg); }
}

@keyframes start-progress {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(260%); }
}

@keyframes start-pulse {
  100% { box-shadow: 0 0 0 14px rgba(72,185,220,0); }
}

@media (max-width: 520px) {
  .start-loader__gear { width: 31px; height: 31px; }
  .start-loader__title { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .start-loader__brand::after,
  .start-loader__gear,
  .start-loader__bar::before,
  .start-loader__pulse {
    animation: none;
  }
}
