/* The existing circular media wrapper clips the glass, snow and moving photo together. */
.odb-snowglobe {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 35% 12% at 30% 14%, rgb(255 255 255 / 30%), transparent 95%),
    radial-gradient(circle at 50% 47%, transparent 58%, rgb(226 234 238 / 20%) 93%, rgb(255 255 255 / 68%));
  box-shadow: inset 0 0 0 1px rgb(224 232 235 / 80%), inset 0 0 0 3px rgb(255 255 255 / 35%), inset 0 -5px 8px rgb(47 67 75 / 12%);
}
.odb-snowglobe__flake {
  position: absolute;
  inset-block: 0;
  width: var(--size);
  animation: odb-globe-fall var(--fall) linear var(--phase) infinite;
}
.odb-snowglobe__flake::before {
  content: '';
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(255 255 255 / 83%);
}
@keyframes odb-globe-fall {
  from { opacity: 0; transform: translate(0, -3px); }
  12%, 84% { opacity: 1; }
  to { opacity: 0; transform: translate(var(--drift), 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .odb-snowglobe__flake { animation-play-state: paused; }
}
