/*
 * How to play, as pictures (site/js/controls-ui.js): keycaps, a mouse or a hand, and a word.
 * Keycaps look like real keys, light in both themes. On the stage they sit over the cover before
 * Play; on the page they are a strip under the game's name; in the staff console, the picker.
 */
.how{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center}
.how li{display:flex;align-items:center;gap:8px}
.how b{font:700 15px var(--body)}
.how .keys{display:flex;align-items:center;gap:6px}
.how .or{font:600 12px var(--body);font-style:normal;opacity:.7}
.caps{display:inline-flex;gap:3px}
kbd{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 7px;border-radius:7px;background:#ffffff;color:#14161f;
  border:1.5px solid #c9ccd6;border-bottom-width:4px;font:700 14px var(--body);line-height:1}
kbd.wide{min-width:56px}
.cap-ico{display:inline-flex;align-items:center;gap:4px;padding:2px 8px 2px 4px;border-radius:999px;background:#ffffff;color:#14161f;border:1.5px solid #c9ccd6}
.cap-ico svg.i{width:20px;height:20px}
.cap-ico small{font:700 12px var(--body)}
/* Over the cover, before Play: a dark glass panel in the corner. */
.how-stage{position:absolute;left:16px;bottom:16px;max-width:calc(100% - 140px);background:rgba(10,11,16,.74);color:#ffffff;border-radius:14px;padding:10px 14px;z-index:1}
.stage.playing .how-stage{display:none}
/* Under the game's name: a quiet strip. */
.how-page{margin-top:14px;padding:12px 14px;border-radius:14px;background:var(--card);border:1px solid var(--line)}
/* The staff picker: every key as a small button, the chosen ones lit. */
.ctl-row{display:grid;gap:8px;padding:10px 0;border-top:1px solid var(--line)}
.ctl-keys{display:flex;flex-wrap:wrap;gap:6px}
.ctl-key{padding:3px;border-radius:10px;border:2px solid transparent;background:none}
.ctl-key[aria-pressed="true"]{border-color:var(--blue);background:var(--paper)}
.ctl-does{display:flex;gap:8px;align-items:center}
/* On a phone the stage is too small to share: the strip under the name says how to play instead. */
@media (max-width:700px){.how-stage{display:none}}
/* On a computer the keys are on the cover before Play; the strip takes over once the game starts. */
@media (min-width:701px){.how-page:not(.shown){display:none}}
