/* ---------- Bottom navigation ---------- */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 68px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(19, 24, 38, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.bottom-nav .nav-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 56px;
  padding: 7px 4px 6px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.bottom-nav .nav-btn span {
  display: block;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bottom-nav .nav-btn.active {
  background: var(--bg-surface-2);
  color: var(--gold);
}

.bottom-nav .nav-btn:active {
  transform: scale(0.96);
}

@media (max-width: 380px) {
  .bottom-nav {
    padding-left: 4px;
    padding-right: 4px;
  }

  .bottom-nav .nav-btn {
    font-size: 10px;
  }
}
