/* Preserve the original normal / scrolled header layouts. */
:root{--today-header-height:52px}
html:has(body.today-top-layout){scroll-padding-top:calc(var(--today-header-height) + 12px)}
header.top,header.top.top-make-sticky{z-index:2147483646!important;overflow:visible!important}
header.top .top-inner{overflow:visible!important}
header.top a,header.top button{touch-action:manipulation}
header.top.is-stuck .top-main-more-menu,header.top #topNav.is-open{
 max-height:calc(100dvh - var(--today-header-height) - 12px)!important;overflow-y:auto!important;overscroll-behavior:contain!important
}
header.top #topNav.is-open{top:100%!important;max-width:calc(100vw - 16px)!important}
.tdh-slide{pointer-events:none}
.tdh-slide.is-active{pointer-events:auto}
@media(max-width:760px){
 body.today-top-layout{padding-top:var(--today-header-offset,52px)!important}
 header.top .top-inner{height:auto!important;min-height:52px!important}
}
@media(max-width:720px){
 header.top.is-stuck .top-inner{height:auto!important;min-height:48px!important}
 header.top.is-stuck .top-m-menu{overflow-x:auto!important;overflow-y:hidden!important;-webkit-mask-image:none!important;mask-image:none!important}
}

/* Keep scroll anchoring out of the header and its compensation space. */
header.top,.today-header-gap{overflow-anchor:none}
.today-header-gap{display:block;height:0;pointer-events:none;visibility:hidden}
