/* ensure bold uses the same file */
@font-face {
  font-family: "NOSFERATU";
  src: url("/assets/fonts/woff2/NOSFERATU-Regular.woff2") format("woff2"),
       url("/assets/fonts/woff/NOSFERATU-Regular.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* set Forgejo's proportional font variable (used by theme) */
:root {
  --fonts-proportional: "NOSFERATU", system-ui, -apple-system, "Segoe UI", Roboto, Arial !important;
}

/* strong global override for UI elements */
html, body, body * {
  font-family: "NOSFERATU", system-ui, -apple-system, "Segoe UI", Roboto, Arial !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* target form controls and buttons explicitly */
button, input, select, textarea, label, a.btn, .btn, .ui .btn, .form-control {
  font-family: "NOSFERATU", system-ui, -apple-system, "Segoe UI", Roboto, Arial !important;
}

/* keep monospace areas intact if desired (override only if you want monospace replaced) */
/* code, pre { font-family: "NOSFERATU", ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace !important; } */
