/* ============================================
   LINUS — Bottom Navigation (Pastel Light)
   ============================================ */

.nav-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max);
  height: var(--nav-height);
  padding-bottom: var(--safe-bottom);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: var(--z-nav);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: var(--space-sm) var(--space-md);
  border: none;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all var(--transition-fast);
  min-width: var(--touch-target);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
}

.nav-item:hover {
  color: var(--color-text-secondary);
}

.nav-item.active {
  color: var(--accent-lavender);
}

.nav-item__icon {
  width: 22px;
  height: 22px;
  transition: transform var(--transition-spring);
}

.nav-item.active .nav-item__icon {
  transform: scale(1.1);
}

.nav-item__label {
  font-size: 10px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.01em;
}

.nav-item.active .nav-item__label {
  font-weight: var(--weight-semibold);
}

/* ---- Linus Mini (floating orb on non-home views) ---- */
.linus-mini {
  position: fixed;
  bottom: calc(var(--nav-height) + var(--safe-bottom) + 16px);
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: var(--z-linus);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  -webkit-tap-highlight-color: transparent;
}

.linus-mini:hover {
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
}

.linus-mini:active {
  transform: scale(0.92);
}
