.bottom-nav {
  display: none;
}

.bottom-nav .bottom-nav-link {
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav .nav-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-nav .bottom-nav-link:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: -3px;
  border-radius: 12px;
}

@media (max-width: 620px) {
  .bottom-nav {
    display: flex;
    justify-content: stretch;
    gap: 2px;
    padding: 6px 5px calc(6px + env(safe-area-inset-bottom));
  }

  .bottom-nav .bottom-nav-link {
    min-width: 0;
    min-height: 58px;
    flex: 1 1 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 12px;
    color: #71817b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
  }

  .bottom-nav .bottom-nav-link.active {
    color: var(--green);
    background: var(--green-soft);
  }

  .bottom-nav .bottom-nav-link:active {
    background: var(--green-soft);
  }
}
