/* Overpass Mono Nerd Font
   Injected alongside catppuccin.css only when enableBundlePatches = true.
   The JS bundle patch sets xterm.js fontFamily to "Overpass Mono Nerd Font",
   so this @font-face block must be present for NerdFont glyphs to render.
   Without the bundle patch, xterm.js uses its own default (Caskaydia Cove)
   which has NerdFont icons and is served by the container itself — this file
   is not needed in that case.
*/

/* ── Overpass Mono Nerd Font ────────────────────────────────────────── */
@font-face {
  font-family: 'Overpass Mono Nerd Font';
  src: url('/fonts/OverpassMNerdFontMono-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Overpass Mono Nerd Font';
  src: url('/fonts/OverpassMNerdFontMono-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Overpass Mono Nerd Font';
  src: url('/fonts/OverpassMNerdFontMono-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Overpass Mono Nerd Font';
  src: url('/fonts/OverpassMNerdFontMono-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* Override --font-mono for CSS-rendered monospace content (file manager
   code editor, etc.). Does NOT affect the terminal — xterm.js ignores
   CSS variables and reads fontFamily from its own options instead. */
:root,
.dark {
  --font-mono: 'Overpass Mono Nerd Font', ui-monospace, monospace;
}

.light {
  --font-mono: 'Overpass Mono Nerd Font', ui-monospace, monospace;
}
