.bottom-bar {
  display: none;
}

@media (max-width: 1000px) {

  .bottom-bar {
    position: fixed;
    right: 50%;
    bottom: 8px;
    left: auto;
    z-index: 9990;
    max-height: 80px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    width: min(400px, calc(100vw - 32px));
    min-height: 48px;
    padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
    border: 1px solid rgba(var(--text), 0.06);
    border-radius: 14px;
    background: rgba(var(--div-bg), 0.96);
    box-shadow:
      0 12px 28px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transform: translateX(50%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .bottom-bar__item {
    position: relative;
    display: inline-flex;
    min-width: 0;
    min-height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border: 0;
    border-radius: 10px;
    padding: 10px 5px 5px;
    color: rgba(var(--text), 0.38);
    background: transparent;
    font: inherit;
    font-size: 8px;
    font-weight: 300;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
      color 0.2s ease,
      background 0.2s ease,
      transform 0.2s ease;
  }

  .bottom-bar__item svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    opacity: 0.72;
    margin: 0;
  }

  .bottom-bar__item span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 10px;
  }

  .bottom-bar__item:hover,
  .bottom-bar__item.is-active {
    font-weight: 500;
    border-radius:10px;
    color: rgba(var(--text), 1);
    background: rgba(var(--theme), .08);
  }

  .bottom-bar__item--user img {
    width: 22px;
    height: 22px;
    border: 1px solid rgba(var(--theme), 0.32);
    border-radius: 999px;
    object-fit: cover;
    box-shadow: none;
    opacity: 1;
  }
}

