.ex-game{max-width:700px;margin:auto;padding:20px 16px;color:#eaf2f8}.ex-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.ex-heading h1{font-size:25px;margin:0}.ex-heading>div{display:flex;gap:6px}.ex-game button{border:1px solid #536273;background:#263748;color:#eaf4f6;border-radius:10px;padding:10px 16px;font:600 14px system-ui;cursor:pointer;touch-action:manipulation}.ex-game button:hover{background:#37516a}.ex-game button:focus-visible{outline:3px solid #e4dc8c;outline-offset:2px}.ex-rules{font-size:14px;line-height:1.8;color:#9fb2c5}.ex-stats{display:flex;justify-content:space-around;gap:8px;font-size:14px;padding:13px;background:#15202e;border-radius:12px;margin-bottom:12px}.ex-stage{max-width:480px;position:relative;margin:auto;border-radius:18px;overflow:hidden;border:1px solid #2e4252}.ex-stage canvas{width:100%;display:block;touch-action:none}.ex-overlay{position:absolute;inset:0;background:#07131ae8;display:flex;align-items:center;justify-content:center;text-align:center;padding:25px}.ex-overlay[hidden]{display:none}.ex-overlay p{color:#aec1cf;line-height:1.9}.ex-overlay button{margin:6px;background:#9ed9b2;color:#153824}.ex-actions{display:flex;justify-content:center;gap:10px;margin-top:14px}.ex-actions button{min-width:62px;padding:14px}.ex-keyboard{max-width:480px;margin:16px auto}.ex-keyboard>div{display:flex;justify-content:center;gap:4px;margin:6px 0}.ex-keyboard button{padding:12px 0;flex:1;max-width:42px;font-size:14px}.ex-keyboard>div:last-child button{max-width:140px}.ex-note{text-align:center;min-height:25px;color:#e4db97}@media(max-width:500px){.ex-game{padding:14px 8px}.ex-heading h1{font-size:22px}.ex-heading button{padding:8px 10px}.ex-rules{font-size:13px}.ex-stats{padding:10px 5px;font-size:12px}.ex-keyboard button{padding:12px 0}.ex-stage{max-width:360px}}
