/* v0.9.31 (round 13): one 320x50 banner in the top bar on every menu screen. The bar sheds its least
   important pills, level by level, until the slot fits (data-tbfit set by placeBanner). */
.ad-banner.top { bottom: auto; z-index: 30; }
body:is([data-tbfit="1"], [data-tbfit="2"], [data-tbfit="3"]) .topbar :is(.tb-stage, .tb-streak, .tb-me .ttl) { display: none; }
body:is([data-tbfit="2"], [data-tbfit="3"]) .topbar :is(.tb-season, .tb-where) { display: none; }
body[data-tbfit="3"] .topbar :is(.tb-who, .cred-chip small) { display: none; }
body[data-tbfit] .topbar .tb-right { min-width: 0; }
/* stays on top of the room-loading veil so it never drops out between menu screens */
body:has(#wait-veil) .ad-banner.top { z-index: 9001; }
/* short windows use a 44 px bar: give it the banner's 50 px while the banner is up (all content is laid out from --bar-h) */
@media (max-height: 480px) { body[data-tbfit] { --bar-h: 50px; } }
