/* AIKit Studio pixel type. Loaded last: Handjet (pixel display, wght 900, square elements) for headings,
   VT323 (terminal pixel) for labels and HUD. Long Codex text stays in Be Vietnam Pro for reading.
   Both pixel faces cover full Vietnamese diacritics (checked against the font files). */
:root {
  --display: 'Handjet', 'Be Vietnam Pro', Impact, sans-serif;
  --hud: 'VT323', 'Be Vietnam Pro', ui-monospace, monospace;
  --pixel: 'VT323', 'Be Vietnam Pro', ui-monospace, monospace;
}
/* Pixel faces run small for their em size; match cap heights to the old fonts so layouts hold. */
.screen, #hud, #pad, #map, #curtain, .toast { font-family: var(--pixel); font-size-adjust: cap-height 0.7; }
.codex { font-family: var(--body); font-size-adjust: none; }
.codex .mission, .codex th, .codex .unit, .codex .when, .codex .src, .codex .tl-label, .codex .tab, .codex .title { font-size-adjust: cap-height 0.7; }

.brand, .title, .cover-title, .tab, .big, .cw, .cn, .map-head h2, .toast, .q-label, .bar-val, .bar-l, .donut-num,
.boss, .member-n, .ribbon, .vs-letter, .vs-name, .vs-mid, .coop-player, .slot-t, .ph-label, .g-name, .g-num,
.door-t, .door-inside b, .f-node b, .fg-bot i, .f-vault b, .shield-t, .beast-n, .q-title, .reward-t, .src-card b,
.deal-plus, .gate h3 { font-weight: 900; letter-spacing: .03em; }

.btn, .chip, .xp, .mission, .kicker, .cover-meta, .unit, .when, .slot-s, .badge, .g-freq, .door-lv, .trk-end, .q-num, .hint { font-family: var(--pixel); letter-spacing: .06em; }
.title, .cover-title { line-height: 1.05; }
.screen .title { font-size: 60px; }
.cover2 .cover-title { font-size: 112px; }
.wk { font-family: 'VT323', monospace; font-size: 22px; }
