/* Pulse Progression V1.6 - keep hover/profile text above avatar surrounds. */
/* V1.5 used a z-index/3D layer on every ring. That could place the avatar above
   sibling hover cards or expanding profile text. The ring is a box-shadow, so it
   does not need its own stacking context. */
.pxp-global-avatar-ring,
.pxp-avatar-direct-ring {
  z-index: auto !important;
  transform: none !important;
  isolation: auto !important;
}

/* Hover cards/tooltips/popovers must always sit above avatars and their glows. */
[role="tooltip"],
[data-radix-popper-content-wrapper],
[data-radix-tooltip-content],
[data-radix-hover-card-content],
[data-radix-popover-content],
[class*="tooltip" i],
[class*="hover-card" i],
[class*="hovercard" i],
[class*="popover" i] {
  z-index: 10050 !important;
}

/* Pulse profile/user preview panels sometimes use generic fixed/absolute cards
   instead of Radix attributes. Raise visible preview-like panels without changing
   ordinary layout content. */
body > [data-state="open"][style*="position"],
body > div[style*="position: fixed"],
body > div[style*="position: absolute"] {
  z-index: 10050 !important;
}
