.mobile-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-around;
  padding: 7px 5px max(7px, env(safe-area-inset-bottom));
  border-top: 1px solid #ececec;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 -3px 12px rgba(0, 0, 0, .1);
}

.mobile-item {
  min-width: 0;
  min-height: 58px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 2px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.mobile-item > span {
  font-size: 21px;
  line-height: 1;
}

.mobile-item small {
  overflow: hidden;
  max-width: 100%;
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-item.active {
  background: var(--primary-soft);
  color: var(--primary);
}

@media (min-width: 768px) and (orientation: landscape), (min-width: 1101px) {
  .mobile-nav {
    display: none;
  }
}

@media (max-width: 375px) {
  .mobile-item > span {
    font-size: 18px;
  }

  .mobile-item small {
    font-size: 9px;
  }
}
