/* v0.18 input capability (js/input-caps.js sets <html data-input="keys|touch">).
   Touch-first until the page knows keys are in use: key glyphs and keyboard
   sentences show only for "keys"; their tap alternatives only otherwise. */
html:not([data-input="keys"]) .kbd-only { display: none !important; }
html[data-input="keys"] .touch-only { display: none !important; }
html:not([data-input="keys"]) .card .key { display: none; }

/* v0.23.2 player feedback: a quick second tap on a menu, button or dialog
   zoomed the page on phones. `manipulation` keeps panning and pinch-zoom
   (accessibility zoom still works) and drops only the double-tap zoom. The
   board and the hand keep their own `touch-action: none`. */
html, body, button, a, label, input, select, textarea, summary, dialog,
[role="button"], [role="tab"], [role="dialog"], .btn { touch-action: manipulation; }
