/* FEARX Food Map - base.css
 * Foundation styles: CSS custom properties (theme variables), universal reset, body base.
 * Loaded in <head> of base.html before any page-specific stylesheet.
 */
/* Neutral greys follow bootcamp.fearx.gg (--c-bg #0A0A0A, --c-bg-elev #141414,
   --c-line #2A2A2A, --c-fg-muted #9A9A9A). Dark is the default, as on bootcamp. */
:root {
  --bg: #0A0A0A;
  --surface: #141414;
  --surface-2: #1E1E1E;
  --border: #2A2A2A;
  --text: #FFFFFF;
  --muted: #9A9A9A;
  --accent: #FFD200;
  --accent-2: #D7141F;
  --accent-text: #FFD200;
  --map-bg: #0A0A0A;
  --overlay-bg: rgba(10,10,10,.94);
  --panel-bg: var(--surface);
  --shadow: 0 8px 30px rgba(0,0,0,.5);
}
:root[data-theme="light"] {
  --bg: #F5F5F5;
  --surface: #FFFFFF;
  --surface-2: #F0F0F0;
  --border: #E5E5E5;
  --text: #0A0A0A;
  --muted: #6B6B6B;
  --accent: #FFD200;
  --accent-2: #D7141F;
  --accent-text: #D7141F;
  --map-bg: #EAEAEA;
  --overlay-bg: rgba(255,255,255,.96);
  --panel-bg: #ffffff;
  --shadow: 0 8px 30px rgba(0,0,0,.08);
}
/* Scrollbars: Windows and Linux desktop browsers draw a wide light bar with arrows by default.
   Thin bar, clear track, thumb tinted for the theme. macOS and phones keep their overlay bars. */
:root {
  --scroll-thumb: rgba(255,255,255,.18);
  --scroll-thumb-hover: rgba(255,255,255,.34);
  scrollbar-color: var(--scroll-thumb) transparent;
}
:root[data-theme="light"] {
  --scroll-thumb: rgba(0,0,0,.2);
  --scroll-thumb-hover: rgba(0,0,0,.38);
}
* { margin:0; padding:0; box-sizing:border-box; scrollbar-width:thin; }
.list:hover, .dt-scroll:hover, .dir-suggest:hover, .dir-body:hover, .menu-body:hover {
  scrollbar-color: var(--scroll-thumb-hover) transparent;
}
/* No ::-webkit-scrollbar fallback: in Safari it would replace the auto-hiding overlay bars with
   permanent ones. Chrome and Edge 121+ and Firefox use the two properties above. */
html, body {
  height:100%;
  font-family:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,system-ui,Roboto,'Helvetica Neue','Segoe UI','Apple SD Gothic Neo','Noto Sans KR','Malgun Gothic','Apple Color Emoji','Segoe UI Emoji',sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  overflow:hidden;
}

/* iPhone Safari zooms the page into any field under 16px and keeps it zoomed,
   which pushes fixed bars off screen. Phones get 16px fields. */
@media (max-width:860px){ input,select,textarea{font-size:16px !important} }
