.member-photo-frame{display:inline-grid;position:relative;place-items:center;width:100%;height:100%;min-width:0;overflow:hidden;border-radius:inherit;vertical-align:middle}.member-photo-frame>span{grid-area:1/1}.member-photo-frame>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}.mc-avatar[href]{display:block;position:relative;color:inherit;cursor:pointer}.mc-avatar[href]:hover .avatar{box-shadow:0 0 0 3px color-mix(in srgb,var(--studio-color-accent) 40%,transparent)}.mc-avatar[href]:focus-visible{outline:2px solid var(--studio-color-accent);outline-offset:5px;border-radius:14px}.community-avatar>.member-photo-frame{border-radius:inherit}.a2-workspace-avatar{overflow:hidden}

/* Keep the member portrait aligned with the identity block. */
#studio-account-panel[data-member-panel] .mc-head>a.mc-avatar{display:flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;flex:0 0 45px!important;width:45px!important;height:45px!important;padding:0!important;margin:0!important;line-height:1!important;background:none!important;border:0!important;transform:none!important}
#studio-account-panel[data-member-panel] .mc-head>a.mc-avatar>.avatar{display:grid!important;place-items:center!important;position:relative!important;width:45px!important;height:45px!important;min-width:45px!important;padding:0!important;margin:0!important;overflow:hidden!important;border-radius:12px!important}
#studio-account-panel[data-member-panel] .mc-head>a.mc-avatar>.avatar>img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;margin:0!important;padding:0!important;border-radius:inherit!important}
.studio-account-button{position:relative}body.studio-theme .studio-account-button[data-studio-account]>.header-member-photo:not([hidden]){display:block!important;position:absolute!important;inset:1px!important;overflow:hidden!important;border-radius:inherit!important;z-index:3;pointer-events:none}body.studio-theme .studio-account-button[data-studio-account]>.header-member-photo[hidden]{display:none!important}body.studio-theme .studio-account-button[data-studio-account]>.header-member-photo>img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;border-radius:inherit!important;margin:0!important;padding:0!important}
@media(max-width:600px){#studio-account-panel[data-member-panel] .mc-head>a.mc-avatar{flex-basis:41px!important;width:41px!important;height:41px!important}#studio-account-panel[data-member-panel] .mc-head>a.mc-avatar>.avatar{width:41px!important;height:41px!important;min-width:41px!important}}

body.studio-theme[data-public-header="classic"] .studio-site-header .studio-exact-actions[data-openline-tools] .studio-openline-control.studio-account-button>[data-header-member-photo].header-member-photo:not([hidden]):not(.studio-openline-icon):not(.studio-openline-language):not(.studio-navigation-icon):not([data-notification-badge]){display:block!important}

body.studio-theme #studio-account-panel[data-member-panel] .mc-head{align-items:center!important}body.studio-theme #studio-account-panel[data-member-panel] .mc-head>a.mc-avatar{box-sizing:border-box!important;min-height:45px!important;max-height:45px!important;height:45px!important;min-width:45px!important;max-width:45px!important;align-self:center!important}body.studio-theme #studio-account-panel[data-member-panel] .mc-head>.mc-identity,body.studio-theme #studio-account-panel[data-member-panel] .mc-head>.mc-head-actions{align-self:center!important}body.studio-theme #studio-account-panel[data-member-panel] .mc-head>.mc-head-actions{padding-top:0!important}
@media(max-width:600px){body.studio-theme #studio-account-panel[data-member-panel] .mc-head>a.mc-avatar{min-height:41px!important;max-height:41px!important;height:41px!important;min-width:41px!important;max-width:41px!important}}

/* Community portraits share the asymmetric header frame. */
body.studio-theme button.community-avatar:has(.member-photo-frame){color:var(--studio-color-accent,#d2ad52)!important;padding:0!important;box-sizing:border-box!important;overflow:hidden!important;border:2px solid var(--studio-color-accent,#d2ad52)!important;border-radius:14px 5px 14px 5px!important;background:var(--studio-color-control,#202020)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--studio-color-accent,#d2ad52) 15%,transparent)!important}
body.studio-theme button.community-avatar>.member-photo-frame{display:grid!important;width:100%!important;height:100%!important;min-width:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:inherit!important;background:transparent!important;overflow:hidden!important}
body.studio-theme button.community-avatar>.member-photo-frame>img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;padding:0!important;margin:0!important;border:0!important;border-radius:inherit!important}
body.studio-theme button.community-avatar:focus-visible{outline:2px solid var(--studio-color-text,#f3eee3)!important;outline-offset:4px}
