/* The shared top bar on the pages that have no arcade toolbar (Overhang, Pinwheel, Coming soon pages, House, Profile).
   brand/neon/shell.js builds the bar (html.tsh-on.tsh-lite); brand/neon/shell-pre.js reserves the menu space first.
   The bar itself is styled by brand/neon/shell.css (or the game-shell bundle, which contains it). */
html[data-shell-lite]{--tsh-h:64px;scroll-padding-top:calc(var(--tsh-h) + 12px)}
@media (max-width:640px){html[data-shell-lite]{--tsh-h:56px}}
/* the room under the fixed bar is reserved from the first paint, so the bar arriving moves nothing */
html[data-shell-lite] body{padding-top:var(--tsh-h)!important}
/* hidden until the bar and menu have built; no flash of the old layout. Needs shell-pre.js, so a page without script still shows */
html.tl-pre:not(.tl-booted) body{visibility:hidden}
html.tl-booted body{animation:tl-boot .28s ease-out}
@keyframes tl-boot{from{opacity:0}}
@media (prefers-reduced-motion:reduce){html.tl-booted body{animation:none}}
/* a lite bar has no toolbar below it: the sound control is in the account menu */
html.tsh-lite .tsh-right #muteBtn{display:none!important}
/* the balance pill is a pill and nothing else here: no mode switch */
html.tsh-lite .tsh-pill{padding:0 16px}
html.tsh-lite .tsh-pill[hidden]{display:none}
html.tsh-lite .tsh-right .livebtn[hidden]{display:none}
html.tsh-lite .tsh-pill .bal .amt{cursor:default}
/* long names must not push the pill: the menu button and the pill keep their size */
html.tsh-lite .tsh-top .ph-logo small{max-width:30vw}
/* pages that carry no brand/tokens.css (Overhang, Pinwheel) still need the bar's type: zero specificity, so tokens.css wins where it is loaded */
:where(html[data-shell-lite]){--font-sans:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;--font-mono:ui-monospace,"SF Mono",Menlo,monospace;--muted:#bdc1d8}
/* brand/prjx.css makes the bar 104px tall on phones for the arcade pill with its stacked mode switch; the lite pill has none */
@media (max-width:640px){html.tsh-on[data-shell-lite]:not([data-practice-only]){--tsh-h:56px}}
@media (max-width:420px){:root:not(#px) body .tsh-top .tsh-pill{flex-direction:row!important;height:40px!important;min-width:0!important;padding:0 12px!important}}
