'use client'; import { Activity, Bookmark, Home, Search, Trophy } from 'lucide-react'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { cn } from '@/lib/cn'; import { useOpenSearch } from './search-context'; /** Bottom tab bar (< lg): Home · Live · Search · Rankings · Watchlist (spec §87). Safe-area aware. */ export function MobileTabBar() { const pathname = usePathname(); const openSearch = useOpenSearch(); const isActive = (href: string) => (href === '/' ? pathname === '/' : pathname === href || pathname.startsWith(href + '/')); const cls = (active: boolean) => cn('flex h-full w-full flex-col items-center justify-center gap-0.5 text-[10.5px]', active ? 'text-accent' : 'text-ink-2'); return ( ); }