@media (hover: hover) {
  :is(.dest-v58, .dest-profile-persona-modal) .dest-v59-persona-gallery.dest-persona-picker .dest-persona-avatar-track {
    padding-block: 64px;
    margin-block: -48px -40px;
  }

  :is(.dest-v58, .dest-profile-persona-modal) .dest-v59-persona-gallery.dest-persona-picker .dest-persona-avatar:hover {
    overflow: visible;
  }

  :is(.dest-v58, .dest-profile-persona-modal) .dest-v59-persona-gallery.dest-persona-picker .dest-persona-avatar:hover::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 0 10px 5px rgb(255 22 43 / 50%),
                0 0 24px 8px rgb(229 9 20 / 35%);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.dest-v58, .dest-profile-persona-modal) .dest-v59-persona-gallery.dest-persona-picker .dest-persona-avatar:hover::after {
    animation: dest-persona-halo-in 200ms ease-out both,
               dest-persona-halo-pulse 1.8s ease-in-out 200ms infinite alternate backwards;
  }
}

@keyframes dest-persona-halo-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dest-persona-halo-pulse {
  from {
    box-shadow: 0 0 10px 5px rgb(255 22 43 / 20%),
                0 0 24px 8px rgb(229 9 20 / 14%);
  }
  to {
    box-shadow: 0 0 10px 5px rgb(255 22 43 / 80%),
                0 0 24px 8px rgb(229 9 20 / 52%);
  }
}
