/* Shared by the startup splash and React page loader. */
.bubble-loader {
  --bubble-size: 112px;
  position: relative;
  width: var(--bubble-size);
  height: var(--bubble-size);
  flex: none;
  isolation: isolate;
}
.bubble-loader--sm {
  --bubble-size: 72px;
}
.bubble-loader--lg {
  --bubble-size: 148px;
}
.bubble-loader::before {
  content: '';
  position: absolute;
  inset: 1%;
  border: 1px solid rgb(111 169 237 / 20%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(126 183 255 / 15%), transparent 72%);
  animation: bubble-breathe 3.6s ease-in-out infinite;
}
.bubble-loader__sphere {
  position: absolute;
  inset: 14%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 88%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 28% 18%, #fff 0%, rgb(255 255 255 / 76%) 14%, transparent 48%),
    linear-gradient(145deg, #eaf5ff 12%, #c0ddff 68%, #8ab8ed);
  box-shadow:
    inset 3px 4px 9px rgb(255 255 255 / 90%),
    inset -4px -6px 12px rgb(49 106 177 / 16%),
    0 12px 26px rgb(32 77 139 / 16%);
  animation: bubble-float 4s ease-in-out infinite;
}
.bubble-loader__sphere::after {
  content: '';
  position: absolute;
  top: 9%;
  left: 20%;
  width: 27%;
  height: 10%;
  border-radius: 50%;
  background: rgb(255 255 255 / 80%);
  transform: rotate(-28deg);
}
.bubble-loader__logo {
  width: 64%;
  height: 64%;
  object-fit: contain;
  border-radius: 50%;
}
.bubble-loader__satellite {
  position: absolute;
  width: 14%;
  height: 14%;
  border: 1px solid rgb(255 255 255 / 78%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff, #bbdeff 45%, #669edc);
  box-shadow:
    inset -2px -3px 5px rgb(35 82 141 / 12%),
    0 4px 10px rgb(32 77 139 / 10%);
  animation: bubble-float 3.2s ease-in-out infinite;
}
.bubble-loader__satellite--one {
  top: 12%;
  right: 4%;
  animation-delay: -0.8s;
}
.bubble-loader__satellite--two {
  bottom: 17%;
  left: 2%;
  width: 10%;
  height: 10%;
  animation-delay: -1.8s;
}
.bubble-loader__satellite--three {
  right: 12%;
  bottom: 7%;
  width: 8%;
  height: 8%;
  background: radial-gradient(circle at 30% 25%, #fff8d8, #f1d77b 48%, #ddb13c);
  animation-delay: -2.6s;
}
.bubble-loader__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.bubble-loader__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5c8fcf;
  animation: bubble-dot 1.5s ease-in-out infinite;
}
.bubble-loader__dots span:nth-child(2) {
  animation-delay: 0.18s;
}
.bubble-loader__dots span:nth-child(3) {
  animation-delay: 0.36s;
  background: #d4ae42;
}
@keyframes bubble-float {
  0%,
  100% {
    transform: translateY(2px);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes bubble-breathe {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}
@keyframes bubble-dot {
  0%,
  70%,
  100% {
    transform: scale(0.75);
    opacity: 0.4;
  }
  35% {
    transform: scale(1.15);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bubble-loader::before,
  .bubble-loader__sphere,
  .bubble-loader__satellite,
  .bubble-loader__dots span {
    animation: none;
  }
}
