/* This book's own settings, imported by engine.css. The engine files next to this one are the same in every book
   and are replaced when the engine is updated; this file is not.
   Settings (uncomment to use):
:root {
  --math-font: "Avenir Next", Arial, sans-serif;   face for numbers and formulas (default: a serif, see engine.js)
  --progress-key: "progress";                      localStorage key shared with the cover (default: one per book folder)
  --page: #e9e5d8; --board: #fbfaf5; --panel: #fff; --edge: #d8d2c0;      a light board: the palette at the top of
  --chalk: #1d1d1f; --dim: #6a6a6e; --faint: #c4bfae;                       engine.css, redefined; the stage, cards,
  --task: #e2589b; --quiz: #1f6fc5; --good: #3f8a1d; --bad: #d9473a;        bar and COL follow (#rrggbb for the ink
  --on-fill: #fff; --vignette: rgba(90, 70, 30, .08); color-scheme: light;  and board colours COL reads)
  --rule: #ece8e0; --track: #e6e2d5; --track-ask: #cfdeeb;                   and the shades between them
  --bar-edge: #eae6da; --hover: #efede6; --veil: #e9e5d8;
}
   Style overrides go here too. They come before the engine's rules, so make each selector more specific than the
   engine's, e.g. ':root .card.band' for '.card.band'. */

/* The film's two faces: hand lettering on Claude's cardboard sign and the notebook (Permanent Marker, Apache 2.0),
   and the terminal (JetBrains Mono, SIL OFL 1.1). Latin subsets from Google Fonts, kept here so the book runs offline. */
@font-face { font-family: 'CW Marker'; src: url(fonts/marker.woff2) format('woff2'); font-display: block; }
@font-face { font-family: 'CW Mono'; src: url(fonts/mono.woff2) format('woff2'); font-weight: 100 800; font-display: block; }
@font-face { font-family: 'CW Hand'; src: url(fonts/hand.woff2) format('woff2'); font-display: block; }   /* Patrick Hand, SIL OFL 1.1: the notebook */

/* The 4:5 cut for X (ch01/?frame=45, kit.js F45): captions narrower, inside the centre 720-wide window. */
:root.f45 .caption { max-width: 680px; font-size: 29px; bottom: 98px; }   /* bottom counts from under the 60 px bar */
:root.f45 .caption { text-wrap: balance; }
