/* rm -rf Simulator. The site's colours (style.css); everything drawn on the canvas is in game.js. */
:root { --term: #150B26; --term2: #1F1136; --tt: #EDE4F7; --tdim: #8C7FA8; --tpink: #FF4FD8; --tok: #3FD6C8; --accent: #8A2A78;
  --pixel: "Silkscreen", ui-monospace, monospace; --mono: "Plex Mono", ui-monospace, Menlo, Consolas, monospace; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--term); color: var(--tt); overflow: hidden; }
body { font: 400 16px/1.5 var(--mono); -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.stage { position: fixed; inset: 0; }
canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; image-rendering: pixelated; }
.hud { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; justify-content: space-between; font-family: var(--pixel);
  font-size: clamp(16px, 3.6vw, 26px); pointer-events: none; text-shadow: 0 2px 0 #000; }
#clock { color: var(--tpink); }
.intro { position: absolute; left: 0; right: 0; top: 18%; text-align: center; padding: 0 18px; pointer-events: none; transition: opacity .25s; }
.intro.gone { opacity: 0; }
.said { font-family: var(--pixel); font-size: clamp(17px, 3.4vw, 30px); line-height: 1.35; margin: 0 auto 12px; max-width: 34ch;
  background: rgba(21, 11, 38, .86); padding: 10px 14px; border: 2px solid var(--tpink); }
.hint { display: inline-block; font-family: var(--pixel); font-size: clamp(16px, 2.6vw, 22px); color: var(--tt); margin: 0;
  background: rgba(21, 11, 38, .94); padding: 6px 14px; border: 2px solid var(--tok); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .6; } }
.sound { position: absolute; bottom: 12px; right: 12px; font: 12px var(--pixel); color: var(--tdim); background: none; border: 1px solid var(--tdim);
  padding: 6px 9px; cursor: pointer; }
.cardwrap { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; pointer-events: none; }
.card { pointer-events: auto; width: min(92vw, 34rem); max-height: 100%; overflow-y: auto; background: var(--term2);
  border: 2px solid var(--tok); padding: 22px 22px 16px; text-align: center; box-shadow: 0 10px 0 #000; }
.card .cat { width: 64px; height: 64px; image-rendering: pixelated; }
.real { font-size: 15.5px; line-height: 1.55; margin: 10px 0 14px; }
.links a, .nojs a { color: var(--tok); margin: 0 10px; font-family: var(--pixel); font-size: 15px; }
.btns { margin: 14px 0 4px; }
.btns button { font: 14px var(--pixel); color: var(--term); background: var(--tpink); border: 0; padding: 10px 14px; margin: 4px; cursor: pointer; }
.btns #again { background: var(--tt); }
.copied { color: var(--tok); font-size: 13px; margin: 6px 0 0; }
.nojs { position: fixed; inset: auto 0 40% 0; text-align: center; }
