:root { color-scheme: dark; font-family: system-ui, sans-serif; background: #101014; color: #eee9e1; }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
nav, main { max-width: 800px; margin: auto; padding: 16px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
main { padding-bottom: 40px; }
h1, h2, a { color: #e1c893; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.15; }
a:focus-visible, button:focus-visible, .play-screen:focus-visible { outline: 2px solid #f2d999; outline-offset: 4px; }
.play-screen { width: 100%; max-width: 600px; aspect-ratio: 4 / 3; background: #080808; border: 1px solid #4a4234; border-radius: 10px; overflow: hidden; }
.play-screen canvas { display: block; margin: auto; image-rendering: pixelated; }
button { font: inherit; min-height: 44px; padding: 6px 14px; color: #eee9e1; background: #2a2725; border: 1px solid #6e5e45; border-radius: 8px; cursor: pointer; }
[data-cartridge] { margin-bottom: 12px; background: #e1c893; color: #15120e; font-weight: 700; }
.play-controls { display: flex; flex-wrap: wrap; gap: 6px; max-width: 600px; }
.play-controls button { touch-action: none; user-select: none; min-width: 44px; }
.play-controls[hidden] { display: none; }
.game-list { list-style: none; padding: 0; }
.game-list li { padding: 14px 0; border-bottom: 1px solid #4a4234; }
