:root { --bg: #14121f; --panel: #221f33; --ink: #f4efe2; --dim: #8e87a8; --acc: #ffcc4d; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.4 ui-monospace, Menlo, monospace; }
.wrap { max-width: 640px; margin: 0 auto; padding: 24px 16px; text-align: center; }
h1 { letter-spacing: 6px; font-size: 22px; margin: 0 0 12px; color: var(--acc); }
.hud { display: flex; justify-content: space-between; margin-bottom: 6px; }
canvas { width: 100%; aspect-ratio: 4 / 3; image-rendering: pixelated; background: #000; border: 4px solid var(--panel); display: block; }
.bar { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.bar button { width: 44px; height: 44px; background: var(--panel); border: 0; border-radius: 4px; color: var(--ink); cursor: pointer; padding: 10px; }
.bar button:active { transform: translateY(1px); background: #2e2a45; }
.bar svg { width: 100%; height: 100%; fill: currentColor; shape-rendering: crispEdges; }
.msg { color: var(--dim); min-height: 1.4em; }
