/* FEBRY.OPS V415 — mobile navigation/login stability; visual-only overrides. */
@media(max-width:900px){
 html.febry-nav-locked,html.febry-nav-locked body{overflow:hidden!important;overscroll-behavior:none!important}
 .febry-global-drawer{position:fixed!important;inset:0!important;transform:none!important;width:100vw!important;height:100dvh!important;overflow:visible!important}
 .febry-global-panel{left:max(8px,env(safe-area-inset-left))!important;right:auto!important;top:max(8px,env(safe-area-inset-top))!important;width:min(86vw,320px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;box-sizing:border-box!important}
 .febry-global-links{width:100%!important;min-width:0!important}
 .febry-global-title{white-space:normal!important;overflow-wrap:anywhere!important}
}
@media(max-width:600px){
 body.cl-home .cl-nav{display:flex!important;flex-wrap:nowrap!important;gap:5px!important;padding-inline:8px!important;min-height:56px!important}
 body.cl-home .cl-nav .cl-brand{min-width:0!important;flex:0 1 auto!important;max-width:clamp(86px,26vw,124px)!important;margin-right:auto!important}
 body.cl-home .cl-nav .febry-site-logo{max-width:100%!important;height:auto!important}
 body.cl-home .cl-nav .fa-account{flex:0 0 auto!important;margin-left:0!important}
 body.cl-home .cl-nav .fa-guest{gap:4px!important}
 body.cl-home .cl-nav .fa-login,body.cl-home .cl-nav .fa-register,body.cl-home .cl-nav .fa-toggle{min-height:35px!important;padding:6px 8px!important;font-size:10px!important;border-radius:9px!important}
 body.cl-home .cl-nav .fo-theme-switch{margin:0!important;flex:0 0 34px!important;width:34px!important;height:35px!important;min-width:34px!important;padding:0!important;justify-content:center!important}
 body.cl-home .cl-nav .fo-theme-label{display:none!important}
 body.cl-home .cl-nav .febry-global-menu-btn{width:35px!important;height:35px!important;min-width:35px!important;flex-basis:35px!important;margin:0 3px 0 0!important;border-radius:10px!important}
 .fa-top-inner{padding-inline:10px!important;gap:5px!important;min-width:0!important}
 .fa-top-inner .fa-brand{flex:0 1 100px!important;min-width:0!important}
 .fa-top-inner .fa-brand img{height:auto!important;max-width:100%!important}
 .fa-top-inner .fa-links{margin-left:auto!important;gap:4px!important;flex:0 1 auto!important}
 .fa-top-inner .fa-links a:not(.fo-home-utility){display:none!important}
 .fa-top-inner #foThemeSwitch{flex:0 0 34px!important;width:34px!important;min-width:34px!important;height:35px!important;margin:0!important;padding:0!important}
 .fa-top-inner #foThemeSwitch .fo-theme-label{display:none!important}
 .fa-top-inner .fa-account{flex:0 0 auto!important;margin-left:0!important}
 .fa-top-inner .fa-guest{gap:4px!important}
 .fa-top-inner .fa-login,.fa-top-inner .fa-register,.fa-top-inner .fa-toggle{padding:6px 8px!important;font-size:10px!important;min-height:35px!important}
 .fa-auth{width:100%!important;max-width:460px!important;padding:16px!important;margin:22px auto 34px!important}
 .fa-auth input{width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .fa-frame{max-width:100%!important;padding-inline:14px!important}
}
@media(max-width:360px){
 body.cl-home .cl-nav .cl-brand{max-width:84px!important}
 body.cl-home .cl-nav .fa-login,body.cl-home .cl-nav .fa-register{padding-inline:6px!important;font-size:10px!important}
 .fa-top-inner .fa-brand{flex-basis:82px!important}
 .fa-top-inner .fa-links{display:flex!important}
 .fa-top-inner .fo-home-utility{padding:5px!important;min-width:33px!important;font-size:9px!important}
 .fa-top-inner .fa-login,.fa-top-inner .fa-register{padding-inline:5px!important;font-size:10px!important}
}

/* Homepage uses a native <details> menu (not the cross-page JS drawer). */
@media(max-width:800px){
 body.cl-home .cl-mobile-menu{position:static!important;z-index:4200!important}
 body.cl-home .cl-mobile-menu>summary{position:relative!important;z-index:4201!important;white-space:nowrap!important;padding:7px 9px!important;font-size:11px!important;min-height:35px!important;display:flex;align-items:center}
 body.cl-home .cl-mobile-menu[open]>div{position:fixed!important;top:calc(58px + env(safe-area-inset-top))!important;left:max(8px,env(safe-area-inset-left))!important;right:max(8px,env(safe-area-inset-right))!important;width:auto!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 75px)!important;z-index:4202!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;border:1px solid #38523B!important;border-radius:13px!important;background:#101C13!important;box-shadow:0 18px 46px rgba(0,0,0,.55)!important;padding:8px!important}
 body.cl-home .cl-mobile-menu[open]>div a{display:block!important;min-width:0!important;max-width:100%!important;padding:10px 12px!important;white-space:normal!important;overflow-wrap:anywhere!important}
}
/* Preserve V414 global Light Mode while keeping the native mobile menus usable. */
@media(max-width:900px){
 html[data-fo-theme="light"] .febry-global-panel{background:#F5F9F3!important;border-color:#C5D4C1!important;box-shadow:20px 0 56px rgba(20,32,23,.22)!important}
 html[data-fo-theme="light"] .febry-global-head{background:linear-gradient(180deg,#F5F9F3 80%,rgba(245,249,243,0))!important}
 html[data-fo-theme="light"] .febry-global-links a{background:#fff!important;border-color:#D2DECE!important;color:#142017!important}
 html[data-fo-theme="light"] .febry-global-links .febry-global-title,html[data-fo-theme="light"] .febry-global-links .febry-global-no,html[data-fo-theme="light"] .febry-global-links .febry-global-arrow{color:#142017!important}
 html[data-fo-theme="light"] .febry-global-links a.active .febry-global-title{color:#496611!important}
 html[data-fo-theme="light"] .febry-global-tools,html[data-fo-theme="light"] .febry-global-tool-row,html[data-fo-theme="light"] .febry-global-foot,html[data-fo-theme="light"] .febry-global-eyebrow{color:#142017!important}
 html[data-fo-theme="light"] .febry-global-close{background:#fff!important;border-color:#C5D4C1!important;color:#142017!important}
 html[data-fo-theme="light"] body.cl-home .cl-mobile-menu[open]>div{background:#F5F9F3!important;border-color:#C5D4C1!important;box-shadow:0 16px 44px rgba(20,32,23,.2)!important}
 html[data-fo-theme="light"] body.cl-home .cl-mobile-menu[open]>div a{color:#142017!important}
}
