﻿.mm-game {max-width:740px;margin:3rem auto;padding:0 1rem;color:#17191e}
.mm-game h1 {font-size:clamp(2.3rem,6vw,4rem);letter-spacing:-.06em;line-height:1;margin:0 0 1rem}
.mm-game .rules {line-height:1.6;max-width:65ch}
.mm-game .game-stats {margin:1.6rem 0 .8rem;font-weight:650}
.mm-game .game-stage {display:grid;justify-items:center;align-content:center;min-height:240px;border:1px solid #d8deeb;border-radius:18px;background:white;text-align:center;padding:1.25rem;gap:.7rem}
.mm-game p {margin:.35rem 0}
.mm-game .game-prompt {font-size:clamp(2.4rem,8vw,4.4rem);font-weight:750;overflow-wrap:anywhere;max-width:100%}
.mm-game button {cursor:pointer;background:#17191e;color:white;font:inherit;font-weight:650;padding:.7rem 1.15rem;border-radius:9px;border:1px solid transparent;min-height:44px}
.mm-game button:hover:enabled {background:#284bd0}
.mm-game :focus-visible {outline:3px solid #4160db;outline-offset:3px}
.mm-game .game-actions,.mm-game .color-choices,.mm-game form {display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center}
.mm-game .game-actions {margin:1rem auto}
.mm-game input {border:1px solid #9096a4;font:inherit;padding:.65rem;border-radius:6px;width:11rem}
.mm-game .game-grid {display:grid;grid-template-columns:repeat(var(--columns),1fr);gap:5px;width:min(100%,360px)}
.mm-game .game-grid button {aspect-ratio:1;min-height:0;padding:0;background:#ebedf3;color:#17191e;font-size:1.15rem;border-radius:6px}
.mm-game .game-grid button.lit,.mm-game .game-grid button.lit:hover:enabled {background:#385bd7;color:white}
.mm-game .game-grid button.picked {background:#d9ecbb;color:#162715}
.mm-game .game-grid button:disabled {cursor:default;opacity:1}
.mm-game .game-grid button:hover:enabled {outline:2px solid #17191e;outline-offset:-3px}
.mm-game .reaction-pad {width:100%;min-height:175px;background:#e9ecf8;color:#1d2540;font-size:1.7rem}
.mm-game .reaction-pad:hover:enabled {background:#e9ecf8}
.mm-game .reaction-pad.go,.mm-game .reaction-pad.go:hover:enabled {background:#277d45;color:white}
