.twenty-board{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:10px;padding:10px;border-radius:14px;background:#97a28c;touch-action:none;user-select:none;outline-offset:4px;aspect-ratio:1;box-sizing:border-box}
.twenty-cell{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;border-radius:8px;background:#b6bfab;color:#354432;font-size:clamp(30px,7vw,46px);font-weight:800;font-variant-numeric:tabular-nums;transition:transform 120ms ease;will-change:transform}
.twenty-cell[data-value="2"]{background:#edf0df}.twenty-cell[data-value="4"]{background:#dce6bc}.twenty-cell[data-value="8"]{background:#b7d393}.twenty-cell[data-value="16"]{background:#83b88e}.twenty-cell[data-value="32"]{background:#5a9f89;color:#fff}.twenty-cell[data-value="64"]{background:#347c70;color:#fff}.twenty-cell[data-value="128"]{background:#d7b15f;color:#263b31;font-size:clamp(26px,6vw,39px)}.twenty-cell[data-value="256"]{background:#cc9649;color:#fff;font-size:clamp(26px,6vw,39px)}.twenty-cell[data-value="512"]{background:#bc763b;color:#fff;font-size:clamp(26px,6vw,39px)}.twenty-cell[data-value="1024"],.twenty-cell[data-value="2048"]{background:#8e5936;color:#fff;font-size:clamp(22px,5vw,34px)}.twenty-cell.occupied:not([data-value="2"]):not([data-value="4"]):not([data-value="8"]):not([data-value="16"]):not([data-value="32"]):not([data-value="64"]):not([data-value="128"]):not([data-value="256"]):not([data-value="512"]):not([data-value="1024"]):not([data-value="2048"]){background:#334e40;color:white;font-size:clamp(17px,4vw,28px)}
.twenty-controls{display:flex;gap:8px;margin-top:12px}.twenty-controls button{flex:1;min-height:46px;border:1px solid #b7c5ad;border-radius:8px;background:#f3f5ec;color:#294834;font-size:26px;font-weight:bold;cursor:pointer;touch-action:manipulation}.twenty-board:focus-visible,.twenty-controls button:focus-visible{outline:3px solid #b58732}
#twentyAgain,#twentyContinue{background:#315d45;color:white;border-color:#315d45}.twenty-spawned{animation:twenty-appear 160ms ease-out}.twenty-merged{animation:twenty-merge 180ms ease-out}
@media(max-width:450px){.twenty-board{gap:7px;padding:7px}.twenty-game .block-scorebar{gap:16px}.twenty-cell{border-radius:6px}}
@media(prefers-reduced-motion:reduce){.twenty-cell{transition:none}.twenty-spawned,.twenty-merged{animation:none}}
@media(max-width:480px){
 #twentyPage .block-scorebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
