/* Desktop top and rail units; mobile uses the official bottom Auto ads anchor. */
body>.tl-mobile-ad{display:none!important}
.tl-desktop-top-ad{display:none}
#tlAnchorClearance{display:block;height:0;clear:both;flex:0 0 auto;pointer-events:none}
.tl-ads-layout>.tl-ad-active>.ad-rail-sticky{visibility:visible!important}
.tl-ad-active .ad-label{display:block;text-align:center;font:10px/15.5px system-ui,sans-serif;letter-spacing:.08em;color:#8b9ba8;margin-bottom:8px}
.tl-ad-active .ad-slot{border:0;border-radius:0;background:transparent;overflow:visible;display:block}
@media(min-width:1024px){
 /* Reserve the same space before JS inserts the band, avoiding a content jump. */
 body>.source-switch:has(+ main.has-ad-rail:not([hidden])),body>.source-switch:has(+ main:not([hidden])>.ad-rail),body>.source-switch:has(+ main:not([hidden])>.earnings-ad-rail){margin-bottom:150.5px}
 body>.tl-desktop-top-ad{display:block;box-sizing:border-box;padding:16px 184px 20px 0;border-bottom:1px solid #243240;background:#0b121a}
 /* At the 970px breakpoint the centered unit can extend into the content gutters. */
 #tlDesktopInlineAd{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;box-sizing:border-box;padding:16px 0 20px}
 #tlDesktopInlineAd>.tl-top-ad-mount{margin:0}
 .tl-desktop-top-ad>.ad-label{display:block;text-align:center;font:10px/15.5px system-ui,sans-serif;letter-spacing:.08em;color:#8b9ba8;margin:0 0 8px}
 /* Keep a served creative at its original size when a desktop window resizes. */
 .tl-top-ad-mount{width:max-content;height:90px;margin:0 auto}
 ins.tl_top_ad{width:728px;height:90px}
 body main.tl-ads-layout:not(.tl-trading-layout){display:grid;grid-template-columns:minmax(0,1fr) 184px;gap:0}
 body main.tl-ads-layout.tl-trading-layout{grid-template-columns:292px minmax(0,1fr) 184px}
 body main.tl-ads-layout>.tl-ad-active{display:block!important;grid-column:-2/-1;grid-row:1;align-self:stretch;margin:0;padding:24px 24px 24px 0}
 body main.tl-ads-layout>.tl-ad-active .ad-rail-sticky{position:sticky;top:20px;width:160px}
 body main.tl-ads-layout>.tl-ad-active .ad-slot{width:160px;height:600px}
}
@media(min-width:1024px) and (max-width:1209px){body>.tl-desktop-top-ad{padding-right:0}}
@media(min-width:1210px){ins.tl_top_ad{width:970px}}
@media(max-width:1023px){
 /* The full-height native drawer and its backdrop cover the page and anchor. */
 :is(#manualMenu,#mobileMenu,#mapMenu)::backdrop{background:#0b141c!important;backdrop-filter:none!important}
 #tlAnchorClearance{height:var(--tl-anchor-space,0px)}
 html[data-tl-anchor-active="true"]{scroll-padding-bottom:calc(var(--tl-anchor-bottom) + 16px)}
 html[data-tl-anchor-active="true"] :is(#toast,#csvExperienceToast,#calendarLoginNotice,.earnings-refresh-notice){top:auto!important;bottom:calc(var(--tl-anchor-bottom) + max(16px,env(safe-area-inset-bottom)))!important}
 /* Change our dialogs only; their sticky save bars stay inside the safe area. */
 html[data-tl-anchor-active="true"] dialog[open]{bottom:var(--tl-anchor-bottom)!important;max-height:calc(var(--tl-anchor-view-height,100dvh) - var(--tl-anchor-bottom) - 24px)!important;box-sizing:border-box;overflow-y:auto;scroll-padding-bottom:16px}
 html :is(#manualMenu,#mobileMenu,#mapMenu)[open]{top:var(--tl-anchor-view-top,0px)!important;bottom:auto!important;height:var(--tl-anchor-view-height,100dvh)!important;max-height:var(--tl-anchor-view-height,100dvh)!important}
 body main>.ad-rail,body main>.earnings-ad-rail{display:none!important}
 body main.tl-ads-layout:not(.tl-trading-layout){display:block}
 body main.tl-ads-layout.tl-trading-layout{grid-template-columns:292px minmax(0,1fr)}
}
@media(max-width:720px){body main.tl-ads-layout.tl-trading-layout{grid-template-columns:minmax(0,1fr)}}
@media print{body>.tl-mobile-ad,.tl-desktop-top-ad,.tl-ad-active,#tlAnchorClearance{display:none!important}}
