/* Secret leaf long-press, ephemeral visual only.
 * The approved ambient wallpaper/brandmark glow is unchanged at rest.
 * Only the pressed leaf animates; no global glass/card styles are touched.
 */
.topbar .brandmark a.sb-leaf-holding {
  position: relative;
  isolation: isolate;
}
.topbar .brandmark a.sb-leaf-holding::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -16px -18px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(221, 173, 255, .44) 0%,
    rgba(179, 136, 235, .28) 33%,
    rgba(136, 72, 219, .11) 56%,
    transparent 78%);
  filter: blur(8px);
  animation: sb-leaf-charge-glow .85s ease-out both;
}
.topbar .brandmark a.sb-leaf-holding img {
  position: relative;
  z-index: 1;
  filter:
    brightness(1.15)
    drop-shadow(0 0 7px rgba(244, 222, 255, .76))
    drop-shadow(0 0 17px rgba(194, 134, 255, .69))
    drop-shadow(0 0 29px rgba(150, 74, 238, .35)) !important;
  animation: sb-leaf-charge .85s ease-out both;
}
.topbar .brandmark a.sb-leaf-armed::after {
  animation: sb-leaf-glow-pulse 1.35s ease-in-out infinite;
}
.topbar .brandmark a.sb-leaf-armed img {
  animation: sb-leaf-pulse 1.35s ease-in-out infinite;
}
@keyframes sb-leaf-charge-glow {
  from { opacity: .12; transform: scale(.78); }
  to   { opacity: 1; transform: scale(1.06); }
}
@keyframes sb-leaf-charge {
  from { transform: scale(1); }
  to   { transform: scale(1.055); }
}
@keyframes sb-leaf-glow-pulse {
  0%, 100% { opacity: .66; transform: scale(.99); }
  50%      { opacity: 1; transform: scale(1.15); }
}
@keyframes sb-leaf-pulse {
  0%, 100% { transform: scale(1.035); }
  50%      { transform: scale(1.085); }
}
@media (prefers-reduced-motion: reduce) {
  .topbar .brandmark a.sb-leaf-holding::after,
  .topbar .brandmark a.sb-leaf-holding img {
    animation: none !important;
  }
  .topbar .brandmark a.sb-leaf-holding::after {
    opacity: .75;
    transform: none;
  }
}
