@font-face { font-family: "OCR-EMO"; src: url("fonts/OCR-EMO.woff2") format("woff2"); font-display: block; }
@font-face { font-family: "OCR-A"; src: url("fonts/ocra-alt.otf") format("opentype"); font-display: block; }
/* To the Glory of the Lord Jesus Christ, His Church and His Kingdom: */

/* The raw values of the page's chrome, and nowhere else: app.css
   names them with var(), never a number or colour of its own.
   (The splash keeps its own, in the page: drawn before any file.) */
:root {
  /* the cell: every box is a whole number of them (32 means 32) */
  --cell: 32px;
  --cell-2: 64px;
  --cell-3: 96px;
  --cell-6: 192px;
  --cell-10: 320px;
  --cell-20: 640px;
  --half: 16px;
  --line: 2px;
  --edge: 4px;

  /* type */
  /* the fonts we made (world-tetra/drop/fonts; Scott, 2026-10-16:
     "please use our own fonts we made"): OCR-EMO, OCR-A behind it */
  --mono: "OCR-EMO", "OCR-A", ui-monospace, monospace;
  --text: 14px;
  --text-big: 16px;
  --text-huge: 32px;
  /* an emo is 1.25 of its font wide: this is one cell */
  --emo-size: calc(var(--cell) * 4 / 5);
  /* a switchboard key: 36 points; its emo's font, so the glyph drawn
     fills the key */
  --key: 36pt;
  --key-emo: calc(var(--key) * 5 / 6);
  --bold: 700;

  /* colour: white on the scene, a dark veil where words need it */
  --ink: #fff;
  --ink-soft: #fffc;
  --ring: #fff8;
  --veil: #000a;
  /* the view-mask: nothing of the page shows through */
  --mask: #000;
  --mask-dim: #0004;
  --pick-bg: #000;
  --halo: 0 0 4px #000, 0 0 2px #000;
  --dim: .35;
  --stripe: #ffffff0a;

  /* the rim (frame/29-rim.mjs): its cell, the veil of its bars and
     panels, the lit key's ground, and a panel's width */
  --rim-cell: 32px;
  --rim-veil: #000c;
  --rim-lit: #ffffff24;
  --rim-panel-w: 384px;
  --rim-pad: 16px;
  --rim-pad-narrow: 6px;
  --rim-handle: 10px;
  --rim-round: 6px;
  /* the bars' and columns' layer, the corner's above them; a key's
     slot digit: its gap, its size, how dim beside the word */
  --rim-z: 8;
  --rim-z-corner: 9;
  --rim-n-pad: 4px;
  --rim-n-size: .8em;
  --rim-n-dim: .7;
  --rim-swatch: 14px;
  /* the notices' list and the specimen (frame/58-notes.mjs): their
     width, their veil (the view seen through), their layer (under a
     panel's), and how much of the height the list may take */
  --notes-w: 320px;
  --notes-veil: #0009;
  --notes-z: 6;
  --notes-tall: 60dvh;
  --notes-tall-narrow: 30dvh;
  --spec-w: 360px;
  --pro-text-h: 12em;
  /* the grid page (grid.html): its panes and gap, its dark */
  --grid-cols: 4;
  --grid-rows: 4;
  --grid-gap: 2px;
  --grid-bg: #000;

  /* the radio (#a): ice blue, the old players' main window */
  --a-face: #0c2236;
  --a-rim: #9fd8ff;
  --a-shade: #05111c;
  --a-lcd: #020a12;
  --a-glow: #8fe6ff;
  --a-bar: #3fb8ff;
  --a-peak: #e8faff;
  --a-key: #16344f;
  --a-off: #1f4a6b;
  --a-font: 9px sans-serif;
  --a-drop: rgba(0, 4, 10, 0.7);
  --a-gleam: rgba(200, 236, 255, 0.07);
  --emo: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji",
    sans-serif;

  /* the speed wheel (.f): a dark drum, its ridges, its lit rim */
  --f-drum: #14181c;
  --f-ridge: #3a4148;
  --f-shade: linear-gradient(#000e, #0000 30%, #fff1 50%, #0000 70%,
    #000e);
  --f-lit: #ffb347;
  --f-key: #2a2016;
  /* the key's ink while lit: dark on the amber (Scott, 2026-10-16:
     "white speed on yellow background not great for wheel") */
  --f-lit-ink: #2a2016;
  --f-step: 16px;
  /* a wheel's width: four (speed, lift, tilt, a fork) side by side
     make a square the wheel's height (Scott, 2026-10-16: "pick a
     dimension that is the width of the total number of wheels we
     may need. they may be too wide") */
  --f-wide: 48px;

  /* the dash (#dash): a strip of dark glass across the foot, as
     many keys tall as the switchboard's column (frame/37-dash.mjs
     sets it); the map on it: the floor, the deck, lines, ramps, ink */
  --dash-rows: 9;
  --dash-face: #0a0d12e6;
  --dash-rim: #3a4148;
  --map-floor: #1c2128;
  --map-deck: #0d1014;
  --map-line: #5a6470;
  --map-ramp: #8a949f;
  --map-ink: #fff;
  --map-font: 12px ui-monospace, monospace;

  /* the front page's first screen: the whole screen */
  --screen: 100dvh;
  --fade: .4s;
  --breath: 1.2s;
  --flash: .5s;
  /* the workshop pages (voice.html): Gruvbox Glass */
  --cell-5: 160px;
  --cell-7: 224px;
  --cell-12: 384px;
  /* the garage's picture of a Unit (50-snap), its width */
  --w-pic: 320px;
  --w-ground: #1d2021;
  --w-glass: #28282899;
  --w-ink: #ebdbb2;
  --w-line: #665c54;
  --w-key: #3c3836;
  --w-lit: #d65d0e;
  --w-hi: #fabd2f;
  /* the four colours of the Pieces' glass (lib/programs.mjs GLASS),
     as the Pieces Card's squares show them */
  --k0: #dd0033;
  --k1: #ffff00;
  --k2: #2222ff;
  --k3: #007722;
}
