.chunk-load-spinner {
  position: fixed;
  right: calc(12px + env(safe-area-inset-right, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 1001;
  width: 28px;
  height: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease;
  transform: scale(0.85);
}

.chunk-load-spinner--active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.chunk-load-spinner__ball {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
  animation: chunk-load-pokeball-wobble 0.7s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes chunk-load-pokeball-wobble {
  0%, 100% {
    transform: rotate(-14deg);
  }
  50% {
    transform: rotate(14deg);
  }
}
