/* Keep generated frame artwork outside the round photo, never crop the decoration. */
html body .header-context>.avatar.oc-framed{
 display:grid!important;place-items:center!important;box-sizing:border-box!important;
 width:40px!important;height:40px!important;min-width:40px!important;flex:0 0 40px!important;
 padding:0!important;border:0!important;background:none!important;box-shadow:none!important;
 overflow:visible!important;border-radius:50%!important;aspect-ratio:1;
}
html body .header-context>.avatar.oc-framed>img{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 display:block!important;object-fit:cover!important;object-position:center!important;border:0!important;
 border-radius:50%!important;clip-path:circle(50%);box-shadow:none!important;
}
html body .header-context{gap:15px!important;min-width:0;flex:1 1 auto;overflow:visible!important}
html body .header-context>div{min-width:0;overflow:visible!important}
html body .header-right{flex:0 0 auto}
html body .player-name{overflow:visible!important;max-width:100%!important;white-space:nowrap;line-height:1.5}
html body .player-name .identity-name{max-width:100%!important;gap:5px;overflow:visible!important}
html body .identity-name>.oc-identity{display:inline-flex!important;align-items:center;min-width:0;overflow:visible!important;white-space:nowrap;gap:5px;max-width:100%}
html body .oc-identity>.oc-nick{
 display:block!important;flex:0 1 auto;min-width:0;max-width:100%;padding:0!important;
 white-space:nowrap!important;overflow:visible!important;text-overflow:clip;
}
/* Only the text viewport truncates long names. Glow is painted on the unclipped outer element. */
html body .oc-nick-viewport{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:9px 0;margin:-9px 0;line-height:1.5}
html body .oc-nick .oc-nick-text{display:inline!important;filter:none!important}
html body .oc-nick.is-plus{filter:drop-shadow(0 0 5px rgba(var(--oc-rgb),.42));text-shadow:none!important}
html body .profile-name-row,html body .profile-name-row h2,html body .player-sheet-name{overflow:visible!important}
html body .profile-avatar-ring.oc-framed{
 display:grid!important;place-items:center!important;box-sizing:border-box!important;
 width:88px!important;height:88px!important;min-width:88px!important;aspect-ratio:1;
 padding:0!important;border:0!important;background:none!important;box-shadow:none!important;
 border-radius:50%!important;overflow:visible!important;margin:17px auto 32px!important;
}
html body .profile-avatar-ring.oc-framed>.profile-avatar{
 display:grid!important;place-items:center!important;box-sizing:border-box!important;
 width:100%!important;height:100%!important;margin:0!important;padding:0!important;
 border:0!important;outline:0!important;box-shadow:none!important;border-radius:50%!important;
 overflow:hidden!important;background:#30291f!important;position:relative;
}
html body .profile-avatar-ring.oc-framed>.profile-avatar>img{
 display:block!important;width:100%!important;height:100%!important;position:absolute!important;
 inset:0!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:50%!important;
}
html body .profile-avatar-ring.oc-framed>.profile-avatar-change{
 right:-15px!important;bottom:-15px!important;width:25px;height:25px;z-index:6;
 background:linear-gradient(#ebd09c,#be975c)!important;color:#352815!important;
 border:3px solid #231e18!important;box-shadow:0 2px 5px #0006!important;
}
/* Match the clear aperture of each generated frame to the circular photo. */
html body .oc-framed{--oc-frame-inset:-18.5%}
html body .oc-framed[data-oc-frame=laurel]{--oc-frame-inset:-16%}
html body .oc-framed[data-oc-frame=shop-bronze]{--oc-frame-inset:-22.5%}
html body .oc-framed[data-oc-frame=shop-titanium]{--oc-frame-inset:-24%}
html body .oc-framed[data-oc-frame=shop-emerald]{--oc-frame-inset:-26%}
html body .oc-framed[data-oc-frame=shop-sapphire]{--oc-frame-inset:-17%}
html body .oc-framed[data-oc-frame=shop-sovereign]{--oc-frame-inset:-20%}
html body .oc-framed:after{inset:var(--oc-frame-inset)!important}
html body .header-context>.avatar.oc-framed:after{border-radius:0!important;clip-path:none!important}
html body .community-chat-avatar .avatar.oc-framed{overflow:visible!important}
@media(max-width:380px){
 html body .header-context>.avatar.oc-framed{width:35px!important;height:35px!important;min-width:35px!important;flex-basis:35px!important}
 html body .header-context{gap:13px!important}
 html body .player-name{font-size:12px!important}
 html body .player-name .oc-role-badge,html body .player-name .oc-plus-badge{width:17px!important;height:17px!important;flex-basis:17px!important}
 html body .player-name .league-badge{width:14px!important;height:16px!important;flex-basis:14px!important}
 html body .player-name .identity-name,html body .player-name .oc-identity{gap:3px!important}
}
