/* Shared mobile navigation. Visibility and authorization remain owned by existing code. */
@media(max-width:1100px){
 html body .mobile-nav {box-sizing:border-box!important;min-height:0!important;top:68px!important;bottom:0!important;height:calc(100dvh - 68px)!important;max-height:calc(100dvh - 68px)!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-gutter:stable;scroll-padding-bottom:24px;}
 html body:has(.hf-account-mobile-dock) .mobile-nav {bottom:calc(70px + env(safe-area-inset-bottom))!important;height:calc(100dvh - 138px - env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 138px - env(safe-area-inset-bottom))!important;}
 html body .mobile-nav {background:linear-gradient(100deg,rgba(13,11,9,.96),rgba(13,11,9,.83)),url('/images/v2/modal-courtyard.png') center/cover!important;padding:26px 24px 110px!important;overscroll-behavior:contain;scrollbar-color:#75603c #14110e;}
 html body .mobile-nav::before {content:'EXPLORE HEAVENFALL';display:block;max-width:540px;margin:0 auto 18px;color:#bba078;font:500 11px/1.5 Inter,Arial,sans-serif;letter-spacing:.2em;}
 html body .mobile-nav>ul {max-width:540px!important;margin:0 auto!important;padding:0!important;}
 html body .mobile-nav>ul>li {border:0!important;margin:0 0 7px!important;padding:0!important;}
 html body .mobile-nav>ul>li>a:not(.lang-option),html body .mobile-nav>ul>li>button:not(.lang-pill),html body .mobile-nav .hf-logout-link button {display:flex!important;align-items:center;justify-content:flex-start;gap:12px;width:100%!important;min-height:49px!important;padding:13px 18px!important;border:1px solid #c3a36b26!important;border-radius:5px!important;background:linear-gradient(105deg,#2c241b85,#12100d99)!important;color:#e3d9c7!important;font:500 13px/1.5 Inter,Arial,sans-serif!important;letter-spacing:.055em!important;text-align:left!important;box-shadow:none!important;box-sizing:border-box;}
 html body .mobile-nav>ul>li>a:not(.lang-option):not(.hf-login-link)::after {content:'›';margin-left:auto;color:#a58a5e;font-size:19px;font-weight:400;}
 html body .mobile-nav>ul>li>a:is(.active,.nav-active,.nw-active,.rk-active,.is-active,.dl-active,[aria-current='page']) {border-color:#be965b80!important;background:linear-gradient(100deg,#60422166,#21190e99)!important;color:#f2d6a0!important;box-shadow:inset 3px 0 #d2ab69!important;}
 html body .mobile-nav>ul>li>a:hover,html body .mobile-nav>ul>li>button:hover {border-color:#c7a26780!important;color:#ffe4ac!important;}
 html body .mobile-nav>ul>li.hf-account-link {margin-top:22px!important;}
 html body .mobile-nav .hf-account-link a {background:#1b1710dd!important;border-color:#c3a36b55!important;}
 html body .mobile-nav .hf-nav-avatar {width:30px!important;height:30px!important;object-fit:contain;border:1px solid #b69a60;border-radius:50%;}
 html body .mobile-nav .hf-logout-link button {color:#d6a39b!important;background:#31171680!important;border-color:#77393270!important;}
 html body .mobile-nav .hf-guest-only button,html body .mobile-nav a.hf-login-link {justify-content:center!important;background:linear-gradient(#bd1727,#850e1c)!important;border-color:#dc58605c!important;color:#fff1df!important;margin-top:15px!important;}
 html body .mobile-nav :is(a,button):focus-visible {outline:2px solid #e6c182!important;outline-offset:3px;}
 html body:has(.mobile-nav.active) .discord-float,html body:has(.mobile-nav.active) .discord-floating {display:none!important;}
}
@media(max-width:480px){html body .mobile-nav{padding:20px 18px 100px!important;}html body .mobile-nav>ul>li>a:not(.lang-option),html body .mobile-nav>ul>li>button:not(.lang-pill){min-height:47px!important;}}
@media(max-width:1100px){html body .mobile-nav{padding-bottom:24px!important;}html body .mobile-nav>ul{padding-bottom:8px!important;}}
