:root {
  --mobile-nav-h: 72px;
}
@media (max-width: 767px) {
  body {
    padding-bottom: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom, 0px));
  }
  .mobile-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 900;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0px));
    height: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: 0 -6px 24px rgba(0,0,0,0.08);
    border-top: 1px solid rgba(0,0,0,0.05);
  }
  .mobile-nav__item {
    flex: 1 1 0;
    text-align: center;
    text-decoration: none;
    color: #1f1f1f;
    font-size: 12px;
    line-height: 1.1;
  }
  .mobile-nav__item--center .mobile-nav__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #f4f6fb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-nav__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    margin-bottom: 6px;
  }
  .mobile-nav__icon svg,
  .mobile-nav__icon .i {
    width: 24px; height: 24px;
    fill: currentColor;
  }
  .mobile-nav__icon img {
    width: 26px; height: 26px;
    object-fit: contain;
  }
  .mobile-nav__label {
    display: block;
    font-weight: 500;
  }
  .mobile-nav__badge {
    position: absolute;
    top: -4px; right: -8px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
  }
}
@media (min-width: 768px) {
  .mobile-nav { display: none !important; }
}

@media (max-width: 375px) {
  .mobile-nav__label {
    font-size: 11px;
  }
  .mobile-nav {
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  }
}