.gc-main .gx-panel{--gx-ink:#16435c}.gx-stats{max-width:620px;margin:0 auto 16px;grid-template-columns:repeat(4,minmax(0,1fr))}.gx-board{display:grid;width:min(100%,480px);margin:0 auto;box-sizing:border-box;min-width:0}.gx-sudoku{grid-template-columns:repeat(9,minmax(0,1fr));border:3px solid #41617c;border-radius:10px;overflow:hidden;background:#41617c;gap:1px}.gc-main .gx-sudoku button,.gx-blocks .gx-cell{aspect-ratio:1;min-width:0;display:grid;place-items:center;padding:0;line-height:1;font-weight:900;font-size:clamp(14px,4vw,29px);border:0;background:#fff;color:#16869c;cursor:pointer}.gc-main .gx-sudoku button.gx-fixed{background:#e0eaf4;color:#263f65}.gc-main .gx-sudoku button.gx-selected{background:#ffe39a;color:#173a52;outline:2px solid #cf9224;outline-offset:-2px}.gc-main .gx-sudoku button.gx-wrong{background:#ffe2e2;color:#a12432}.gc-main .gx-sudoku button:nth-child(3n):not(:nth-child(9n)){border-right:2px solid #41617c}.gc-main .gx-sudoku button:nth-child(n+19):nth-child(-n+27),.gc-main .gx-sudoku button:nth-child(n+46):nth-child(-n+54){border-bottom:2px solid #41617c}.gx-keyboard{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px;width:min(100%,640px);margin:18px auto}.gx-digits{grid-template-columns:repeat(9,minmax(0,1fr));max-width:480px}.gc-main .gx-keyboard button,.gc-main .gx-arrows button{border:1px solid #a1c6df;background:linear-gradient(145deg,#fff,#e2f0fa);border-radius:9px;color:#16435c;font-weight:900;font-size:clamp(14px,3vw,22px);padding:10px 0;min-width:0;cursor:pointer;box-shadow:0 3px 0 #b3cfdf}.gc-main .gx-keyboard button.gx-good{background:#daf4e4;border-color:#76ba92;color:#14603b;opacity:1}.gc-main .gx-keyboard button.gx-bad{background:#ffe4e4;border-color:#df9494;color:#a13238;opacity:1}.gx-word-stage{max-width:720px;margin:auto;display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;align-items:center;padding:18px;border-radius:18px;background:linear-gradient(125deg,#f5e9ff,#e5f8fb)}.gx-hangman{width:100%;max-height:180px}.gx-hangman [data-part]{visibility:hidden}.gx-hangman [data-part].gx-visible{visibility:visible}.gx-hint{color:#5d4594;font-weight:800;text-align:center}.gx-word{display:flex;justify-content:center;flex-wrap:wrap;gap:5px}.gx-letter{display:grid;place-items:center;width:clamp(22px,5vw,40px);height:clamp(33px,7vw,52px);border-radius:7px;background:#fff;border-bottom:3px solid #8963ca;color:#563795;font-size:clamp(16px,4vw,27px);font-weight:900}.gx-letter.gx-gap{background:transparent;border:0;width:12px}.gx-blocks{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:10px;border-radius:18px;background:#8095aa;touch-action:none;user-select:none}.gx-blocks .gx-cell{border-radius:12px;background:#c7d4e1;color:#173e56;font-size:clamp(23px,6vw,48px);cursor:default;transition:background .1s}.gx-blocks .gx-cell[data-value="2"]{background:#f5f8ff}.gx-blocks .gx-cell[data-value="4"]{background:#c5e8fa}.gx-blocks .gx-cell[data-value="8"]{background:#9cddd8}.gx-blocks .gx-cell[data-value="16"]{background:#8bd4a5}.gx-blocks .gx-cell[data-value="32"]{background:#ffde85}.gx-blocks .gx-cell[data-value="64"]{background:#ffb476}.gx-blocks .gx-cell[data-value="128"]{background:#ed8b8a}.gx-blocks .gx-cell[data-value="256"]{background:#d0a0f1}.gx-blocks .gx-cell[data-value="512"]{background:#8a65d0;color:white}.gx-blocks .gx-cell[data-value="1024"],.gx-blocks .gx-cell[data-value="2048"]{background:#255d9d;color:white;font-size:clamp(19px,5vw,38px)}.gx-arrows{text-align:center;margin:14px auto}.gx-arrows button{width:50px;margin:3px}.gx-help{text-align:center;color:#496779;font-size:13px}.gc-main .gx-panel button:focus-visible{outline:3px solid #d39a20;outline-offset:2px}.gc-card.gc-word{--tone:#8351c0;--tone2:#ead9fc}.gc-card.gc-blocks{--tone:#d1832e;--tone2:#ffe2a9}.gc-card.gc-sudoku{--tone:#287dba;--tone2:#d4edff}@media(max-width:600px){.gc-main .gx-panel{padding:10px}.gx-stats{gap:4px}.gx-stats>div{padding:7px 2px}.gx-stats strong{font-size:17px}.gx-stats span{font-size:10px}.gx-word-stage{grid-template-columns:1fr;gap:2px;padding:8px}.gx-hangman{height:115px;margin:auto}.gx-keyboard{grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}.gx-digits{grid-template-columns:repeat(9,minmax(0,1fr));gap:3px}.gx-blocks{gap:6px;padding:6px}.gx-blocks .gx-cell{border-radius:7px}}

/* 2048: visible tile movement, distinct merge and spawn effects. */
.gx-blocks{position:relative;overflow:hidden;cursor:grab}.gx-blocks:active{cursor:grabbing}.gx-blocks .gx-cell{cursor:inherit}.gx-blocks .gx-moving-tile{position:absolute;z-index:2;pointer-events:none;box-sizing:border-box;transition:none}.gx-blocks .gx-spawned{animation:gx-spawn-in .24s ease-out;outline:2px solid #f5be42;outline-offset:-3px}.gx-blocks .gx-merged{animation:gx-merge-in .22s ease-out;outline:2px solid #26895f;outline-offset:-3px}@keyframes gx-spawn-in{from{transform:scale(.35);opacity:.4}to{transform:scale(1);opacity:1}}@keyframes gx-merge-in{0%{transform:scale(.9)}55%{transform:scale(1.09)}100%{transform:scale(1)}}@media(prefers-reduced-motion:reduce){.gx-blocks .gx-cell{animation:none!important;transition:none!important}}
