body.pacman-game{color-scheme:dark;--accent:#f6d34c;--bg:#03050b;--panel:#080f20;--muted:#93a0bd;--line:#263c71;background:var(--bg);color:#e4eaff;font-family:"DotGothic16",monospace;image-rendering:pixelated}
.pacman-game .game-hero{background:#02050d;border-bottom:2px solid #1e3877}.pacman-game h1{color:#ffe064;font-family:"DotGothic16",monospace;letter-spacing:.1em;text-shadow:3px 3px #665224}
.pacman-game .minimal-game{display:flex;flex-direction:column;min-height:100vh}
.pacman-game .game-content{flex:1;display:flex;flex-direction:column;justify-content:center;gap:28px;width:min(800px,94%);margin:0 auto;padding:28px 0}
.pacman-game button.arcade-start{font:14px "Press Start 2P",monospace;background:none;color:#ffe06b;border:0;border-radius:0;padding:25px 0;text-align:center;width:100%;box-shadow:none}
.pacman-game .board{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;min-height:0;width:100%}
.pacman-game .pacman-hud{display:flex;justify-content:space-between;align-items:center;gap:15px;max-width:760px;margin:0 auto 18px;font:11px "Press Start 2P",monospace;color:#a8bbec;line-height:1.8}
.pacman-hud b{color:#ffe15b;font-weight:normal}.pacman-hud .lives b{font:18px "DotGothic16",monospace;letter-spacing:3px}
.pacman-game .result{background:none;border:0;border-radius:0;padding:0;margin:0;text-align:center}.pacman-game .result h2{font:22px "Press Start 2P",monospace;color:#ffe15b;margin:0 0 30px;line-height:1.5}.pacman-game .result-score{font:16px "Press Start 2P",monospace;color:#ffe15b;margin:0}.pacman-game .result-score small{font-size:11px;color:#a8bbec}
.pacman-game .game-footer{background:#02040a;border-top:1px solid #17274b}.pacman-game .game-footer a{color:#879fdb}
.maze{display:block;width:100%;max-width:760px;margin:auto;background:#03060e;border:2px solid #152e71}
.maze-cell.wall{fill:#071533}.maze-cell.floor{fill:#03060e}.maze-cell.reachable{fill:#2a2510;stroke:#6d602a;stroke-width:1}.maze-border{fill:none;stroke:#315dff;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.tile-letter{fill:#b3bbd1;text-anchor:middle;font:14px "DotGothic16",monospace}.tile-letter.available{fill:#fff0a1;font-weight:bold}.tile-letter.eaten{fill:#657493}.tile-letter.available.eaten{fill:#fff0a1}
.dot{fill:#f5dfa2}.power-dot{fill:#fff3bc;stroke:#ffe36b;stroke-width:1}.runner{fill:#ffdb3c;stroke:#ffe996;stroke-width:1}.runner.invincible{stroke:#fff;stroke-width:2;stroke-dasharray:3 2}.ghost .eye{fill:#fff}.ghost .pupil{fill:#10244e}
