.site-auto-header>.site-header.site-header--menu-only{transition:transform .5s ease,margin-bottom .5s ease}
.site-auto-header.tr-header-hidden>.site-header.site-header--menu-only{transform:translateY(-100%);margin-bottom:calc(24px - var(--tr-header-height,88px))}
.tr-header-handle{position:fixed;top:0;left:0;right:0;width:100%;box-sizing:border-box;z-index:1100;height:24px;padding:0 14px;border:0;border-bottom:1px solid #8b7438;border-radius:0;background:#090e14;color:#ead59a;font:bold 10px/22px sans-serif;letter-spacing:.1em;text-align:center;cursor:pointer;visibility:hidden}
.tr-header-handle span{animation:trMenuBlink 1.8s ease-in-out infinite}
@keyframes trMenuBlink{0%,100%{opacity:1}50%{opacity:.25}}
.tr-header-hidden .tr-header-handle{visibility:visible}
.tr-fullscreen .tr-header-handle{display:none}
@media(prefers-reduced-motion:reduce){.site-auto-header>.site-header.site-header--menu-only{transition:none}.tr-header-handle span{animation:none}}

.site-auto-header-unavailable .tr-header-handle{display:none}
.site-auto-header-fixed{transition:padding-top .5s ease}
.site-auto-header-fixed.tr-header-hidden:not(.site-auto-header-unavailable){padding-top:24px!important}
.site-auto-header-fixed.tr-header-hidden>.site-header.site-header--menu-only{margin-bottom:0}
@media(prefers-reduced-motion:reduce){.site-auto-header-fixed{transition:none}}

/* PRO fills only the viewport below the shared navigation. */
body.site-auto-header:has(.simulator.is-pro-experience){--site-game-header-space:var(--tr-header-height,82px);height:100dvh;overflow:hidden}
body.site-auto-header.tr-header-hidden:has(.simulator.is-pro-experience){--site-game-header-space:24px}
body.site-auto-header.site-auto-header-unavailable:has(.simulator.is-pro-experience){--site-game-header-space:0px}
html:has(body.site-auto-header .simulator.is-pro-experience){overflow:hidden}
body.site-auto-header .simulator.is-pro-experience{height:calc(100dvh - var(--site-game-header-space))!important;min-height:0!important;transition:height .5s ease}
@media(prefers-reduced-motion:reduce){body.site-auto-header .simulator.is-pro-experience{transition:none}}

/* Desktop GAME HUD: gauge below MENU, session controls below the gauge. */
@media(min-width:1000px){
 html:not(.traders-mobile-app) body.site-auto-header:has(.is-game-experience){--game-hud-menu-space:var(--tr-header-height,96px)}
 html:not(.traders-mobile-app) body.site-auto-header.tr-header-hidden:has(.is-game-experience){--game-hud-menu-space:24px}
 html:not(.traders-mobile-app) body.site-auto-header.site-auto-header-unavailable:has(.is-game-experience){--game-hud-menu-space:24px}
 html:not(.traders-mobile-app) body.site-auto-header .game-pips-gauge{top:calc(var(--game-hud-menu-space,24px) + 8px)!important;transition:top .5s ease}
 html:not(.traders-mobile-app) body.site-auto-header .simulator.is-game-experience .game-session-timer{top:calc(var(--game-hud-menu-space,24px) + 100px)!important;scale:.75;transform-origin:top right;right:12px!important}
 html:not(.traders-mobile-app) body.site-auto-header .simulator.is-game-experience :is(.oneplay-quit,.battle-quit){top:calc(var(--game-hud-menu-space,24px) + 110px)!important;scale:.75;transform-origin:top right;right:12px!important}
}
body:has(.is-game-experience)>.home-video-ad-rail{z-index:2147483646!important}
