/* Floating "Liquid Glass" nav: detached from the screen edge, frosted
   translucent pill, matching the glass-chip treatment already used for
   .icon-btn / .listing-tag elsewhere in the app rather than a flat surface. */

.bottom-nav {
  position: fixed;
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 40px);
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 8px;
  border-radius: var(--radius-pill);
  background: rgba(5, 9, 13, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(245, 245, 243, 0.12);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(245, 245, 243, 0.08);
}

.nav-item, a.nav-item:link, a.nav-item:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, width 0.2s ease;
}

.nav-item.is-active {
  width: 64px;
  background: var(--accent-lime);
  color: #0B0D08;
  /* Named so the gold capsule morphs across to its new tab during a
     cross-document view transition instead of cross-fading in place. */
  view-transition-name: nav-pill;
}
