/* Guest bottom navigation must fit five equal cells on every supported phone. */
@media (max-width: 580px) {
  html,
  html body #root#root .guest-shell,
  html body #root#root .guest-shell .guest-mobile-nav,
  html body #root#root .guest-shell .guest-mobile-nav * {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }

  html body #root#root .guest-shell .guest-mobile-nav {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    column-gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 78px !important;
    padding: 5px 7px calc(5px + env(safe-area-inset-bottom)) !important;
    overflow: hidden !important;
  }

  html body #root#root .guest-shell .guest-mobile-nav > button,
  html body #root#root .guest-shell .guest-mobile-nav > button.guest-login-nav {
    box-sizing: border-box !important;
    justify-self: stretch !important;
    align-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 59px !important;
    min-height: 59px !important;
    max-height: 59px !important;
    margin: 0 !important;
    padding: 4px 1px !important;
    gap: 2px !important;
    transform: none !important;
    overflow: hidden !important;
    border-radius: 14px !important;
  }

  html body #root#root .guest-shell .guest-mobile-nav > button svg,
  html body #root#root .guest-shell .guest-mobile-nav > button.guest-login-nav svg {
    box-sizing: border-box !important;
    width: 23px !important;
    min-width: 23px !important;
    max-width: 23px !important;
    height: 23px !important;
    min-height: 23px !important;
    max-height: 23px !important;
    flex: 0 0 23px !important;
  }

  html body #root#root .guest-shell .guest-mobile-nav > button span,
  html body #root#root .guest-shell .guest-mobile-nav > button.guest-login-nav span {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    font-size: 10px !important;
    line-height: 16px !important;
    text-align: center !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 340px) {
  html body #root#root .guest-shell .guest-mobile-nav {
    padding-inline: 4px !important;
  }

  html body #root#root .guest-shell .guest-mobile-nav > button,
  html body #root#root .guest-shell .guest-mobile-nav > button.guest-login-nav {
    padding-inline: 0 !important;
    border-radius: 12px !important;
  }

  html body #root#root .guest-shell .guest-mobile-nav > button span,
  html body #root#root .guest-shell .guest-mobile-nav > button.guest-login-nav span {
    font-size: 9px !important;
  }
}
