/* ============================================================
   Coin Originals — the type component.

   Every house game links this. Before it existed each game named
   `Inter` or `Outfit` with no generic and no @font-face, so the
   figures painted in Arial and the captions in TIMES NEW ROMAN
   (measured with CDP getPlatformFontsForNode). sheet.css declares
   one family for the whole shared panel, which meant the fairness
   dialog was a different typeface in every game — the one panel a
   player is most likely to compare between them.

   Both faces are already in this repo and both load from file://.
   No CDN: the games must run by double-clicking index.html, and a
   Google Fonts <link> resolves to nothing offline, silently.

   THE RULE, applied without judgement: a number is --fig, a word is
   --ui. Inside a sentence too — "1 in" is Inter, "3.4" is Roboto.
   Roboto's digits are tabular by default and 10.6% narrower per
   digit than Inter's, which is why the figures are its job.
   ============================================================ */

@font-face{
  font-family:'CP Figure';                                    /* Roboto */
  src:url('assets/fonts/roboto-latin.woff2') format('woff2');
  font-weight:100 900; font-style:normal; font-display:block;
}
@font-face{
  font-family:'CP Figure';
  src:url('assets/fonts/roboto-latin-ext.woff2') format('woff2');
  font-weight:100 900; font-style:normal; font-display:block;
  unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,
                U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:'CP UI';                                        /* Inter */
  src:url('assets/fonts/inter-latin.woff2') format('woff2');
  font-weight:100 900; font-style:normal; font-display:block;
}
@font-face{
  font-family:'CP UI';
  src:url('assets/fonts/inter-latin-ext.woff2') format('woff2');
  font-weight:100 900; font-style:normal; font-display:block;
  unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,
                U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* `block`, not `swap`: a swap reflows every figure in the frame, and these
   files are local so the block period is a frame or two. Both latin-ext
   faces are declared because ₮ (U+20AE) lives there and the operator bridge
   decides the currency — tofu on a currency glyph is a visible failure. */

:root{
  --fig:'CP Figure',Roboto,'Segoe UI',system-ui,sans-serif;
  --ui :'CP UI',Inter,'Segoe UI',system-ui,sans-serif;
}
