/* Unclip labels and keep the phone-app card out of the site tab bar.
   Does not change nav items, destinations, or the Nearby photo grid. */

html.dgpa-installed .dgpa-launch,
html.dgpa-installed #PWAInstallBanner,
html.dgpa-installed #dgpa-install-open {
  display: none !important;
}

@media (max-width: 767px) {
  .mini-footer .dgpa-launch {
    position: static !important;
    bottom: auto !important;
    margin: 14px 0 calc(96px + env(safe-area-inset-bottom));
  }

  body.theme-grid .grid-bottom-nav .title,
  body.theme-xgrid .grid-bottom-nav .title,
  .footer-bottom-bar.grid-bottom-nav .title {
    overflow: visible;
    text-overflow: clip;
    letter-spacing: 0;
    font-size: 0.56rem;
    max-width: none;
  }

  body.theme-grid .dg-nearby-quick-pill,
  body.theme-xgrid .dg-nearby-quick-pill,
  .dg-nearby-quick-pill {
    overflow: visible;
    text-overflow: clip;
    max-width: none;
    flex: 0 0 auto;
    white-space: nowrap;
  }
}
