:root { color-scheme: dark; font: 100%/1.65 system-ui, sans-serif; background: #111d20; color: #edf5f3; }
body { margin: 0; }
main { max-width: 46rem; margin-inline: auto; padding: 1.25rem; }
nav { color: #aabfbe; }
a { color: #a5e4d2; }
h1, h2 { line-height: 1.2; }
h1 { color: #ffc46f; }
pre { overflow: auto; padding: 1rem; background: #1a2c30; border-radius: .4rem; }
code { font-size: .93em; }
button { font: inherit; margin: .25rem; padding: .35rem .65rem; cursor: pointer; }
#game { height: 220px; width: min(100%, 360px); background: #0b171a; }
canvas { display: block; }
:focus-visible { outline: 2px solid #ffc46f; outline-offset: 3px; }
#amber-ruins-viewport { height: min(70vh, 36rem); }
.touch-arrows { display: flex; justify-content: center; gap: .25rem; padding: .5rem; }
.touch-arrows button { min-width: 44px; min-height: 44px; touch-action: none; user-select: none; -webkit-touch-callout: none; }
