@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  body.has-pwa-bottom-nav {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  }

  .pwa-bottom-nav {
    position: fixed;
    z-index: 1030;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0.25rem 0.25rem calc(0.25rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #dee2e6;
    background: #fff;
  }

  .pwa-bottom-items {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: stretch;
  }

  .pwa-nav-item {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 44px;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0.35rem;
    padding: 0.4rem 0.2rem;
    background: transparent;
    color: #40514d;
    font: inherit;
    font-size: 0.72rem;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
  }

  .pwa-nav-item.is-active {
    color: #123d36;
    font-weight: 700;
  }

  .pwa-nav-item[aria-current="page"]::after {
    position: absolute;
    right: calc(50% - 0.6rem);
    bottom: 0.12rem;
    width: 1.2rem;
    height: 2px;
    background: #123d36;
    content: "";
  }

  .pwa-nav-item:focus-visible,
  .pwa-nav-more .dropdown-item:focus-visible {
    z-index: 1;
    outline: 3px solid #d99a24;
    outline-offset: -2px;
  }

  .pwa-nav-more {
    min-width: 0;
    flex: 1 1 0;
  }

  .pwa-nav-more > .pwa-nav-item {
    width: 100%;
  }

  .pwa-nav-more .dropdown-menu {
    max-width: min(90vw, 22rem);
    max-height: 70vh;
    margin-bottom: 0.35rem;
    overflow-y: auto;
  }

  .pwa-nav-more .dropdown-item,
  .pwa-nav-more .dropdown-item form,
  .pwa-nav-more .dropdown-item button {
    min-height: 44px;
  }

  .demo-desktop-more {
    display: none;
  }

  .pwa-ios-dialog {
    width: min(90vw, 26rem);
    border: 0;
    border-radius: 0.8rem;
    padding: 0;
    box-shadow: 0 1rem 3rem #0003;
  }

  .pwa-ios-dialog::backdrop {
    background: #10211dcc;
  }

  .pwa-ios-dialog-content {
    padding: 1.5rem;
  }
}

@media (min-width: 769px) {
  .pwa-bottom-nav {
    display: none;
  }

  .demo-desktop-more {
    display: block;
  }
}
