/* THE SHARED TYPE FOR WORDS OVER PLAY -- one file, so one change reaches every word the game draws over its picture: the HUD's
   readouts, the quest card, the call-out, a card that pops up over play, its buttons and its text field.

   SINCE 2026-11-03 THE LOOK IS COMBAT CENTER'S (the owner: "any ui i create or edit from now on should use the combat zone as the main
   reference, there should no longer be references to ... ink lettering"; shown TDM's live HUD both ways, he picked Combat Center's type
   for play words too, switched in its own session). The heavy outline below is the OLD look, kept only until that session changes it
   HERE -- Barlow Condensed, white, a soft shadow, no heavy outline (the create-ui skill has the recipe). Until then a new screen
   does not copy the outline (data/shared-kits.json row `outlined` refuses it and lists the sheets still typing one).

   What stays true: words over play stand in NO BOX -- no panel, card, border, rail, pill or gradient scrim behind them (owner,
   2026-10-03/04). scripts/hud-words-browser-check.cjs walks the play screen in its states and fails on any visible WORDS sitting on
   a background, a border, a box-shadow or a backdrop filter; a glyph (an icon button, a count badge, the record's note) is not words.
   Allowed boxes are only those a picture needs: a speech balloon with its tail on a speaker, the map's own canvas.
   Classes: .ink-eyebrow, .ink-title, .ink-text, .ink-num, .ink-big, .ink-key, .ink-button (+ .primary), .ink-field, dialog.ink-card;
   colours and faces from ./ink-tokens.css. */
@import './ink-tokens.css';
.ink-eyebrow{font:900 11px/1.3 var(--ink-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-yellow);
  -webkit-text-stroke:3px var(--ink);paint-order:stroke fill}
.ink-title{font:900 24px/1.1 var(--ink-face);color:var(--ink-cream);-webkit-text-stroke:6px var(--ink);paint-order:stroke fill;
  text-shadow:var(--ink-drop)}
.ink-text{font:700 15px/1.45 var(--ink-sans);color:var(--ink-cream);-webkit-text-stroke:3.5px var(--ink);paint-order:stroke fill;
  text-shadow:1px 2px 0 var(--ink)}
/* THE SIZES the HUD's readouts were each re-typing (2026-10-29 count of the 90 sheets that draw an ink stroke: a 34px count with a 6px
   stroke, a 22px word with a 5px one, a 13px key letter with a 4px one were the commonest). A NEW readout takes one of these instead of
   typing its own font, stroke and drop: .ink-num a number you read at a glance (ammo, score, a count), .ink-big a word that stands on
   its own (a prompt, a call), .ink-key the key after an action word (key-hint.ts draws it; key-hint.css hides it on touch). */
.ink-num{font:900 34px/1 var(--ink-face);font-variant-numeric:tabular-nums;color:var(--ink-cream);-webkit-text-stroke:6px var(--ink);
  paint-order:stroke fill;text-shadow:var(--ink-drop)}
.ink-big{font:900 22px/1 var(--ink-face);color:var(--ink-cream);-webkit-text-stroke:5px var(--ink);paint-order:stroke fill;
  text-shadow:var(--ink-drop)}
.ink-key{font:900 13px/1 var(--ink-face);color:var(--ink-yellow);-webkit-text-stroke:4px var(--ink);paint-order:stroke fill}
/* a button is a WORD you press: no backing, no border; it leans and goes yellow under the pointer or the keyboard, and the keyboard's
   focus is the word going yellow -- never a box drawn round it, never an underline under it */
.ink-button{appearance:none;width:auto;margin:0;min-height:44px;padding:6px 4px;background:none;border:0;border-radius:0;box-shadow:none;
  cursor:pointer;white-space:nowrap;font:900 19px/1 var(--ink-face);color:var(--ink-cream);-webkit-text-stroke:5px var(--ink);
  paint-order:stroke fill;text-shadow:var(--ink-drop);transition:transform .12s,color .12s}
.ink-button.primary{color:var(--ink-pink);font-size:23px}
.ink-button:hover:not(:disabled){background:none;color:var(--ink-yellow);transform:rotate(-2deg) scale(1.07)}
.ink-button:focus-visible{outline:none;color:var(--ink-yellow)}
.ink-button:active:not(:disabled){transform:translateY(2px)}
.ink-button:disabled{opacity:.45;cursor:default;transform:none;background:none}
/* a text field is the typed word itself, big, on one THIN faint line -- no box round it, and never a thick bar under it (owner, 2026-10-09:
   "make a rule to never use an underline like that again", the creator's 4 px yellow bars under Stand and Neutral) */
.ink-field{display:flex;flex-direction:column;align-items:center;gap:2px}
.ink-field>span{font:900 11px/1.3 var(--ink-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--ink-yellow);
  -webkit-text-stroke:3px var(--ink);paint-order:stroke fill}
.ink-field input{width:min(360px,100%);box-sizing:border-box;margin:0;padding:2px 4px 4px;background:none;border:0;
  border-bottom:1px solid #fff8dc59;border-radius:0;box-shadow:none;outline:none;text-align:center;
  font:900 30px/1.15 var(--ink-face);color:var(--ink-cream);caret-color:var(--ink-yellow);-webkit-text-stroke:6px var(--ink);
  paint-order:stroke fill;text-shadow:var(--ink-drop)}
/* focus is the thin line lighting yellow, never the page's focus ring drawn round the field as a box */
.ink-field input:focus,.ink-field input:focus-visible{outline:none;border-bottom-color:var(--ink-yellow)}
/* the offered name is selected so typing replaces it: the selected letters go yellow, no block behind them */
.ink-field input::selection{background:transparent;color:var(--ink-yellow)}
/* a card that pops up over play (a dialog): the words stand on the picture, the picture dimmed flat behind them */
dialog.ink-card{background:none;border:0;border-radius:0;box-shadow:none;padding:0;color:var(--ink-cream);overflow:visible}
dialog.ink-card::backdrop{background:#0b0d1299}
/* while a card is up (the game is paused under it) the HUD's own words stand down, so nothing reads through the dim behind the card's
   lettering -- the picture and the card, as the talk view and the intro have it */
body:has(dialog.ink-card[open])>*:not(#game):not(dialog):not(script){visibility:hidden}
@media(max-height:500px){
  .ink-title{font-size:19px;-webkit-text-stroke:5px var(--ink)}
  .ink-text{font-size:13px;-webkit-text-stroke:3px var(--ink)}
  .ink-button{min-height:40px;font-size:16px;-webkit-text-stroke:4px var(--ink)}
  .ink-button.primary{font-size:19px}
  .ink-field input{font-size:22px;-webkit-text-stroke:5px var(--ink)}
  .ink-num{font-size:28px;-webkit-text-stroke:5px var(--ink)}
  .ink-big{font-size:18px;-webkit-text-stroke:4px var(--ink)}
}
