.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:28px;align-items:start;padding-bottom:15px}.game-main{border:1px solid var(--line);border-radius:16px;background:#161b22;overflow:hidden;min-width:0}.game-toolbar{padding:20px 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:12px}.game-metrics{display:flex;gap:31px}.game-metrics>div{min-width:47px}.game-metrics span{display:block;font-size:8px;letter-spacing:1.4px;color:#8d98a7;margin-bottom:3px}.game-metrics strong{font-size:22px;line-height:1.1;letter-spacing:-.6px;font-weight:600}.game-actions{display:flex;gap:9px;align-items:center}.game-stage{min-height:380px;padding:27px;display:flex;align-items:center;justify-content:center;position:relative;flex-direction:column;overflow:hidden;touch-action:pan-y;outline-offset:-4px}.game-stage:focus:not(:focus-visible){outline:none}.game-stage canvas{display:block;width:min(100%,420px);height:auto;aspect-ratio:1;background:#101820;border:1px solid #303e3b;border-radius:10px;touch-action:none}.game-feedback{font-size:12px;line-height:1.8;color:#d4deb9;text-align:center;min-height:53px;padding:9px 22px;display:flex;align-items:center;justify-content:center}.game-feedback.is-error{color:#f3b9ad}.game-feedback.is-win{color:var(--lime);font-weight:700}.game-controls{display:flex;gap:9px;align-items:center;justify-content:center;flex-wrap:wrap;padding:0 20px 20px;min-height:10px}.game-controls:empty{display:none}.score-privacy{padding:14px 22px;border-top:1px solid var(--line);display:flex;gap:15px;justify-content:space-between;align-items:center;font-size:9px;color:#8c97a7}.score-privacy button{white-space:nowrap;font-size:9px}.game-instructions{border:1px solid var(--line);border-radius:16px;background:var(--surface);padding:25px}.game-instructions .eyebrow{font-size:8px;letter-spacing:1.2px}.game-instructions h2{font-size:23px;letter-spacing:-.6px;margin:13px 0 24px}.game-instructions ol{margin:0;padding-left:18px;color:var(--muted);font-size:12px;line-height:1.85}.game-instructions li{padding-left:5px;margin-bottom:15px}.game-instructions li::marker{color:var(--lime);font-size:11px;font-family:monospace}.instruction-bottom{display:flex;gap:10px;font-size:10px;color:#9aab8e;border-top:1px solid var(--line);padding-top:19px;margin:22px 0}.instruction-bottom svg{height:19px;min-width:19px}.game-instructions .text-link{font-size:10px}.game-start-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;min-height:290px;padding:25px;max-width:350px}.game-start-screen .guide-icon{height:70px;width:70px;border-radius:20px;margin-bottom:8px}.game-start-screen .guide-icon svg{height:35px;width:35px}.game-start-screen h2{font-size:27px;letter-spacing:-1px;margin:0}.game-start-screen p{color:var(--muted);font-size:12px;line-height:1.9;margin:0}.dpad{display:grid;grid-template-columns:repeat(3,42px);gap:5px}.dpad .up{grid-column:2}.dpad .left{grid-row:2;grid-column:1}.dpad .down{grid-row:2;grid-column:2}.dpad .right{grid-row:2;grid-column:3}.control-button{background:#252d36;color:var(--text);border:1px solid #414a55;border-radius:8px;min-height:39px;min-width:40px;padding:8px 13px;font-size:12px;touch-action:manipulation;user-select:none}.control-button:hover{border-color:var(--lime);color:var(--lime)}.control-button[aria-pressed=true]{background:var(--lime);color:var(--bg)}.board-2048{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;width:min(100%,370px);aspect-ratio:1;padding:11px;border-radius:12px;background:#35392e;border:1px solid #4c5341;touch-action:none}.tile-2048{aspect-ratio:1;display:grid;place-items:center;background:#464d3d;color:#25321a;border-radius:7px;font-size:30px;font-weight:800;font-variant-numeric:tabular-nums}.tile-2048[data-value="2"]{background:#dce4ca}.tile-2048[data-value="4"]{background:#cedaae}.tile-2048[data-value="8"]{background:#bacf8e}.tile-2048[data-value="16"]{background:#a9c96b}.tile-2048[data-value="32"]{background:#c4f66c}.tile-2048[data-value="64"]{background:#9ce04e}.tile-2048[data-value="128"]{background:#efc671;font-size:26px}.tile-2048[data-value="256"]{background:#efb75a;font-size:26px}.tile-2048[data-value="512"]{background:#ed9e52;font-size:26px}.tile-2048[data-value="1024"]{background:#e9875d;font-size:21px}.tile-2048[data-value="2048"]{background:#c4f66c;font-size:21px;box-shadow:0 0 23px #c4f66c44}.tile-2048.high-tile{background:#e7f3ce;font-size:20px}.memory-board{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;width:min(100%,365px)}.memory-card{aspect-ratio:.93;border:1px solid #4e4264;background:#332b42;border-radius:9px;color:#9b88b4;font-size:27px;display:grid;place-items:center;transition:background .2s,transform .2s;touch-action:manipulation}.memory-card:hover{background:#413552}.memory-card.revealed{background:#c4f66c;color:#25321a;border-color:#c4f66c}.memory-card.matched{background:#33472e;color:#bad98b;border-color:#526f40;opacity:1}.memory-card svg{width:31px;height:31px}.xox-board{display:grid;grid-template-columns:repeat(3,1fr);width:min(100%,325px);gap:9px}.xox-cell{aspect-ratio:1;border:1px solid #3d4a55;background:#202c36;border-radius:9px;font-size:45px;color:var(--lime);font-weight:600;touch-action:manipulation}.xox-cell.o-cell{color:#a1bfdb}.xox-cell.win-cell{background:#3d5534;border-color:var(--lime)}.xox-cell:disabled{opacity:1}.mines-board{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;width:min(100%,375px);touch-action:manipulation}.mine-cell{aspect-ratio:1;min-width:0;background:#354134;border:1px solid #4b5c45;border-radius:4px;color:#c4f66c;font-size:16px;font-weight:700;padding:0;touch-action:manipulation}.mine-cell.open{background:#20291f;border-color:#303b2d}.mine-cell[data-number="2"]{color:#94c3e0}.mine-cell[data-number="3"]{color:#eab68c}.mine-cell[data-number="4"]{color:#bca5eb}.mine-cell.boom{background:#a95645;color:#fff}.mine-cell.flagged{color:#e9c775}.mine-cell:disabled{opacity:1}.sudoku-board{display:grid;grid-template-columns:repeat(4,1fr);gap:0;width:min(100%,330px);border:2px solid #8a9f73;border-radius:8px;overflow:hidden}.sudoku-cell{aspect-ratio:1;border:0;border-bottom:1px solid #3c4b3f;border-right:1px solid #3c4b3f;background:#1f2e26;color:var(--lime);font-size:29px;border-radius:0;touch-action:manipulation}.sudoku-cell:nth-child(4n+2){border-right:2px solid #8a9f73}.sudoku-cell:nth-child(n+5):nth-child(-n+8){border-bottom:2px solid #8a9f73}.sudoku-cell.given{background:#29372d;color:#d9e2d6;font-weight:600;opacity:1;cursor:default}.sudoku-cell.selected{background:#53643a;box-shadow:inset 0 0 0 2px #c4f66c}.sudoku-cell.conflict{color:#ffab98;background:#543b34}.word-board{width:min(100%,300px);display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-bottom:18px}.word-tile{aspect-ratio:1;display:grid;place-items:center;border:1px solid #46505b;border-radius:5px;font-size:25px;font-weight:700;color:#e2e8df;background:#1d252e}.word-tile.correct{background:#b9e574;border-color:#b9e574;color:#223417}.word-tile.present{background:#d4ad59;border-color:#d4ad59;color:#332a14}.word-tile.absent{background:#39414a;border-color:#39414a;color:#bbc0c7}.word-input-line{display:flex;gap:8px;max-width:330px;width:100%}.word-input-line input{width:100%;min-width:0;background:#222d36;border:1px solid #4b5966;color:var(--text);padding:9px 12px;border-radius:7px;text-transform:uppercase;letter-spacing:3px;font-weight:600;font-size:17px}.word-input-line .btn{padding:10px 16px}.word-keyboard{width:min(100%,505px);display:flex;flex-direction:column;gap:5px;margin:0 auto}.keyboard-row{display:flex;justify-content:center;gap:4px}.keyboard-key{background:#303b46;border:1px solid #46505b;border-radius:4px;flex:1;max-width:42px;padding:10px 1px;font-size:11px;color:#e4e9df;min-width:0;touch-action:manipulation}.keyboard-key.correct{background:#9fc95f;color:#1c2e13}.keyboard-key.present{background:#b28c3e;color:#fff}.keyboard-key.absent{background:#202832;color:#7a8490;border-color:#303946}.reflex-target{border:1px solid #586c4b;border-radius:12px;background:#243225;width:min(100%,470px);min-height:285px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#dce7d5;gap:12px;padding:25px;font-size:33px;font-weight:700;letter-spacing:-1px;touch-action:manipulation}.reflex-target small{font-size:12px;line-height:1.8;font-weight:400;letter-spacing:0}.reflex-target.waiting{background:#593c33;border-color:#8a5d4d;color:#f3d2c6}.reflex-target.ready{background:var(--lime);color:#1d2a12}.reflex-target.result{background:#26394b;border-color:#587795;color:#d6e9fa}.reflex-history{font-size:11px;color:#9eb08b;margin-top:15px}.simon-board{display:grid;grid-template-columns:repeat(2,1fr);width:min(100%,330px);gap:12px}.simon-pad{aspect-ratio:1;border:2px solid #ffffff22;border-radius:22px;background:var(--pad);color:#111c16;font-size:19px;font-weight:700;opacity:.45;touch-action:manipulation;transition:opacity .12s,box-shadow .12s,transform .12s}.simon-pad.active,.simon-pad:active:not(:disabled){opacity:1;box-shadow:0 0 28px color-mix(in srgb,var(--pad) 35%,transparent);transform:scale(.97)}.simon-pad:disabled{cursor:default}.simon-pad.active:disabled{opacity:1}.rps-arena{width:100%;text-align:center}.rps-scoreline{font-size:12px;color:var(--muted);margin-bottom:20px;display:flex;justify-content:center;gap:55px}.rps-hands{display:flex;gap:35px;align-items:center;justify-content:center}.rps-hand{height:105px;width:105px;border-radius:20px;background:#253340;border:1px solid #4a5b6b;display:grid;place-items:center;font-size:50px;line-height:1}.rps-hands>span{font-size:13px;font-weight:700;color:#84939f}.rps-choices{display:flex;gap:11px;margin-top:28px;justify-content:center}.rps-choice{display:flex;gap:6px;align-items:center;flex-direction:column;border:1px solid #495768;border-radius:12px;padding:15px 23px;background:#222d39;color:#dde6ef;touch-action:manipulation;font-size:11px}.rps-choice>span{font-size:29px}.rps-choice:hover{border-color:var(--lime)}.puzzle-board{width:min(100%,330px);display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:#2c3325;border:1px solid #4c593d;border-radius:12px;padding:10px}.puzzle-tile{aspect-ratio:1;display:grid;place-items:center;border:1px solid #708257;border-radius:7px;background:#586c3e;color:#e7efd9;font-size:32px;font-weight:700;touch-action:manipulation}.puzzle-tile.correct{background:var(--lime);color:#263319;border-color:var(--lime)}.puzzle-tile.empty{background:#1a2218;border:1px dashed #46533a;cursor:default}.puzzle-tile:disabled{opacity:1}.board-overlay-label{font-size:10px;color:#829276;text-align:center;margin-top:15px}.game-stage.word-stage{min-height:480px}.game-over-note{font-size:11px;color:var(--muted);text-align:center;margin:15px 0 0}
@media(min-width:1100px){.game-layout{gap:32px}.game-toolbar{padding:22px 28px}.game-stage{padding:30px;min-height:430px}}
@media(max-width:900px){.game-layout{grid-template-columns:minmax(0,1fr) 235px;gap:18px}.game-toolbar{padding:18px}.game-metrics{gap:18px}.game-metrics strong{font-size:20px}.game-metrics>div{min-width:40px}.game-actions .btn{font-size:11px;padding:10px 13px}.game-instructions{padding:21px}.game-instructions h2{font-size:21px}.game-instructions ol{font-size:11px}.game-stage{padding:20px;min-height:350px}.score-privacy{padding:13px 18px;align-items:flex-start}.game-feedback{font-size:11px}.rps-choice{padding:13px 17px}.word-tile{font-size:22px}.keyboard-key{font-size:10px}}
@media(max-width:700px){.game-layout{grid-template-columns:1fr;gap:23px}.game-stage{min-height:390px}.game-instructions{padding:25px}.game-instructions ol{font-size:12px;line-height:1.9}.game-instructions h2{font-size:23px}.game-toolbar{padding:18px 20px}.game-metrics{gap:28px}.game-metrics strong{font-size:22px}.game-instructions .instruction-bottom{margin-bottom:14px}.game-stage canvas{width:min(100%,390px)}.sudoku-board{max-width:310px}.game-controls{padding-left:16px;padding-right:16px}.game-feedback{font-size:12px}.game-stage.word-stage{min-height:430px}}
@media(max-width:400px){.game-toolbar{padding:16px 13px}.game-metrics{gap:17px}.game-metrics strong{font-size:20px}.game-metrics span{font-size:7px}.game-actions{gap:5px}.game-actions .btn{padding:9px 10px;font-size:10px}.game-actions .icon-button{padding:7px}.game-stage{padding:18px;min-height:330px}.tile-2048{font-size:27px}.board-2048{gap:7px;padding:9px}.mine-cell{font-size:14px}.mines-board{gap:3px}.reflex-target{min-height:255px;font-size:29px}.rps-hands{gap:24px}.rps-hand{height:90px;width:90px;font-size:43px}.rps-choice{padding:13px 15px}.word-tile{font-size:22px}.game-controls .control-button{padding:8px 10px}.score-privacy{font-size:8px}.memory-card{font-size:25px}.keyboard-key{padding:10px 0;font-size:9px}}
