/* Abyss Gaming Hub v234Z R99 — public homepage mobile menu visibility repair.
   R89 remains the safe-area owner; R99 only makes the expanded hamburger panel
   anchor to the actual rendered sticky header and prevents the header from
   clipping its own menu. */

@media (max-width: 780px), (hover: none) and (pointer: coarse) {
  body.public-home-page .site-nav {
    overflow: visible !important;
  }

  body.public-home-page .site-nav.open .nav-links,
  body.public-home-page .site-nav.r93-nav-collapsed.open .nav-links {
    top: 100% !important;
    z-index: 80 !important;
    max-height: calc(100dvh - var(--agh-public-safe-top, 0px) - 78px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

@media (hover: none) and (pointer: coarse) and (orientation: landscape) {
  body.public-home-page .site-nav.open .nav-links,
  body.public-home-page .site-nav.r93-nav-collapsed.open .nav-links {
    max-height: calc(100dvh - 58px - var(--agh-public-safe-top, 0px)) !important;
  }
}
