/* Нижняя мобильная навигация и меню создания. */

/* Меню внизу экрана с кнопками карты, каталога и создания. */
.mobileNav {
  position: fixed;
  z-index: 60;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  background: var(--panel);
  box-shadow: 0 -4px 24px #0001;
  grid-template-columns: 1fr 1fr 1fr !important;
  padding: 5px 10px calc(5px + env(safe-area-inset-bottom)) !important;
  border-top: 0 !important;
}

.mobileSettingsButton {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--soft);
  font-size: 21px;
}

.mobileNav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  border-radius: 14px;
  min-height: 52px !important;
  font-size: 11px !important;
}

.mobileNav button span {
  font-size: 23px;
  line-height: 26px;
}

.mobileNav button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--ink);
}

.mobileNav .mobileAdd span {
  display: grid;
  place-items: center;
  width: 46px !important;
  height: 36px !important;
  border-radius: 12px;
  font-size: 24px !important;
  line-height: 36px !important;
  background: var(--accent) !important;
  color: var(--onaccent) !important;
  box-shadow: 0 4px 14px #0002;
}

/* Скрытие меню во время выбора точки на карте. */
.selecting .mobileNav {
  display: none;
}

body:has(.selecting) .mobileNav {
  display: none !important;
}

/* Меню добавления места или подборки. */
.mobileCreateOptions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.mobileCreateOptions button {
  text-align: left;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}

.mobileCreateOptions strong {
  display: block;
  font-size: 17px;
  margin-bottom: 5px;
}

.mobileCreateOptions small {
  color: var(--muted);
}
