.startup-loading-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 9999;
}

.startup-loading-overlay .startup-loading {
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  background: #dce3dd;
}

.startup-loading-mount,
.startup-loading-illustration-mount {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  top: env(safe-area-inset-top, 0px);
  right: env(safe-area-inset-right, 0px);
  bottom: env(safe-area-inset-bottom, 0px);
  left: env(safe-area-inset-left, 0px);
  inset: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}

.startup-loading-mount {
  z-index: 3;
  overflow: hidden;
}

.startup-loading-illustration-mount {
  z-index: 2;
  pointer-events: none;
}

.startup-loading-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.startup-loading-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  overflow: hidden;
  transform: translate(-50%, -50%);
}

.startup-loading-illustration-stage {
  left: 0;
  transform: translateY(-50%);
  overflow: visible;
}

.startup-loading-layer {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
}

.startup-loading-overlay .startup-loading-status {
  position: absolute;
  left: 5%;
  bottom: 1%;
  width: 90%;
  max-height: 12%;
  overflow: auto;
  margin: 0;
  text-align: center;
  z-index: 4;
}

.startup-loading-fallback .loading-bar-fill {
  animation: none;
  width: var(--startup-fallback-progress, 0%);
}

.startup-loading-fallback .image-container {
  visibility: hidden;
}

.startup-loading-asset-error {
  position: fixed;
  left: 5%;
  right: 5%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 10000;
  color: #fff;
  font: 14px/1.4 sans-serif;
  text-align: center;
}
