.rz-startup-shell {
  position: relative;
  isolation: isolate;
}

.rz-startup-shell[aria-busy="true"] .rz-startup-content,
.rz-startup-shell.rz-startup-pending .rz-startup-content {
  pointer-events: none;
  user-select: none;
  transition: filter 160ms ease, opacity 160ms ease;
}

.rz-startup-shell[aria-busy="true"][data-rz-startup="cached"] .rz-startup-content,
.rz-startup-shell.rz-startup-pending-cached .rz-startup-content {
  filter: blur(1px);
  opacity: 0.82;
}

.rz-startup-shell[aria-busy="true"][data-rz-startup="empty"] .rz-startup-content,
.rz-startup-shell.rz-startup-pending-empty .rz-startup-content {
  filter: blur(4px);
  opacity: 0.52;
}

.rz-startup-shell[aria-busy="true"] .rz-startup-content[inert],
.rz-startup-shell.rz-startup-pending .rz-startup-content[inert] {
  cursor: wait;
}

.rz-startup-shell[aria-busy="true"] .rz-startup-content .rz-loading-state,
.rz-startup-shell[aria-busy="true"] .rz-startup-content [role="status"],
.rz-startup-shell.rz-startup-pending .rz-startup-content .rz-loading-state,
.rz-startup-shell.rz-startup-pending .rz-startup-content [role="status"] {
  visibility: hidden;
}

.rz-startup-scrim {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: block;
  pointer-events: auto;
  cursor: wait;
  background: rgba(245, 245, 247, 0.18);
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  transition: opacity 160ms ease;
}

body.rz-theme-dark .rz-startup-scrim {
  background: rgba(28, 28, 30, 0.18);
}

.rz-startup-scrim[hidden],
.rz-startup-shell:not([aria-busy="true"]):not(.rz-startup-pending) > .rz-startup-scrim {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .rz-startup-shell .rz-startup-content,
  .rz-startup-scrim {
    transition: none;
  }
}
