/* Persistent mobile bottom navigation — Home / Food / Move / Reset / Me.
   Shown only below 760px; desktop keeps the existing top header nav. */

.bottom-nav {
  display: none;
}

@media (max-width: 759px) {
  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: color-mix(in oklab, var(--color-surface) 96%, transparent);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--color-border);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  /* Keep fixed bottom nav from covering the last content on every page */
  body {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0));
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding-block: 0.5rem 0.4rem;
  color: var(--color-text-faint);
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.bottom-nav-item svg {
  width: 1.375rem;
  height: 1.375rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.bottom-nav-item[aria-current='page'] {
  color: var(--color-club);
}

[data-theme='dark'] .bottom-nav-item[aria-current='page'] {
  color: var(--color-club);
}

.bottom-nav-item:active {
  opacity: 0.7;
}
