/* TO THE BEATZ v21.9.8 — stable v21.9.6 Shop + verified avatar overlay fixes */
/* Header: render equipped ring separately from legacy innerHTML avatar replacement. */
.topbar button[data-nav="profile"].ttb2198-header-frame{position:relative!important;overflow:visible!important;isolation:isolate!important;border-radius:50%!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;aspect-ratio:1!important;flex:0 0 44px!important}
.topbar button[data-nav="profile"].ttb2198-header-frame::after{content:""!important;display:block!important;position:absolute!important;inset:-17%!important;width:134%!important;height:134%!important;pointer-events:none!important;background-image:var(--ttb2198-frame)!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;z-index:200!important;border:0!important;border-radius:0!important}
.topbar button[data-nav="profile"] img:not(.ttb2191-frame-layer),.topbar button[data-nav="profile"] .v190-avatar-face{border-radius:50%!important;object-fit:cover!important;clip-path:circle(49% at 50% 50%)!important}
/* My Beatz hero uses .ttb42-avatar, not the legacy .profile-card .avatar */
.ttb42-hero .ttb42-avatar.ttb2191-user-avatar{position:relative!important;width:clamp(70px,18vw,91px)!important;height:clamp(70px,18vw,91px)!important;flex:0 0 clamp(70px,18vw,91px)!important;aspect-ratio:1!important;overflow:visible!important;isolation:isolate!important;border-radius:50%!important}
.ttb42-hero .ttb42-avatar.ttb2191-user-avatar > img:not(.ttb2191-frame-layer):not(.ttb2191-photo){position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important}
.ttb42-hero .ttb42-avatar.ttb2191-user-avatar > .ttb2191-photo{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;z-index:3!important}
.ttb42-hero .ttb42-avatar.ttb2191-user-avatar > .ttb2191-frame-layer{position:absolute!important;left:-17%!important;top:-17%!important;width:134%!important;height:134%!important;max-width:none!important;object-fit:contain!important;z-index:25!important;pointer-events:none!important;border:0!important}
/* restore a bounded Shop canvas after v21.9.7 layout regression */
/* v22.4: removed old nonbooster first-child hiding */
.page:has(#ttb2192-shop-tabs) #ttb2191-cosmetics.ttb2196-shop{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;padding:16px 12px!important}
#ttb2191-cosmetics.ttb2196-shop .ttb2196-wheel{max-width:100%!important;width:100%!important;overflow:hidden!important}
#ttb2191-cosmetics.ttb2196-shop .ttb2196-wheel-stage{width:100%!important;max-width:100%!important;height:clamp(230px,64vw,310px)!important;min-height:0!important;overflow:hidden!important;touch-action:pan-y!important}
#ttb2191-cosmetics.ttb2196-shop .ttb2196-wheel-stage img{max-width:unset}
#ttb2191-cosmetics.ttb2196-shop .ttb2196-wheel-center{transform:translateX(var(--ttb2198-drag,0px));transition:transform .15s ease-out!important}
#ttb2191-cosmetics.ttb2196-shop .ttb2196-wheel-stage.ttb2198-dragging .ttb2196-wheel-center{transition:none!important}
#ttb2191-cosmetics.ttb2196-shop .ttb2196-wheel-side.left{translate:calc(var(--ttb2198-drag,0px)*.55) 0}
#ttb2191-cosmetics.ttb2196-shop .ttb2196-wheel-side.right{translate:calc(var(--ttb2198-drag,0px)*.55) 0}
#ttb2191-cosmetics.ttb2196-shop .ttb2196-wheel-stage img{background:transparent!important}
#ttb2191-cosmetics.ttb2196-shop .ttb2196-wheel-avatar{border-radius:50%!important}
#ttb2191-cosmetics.ttb2196-shop .ttb2196-wheel-ring{background:transparent!important;object-fit:contain!important}
@media(max-width:390px){.ttb42-hero .ttb42-avatar.ttb2191-user-avatar{width:68px!important;height:68px!important;flex-basis:68px!important}}
