.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  height: calc(var(--bottom-nav-h) + var(--safe-bottom));
  padding: 8px 10px var(--safe-bottom);
  background: color-mix(in srgb, var(--bg-elevated) 92%, transparent);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 52px;
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.bottom-nav a svg {
  width: 22px;
  height: 22px;
}

.bottom-nav a.is-active,
.bottom-nav a:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.bottom-nav a.is-active {
  color: var(--accent);
}

@media (min-width: 1024px) {
  .bottom-nav {
    display: none;
  }
}
