:root { color-scheme: dark; font-family: system-ui, sans-serif; background: #101c2b; color: #f3f6fa; }
* { box-sizing: border-box; }
body { margin: 0; padding: 20px; }
main { max-width: 720px; margin: auto; }
a { color: #9be2ff; }
h1 { margin: .4em 0; }
p { line-height: 1.6; }
.eyebrow { color: #8cd8e9; font-size: .75rem; letter-spacing: .1em; }
.hud, .actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hud { justify-content: space-between; }
.hud p { margin: 8px 0; }
canvas { display: block; width: 100%; height: auto; border: 2px solid #53788c; border-radius: 12px; background: #14293a; }
button { min-width: 64px; min-height: 48px; padding: 10px 16px; border: 2px solid #8cd8e9; border-radius: 8px; background: #163b50; color: #fff; font: inherit; cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid #ffde80; outline-offset: 3px; }
.directions { display: grid; grid-template-columns: repeat(3, 64px); gap: 8px; justify-content: center; margin-top: 20px; }
.directions button { touch-action: none; user-select: none; }
[data-direction="up"] { grid-column: 2; }
[data-direction="left"] { grid-column: 1; grid-row: 2; }
[data-direction="down"] { grid-column: 2; grid-row: 2; }
[data-direction="right"] { grid-column: 3; grid-row: 2; }
.note { color: #b8c9d6; font-size: .875rem; }
