/* v22.9 definitive, isolated avatar carousel + legible header. */
.page.ttb222-shop .v35-shop-copy,.page.ttb222-shop .v35-shop-copy .eyebrow,.page.ttb222-shop .v35-shop-copy h2 {text-align:center!important;}
.page.ttb222-shop .v35-shop-copy {display:block!important;margin:0 auto 13px!important;padding:0 8px!important;width:100%!important;box-sizing:border-box!important;}
.page.ttb222-shop .v35-shop-copy .eyebrow{display:block!important;}
.page.ttb222-shop .v35-shop-copy h2{width:100%!important;margin:7px auto 4px!important;}
/* Profile starter portraits were forcibly zoomed to 190% by v2192. Keep full artwork visible. */
#ttb2191-cosmetics.ttb2192-profile .ttb2191-art.avatar>img,
#ttb2191-cosmetics.ttb2192-profile .ttb2191-card .ttb2191-art.avatar img{
 left:0!important;top:0!important;width:100%!important;height:100%!important;
 max-width:100%!important;max-height:100%!important;object-fit:cover!important;
 object-position:center center!important;transform:none!important;transform-origin:center!important;
 border-radius:50%!important;
}
/* Remove all visual dependencies on the 2019-2022 carousel's old avatar/face classes. */
.page.ttb222-shop #ttb2191-cosmetics .ttb225-viewport{
 position:relative!important;height:clamp(255px,69vw,335px)!important;min-height:255px!important;
 width:100%!important;overflow:hidden!important;touch-action:none!important;cursor:grab!important;
}
.page.ttb222-shop #ttb2191-cosmetics .ttb225-viewport.dragging{cursor:grabbing!important;}
.page.ttb222-shop #ttb2191-cosmetics .ttb229-slide{
 position:absolute!important;left:50%!important;top:50%!important;
 padding:0!important;margin:0!important;border:none!important;box-shadow:none!important;
 background:transparent!important;width:clamp(185px,53vw,265px)!important;
 height:clamp(185px,53vw,265px)!important;min-width:0!important;min-height:0!important;
 aspect-ratio:1!important;display:block!important;border-radius:50%!important;overflow:visible!important;
 transform-origin:50% 50%!important;will-change:transform,opacity;cursor:grab!important;
 transition:transform .36s cubic-bezier(.22,.72,.18,1),opacity .26s ease!important;
}
.page.ttb222-shop #ttb2191-cosmetics .ttb225-viewport.dragging .ttb229-slide{transition:none!important;}
.page.ttb222-shop #ttb2191-cosmetics .ttb229-disc{
 position:absolute!important;left:12%!important;top:12%!important;width:76%!important;height:76%!important;
 display:block!important;aspect-ratio:1!important;background:#152838!important;
 border-radius:50%!important;overflow:hidden!important;box-shadow:none!important;
}
.page.ttb222-shop #ttb2191-cosmetics .ttb229-slide img.ttb229-face{
 position:absolute!important;inset:0!important;display:block!important;
 width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
 transform:none!important;object-fit:cover!important;object-position:center!important;
 clip-path:none!important;border-radius:50%!important;opacity:1!important;visibility:visible!important;
}
.page.ttb222-shop #ttb2191-cosmetics .ttb229-slide img.ttb229-ring{
 position:absolute!important;inset:0!important;display:block!important;
 width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
 transform:none!important;object-fit:contain!important;
 clip-path:none!important;filter:none!important;border-radius:0!important;opacity:1!important;
 pointer-events:none!important;
}
.page.ttb222-shop #ttb2191-cosmetics .ttb229-slide .ttb229-fallback{display:grid;place-items:center;width:100%;height:100%;font-size:48px;color:white;}
/* Header frame is painted inside the clickable profile icon. The old overlays are unreliable/clipped. */
.topbar button[data-nav="profile"].ttb229-header-ring{position:relative!important;overflow:hidden!important;isolation:isolate!important;}
.topbar button[data-nav="profile"].ttb229-header-ring::before{content:none!important;}
.topbar button[data-nav="profile"].ttb229-header-ring::after{
 content:""!important;display:block!important;position:absolute!important;
 inset:0!important;width:100%!important;height:100%!important;
 background:var(--ttb229-ring) center/100% 100% no-repeat!important;
 z-index:200000!important;opacity:1!important;pointer-events:none!important;
 border:0!important;border-radius:0!important;clip-path:none!important;transform:none!important;
}
.topbar button[data-nav="profile"].ttb229-header-ring > .ttb2191-photo,
.topbar button[data-nav="profile"].ttb229-header-ring > img:not(.ttb2191-frame-layer){
 position:absolute!important;left:13%!important;top:13%!important;width:74%!important;height:74%!important;
 max-width:74%!important;max-height:74%!important;object-fit:cover!important;
 border-radius:50%!important;clip-path:circle(50%)!important;z-index:2!important;
}
/* Hide only legacy duplicate frame layers on the header; keep them in Battle/Ranked/Profile. */
.topbar button[data-nav="profile"].ttb229-header-ring > .ttb2191-frame-layer{display:none!important;}
.ttb226-header-avatar-wrap>.ttb226-header-frame{display:none!important;}
#ttb227-header-frame{display:none!important;}
