/* Mobile navigation: eight destinations in one horizontally scrollable row. */
@media (max-width: 760px) and (pointer: coarse) {
  #mobile-nav[hidden] { display:none!important; }
  #mobile-nav:not([hidden]) {
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    grid-template-columns:none!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    height:70px!important;
    max-height:70px!important;
    box-sizing:border-box!important;
    padding:5px 7px!important;
    gap:3px!important;
    touch-action:pan-x;
  }
  #mobile-nav::-webkit-scrollbar { display:none; }
  #mobile-nav a {
    flex:0 0 65px!important;
    min-width:65px!important;
    max-width:65px!important;
    height:58px!important;
    min-height:0!important;
    box-sizing:border-box!important;
    white-space:nowrap;
  }
  #mobile-nav a span { white-space:nowrap!important; }
  #main:not(.auth-page) { padding-bottom:calc(135px + env(safe-area-inset-bottom, 0px))!important; }
}
