/* Final mobile footer clearance, loaded after all legacy styles. */
@media(max-width:768px){
html body:has([data-floating-nav]):has(.mobile-footer-v19){padding-bottom:calc(102px + env(safe-area-inset-bottom,0px))!important}
html body:has([data-floating-nav]) footer.site-footer.mobile-footer-v18{padding-bottom:0!important;margin-bottom:0!important;min-height:0!important}
html body:has([data-floating-nav]) footer.site-footer .mobile-footer-v19{padding-bottom:4px!important;margin-bottom:0!important}
html body:has([data-floating-nav]) .m-footer-licenses{padding-bottom:4px!important;margin-bottom:0!important}
}
.sx-logo-reveal-layer{position:fixed;pointer-events:none;z-index:2000;object-fit:fill;transform-origin:center}

/* Reserve the left chat-button lane; shift social icons to the right. */
@media(max-width:768px){
html body .site-footer .m19-brand-row{box-sizing:border-box;width:100%;padding-left:60px!important;gap:8px!important}
html body .site-footer .m19-brand-row .brand{flex:1 1 0;min-width:0;max-width:none!important}
html body .site-footer .m19-social{flex:0 1 auto;max-width:55%;justify-content:flex-start;gap:6px}
html body .site-footer .m19-social>a{flex:none}
}

/* Keep the footer brand on one line, with a separate social row on narrow phones. */
@media(max-width:768px){
html body .site-footer .m19-brand-row{flex-wrap:wrap;justify-content:flex-start}
html body .site-footer .m19-brand-row .brand{flex:0 0 auto;max-width:100%!important;white-space:nowrap!important}
html body .site-footer .m19-brand-row .brand b{white-space:nowrap!important;font-size:clamp(11px,3.5vw,14px)!important}
html body .site-footer .m19-brand-row .brand>div{min-width:0}
html body .site-footer .m19-social{max-width:100%;margin-right:auto}
}

/* Single brand/social row, entirely outside the fixed chat button's lane. */
@media(max-width:768px){
html body .site-footer .m19-brand-row{display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:flex-start;gap:8px!important;padding-left:60px!important;padding-right:0!important;box-sizing:border-box}
html body .site-footer .m19-brand-row .brand{flex:1 1 auto!important;min-width:0;max-width:none!important;gap:5px!important}
html body .site-footer .m19-brand-row .brand-mark.has-logo{flex:0 0 32px!important;width:32px!important;height:32px!important}
html body .site-footer .m19-brand-row .brand-mark img{max-height:32px!important}
html body .site-footer .m19-brand-row .brand>div{flex:1 1 auto;min-width:0}
html body .site-footer .m19-brand-row .brand b{white-space:nowrap!important;font-size:clamp(10px,3.1vw,12px)!important}
html body .site-footer .m19-social{flex:0 0 auto!important;display:flex!important;flex-wrap:nowrap!important;max-width:none!important;margin:0!important;gap:4px!important;justify-content:flex-start}
html body .site-footer .m19-social>a{flex:0 0 26px!important;width:26px!important;height:26px!important}
html body .site-footer .m19-social img{width:19px!important;height:19px!important}
}
@media(max-width:360px){
html body .site-footer .m19-brand-row{gap:5px!important;padding-left:56px!important}
html body .site-footer .m19-social{gap:3px!important}
html body .site-footer .m19-social>a{flex-basis:20px!important;width:20px!important;height:20px!important}
html body .site-footer .m19-social img{width:16px!important;height:16px!important}
html body .site-footer .m19-brand-row .brand-mark.has-logo{flex-basis:24px!important;width:24px!important;height:26px!important}
html body .site-footer .m19-brand-row .brand b{font-size:10px!important}
}

/* Static branding: disable legacy logo motion, hover effects and shadows. */
html body :is(.brand,.brand-mark,.m-logo),html body :is(.brand,.brand-mark,.m-logo) :is(img,svg,b,span){animation:none!important;transition:none!important;transform:none!important;filter:none!important;text-shadow:none!important;box-shadow:none!important}
html body :is(.brand,.brand-mark,.m-logo)::before,html body :is(.brand,.brand-mark,.m-logo)::after{animation:none!important;transition:none!important;transform:none!important;filter:none!important;box-shadow:none!important}
