/* Shared UI theme for The Floating Aerie ("Illuminated Aerie").
   Colours come from the owner's palette: ink from owner-billboard-art.js, parchment/shade from
   palette-pair.js, stone from world.js and the Dawn/Dusk team colours used by battle.js.
   Fonts are bundled locally under fonts/ (SIL OFL 1.1, see fonts/OFL.txt); no network fonts.
   Typography rules: --ui-display (Jacquard 12 blackletter) only in Title Case at 28px or more;
   --ui-body (Pixelify Sans) for body text and buttons, 12px minimum; --ui-label (Silkscreen) for
   short uppercase labels at 8px or 16px. Digits 0-9 render in Handjet (see below).
   'Pixelify Sans' is kept as the CSS family name (canvas code and every stylesheet use it) but now loads
   Aerie Pixel Sans: Pixelify Sans with open C/G/c/e apertures, square B/E stems, a straight Z, bold stems
   on regular-height counters, and no fi/fl ligatures in the font itself (fonts/make-aerie-pixel-sans.py). */
@font-face{font-family:'Jacquard 12';src:url(fonts/jacquard-12.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Pixelify Sans';src:url(fonts/aerie-pixel-sans-400.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Pixelify Sans';src:url(fonts/aerie-pixel-sans-700.woff2) format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'Silkscreen';src:url(fonts/silkscreen-400.woff2) format('woff2');font-weight:400;font-display:swap}
/* Pixelify Sans and Jacquard 12 digits are ambiguous (5~S, 2~Z, 0=O, 8~B), so 0-9 come from Handjet
   (narrow pixel digits; our copy has a plain zero) through unicode-range under the same family names. */
@font-face{font-family:'Pixelify Sans';src:url(fonts/handjet-600.woff2) format('woff2');font-weight:400;font-display:swap;unicode-range:U+0030-0039}
@font-face{font-family:'Pixelify Sans';src:url(fonts/handjet-800.woff2) format('woff2');font-weight:700;font-display:swap;unicode-range:U+0030-0039}
@font-face{font-family:'Jacquard 12';src:url(fonts/handjet-800.woff2) format('woff2');font-weight:400;font-display:swap;unicode-range:U+0030-0039}
:root{
 --ui-ink:#231a2e;--ui-night:#1b2442;--ui-panel:#1d2a4bf0;--ui-panel-solid:#1d2a4b;--ui-raise:#2a3b63;--ui-raise-lo:#223257;
 --ui-parchment:#fff3cd;--ui-parchment-dim:#c9c3e6;--ui-stone:#dac9a3;--ui-shade:#5966a1;
 --ui-gold:#f4c67b;--ui-gold-hi:#ffe2a3;--ui-gold-lo:#b98a45;
 --ui-dawn:#80eee2;--ui-dawn-deep:#267e8a;--ui-dusk:#f49bc7;--ui-dusk-deep:#73547f;
 --ui-you:#ffe29c;--ui-good:#9fe8a6;--ui-bad:#ff8a7a;
 --ui-display:'Jacquard 12','Pixelify Sans',serif;--ui-body:'Pixelify Sans',ui-monospace,monospace;--ui-label:'Silkscreen','Pixelify Sans',monospace;
 --ui-shadow:2px 2px 0 var(--ui-ink);--ui-drop:6px 6px 0 #231a2e88;
 --ui-frame:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' shape-rendering='crispEdges'%3E%3Crect x='2' y='0' width='20' height='24' fill='%23231a2e'/%3E%3Crect x='0' y='2' width='24' height='20' fill='%23231a2e'/%3E%3Crect x='2' y='2' width='20' height='20' fill='%23f4c67b'/%3E%3Crect x='3' y='3' width='19' height='19' fill='%23b98a45'/%3E%3Crect x='3' y='3' width='18' height='18' fill='%231d2a4b'/%3E%3Crect x='4' y='4' width='16' height='1' fill='%23314673'/%3E%3Crect x='2' y='2' width='2' height='2' fill='%23fff3cd'/%3E%3Crect x='20' y='2' width='2' height='2' fill='%23fff3cd'/%3E%3Crect x='2' y='20' width='2' height='2' fill='%23fff3cd'/%3E%3Crect x='20' y='20' width='2' height='2' fill='%23fff3cd'/%3E%3C/svg%3E");
}
/* Opt-in helpers; each stylesheet decides where to use them. */
.ui-frame{border:12px solid transparent;border-image:var(--ui-frame) 6 fill/12px/0 stretch;background:none;box-shadow:var(--ui-drop)}
.ui-display{font-family:var(--ui-display);font-weight:400;letter-spacing:.02em;text-shadow:3px 3px 0 var(--ui-ink)}
.ui-label{font-family:var(--ui-label);text-transform:uppercase;letter-spacing:.06em}
html{font-variant-ligatures:none;font-variant-numeric:tabular-nums}
