.kl.g2{--felt:#1e6b52;--felt-2:#15533f;--felt-3:#0d382a;--felt-edge:#08231a;--mark-ink:#fff8e838;--g2-dots:radial-gradient(circle at 1px 1px, #fff8e80e 1px, transparent 0) 0 0 / 24px 24px;--felt-pattern:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 180'%3E%3Cg fill='none' stroke='%23FFF8E8' stroke-opacity='0.14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='14' y='16' width='144' height='144' rx='10'/%3E%3Cpath d='M104 16V160M104 106H158M124 106V160M104 126H124'/%3E%3Cpath d='M14 160A90 90 0 0 1 104 70A54 54 0 0 1 158 124A34 34 0 0 1 124 158' stroke='%23FFCE1F' stroke-opacity='0.24' stroke-width='2.6'/%3E%3C/g%3E%3Cg fill='%23FFF8E8' fill-opacity='0.18' font-family='sans-serif' font-weight='700' font-size='14'%3E%3Ctext x='44' y='96'%3E2048%3C/text%3E%3Ctext x='118' y='66'%3E512%3C/text%3E%3Ctext x='132' y='138'%3E64%3C/text%3E%3C/g%3E%3C/svg%3E") left 2.4% bottom 18px / clamp(130px, 15vw, 200px) auto no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 110'%3E%3Cg fill='none' stroke='%23FFF8E8' stroke-opacity='0.15' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='10' y='38' width='38' height='38' rx='8'/%3E%3Crect x='56' y='38' width='38' height='38' rx='8'/%3E%3Cpath d='M102 57h18m-6-6 6 6-6 6' stroke='%23FFCE1F' stroke-opacity='0.28'/%3E%3Crect x='130' y='34' width='46' height='46' rx='9' stroke='%23FFCE1F' stroke-opacity='0.26'/%3E%3C/g%3E%3Cg fill='%23FFF8E8' fill-opacity='0.18' font-family='sans-serif' font-weight='700' text-anchor='middle'%3E%3Ctext x='29' y='63' font-size='16'%3E2%3C/text%3E%3Ctext x='75' y='63' font-size='16'%3E2%3C/text%3E%3Ctext x='153' y='64' font-size='20' fill='%23FFCE1F' fill-opacity='0.28'%3E4%3C/text%3E%3C/g%3E%3Cpath d='M153 16l2 5 5 2-5 2-2 5-2-5-5-2 5-2z' fill='%23FFCE1F' fill-opacity='0.28'/%3E%3C/svg%3E") right 2.4% top 22px / clamp(120px, 14vw, 186px) auto no-repeat, var(--g2-dots)}[data-theme=dark] .kl.g2{--felt:#16503d;--felt-2:#0f3b2d;--felt-3:#09261c;--felt-edge:#051610;--mark-ink:#fff8e82e;--g2-dots:radial-gradient(circle at 1px 1px, #fff8e80a 1px, transparent 0) 0 0 / 24px 24px;--felt-pattern:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 180'%3E%3Cg fill='none' stroke='%23FFF8E8' stroke-opacity='0.10' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='14' y='16' width='144' height='144' rx='10'/%3E%3Cpath d='M104 16V160M104 106H158M124 106V160M104 126H124'/%3E%3Cpath d='M14 160A90 90 0 0 1 104 70A54 54 0 0 1 158 124A34 34 0 0 1 124 158' stroke='%23FFCE1F' stroke-opacity='0.17' stroke-width='2.6'/%3E%3C/g%3E%3Cg fill='%23FFF8E8' fill-opacity='0.13' font-family='sans-serif' font-weight='700' font-size='14'%3E%3Ctext x='44' y='96'%3E2048%3C/text%3E%3Ctext x='118' y='66'%3E512%3C/text%3E%3Ctext x='132' y='138'%3E64%3C/text%3E%3C/g%3E%3C/svg%3E") left 2.4% bottom 18px / clamp(130px, 15vw, 200px) auto no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 110'%3E%3Cg fill='none' stroke='%23FFF8E8' stroke-opacity='0.11' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='10' y='38' width='38' height='38' rx='8'/%3E%3Crect x='56' y='38' width='38' height='38' rx='8'/%3E%3Cpath d='M102 57h18m-6-6 6 6-6 6' stroke='%23FFCE1F' stroke-opacity='0.20'/%3E%3Crect x='130' y='34' width='46' height='46' rx='9' stroke='%23FFCE1F' stroke-opacity='0.19'/%3E%3C/g%3E%3Cg fill='%23FFF8E8' fill-opacity='0.13' font-family='sans-serif' font-weight='700' text-anchor='middle'%3E%3Ctext x='29' y='63' font-size='16'%3E2%3C/text%3E%3Ctext x='75' y='63' font-size='16'%3E2%3C/text%3E%3Ctext x='153' y='64' font-size='20' fill='%23FFCE1F' fill-opacity='0.21'%3E4%3C/text%3E%3C/g%3E%3Cpath d='M153 16l2 5 5 2-5 2-2 5-2-5-5-2 5-2z' fill='%23FFCE1F' fill-opacity='0.20'/%3E%3C/svg%3E") right 2.4% top 22px / clamp(120px, 14vw, 186px) auto no-repeat, var(--g2-dots)}@media (width<=900px){.kl.g2,[data-theme=dark] .kl.g2{--felt-pattern:var(--g2-dots)}}.g2 .kl-felt{flex-direction:column;justify-content:center;align-items:center;padding-bottom:28px;display:flex}.g2 .kl-mark{bottom:7px}.g2 .kl-placeholder{place-items:center;width:100%;padding:16px 12px 24px;display:grid}.g2-art{filter:drop-shadow(0 14px 26px #06140e66);width:min(88vw,440px);height:auto;display:block}.g2 .kl-board{touch-action:none;outline:none;place-items:center;width:100%;display:grid}.g2 .kl-board:focus-visible .g2-tray{box-shadow:0 0 0 3px var(--yellow), 0 18px 36px #0516107a}.g2-stage-wrap{place-items:center;display:grid;position:relative}.g2-tray{--pad:14px;--gap:11px;--cell:96px;--tray:calc(var(--pad) * 2 + var(--cell) * 4 + var(--gap) * 3);width:var(--tray);height:var(--tray);touch-action:none;background:linear-gradient(155deg,#4d392a 0%,#37281d 58%,#2a1e15 100%);border:2px solid #ffeecc2e;border-radius:clamp(14px,3%,22px);transition:transform .14s cubic-bezier(.22,1,.36,1);position:relative;box-shadow:0 18px 36px #04140e75,0 4px 10px #04140e4d,inset 0 1px #fff0d23d,inset 0 -3px 6px #0a050261}[data-theme=dark] .g2-tray{background:linear-gradient(155deg,#2e2219 0%,#201811 58%,#16100b 100%);border-color:#ffe8be24}.g2-tray:before,.g2-tray:after{content:"";pointer-events:none;border-radius:inherit;background:radial-gradient(2.5px at 5px 5px,#f2c6726b 60%,#0000 100%),radial-gradient(2.5px at calc(100% - 5px) 5px,#f2c6726b 60%,#0000 100%),radial-gradient(2.5px at 5px calc(100% - 5px),#f2c6726b 60%,#0000 100%),radial-gradient(2.5px at calc(100% - 5px) calc(100% - 5px),#f2c6726b 60%,#0000 100%);position:absolute;inset:5px}.g2-tray:after{display:none}.g2-tray.is-bump-L{animation:.18s g2-bump-l}.g2-tray.is-bump-R{animation:.18s g2-bump-r}.g2-tray.is-bump-U{animation:.18s g2-bump-u}.g2-tray.is-bump-D{animation:.18s g2-bump-d}@keyframes g2-bump-l{40%{transform:translate(-5px)}}@keyframes g2-bump-r{40%{transform:translate(5px)}}@keyframes g2-bump-u{40%{transform:translateY(-5px)}}@keyframes g2-bump-d{40%{transform:translateY(5px)}}.g2-cells{inset:var(--pad);grid-template-columns:repeat(4, var(--cell));grid-template-rows:repeat(4, var(--cell));gap:var(--gap);display:grid;position:absolute}.g2-cell{border-radius:calc(var(--cell) * .13);background:#100a066b;box-shadow:inset 0 2px 5px #00000061,0 1px #fff0d217}.g2-tiles{inset:var(--pad);pointer-events:none;position:absolute}.g2 .g2-tile.kl-card{width:var(--cell);height:var(--cell);border-radius:calc(var(--cell) * .13);will-change:transform;pointer-events:none;place-items:center;transition:transform .115s cubic-bezier(.22,1,.36,1);display:grid;position:absolute;top:0;left:0}.g2 .kl-board.no-anim .g2-tile.kl-card{transition:none}.g2-tile-face{border-radius:inherit;width:100%;height:100%;font:400 var(--tfs,36px)/1 var(--sign);font-variant-numeric:tabular-nums;letter-spacing:-.02em;background:var(--t-bg,#fff8ea);color:var(--t-ink,#2a1b0f);box-shadow:0 4px 9px #0e080452, inset 0 1px 0 #ffffff6b, inset 0 -4px 0 var(--t-lip,#0000002e);place-items:center;padding-bottom:2px;display:grid;position:relative}.g2-tile[data-digits="1"] .g2-tile-face{--tfs:calc(var(--cell) * .48)}.g2-tile[data-digits="2"] .g2-tile-face{--tfs:calc(var(--cell) * .42)}.g2-tile[data-digits="3"] .g2-tile-face{--tfs:calc(var(--cell) * .35)}.g2-tile[data-digits="4"] .g2-tile-face{--tfs:calc(var(--cell) * .28)}.g2-tile[data-digits="5"] .g2-tile-face{--tfs:calc(var(--cell) * .23)}.g2-tile[data-digits="6"] .g2-tile-face{--tfs:calc(var(--cell) * .19)}.g2-tile[data-v="2"] .g2-tile-face{--t-bg:#fff8ea;--t-ink:#2a1b0f;--t-lip:#d9ccb1}.g2-tile[data-v="4"] .g2-tile-face{--t-bg:#fcecc6;--t-ink:#2a1b0f;--t-lip:#d3bc87}.g2-tile[data-v="8"] .g2-tile-face{--t-bg:#f5a65b;--t-ink:#2a1b0f;--t-lip:#c77a32}.g2-tile[data-v="16"] .g2-tile-face{--t-bg:#c94d18;--t-ink:#fff;--t-lip:#94340c}.g2-tile[data-v="32"] .g2-tile-face{--t-bg:#d73a26;--t-ink:#fff;--t-lip:#9f2415}.g2-tile[data-v="64"] .g2-tile-face{--t-bg:#b51f1a;--t-ink:#fff;--t-lip:#80120e}.g2-tile[data-v="128"] .g2-tile-face{--t-bg:#e8b323;--t-ink:#1c1a17;--t-lip:#b3860c}.g2-tile[data-v="256"] .g2-tile-face{--t-bg:#e0a114;--t-ink:#1c1a17;--t-lip:#a87506}.g2-tile[data-v="512"] .g2-tile-face{--t-bg:#d68d0b;--t-ink:#1c1a17;--t-lip:#9d6404}.g2-tile[data-v="1024"] .g2-tile-face{--t-bg:#ffce1f;--t-ink:#14306e;--t-lip:#c79904;box-shadow:0 5px 14px #ffce1f59, inset 0 0 0 2px #14306e2e, inset 0 -4px 0 var(--t-lip)}.g2-tile[data-v="2048"] .g2-tile-face{--t-bg:linear-gradient(150deg, #ffe159 0%, #ffce1f 55%, #f2b50f 100%);--t-ink:#14306e;--t-lip:#b88b00;box-shadow:0 6px 18px #ffce1f85, inset 0 0 0 2.5px #14306e47, inset 0 -4px 0 var(--t-lip)}.g2-tile[data-v="4096"] .g2-tile-face{--t-bg:#14306e;--t-ink:#ffce1f;--t-lip:#0b1b40;box-shadow:0 6px 16px #0a183c73, inset 0 0 0 2px #ffce1f59, inset 0 -4px 0 var(--t-lip)}.g2-tile[data-v="8192"] .g2-tile-face{--t-bg:#5b2c8e;--t-ink:#fff8e8;--t-lip:#3b1a60;box-shadow:0 6px 16px #2d105073, inset 0 0 0 2px #fff8e840, inset 0 -4px 0 var(--t-lip)}.g2-tile[data-v=super] .g2-tile-face{--t-bg:#18202c;--t-ink:#ffce1f;--t-lip:#0b0f16;box-shadow:0 6px 18px #0000008c, inset 0 0 0 2px #ffce1f73, inset 0 -4px 0 var(--t-lip)}.g2-crown{fill:currentColor;opacity:.58;pointer-events:none;width:19%;height:auto;position:absolute;top:7%;left:50%;transform:translate(-50%)}.g2-tile[data-v="2048"] .g2-tile-face>span,.g2-tile[data-v="4096"] .g2-tile-face>span,.g2-tile[data-v="8192"] .g2-tile-face>span,.g2-tile[data-v=super] .g2-tile-face>span{transform:translateY(10%)}.g2-tile.is-new .g2-tile-face{animation:.17s cubic-bezier(.16,1,.3,1) g2-pop-in}.g2-tile.is-merged .g2-tile-face{animation:.19s cubic-bezier(.16,1,.3,1) g2-merge-pop}.g2-tile.is-hint .g2-tile-face{outline:3.5px solid var(--yellow);outline-offset:2px;box-shadow:0 0 0 5px #14306ebf,0 0 18px #ffce1fd9}@keyframes g2-pop-in{0%{opacity:.2;transform:scale(.25)}to{opacity:1;transform:scale(1)}}@keyframes g2-merge-pop{0%{transform:scale(.86)}55%{transform:scale(1.12)}to{transform:scale(1)}}.g2-hint-arrow{z-index:60;background:var(--yellow);width:44px;height:44px;color:var(--navy);pointer-events:none;border-radius:50%;place-items:center;animation:.85s ease-in-out infinite alternate g2-hint-pulse;display:grid;position:absolute;box-shadow:0 6px 16px #08122a73}.g2-hint-arrow[hidden]{display:none}.g2-hint-arrow svg{fill:none;stroke:currentColor;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.g2-hint-arrow[data-dir=U]{top:-18px;left:50%;transform:translate(-50%)}.g2-hint-arrow[data-dir=D]{bottom:-18px;left:50%;transform:translate(-50%)}.g2-hint-arrow[data-dir=L]{top:50%;left:-18px;transform:translateY(-50%)}.g2-hint-arrow[data-dir=R]{top:50%;right:-18px;transform:translateY(-50%)}.g2-hint-arrow[data-dir=R] svg{transform:rotate(90deg)}.g2-hint-arrow[data-dir=D] svg{transform:rotate(180deg)}.g2-hint-arrow[data-dir=L] svg{transform:rotate(-90deg)}@keyframes g2-hint-pulse{0%{filter:brightness()}to{filter:brightness(1.12)}}.g2-delta{z-index:50;background:var(--yellow);color:var(--navy);font:400 15px/1 var(--sign);pointer-events:none;opacity:0;border-radius:999px;padding:4px 10px;position:absolute;top:8px;right:12px;box-shadow:0 4px 12px #08122a59}.g2-delta.is-show{animation:.65s cubic-bezier(.16,1,.3,1) forwards g2-delta-rise}@keyframes g2-delta-rise{0%{opacity:0;transform:translateY(8px)scale(.85)}25%{opacity:1;transform:translateY(-4px)scale(1)}to{opacity:0;transform:translateY(-24px)scale(.96)}}.g2 .kl-splash-in{max-width:520px}.g2 .kl-win-btns{flex-wrap:wrap}.g2 .kl-win-btns [hidden]{display:none}@media (height<=520px){.g2 .kl-wide{display:none}.g2 .kl-hud{flex-wrap:nowrap;gap:6px;padding:5px 10px}.g2 .kl-stats{gap:4px;width:auto}.g2 .kl-stat{flex:none;min-width:52px;padding:2px 8px 3px}.g2 .kl-stat dt{font-size:11px}.g2 .kl-stat dd{margin-top:1px;font-size:14px}.g2 .kl-btns{gap:4px;width:auto}.g2 .kl-felt{padding:8px 0 12px}.g2 .g2-stage-wrap{padding:0}}@media (width<=340px){.g2 [data-act=mode] svg{display:none}}.kl.g2.is-fs .kl-felt{justify-content:center;align-items:center}@media (prefers-reduced-motion:reduce){.g2 .g2-tile.kl-card,.g2-tray{transition:none}.g2-tile.is-new .g2-tile-face,.g2-tile.is-merged .g2-tile-face,.g2-hint-arrow,.g2-delta.is-show,.g2-tray.is-bump-L,.g2-tray.is-bump-R,.g2-tray.is-bump-U,.g2-tray.is-bump-D{animation:none}}
