.pb-profile-avatar { display: inline-grid; position: relative; place-items: center; flex: none; width: var(--pb-profile-avatar-size); height: var(--pb-profile-avatar-size); overflow: hidden; border: var(--pb-border-width-md) solid var(--pb-color-surface-base); border-radius: var(--pb-profile-avatar-radius); background: var(--pb-profile-avatar-bg); color: var(--pb-color-text-secondary); isolation: isolate; box-sizing: border-box; }
.pb-profile-avatar > .pb-profile-avatar-image { position: absolute; left: var(--pb-profile-avatar-anchor); top: var(--pb-profile-avatar-anchor); width: calc(var(--pb-layout-full) * var(--pb-profile-avatar-scale)); height: auto; max-width: none; max-height: none; border-radius: var(--pb-space-0); object-fit: contain; transform: translate(calc(var(--pb-profile-avatar-focus-x) * -1), calc(var(--pb-profile-avatar-focus-y) * -1)); animation: none; }
.pb-profile-avatar-fallback { font: var(--pb-font-weight-medium) var(--pb-font-size-xs)/var(--pb-line-height-normal) var(--pb-font-sans); }
.pb-profile-avatar-fallback[hidden] { display: none; }
:is(.auth-profile-avatar, .sidebar-avatar-icon) > .pb-profile-avatar { width: var(--pb-layout-full); height: var(--pb-layout-full); }
.auth-avatar-option > .pb-profile-avatar { --pb-profile-avatar-size: var(--pb-profile-avatar-option-size); }
.auth-avatar-carousel-grid { grid-auto-rows: max-content; align-items: start; }
#authAvatarPreview > .pb-profile-avatar { width: var(--pb-layout-full); height: var(--pb-layout-full); }
.auth-avatar-preview-card { align-self: start; }
@media (max-width: 760px) { .auth-avatar-preview { width: var(--pb-profile-avatar-mobile-preview); height: var(--pb-profile-avatar-mobile-preview); flex-basis: var(--pb-profile-avatar-mobile-preview); } }

.pb-avatar-full { border-width: var(--pb-space-0); border-radius: var(--pb-space-0); background: transparent; }
.pb-avatar-full > .pb-profile-avatar-image { position: static; width: var(--pb-layout-full); height: var(--pb-layout-full); max-width: var(--pb-layout-full); max-height: var(--pb-layout-full); transform: none; }
.auth-avatar-badge-preview { display: flex; align-items: center; gap: var(--pb-space-3); margin-top: var(--pb-space-4); color: var(--pb-color-text-secondary); font-size: var(--pb-font-size-xs); }
.auth-avatar-badge-preview > div { display: flex; }
