.home-bottom-nav{display:none}
@media(max-width:759px),(orientation:landscape) and (max-height:500px) and (max-width:1024px){
 body:has(#homeBottomNav):not(.game-mode):not(.player-open){padding-bottom:calc(88px + env(safe-area-inset-bottom))}
 body:not(.game-mode):not(.player-open) .home-bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;bottom:calc(8px + env(safe-area-inset-bottom));left:12px;right:12px;max-width:520px;margin-inline:auto;padding:6px;border:1px solid #e3d5ef;border-radius:21px;background:#fff;box-shadow:0 6px 28px #3b146629;z-index:80;direction:rtl}
 .home-bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;padding:7px 5px;border-radius:15px;color:#4b3265;text-decoration:none;font-size:11px;font-weight:800;line-height:1.3;-webkit-tap-highlight-color:transparent}
 .home-bottom-nav svg{width:22px;height:22px;flex-shrink:0}
 .home-bottom-nav a{position:relative}
 .home-bottom-nav a[aria-current=location]{background:transparent;color:#351052}
 .home-bottom-nav a[aria-current=location]::after{content:"";position:absolute;bottom:2px;left:50%;transform:translateX(-50%);width:26px;height:2px;border-radius:2px;background:currentColor;opacity:.65;pointer-events:none}
 .home-bottom-nav a:focus-visible{outline:3px solid #c6a3e5;outline-offset:1px}
 body:has(#homeBottomNav):not(.game-mode):not(.player-open) .support-launch{bottom:calc(90px + env(safe-area-inset-bottom))}
 body:has(#accountModal:not([hidden])) .home-bottom-nav,body:has(#codeModal:not([hidden])) .home-bottom-nav,body:has(.support-overlay:not([hidden])) .home-bottom-nav{display:none!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
