/* Crusaders UI kit input glyphs (input-glyphs.js). Load after tokens.css. README: Input glyphs. */
/* The SVG draws its own keycap or button, so a host element (kbd.cu-kbd, .h2-key, any [data-glyph]) drops its own box. */
.cu-ig{display:inline-block;flex:none;vertical-align:middle;overflow:visible;image-rendering:pixelated}
.cu-ig text{font:400 var(--cu-fs-label-min,12px)/1 var(--ui-body,'Pixelify Sans',monospace);letter-spacing:1px;text-transform:none;font-variant-numeric:tabular-nums}
.cu-ig-host{padding:0!important;border:0!important;background:none!important;box-shadow:none!important;min-width:0!important;
 height:auto!important;line-height:0!important;text-shadow:none!important;display:inline-flex;align-items:center;gap:0;vertical-align:middle}
/* a glyph in a line of text sits on the cap height, 8 px from its words (README: icons in a text row) */
.cu-ig-host+span,span+.cu-ig-host{margin-inline-start:8px}
/* demo pages: the scheme picker */
.cu-ig-switch{display:inline-flex;align-items:center;gap:8px;min-height:44px;font:400 var(--cu-fs-label-min,12px)/16px var(--ui-body);letter-spacing:1px;text-transform:uppercase;color:var(--pg-dim,#c9c3e6)}
.cu-ig-switch select{min-height:44px;min-width:44px;padding:0 8px;font:700 14px/20px var(--ui-body);color:var(--ui-parchment,#fff3cd);background:#1b2442;border:2px solid var(--pg-line,#2a3b63);text-transform:none;letter-spacing:0}
.cu-ig-switch select:focus-visible{outline:3px solid var(--ui-gold-hi,#ffe2a3);outline-offset:2px}
/* a clickable prompt is a 44 x 44 px target even where its box is drawn smaller (desktop chips, the HUD menu keys):
   an invisible hit area reaches past the box, centred on it, so the layout does not move */
html :is(.cu-esc,.cu-backlink,.cu-pause-back,.h2-sys button,.h2-chip){position:relative}
html :is(.cu-esc,.cu-backlink,.cu-pause-back,.h2-sys button,.h2-chip)::after{content:"";position:absolute;pointer-events:auto;background:none;
 top:min(0px,calc((100% - 44px) / 2));bottom:min(0px,calc((100% - 44px) / 2));left:min(0px,calc((100% - 44px) / 2));right:min(0px,calc((100% - 44px) / 2))}
