/* Salutes and the purchase burst (js/ui/celebrate.js). Prefix .celebrate- */
/* v6 (owner: "copy the wave from my site, just as clear"): the Wave salute is the site's purchase ripple 1:1
   (site css .glass-ripple / .glass-ripple--svg / ::before / @keyframes glass-wave): a clear wave of liquid glass, 120 px
   like the site's filter, scaled out from the ring (--to). Three of them, one after another (animation-delay from js).
   No tint, no fill: it only bends (Chromium: the SVG lens #rt-liquid-glass) and brightens what is under it. */
.celebrate-wave__ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.55),
    inset 3px 4px 10px -3px rgb(255 255 255 / 0.7),
    inset -4px -6px 12px -5px rgb(13 13 14 / 0.18);
  -webkit-backdrop-filter: blur(1.5px) saturate(1.4) brightness(1.06);
  backdrop-filter: blur(1.5px) saturate(1.4) brightness(1.06);
  animation: celebrate-glass-wave 1.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;   /* both: hidden while it waits for its turn */
}
.celebrate-wave__ring--svg { backdrop-filter: url(#rt-liquid-glass) saturate(1.3) brightness(1.06); }
.celebrate-wave__ring::before { /* specular rim, as on the site's cursor */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 210deg, rgb(255 255 255 / 0.7), transparent 18%, transparent 46%, rgb(255 255 255 / 0.3) 55%, transparent 68%, transparent 92%, rgb(255 255 255 / 0.7));
  -webkit-mask: radial-gradient(closest-side, transparent 88%, #000 96%);
  mask: radial-gradient(closest-side, transparent 88%, #000 96%);
}
@keyframes celebrate-glass-wave {
  0% { transform: scale(0.6); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: scale(var(--to, 4)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .celebrate-wave__ring { display: none; } }
