/* CDM-116 | iOS/Android home-screen bottom navigation.
 * The Home indicator must have its own clear strip, even when the browser
 * reports env(safe-area-inset-bottom) as 0 in standalone display mode.
 * Keep the bar fixed; lift its CONTENT, not the whole navigation container.
 */
@media (max-width: 767px) {
  .app-shell .discovery-mobile-nav,
  .discovery-app-shell .discovery-mobile-nav {
    bottom: 0;
    padding-top: 8px;
    padding-bottom: max(30px, env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box;
  }

  .app-shell .discovery-mobile-nav a,
  .discovery-app-shell .discovery-mobile-nav a {
    min-height: 48px;
    justify-content: center;
    gap: 4px;
  }

  .app-shell .discovery-mobile-nav a small,
  .discovery-app-shell .discovery-mobile-nav a small {
    font-size: 11px;
    line-height: 1.35;
    white-space: nowrap;
  }

  /* Leave room for the taller fixed menu at the end of scrolling. */
  .app-shell,
  .discovery-app-shell {
    padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
  }
}
