/* Staging-only private profile avatar presentation. */

/* Keep the outer frame transparent and the badge unclipped. */
.profile-avatar-wrap .profile-avatar-frame,
.profile-unified-page .profile-avatar-wrap .profile-avatar-frame {
    position: relative !important;
    background: transparent !important;
    background-color: transparent !important;
    overflow: visible !important;
}

/* Remove the previously added background layer. */
.profile-avatar-wrap .profile-avatar-frame::before {
    content: none !important;
    display: none !important;
}

/* Put light gray only inside the circular avatar image. */
.profile-avatar-wrap .profile-avatar-frame > img.rounded-circle,
.profile-unified-page:not(.business-profile-page) .profile-avatar-wrap .profile-avatar-frame > img.rounded-circle,
.business-profile-page .profile-avatar-wrap .profile-avatar-frame > img.rounded-circle {
    background: #e5e7eb !important;
    background-color: #e5e7eb !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background-clip: padding-box !important;
}

/* Keep the green verification badge fully visible. */
.profile-avatar-wrap .profile-verification-mark {
    position: absolute !important;
    z-index: 30 !important;
    overflow: visible !important;
}

/* Public profile avatars remain transparent. */
app-network-sidebar .public-profile-avatar-shell,
app-network-sidebar .public-profile-avatar-img,
.public-profile-layout .public-profile-avatar-shell,
.public-profile-layout .public-profile-avatar-img {
    background: transparent !important;
}
