.game{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.65fr);gap:1rem}.play{background:var(--surface);border:1px solid var(--border);border-radius:15px;padding:clamp(.75rem,2.5vw,2rem)}.bar{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;margin:.4rem 0 1rem}.bar h2{margin:0}.bar output{color:var(--text-2)}#board{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));max-width:560px;margin:auto;aspect-ratio:1;background:#534b42;border:2px solid #534b42;gap:1px;touch-action:none;user-select:none}#board button{margin:0;border-radius:0;padding:0;border:2px solid transparent;background:#f5edda;color:#3a352f;font-size:clamp(1rem,4vw,2.25rem);font-weight:750;line-height:1}#board button.chosen{background:#f4ca65;box-shadow:inset 0 0 0 2px #79552e}#board button:focus-visible{position:relative;z-index:1;outline-color:#a94e13}#board button.placed{background:var(--tile);border-color:transparent}.controls button{margin-top:.85rem}.controls h2:not(:first-child){margin-top:2rem}#status{min-height:1.6em}.bar:last-child{justify-content:flex-start;margin-bottom:0}@media(max-width:650px){.game{grid-template-columns:1fr}}
:root:not([data-theme="light"]) #board button{filter:brightness(.8)}
:root:not([data-theme="light"]) #board button:not(.placed):not(.chosen){background:#d6ccb6}
