.mobile-bottom-nav__spacer {
  height: calc(78px + env(safe-area-inset-bottom, 0px));
}

.mobile-bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(18px);
}


.mobile-bottom-nav__link {
  position: relative;
  display: flex;
  flex: 1 1 25%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 62px;
  padding: 8px 4px;
  color: #6b7280;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.mobile-bottom-nav__link--active {
  background: #f4edff;
  color: #7a2bf4;
}

.mobile-bottom-nav__icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-bottom-nav__icon,
.mobile-bottom-nav__icon svg {
  width: 24px;
  height: 24px;
}

.mobile-bottom-nav__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}

.mobile-bottom-nav__badge {
  position: absolute;
  top: -6px;
  right: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #7a2bf4;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

@media (hover: hover) {
  .mobile-bottom-nav__link:hover {
    background: #f9fafb;
    color: #4b5563;
  }

  .mobile-bottom-nav__link--active:hover {
    background: #f4edff;
    color: #7a2bf4;
  }
}

@media (min-width: 768px) {
  .mobile-bottom-nav,
  .mobile-bottom-nav__spacer {
    display: none;
  }
}
