/* Maple Mono: resolved by unifont from the `fontsource` provider.
 * https://unifont.dev/fonts/Maple%20Mono
 */

/* latin */
@font-face {
  font-family: "Maple Mono";
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/maple-mono@latest/latin-400-normal.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

:root {
  --font-maple-mono: "Maple Mono", "Maple Mono fallback", monospace;
}

/* Metric-matched fallback, so text does not reflow when the real font lands. */
@font-face {
  font-family: "Maple Mono fallback";
  src: local("Courier New"), local("Cousine"), local("Liberation Mono"), local("DejaVu Sans Mono"), local("Menlo");
  size-adjust: 100%;
  ascent-override: 102%;
  descent-override: 30%;
  line-gap-override: 0%;
}
