/* Existing DESIGN.md spacing and touch hierarchy; retain BBlog semantic colors. */
.game-results,.game-results-scroll{min-width:0;max-width:100%;box-sizing:border-box}
.game-results-scroll{width:100%;overflow-x:auto!important;overscroll-behavior-x:contain}
.metric-label::after,.pitch-metric-label::after{display:none;box-sizing:border-box}
.metric-label:is(.is-tooltip-open,:focus-visible)::after,.pitch-metric-label:focus-visible::after{display:block}
@media(hover:hover) and (pointer:fine){
@media (hover: hover) and (pointer: fine) { .metric-label:hover::after,.pitch-metric-label:hover::after {display:block} }
}
@media(max-width:980px){.secondary-metrics .mini-metric:nth-child(3n) .metric-label::after{right:0;left:auto}.metric-label::after,.pitch-metric-label::after{width:min(220px,calc(100vw - 64px))}}
@media(max-width:640px){.metric-label::after,.pitch-metric-label::after{width:min(180px,calc(100vw - 72px))}}
.game-results{overflow:visible}
[data-home-player-file][data-player-file-state="guest"] .radar-panel,
[data-home-player-file][data-player-file-state="guest"] .career-panel,
[data-home-player-file][data-player-file-state="guest"] .honors-panel,
[data-home-player-file][data-player-file-state="guest"] .performance-stats,
[data-home-player-file][data-player-file-state="guest"] .current-team-row,
[data-home-player-file][data-player-file-state="empty"] .radar-panel,
[data-home-player-file][data-player-file-state="empty"] .career-panel,
[data-home-player-file][data-player-file-state="empty"] .honors-panel,
[data-home-player-file][data-player-file-state="empty"] .performance-stats,
[data-home-player-file][data-player-file-state="empty"] .current-team-row{display:none!important}
[data-home-player-file]:is([data-player-file-state="guest"],[data-player-file-state="empty"]) #stream{display:none!important}
[data-home-player-file]:is([data-player-file-state="guest"],[data-player-file-state="empty"]) .performance-panel{height:auto;min-height:0;grid-column:1/-1;padding:24px}
[data-ux-gate]{padding:20px;margin:12px 0;border:1px solid var(--ui-border,#cbd6e0);border-radius:16px;background:var(--ui-surface,#fff);color:var(--ui-text,#172b43)}
[data-ux-gate] h3{font-size:20px;margin:0 0 8px}[data-ux-gate] p{margin:0 0 12px;line-height:1.5}
[data-ux-gate][hidden]{display:none!important}
[data-ux-gate] button,.ux-ranking-link{min-height:44px;padding:12px 16px}
[data-ux-gate] button:focus-visible,.ux-ranking-link:focus-visible{outline:3px solid var(--ui-primary,#006dca);outline-offset:3px}
body:is([data-ux-manager-state="guest"],[data-ux-manager-state="pending"]) #character-lab,
body:is([data-ux-manager-state="guest"],[data-ux-manager-state="pending"]) #player-sharing,
body:is([data-ux-manager-state="guest"],[data-ux-manager-state="pending"]) #player-data-center .data-center-grid,
body:is([data-ux-manager-state="guest"],[data-ux-manager-state="pending"]) #player-data-center .management-advanced,
body[data-ux-manager-state="empty"] #character-lab,
body[data-ux-manager-state="empty"] #player-sharing,
body[data-ux-manager-state="empty"] #player-data-center .active-player-panel{display:none!important}
body[data-ux-manager-state="empty"] #player-data-center .data-center-grid{grid-template-columns:1fr!important}
body:is([data-ux-game-state="guest"],[data-ux-game-state="pending"]) .game-layout{display:none!important}
.game-empty-workspace{height:auto!important;min-height:0!important;padding:24px}
.ux-ranking-link{display:inline-flex;align-items:center;margin:12px 0;text-decoration:none;border:1px solid var(--ui-border,#cbd6e0);border-radius:8px;color:var(--ui-primary,#006dca);background:var(--ui-surface,#fff)}
#full-ranking{scroll-margin-top:120px}
.onboarding-card{max-height:calc(100dvh - 180px);overflow-y:auto;bottom:calc(88px + env(safe-area-inset-bottom,0px))!important}
@media(max-width:820px){[data-ux-gate]{padding:16px}[data-ux-gate] button{width:100%}}
