/* FEARX Food Map - brand.css
 * Aligns the app with the bootcamp.fearx.gg design language (BFX guide:
 * YELLOW #FFD200, BNK RED #D7141F, black, white; Pretendard + Bebas Neue).
 * Loaded last in base.html so it wins over page styles. Layout is unchanged:
 * the PC nav rail / mobile bottom bar and the light/dark toggle stay.
 * Colour tokens themselves live in base.css.
 */
@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/BebasNeue-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Titles use Pretendard (2026-10-21). Bebas Neue stays loaded for any legacy markup. */
:root { --font-display: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif; }

/* Dark theme map: darken each OSM tile image. A filter on the whole tile pane
   leaves iOS Safari painting only part of the map, so keep it per tile. */
.osm-dark .leaflet-tile { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.88) saturate(.55); }

/* Brand title: Pretendard wordmark only (no eyebrow subtitle, user rule 2026-10-21) */
.logo-text > span { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.menu-title { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; line-height: 1.15; }

/* Pills, as on the bootcamp page */
.chip, .count-badge, .icon-btn, .status-btn, .pop-menu-btn, .menu-nav select { border-radius: 999px; }
.chip.active { box-shadow: 0 0 0 1px var(--accent); }
.menu-tabs { border-radius: 999px; }
.menu-tab { border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; letter-spacing: -0.01em; }

/* Nav rail: yellow active marker (labels stay as-is: uppercase overflows the 72px rail) */
.nav-item { position: relative; }
.nav-item[aria-current="page"]::before { content: ""; position: absolute; background: var(--accent); border-radius: 999px; }
@media (min-width: 861px) {
  .nav-item[aria-current="page"]::before { left: 0; top: 14px; bottom: 14px; width: 3px; }
}
@media (max-width: 860px) {
  .nav-item[aria-current="page"]::before { top: 0; left: 30%; right: 30%; height: 2px; }
  .logo-text > span { font-size: 17px; }
  .menu-title { font-size: 18px; }
  .menu-tab { font-size: 12.5px; }
}
