.game{--g-display:"Unbounded", "Golos Text", system-ui, sans-serif;--g-body:"Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;--g-tap:48px;--g-bg:#f2efea;--g-card:#fff;--g-ink:#1f2230;--g-muted:#6b6f7e;--g-line:#dcd8d0;--g-stone:#8d8a95;--g-stone-dark:#6e737d;--g-mortar:#c9c5bd;--g-free:#e8590c;--g-free-bg:#fff0e6;--g-good:#1f8a4c;--g-good-bg:#e5f4ea;--g-bad:#c2352b;--g-bad-bg:#fbe9e7;--g-plus:#1f8a4c;--g-minus:#c2352b;--g-mul:#3b5bdb;--g-star:#e3a82b;--g-heart:#e5484d;--g-sel:#6a4fcb;--g-sel-bg:#eee9fb;--g-sea:#cfe2e8;--g-sea-deep:#b3cfd9;--g-wave:#a6c6d1;--g-sand:#eadbb8;--g-land:#c4dca6;--g-land-dark:#9ebf7f;--g-tree:#6e9e5a;--g-tree-dark:#557f44;--g-rock:#b8b0a2;--g-fog:#f7f4ee;--g-fog-ink:#d9d2c4;--g-path:#8a6a4a;--g-mon:#7a5bd6;--g-mon-dark:#5a3fb0;--g-region:#e6e0f7;font-family:var(--g-body);color:var(--g-ink);background:var(--g-bg);min-height:100vh;font-size:16px;line-height:1.5}.game [data-area=skobkar],.game[data-area=skobkar]{--g-mon:#7a5bd6;--g-mon-dark:#5a3fb0;--g-region:#e6e0f7}.game [data-area=nechetysh],.game[data-area=nechetysh]{--g-mon:#7b4fc9;--g-mon-dark:#5c36a3;--g-region:#e9e1f6}.game [data-area=znamenator],.game[data-area=znamenator]{--g-mon:#e8793a;--g-mon-dark:#c25a20;--g-region:#fbe8dc}.game [data-area=shifrozavr],.game[data-area=shifrozavr]{--g-mon:#2f9e6e;--g-mon-dark:#1f7a52;--g-region:#dcf0e5}.game [data-area=cifroed],.game[data-area=cifroed]{--g-mon:#d6457e;--g-mon-dark:#ae2e60;--g-region:#f8e0ea}@media (prefers-color-scheme:dark){.game{--g-bg:#16181f;--g-card:#1f222b;--g-ink:#ecedf1;--g-muted:#9a9eab;--g-line:#30343f;--g-stone:#5e636e;--g-stone-dark:#4a4f59;--g-mortar:#2a2d35;--g-free:#ff8a4c;--g-free-bg:#3a2418;--g-good:#5fd38d;--g-good-bg:#183126;--g-bad:#ff7b6e;--g-bad-bg:#3a1d1a;--g-plus:#5fd38d;--g-minus:#ff7b6e;--g-mul:#7d97ff;--g-star:#e8b648;--g-heart:#ff6b70;--g-sel:#a68cf5;--g-sel-bg:#2c2547;--g-sea:#1a2a33;--g-sea-deep:#15232b;--g-wave:#23394a;--g-sand:#4a4232;--g-land:#34482e;--g-land-dark:#2a3b25;--g-tree:#456b3a;--g-tree-dark:#36562d;--g-rock:#5a564f;--g-fog:#262a33;--g-fog-ink:#383d48;--g-path:#b8946e;--g-mon:#8c6ee8;--g-mon-dark:#6a4fc8;--g-region:#2a2445}.game [data-area=skobkar],.game[data-area=skobkar]{--g-mon:#8c6ee8;--g-mon-dark:#6a4fc8;--g-region:#2a2445}.game [data-area=nechetysh],.game[data-area=nechetysh]{--g-mon:#9d72ea;--g-mon-dark:#7b4fc9;--g-region:#2a2240}.game [data-area=znamenator],.game[data-area=znamenator]{--g-mon:#f08a4e;--g-mon-dark:#c9672e;--g-region:#3a2a20}.game [data-area=shifrozavr],.game[data-area=shifrozavr]{--g-mon:#45b985;--g-mon-dark:#2f9e6e;--g-region:#1e3328}.game [data-area=cifroed],.game[data-area=cifroed]{--g-mon:#e5679a;--g-mon-dark:#c44a7c;--g-region:#3a2230}}body:has(>.game){background:#f2efea;padding:0}@media (prefers-color-scheme:dark){body:has(>.game){background:#16181f}}.game .g-wrap{max-width:860px;padding-block:24px 48px;padding-left:max(16px, env(safe-area-inset-left,0px));padding-right:max(16px, env(safe-area-inset-right,0px));flex-direction:column;gap:22px;margin:0 auto;display:flex}.game h1{font-family:var(--g-display);letter-spacing:-.01em;text-wrap:balance;margin:0;font-size:clamp(24px,4.6vw,38px);font-weight:800;line-height:1.1}.game h2{font-family:var(--g-display);margin:0;font-size:20px;font-weight:700;line-height:1.2}.game .g-kicker,.game .g-eyebrow{text-transform:uppercase;letter-spacing:.1em;color:var(--g-free);font-size:13px;font-weight:700}.game .g-chapter{text-transform:uppercase;letter-spacing:.08em;color:var(--g-muted);font-size:13px;font-weight:600}.game .g-lead{max-width:62ch;color:var(--g-muted);margin:0;font-size:17px}.game .g-lead b{color:var(--g-ink)}.game .g-top{color:var(--g-muted);justify-content:space-between;align-items:center;gap:12px;font-size:14px;display:flex}.game .g-top a,.game .g-link{color:var(--g-muted);font-weight:600;text-decoration:none}.game .g-top a:hover,.game .g-link:hover{color:var(--g-ink)}.game .g-state{color:var(--g-muted);text-align:center;padding:40px 0}.game .g-state.err{color:var(--g-bad)}.game .g-fog{color:var(--g-muted);font-style:italic}.game .g-note{border-left:4px solid var(--g-free);max-width:62ch;margin:0;padding:4px 0 4px 14px;font-weight:600}.game .g-secret{background:var(--g-free-bg);border-radius:14px;padding:14px 18px}.game .g-card{background:var(--g-card);border:1px solid var(--g-line);border-radius:18px;flex-direction:column;gap:18px;min-width:0;padding:22px clamp(16px,3vw,28px) 26px;display:flex}.game .g-card-top{color:var(--g-muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;font-size:14px;display:flex}.game .g-bar-seg{grid-auto-columns:1fr;grid-auto-flow:column;gap:4px;display:grid}.game .g-bar-seg i,.game .g-bar-seg button{background:var(--g-line);border:0;border-radius:3px;height:6px;padding:0}.game .g-bar-seg button{cursor:pointer;position:relative}.game .g-bar-seg button:before{content:"";position:absolute;inset:-10px 0}.game .g-bar-seg button:hover{filter:brightness(.9)}.game .g-bar-seg .done{background:var(--g-good)}.game .g-bar-seg .cur{background:var(--g-sel)}.game .g-bar-seg .miss{background:var(--g-bad)}.game .g-story{max-width:64ch;margin:0;font-size:17px}.game .g-claim-head{color:var(--g-muted);margin:0;font-size:17px;font-weight:700}.game .g-claim{max-width:40ch;margin:0;font-size:clamp(22px,4.2vw,30px);font-weight:600;line-height:1.35}.game .g-ask{margin:0;font-size:17px;font-weight:600}.game .g-board{background:var(--g-bg);border-radius:14px;flex-direction:column;align-items:center;gap:8px;padding:clamp(18px,4vw,34px) 12px;display:flex;overflow-x:auto}.game .g-signs .g-expr{font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 6px;font-size:clamp(26px,6vw,44px);font-weight:700;display:flex}.game .g-sign-item{align-items:center;gap:6px;display:inline-flex}.game .g-sign{border:2px dashed var(--g-free);background:var(--g-free-bg);width:1.4em;height:1.4em;color:var(--g-free);font:inherit;cursor:pointer;border-radius:12px;place-items:center;font-weight:800;line-height:1;display:grid}.game .g-sign.plus{border-style:solid;border-color:var(--g-plus);background:var(--g-good-bg);color:var(--g-plus)}.game .g-sign.minus{border-style:solid;border-color:var(--g-minus);background:var(--g-bad-bg);color:var(--g-minus)}.game .g-sign:disabled{cursor:default}.game .g-board-label{text-transform:uppercase;letter-spacing:.1em;color:var(--g-muted);font-size:12px;font-weight:700}.game .g-expr{font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:center;align-items:center;gap:.16em;font-size:clamp(24px,5vw,42px);font-weight:600;line-height:1.3;display:flex}.game .g-expr.small{font-size:clamp(18px,3.4vw,24px)}.game .g-expr .op{color:var(--g-muted);padding:0 .06em}.game .g-expr .eq{color:var(--g-muted);padding:0 .2em}.game .g-expr .x{font-family:Georgia,Times New Roman,serif;font-style:italic;font-weight:400}.game .g-expr .br.l{margin-right:-.12em}.game .g-expr .br.r{margin-left:-.12em}.game .g-wall{background:repeating-linear-gradient(0deg, var(--g-stone) 0 .3em, var(--g-mortar) .3em .36em), var(--g-stone);border:2px solid var(--g-stone-dark);flex:none;width:.36em;height:1.6em}.game .g-wall.l{border-right:none;border-radius:.5em 0 0 .5em;margin-right:.06em}.game .g-wall.r{border-left:none;border-radius:0 .5em .5em 0;margin-left:.06em}.game .g-btn{font:600 16px var(--g-body);min-height:var(--g-tap);cursor:pointer;border:2px solid var(--g-ink);background:var(--g-ink);color:var(--g-card);border-radius:11px;justify-content:center;align-items:center;gap:8px;padding:11px 18px;text-decoration:none;display:inline-flex}.game .g-btn.ghost{color:var(--g-ink);background:0 0}.game .g-btn:disabled{opacity:.5;cursor:default}.game .g-btn:focus-visible,.game .g-input:focus-visible,.game .g-num:focus-visible,.game .g-opt:focus-within,.game .g-side-item:focus-visible{outline:2px solid var(--g-sel);outline-offset:2px}.game .g-row-btns,.game .g-answer{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.game .g-input{font:20px var(--g-body);font-variant-numeric:tabular-nums;min-width:0;max-width:22em;min-height:var(--g-tap);border:2px solid var(--g-line);background:var(--g-bg);color:var(--g-ink);border-radius:10px;flex:10em;padding:9px 12px}.game .g-input:focus{border-color:var(--g-sel);outline:none}.game .g-opts{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.game .g-opts .g-btn{margin-left:6px}.game .g-opt{min-height:var(--g-tap);border:2px solid var(--g-line);background:var(--g-card);color:var(--g-ink);cursor:pointer;font-variant-numeric:tabular-nums;border-radius:11px;align-items:center;gap:8px;padding:10px 18px;font-size:20px;font-weight:600;display:inline-flex;position:relative}.game .g-opt input{opacity:0;pointer-events:none;position:absolute}.game .g-opt:hover{border-color:var(--g-ink)}.game .g-opt.on{border-color:var(--g-sel);background:var(--g-sel-bg)}.game .g-opt.right{border-color:var(--g-good);background:var(--g-good-bg);color:var(--g-good)}.game .g-opt:has(.g-mark){justify-content:center;min-width:96px;padding:6px 22px}.game .g-mark{font-size:38px;font-weight:800;line-height:1}.game .g-mark.yes{color:var(--g-good)}.game .g-mark.no{color:var(--g-bad,#c0392b)}.game .g-yn-btn{background:var(--g-card);min-width:110px;color:var(--g-ink);border:2px solid var(--g-line);padding:6px 22px}.game .g-yn-btn:hover:not(:disabled){border-color:var(--g-ink)}.game .g-msg{border-radius:11px;margin:0;padding:12px 14px;font-size:16px}.game .g-msg:empty{display:none}.game .g-msg.ok{background:var(--g-good-bg);color:var(--g-good);font-weight:600}.game .g-msg.no{background:var(--g-bad-bg);color:var(--g-bad)}.game .g-msg.info{background:var(--g-bg);color:var(--g-ink)}.game .g-stats{color:var(--g-muted);font-size:14px}.game .g-hearts{color:var(--g-heart);letter-spacing:2px;font-size:22px}.game .g-hearts .lost{opacity:.22}.game .g-strip{flex-wrap:wrap;gap:6px;display:flex}.game .g-num{border:1px solid var(--g-line);background:var(--g-bg);width:30px;height:30px;color:var(--g-muted);font:600 13px var(--g-body);cursor:pointer;border-radius:8px;place-items:center;padding:0;display:inline-grid}.game .g-num.cur{border-color:var(--g-sel);color:var(--g-sel);border-width:2px}.game .g-num.solved{background:var(--g-good-bg);border-color:var(--g-good);color:var(--g-good)}.game .g-num.unknown{background:var(--g-bad-bg);border-color:var(--g-bad);color:var(--g-bad)}.game .g-slide{flex-direction:column;gap:14px;display:flex}.game .g-slide h2{font-family:var(--g-display);font-size:clamp(22px,4vw,32px);font-weight:800}.game .g-slide p,.game .g-slide ul{max-width:64ch;margin:0;font-size:18px;line-height:1.55}.game .g-slide ul{flex-direction:column;gap:10px;max-width:none;padding-left:0;list-style:none;display:flex}.game .g-slide li{background:var(--g-bg);font-variant-numeric:tabular-nums;text-align:center;border-radius:14px;padding:14px 16px;font-size:clamp(20px,3.6vw,30px);font-weight:600}.game .g-slide code{background:var(--g-bg);border-radius:6px;padding:0 6px;font-family:ui-monospace,Menlo,monospace}.game .g-results{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;display:grid}.game .g-res{background:var(--g-card);border:1px solid var(--g-line);border-radius:14px;padding:16px}.game .g-res b{font-family:var(--g-display);font-variant-numeric:tabular-nums;font-size:30px;font-weight:800;line-height:1.1;display:block}.game .g-res span{color:var(--g-muted);font-size:14px}.game .g-score{font-family:var(--g-display);font-variant-numeric:tabular-nums;font-size:clamp(34px,6vw,48px);font-weight:800;line-height:1}.game .g-confirm{background:var(--g-sel-bg);border-radius:14px;flex-wrap:wrap;align-items:center;gap:10px;padding:14px 16px;display:flex}.game .g-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:15px}.game .g-table td{border-top:1px solid var(--g-line);vertical-align:top;padding:9px 0}.game .g-table td:last-child{text-align:right;font-weight:700}.game .g-table small{color:var(--g-muted);font-size:13px;display:block}.game .g-rows{flex-direction:column;display:flex}.game .g-row{border-top:1px solid var(--g-line);color:inherit;align-items:center;gap:12px;padding:12px 2px;text-decoration:none;display:flex}.game .g-row .g-t{flex-direction:column;flex:1;min-width:0;display:flex}.game .g-row .g-t small{color:var(--g-muted);font-size:14px}.game .g-row.g-lock{opacity:.55}.game .g-shell{max-width:1180px;padding-block:20px 48px;padding-left:max(16px, env(safe-area-inset-left,0px));padding-right:max(16px, env(safe-area-inset-right,0px));grid-template-columns:270px minmax(0,1fr);align-items:start;gap:22px;margin:0 auto;display:grid}.game .g-side{top:calc(16px + env(safe-area-inset-top,0px));background:var(--g-card);border:1px solid var(--g-line);border-radius:18px;flex-direction:column;gap:4px;padding:16px 12px;display:flex;position:sticky}.game .g-side-head{border-bottom:1px solid var(--g-line);align-items:center;gap:10px;margin-bottom:6px;padding:0 6px 12px;display:flex}.game .g-side-head img{object-fit:contain;flex:none;width:50px;height:46px}.game .g-side-head b{font-family:var(--g-display);font-size:15px;font-weight:700;line-height:1.2;display:block}.game .g-side-head small{color:var(--g-muted);font-size:13px;display:block}.game .g-side-sec{text-transform:uppercase;letter-spacing:.08em;color:var(--g-muted);padding:10px 8px 4px;font-size:12px;font-weight:600}.game .g-side-item{color:var(--g-ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:11px;align-items:center;gap:10px;width:100%;padding:9px 10px;font-family:inherit;font-size:15px;font-weight:600;line-height:1.3;text-decoration:none;display:flex}.game .g-side-item small{color:var(--g-muted);font-size:13px;font-weight:400;display:block}.game .g-side-item:hover{background:var(--g-bg)}.game .g-side-item.on{background:var(--g-sel-bg);box-shadow:inset 3px 0 0 var(--g-sel)}.game .g-side-item.locked{color:var(--g-muted)}.game .g-side-item .g-t{flex:1;min-width:0}.game .g-main{flex-direction:column;gap:22px;min-width:0;display:flex}.game .g-st{flex:none;width:26px;height:26px}.game .g-stars{gap:1px;display:inline-flex}.game .g-bubble{align-items:center;gap:14px;display:flex}.game .g-bubble img{object-fit:contain;flex:none;width:76px;height:70px}.game .g-bubble p{border-left:4px solid var(--g-sel);margin:0;padding:4px 0 4px 12px;font-size:17px;font-weight:600}@media (max-width:820px){.game .g-shell{grid-template-columns:1fr;padding-block-start:12px}.game .g-side{flex-flow:row;gap:6px;padding:8px;position:static;overflow-x:auto}.game .g-side-head,.game .g-side-sec{display:none}.game .g-side-item{white-space:nowrap;flex:none;width:auto}.game .g-side-item small{display:none}}.game.g-mapview{background:var(--g-sea);height:100dvh;min-height:0;position:relative;overflow:hidden}.game .g-map{position:absolute;inset:0}.game .g-map svg{touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;width:100%;height:100%;display:block}.game .g-map svg:active{cursor:grabbing}.game .g-map .g-node{cursor:pointer}.game .g-map-label{font:700 14px var(--g-body);fill:var(--g-ink);paint-order:stroke;stroke:var(--g-card);stroke-width:5px;stroke-linejoin:round}.game .g-overlay{padding:calc(12px + env(safe-area-inset-top,0px)) max(12px, env(safe-area-inset-right,0px)) 0 max(12px, env(safe-area-inset-left,0px));pointer-events:none;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;display:grid;position:absolute;top:0;left:0;right:0}.game .g-overlay>*{pointer-events:auto}.game .g-map-right{flex-direction:column;align-items:flex-end;gap:10px;display:flex}.game .g-map-right.teach{width:min(320px,52vw)}.game .g-map-right .g-teach{align-self:stretch}.game .g-pill{background:var(--g-card);border:1px solid var(--g-line);border-radius:14px;align-items:center;gap:10px;padding:8px 14px;display:flex;box-shadow:0 6px 18px #1f22301f}.game .g-pill a{color:var(--g-ink);font-size:14px;font-weight:600;text-decoration:none}.game .g-map-links{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.game .g-rewards-link{align-items:center;gap:7px;display:inline-flex}.game .g-rewards-link span{font-size:19px;line-height:1}.game .g-ricon{background:var(--g-sel);color:#fff;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;display:grid}.game .g-rank b{white-space:nowrap;font-size:14px;display:block}.game .g-bar{background:var(--g-line);border-radius:999px;width:130px;height:6px;margin-top:4px;display:block;overflow:hidden}.game .g-bar>span{background:var(--g-sel);border-radius:999px;height:100%;display:block}.game .g-pts{font-family:var(--g-display);font-variant-numeric:tabular-nums;text-align:right;font-size:18px;font-weight:800;line-height:1}.game .g-pts small{font:400 11px var(--g-body);color:var(--g-muted);display:block}.game .g-hud{background:var(--g-card);border:1px solid var(--g-line);border-radius:14px;align-items:center;gap:10px;padding:10px 14px;display:flex}.game .g-hp{align-items:center;gap:10px;display:flex}.game .g-hp img{object-fit:contain;flex:none;width:42px;height:38px}.game .g-hp-name{font-size:13px;font-weight:700;display:block}.game .g-segs{gap:3px;margin-top:4px;display:flex}.game .g-segs i{background:var(--g-heart);border-radius:3px;width:16px;height:8px}.game .g-segs i.off{box-shadow:inset 0 0 0 1.5px var(--g-line);background:0 0}.game .g-map-tools{right:max(12px, env(safe-area-inset-right,0px));bottom:calc(14px + env(safe-area-inset-bottom,0px));flex-direction:column;gap:8px;display:flex;position:absolute}.game .g-map-tools .g-btn{width:var(--g-tap);background:var(--g-card);color:var(--g-ink);border:1px solid var(--g-line);padding:0;font-size:22px;box-shadow:0 6px 18px #1f22301f}.game .g-map-msg{left:50%;bottom:calc(18px + env(safe-area-inset-bottom,0px));width:min(460px,100% - 110px);position:absolute;transform:translate(-50%)}@keyframes g-ring{0%{opacity:.65;transform:scale(1)}to{opacity:0;transform:scale(1.9)}}.game .g-pulse{transform-box:fill-box;transform-origin:50%;animation:2.2s ease-out infinite g-ring}@keyframes g-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.game .g-bob{animation:2.6s ease-in-out infinite g-bob}@keyframes g-stomp{0%,to{transform:rotate(-2deg)}50%{transform:rotate(2deg)translateY(-3px)}}.game .g-stomp{transform-box:fill-box;transform-origin:50% 95%;animation:2.4s ease-in-out infinite g-stomp}.game .g-celebrate{position:relative;overflow:hidden}.game .g-celebrate i{border-radius:2px;width:8px;height:4px;animation:1.6s ease-in forwards g-fall;position:absolute;top:-10px}@keyframes g-fall{to{opacity:0;transform:translateY(240px)rotate(300deg)}}@media (prefers-reduced-motion:reduce){.game *,.game :before,.game :after{transition:none!important;animation:none!important}}.game .g-award{text-align:center;align-items:center}.game .fx{--surface:var(--g-card);--bg:var(--g-bg);--ink:var(--g-ink);--muted:var(--g-muted);--line:var(--g-line);--stone:var(--g-stone);--stone-dark:var(--g-stone-dark);--mortar:var(--g-mortar);--free:var(--g-free);--free-bg:var(--g-free-bg);--ok:var(--g-good);--ok-bg:var(--g-good-bg);--bad:var(--g-bad);--bad-bg:var(--g-bad-bg);--plus:var(--g-plus);--minus:var(--g-minus);--mul:var(--g-mul);flex-direction:column;gap:18px;display:flex}.game .fx .chapter{text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-size:13px;font-weight:600}.game .fx .story{max-width:64ch;margin:0;font-size:17px}.game .fx .board{background:var(--bg);border-radius:14px;padding:clamp(18px,4vw,34px) 12px;overflow-x:auto}.game .fx .fx-expr{font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;gap:.15em;min-height:2.4em;font-size:clamp(26px,5.4vw,44px);font-weight:600;display:flex}.game .fx .expr-line{flex-wrap:wrap;justify-content:center;align-items:center;gap:.18em;min-height:1.9em;display:flex}.game .fx .expr-label{text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-size:12px;font-weight:700}.game .fx .expr-arrow{color:var(--muted);font-size:.6em;line-height:1}.game .fx .expr-line.work{background:var(--surface);border-radius:.3em;padding:.15em .4em}.game .fx .expr-line .eqs{color:var(--muted);margin-right:.15em}.game .fx .op.fixed{color:var(--ink)}.game .fx .op{color:var(--muted);padding:0 .08em}.game .fx .fx-num{padding:0 .04em}.game .fx .fx-num.mulk{padding-right:.1em;font-weight:700}.game .fx .fx-x{font-family:Georgia,Times New Roman,serif;font-style:italic;font-weight:400}.game .fx .group{align-items:center;gap:.16em;display:inline-flex;position:relative}.game .fx .wall{background:repeating-linear-gradient(0deg, var(--stone) 0 .3em, var(--mortar) .3em .36em), var(--stone);border:2px solid var(--stone-dark);width:.36em;height:1.7em;transition:transform .6s cubic-bezier(.5,-.3,.7,1),opacity .6s}.game .fx .wall.l{border-right:none;border-radius:.5em 0 0 .5em}.game .fx .wall.r{border-left:none;border-radius:0 .5em .5em 0}.game .fx .wall.broken.l{opacity:0;transform:translate(-.6em,1.2em)rotate(-35deg)}.game .fx .wall.broken.r{opacity:0;transform:translate(.6em,1.2em)rotate(35deg)}.game .fx .mulhead{color:var(--mul)}.game .fx .pris{font:inherit;color:inherit;cursor:default;background:0 0;border:2px dashed #0000;border-radius:.3em;align-items:center;padding:0 .12em;display:inline-flex}.game .fx .pris.tap{border-color:var(--mul);cursor:pointer}.game .fx .pris.tap:hover{background:color-mix(in srgb, var(--mul) 12%, transparent)}.game .fx .pris .hug{color:var(--mul)}.game .fx .active-grp .pris:not(.tap){background:repeating-linear-gradient(90deg, transparent 0 .18em, color-mix(in srgb, var(--stone) 22%, transparent) .18em .24em)}.game .fx .freed{color:var(--free);align-items:center;gap:.12em;display:inline-flex}.game .fx .fx-chip{font:inherit;border:2px solid var(--free);background:var(--free-bg);min-width:1.25em;height:1.25em;color:var(--free);cursor:pointer;border-radius:.3em;place-items:center;padding:0 .1em;font-size:.8em;line-height:1;display:inline-grid}.game .fx .fx-chip.unset{border-style:dashed}.game .fx .fx-chip.wrong{border-color:var(--bad);color:var(--bad);background:var(--bad-bg)}.game .fx .newterm{color:var(--free)}.game .fx .panel{flex-direction:column;gap:12px;display:flex}.game .fx .ask{margin:0;font-size:17px;font-weight:600}.game .fx .fx-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.game .fx .fx-btn{font:inherit;cursor:pointer;border:2px solid var(--ink);background:var(--ink);color:var(--surface);border-radius:11px;padding:11px 18px;font-size:16px;font-weight:600}.game .fx .fx-btn.helper{background:var(--surface);color:var(--ink);border-color:var(--line);align-items:center;gap:10px;padding:8px 16px 8px 8px;display:inline-flex}.game .fx .fx-badge{color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:44px;height:44px;font-family:Unbounded,sans-serif;font-size:24px;font-weight:800;display:grid}.game .fx .fx-badge.plus,.game .fx-slide .fx-badge.plus{background:var(--g-plus)}.game .fx .fx-badge.minus,.game .fx-slide .fx-badge.minus{background:var(--g-minus)}.game .fx .fx-badge.mul,.game .fx-slide .fx-badge.mul{background:var(--g-mul)}.game .fx-slide .fx-badge.div{background:var(--g-free)}.game .fx .fx-btn.helper .fx-badge{width:34px;height:34px;font-size:19px}.game .fx .fx-btn.helper:hover{border-color:var(--ink)}.game .fx .fx-btn:disabled,.game .fx .fx-chip:disabled{opacity:.5;cursor:default}.game .fx .input{font:inherit;border:2px solid var(--line);background:var(--bg);width:8em;color:var(--ink);font-variant-numeric:tabular-nums;border-radius:10px;padding:9px 12px;font-size:20px}.game .fx .input:focus{border-color:var(--g-sel);outline:none}.game .fx .fx-opts{flex-wrap:wrap;gap:10px;display:flex}.game .fx .fx-opt{font:inherit;border:2px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:11px;padding:10px 18px;font-size:22px;font-weight:600}.game .fx .fx-opt:hover{border-color:var(--ink)}.game .fx .fx-msg{border-radius:11px;margin:0;padding:12px 14px;font-size:16px}.game .fx .fx-msg.bad{background:var(--bad-bg);color:var(--bad)}.game .fx .fx-msg.ok{background:var(--ok-bg);color:var(--ok)}.game .fx .fx-msg b{color:inherit}.game .fx .final{margin:0;font-family:Unbounded,sans-serif;font-size:clamp(20px,4vw,28px);font-weight:800}.game .fx .fx-btn:focus-visible,.game .fx .fx-chip:focus-visible,.game .fx .pris:focus-visible,.game .fx .fx-opt:focus-visible{outline:2px solid var(--g-sel);outline-offset:2px}@media (prefers-reduced-motion:reduce){.game .fx .wall{transition:none}}.game .fx-slide{--surface:var(--g-card);--bg:var(--g-bg);--free:var(--g-free);--free-bg:var(--g-free-bg);flex-direction:column;gap:22px;display:flex}.game .fx-slide .kicker{text-transform:uppercase;letter-spacing:.1em;color:var(--g-free);font-size:13px;font-weight:700}.game .fx-slide h1{font-family:var(--g-display);margin:0;font-size:clamp(26px,5vw,40px);font-weight:800;line-height:1.1}.game .fx-slide .lead{max-width:62ch;color:var(--g-muted);margin:0;font-size:17px}.game .fx-slide .lead b{color:var(--g-ink)}.game .fx-slide .intro-top{grid-template-columns:1fr 220px;align-items:center;gap:24px;display:grid}.game .fx-slide .intro-text{flex-direction:column;gap:14px;display:flex}.game .fx-slide .villain{flex-direction:column;align-items:center;gap:6px;margin:0;display:flex}.game .fx-slide .villain img{transform-origin:50% 95%;width:100%;max-width:220px;height:auto;animation:2.4s ease-in-out infinite g-stomp}.game .fx-slide .villain figcaption{color:var(--g-muted);text-align:center;max-width:230px;font-size:14px}.game .fx-slide .steps{flex-direction:column;gap:10px;max-width:640px;display:flex}.game .fx-slide .step{background:var(--g-card);border:1px solid var(--g-line);border-radius:14px;align-items:flex-start;gap:14px;padding:14px 16px;display:flex}.game .fx-slide .stepn{background:var(--g-free);color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:32px;height:32px;font-family:Unbounded,sans-serif;font-weight:800;display:grid}.game .fx-slide .nw{white-space:nowrap}.game .fx-slide .note-big{border-left:4px solid var(--g-free);max-width:62ch;margin:0;padding:4px 0 4px 14px;font-weight:600}.game .fx-slide .secret{background:var(--g-free-bg);border-radius:14px;max-width:70ch;padding:14px 18px}.game .fx-slide .hp-head{align-items:center;gap:18px;display:flex}.game .fx-slide .fx-badge{color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:44px;height:44px;font-family:Unbounded,sans-serif;font-size:24px;font-weight:800;display:grid}.game .fx-slide .fx-badge.big{width:84px;height:84px;font-size:46px;box-shadow:0 8px 24px #00000029}.game .fx-slide .bigex{background:var(--g-bg);font-variant-numeric:tabular-nums;text-align:center;border-radius:18px;flex-wrap:wrap;justify-content:center;align-items:center;gap:.25em .45em;padding:clamp(22px,5vw,40px) 16px;font-size:clamp(28px,6.5vw,52px);font-weight:600;line-height:1.3;display:flex}.game .fx-slide .rule-line{margin:0;font-size:clamp(20px,3.2vw,26px);font-weight:700;line-height:1.35}.game .fx-slide .rule-ans{font-family:var(--g-display);color:var(--g-good);font-size:clamp(30px,6vw,48px);font-weight:800;line-height:1.1}.game .fx-slide .bigex .eq{color:var(--g-muted)}.game .fx-slide .bigex .hl{font-weight:800}.game .fx-slide .bigex .exq{text-align:left;flex:100%;font-size:.5em;font-weight:500;line-height:1.4}.game .fx-slide .bigex .exblank{min-height:3.9em;display:block}.game .fx-slide .bigex .decs{flex-direction:column;align-items:center;gap:.35em;width:100%;font-size:.62em;display:flex}.game .fx-slide .bigex .dec{flex-wrap:wrap;justify-content:center;align-items:center;gap:.2em .3em;display:flex}.game .fx-slide .bigex .dec b{text-align:right;min-width:4.5em;color:var(--g-muted);font-size:.7em;font-weight:600}.game .fx-slide .bigex .dec i{text-align:center;border:2px solid #0000;border-radius:.35em;min-width:1.8em;padding:.1em .15em;font-style:normal}.game .fx-slide .bigex .dec i.on{background:var(--g-free-bg);border-color:var(--g-free);color:var(--g-free);font-weight:800}.game .fx-slide .bigex .hid{visibility:hidden}.game .fx-slide .bigex .dans{min-height:1.3em;font-size:.8em;font-weight:600}.game .fx-slide .bigex .eqchain{text-align:left;grid-template-columns:auto auto;justify-content:center;align-items:baseline;gap:.2em .5em;display:grid}.game .fx-slide .bigex .eqchain .eqs{text-align:right;color:var(--g-muted)}.game .fx-slide .pslots{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px clamp(6px,2vw,16px);display:flex}.game .fx-slide .pcard{border:2px dashed var(--g-line);background:var(--g-card);width:clamp(84px,22vw,130px);min-height:clamp(110px,26vw,150px);color:var(--g-ink);font:inherit;cursor:pointer;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:4px;padding:10px 8px;display:flex}.game .fx-slide .pcard:not(:disabled):hover{border-color:var(--g-free)}.game .fx-slide .pcard.open{border-style:solid;border-color:var(--g-free);background:var(--g-free-bg);cursor:default}.game .fx-slide .pcard .pn{font-family:var(--g-display);font-variant-numeric:tabular-nums;font-size:clamp(36px,9vw,56px);font-weight:800;line-height:1}.game .fx-slide .pcard .ph{color:var(--g-muted);text-align:center;font-size:13px;line-height:1.25}.game .fx-slide .pmul{color:var(--g-muted);opacity:.25;font-size:clamp(28px,7vw,44px);font-weight:800}.game .fx-slide .pmul.on{color:var(--g-free);opacity:1}.game .fx-slide .bigex .plus-c{color:var(--g-plus)}.game .fx-slide .bigex .minus-c{color:var(--g-minus)}.game .fx-slide .bigex .mul-c{color:var(--g-mul)}.game .fx-slide .bigex .div-c{color:var(--g-free)}.game .fx-slide .bigex .flip{color:var(--g-free);background:var(--g-free-bg);border-radius:.2em;padding:0 .12em}.game .fx-slide .bigex .c1,.game .fx-slide .bigex .c2,.game .fx-slide .bigex .c3{font-weight:800}.game .fx-slide .bigex .c1{color:var(--g-free)}.game .fx-slide .bigex .c2{color:var(--g-mul)}.game .fx-slide .bigex .c3{color:#b02fa0}@media (prefers-color-scheme:dark){.game .fx-slide .bigex .c3{color:#e58ad8}}.game .fx-slide .fx-x{font-family:Georgia,Times New Roman,serif;font-style:italic;font-weight:400}.game .fx-slide .plines{background:var(--g-bg);border-radius:18px;flex-direction:column;gap:6px;padding:clamp(14px,3vw,22px) clamp(12px,3vw,24px);display:flex}.game .fx-slide .pl{white-space:nowrap;font-variant-numeric:tabular-nums;width:max-content;font-size:22px;font-weight:600;line-height:1.6}.game .fx-slide .bigex.rv{text-align:left;font-size:inherit;flex-flow:column;align-items:stretch;gap:0;padding:clamp(14px,3vw,22px) clamp(12px,3vw,24px)}.game .fx-slide .rvrow{white-space:nowrap;width:max-content;font-size:28px;line-height:1.6}.game .fx-slide .lab{vertical-align:baseline;flex-direction:column;align-items:center;line-height:1.1;display:inline-flex}.game .fx-slide .lab small{color:var(--g-muted);letter-spacing:.02em;font-size:.55em;font-weight:700}.game .fx-slide .pa{color:var(--g-mul);font-weight:800}.game .fx-slide .pb{color:var(--g-minus);font-weight:800}.game .fx-slide .po{color:var(--g-free);background:var(--g-free-bg);border-radius:.2em;padding:0 .14em;font-weight:800}.game .fx-slide .pt{color:var(--g-plus);font-weight:800}.game .fx-slide .dv-n{text-align:center;vertical-align:middle;min-width:1.6em;margin-right:.15em;font-size:1.8em;font-weight:800;line-height:1.1;display:inline-block}.game .fx-slide .tapc{min-width:1.5em;min-height:1.5em;font:inherit;color:var(--g-muted);background:var(--g-card);border:2px dashed var(--g-mortar);cursor:pointer;border-radius:.3em;justify-content:center;align-items:center;margin:0 .1em;padding:0 .25em;font-weight:800;display:inline-flex}.game .fx-slide .tapc:not(:disabled):hover{border-color:var(--g-free)}.game .fx-slide .tapc.open{border-style:solid;border-color:var(--g-line);cursor:default}@media (max-width:640px){.game .fx-slide .intro-top{grid-template-columns:1fr}.game .fx-slide .villain{order:-1}.game .fx-slide .villain img{max-width:170px}}.game .g-final{flex-direction:column;justify-content:center;min-height:calc(100dvh - 60px);display:flex}.game .g-teach{box-shadow:0 6px 20px #0000001f}.game .g-rebus{font-family:var(--g-display);letter-spacing:.12em;flex-wrap:wrap;justify-content:center;align-items:center;gap:.25em .5em;font-size:clamp(24px,4.5vw,40px);display:flex}.game .g-rebus .op{color:var(--g-mon,var(--g-sel));letter-spacing:0}.game .g-cards{letter-spacing:0;gap:4px;display:inline-flex}.game .g-cards i{border:2px solid var(--g-line);background:var(--g-card);border-radius:8px;place-items:center;min-width:1.15em;padding:.05em .12em;font-size:.85em;font-style:normal;display:inline-grid}.game .g-board.g-rebus{flex-direction:row}.game .g-rebus-column{font-family:var(--g-display);letter-spacing:0;font-size:clamp(19px,4.5vw,38px);font-weight:700}.game .g-column-equation{flex-direction:column;align-items:stretch;width:max-content;line-height:1.3;display:flex}.game .g-col-row{place-items:center;min-height:1.35em;display:grid}.game .g-col-sign{color:var(--g-mon,var(--g-sel))}.game .g-col-cell{box-sizing:border-box;font-variant-numeric:tabular-nums;place-items:center;width:100%;min-width:0;height:1.25em;line-height:1;display:grid}.game .g-col-cell.card{border:2px solid var(--g-line);background:var(--g-card);border-radius:6px}.game .g-col-rule{background:currentColor;height:3px;margin:.08em 0 .12em}.game .g-col-cell.dim{color:var(--g-line)}.game .g-col-cell.focus{background:var(--g-sel-bg);color:var(--g-sel);box-shadow:0 0 0 2px var(--g-sel);border-radius:8px}.game .g-col-cell.solved{color:var(--g-ink)}.game .g-col-cell.fresh{color:var(--g-good)}.game .g-steps{flex-direction:column;gap:12px;display:flex}.game .g-solve{background:var(--g-bg);font-variant-numeric:tabular-nums;text-align:center;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:120px;padding:clamp(18px,4vw,32px) 16px;font-size:clamp(26px,6vw,46px);font-weight:600;line-height:1.3;display:flex}.game .g-solve-ask{color:var(--g-ink);border-left:4px solid var(--g-free);background:var(--g-free-bg);text-align:left;border-radius:0 12px 12px 0;max-width:36em;padding:10px 14px;font-size:clamp(18px,3.4vw,24px);font-weight:500;line-height:1.35}.game .g-solve-row.dim{color:var(--g-muted);font-size:18px;font-weight:400}.game .g-solve-eq{color:var(--g-muted)}.game .g-solve-row b{color:var(--g-free);background:var(--g-free-bg);border-radius:.2em;padding:0 .15em}.game .g-steps-nav{color:var(--g-muted);justify-content:center;align-items:center;gap:14px;font-size:15px;display:flex}.game .g-steps-nav .g-btn{min-width:var(--g-tap);padding-inline:14px}.game .g-rebus-expression{white-space:nowrap;flex-direction:column;align-items:flex-end;gap:.2em;display:flex}.game .g-rebus-equals{border-top:3px solid;padding-top:.12em}.game .g-opt-text{font-size:17px;line-height:1.4}.game .g-bigstats{flex-wrap:wrap;gap:14px;margin:18px 0 14px;display:flex}.game .g-bigstat{border:2px solid var(--g-line);background:var(--g-card);text-align:center;border-radius:16px;flex-direction:column;align-items:center;min-width:150px;padding:14px 26px;display:flex}.game .g-bigstat b{color:var(--g-ink);font-variant-numeric:tabular-nums;font-size:54px;line-height:1.05}.game .g-bigstat span{color:var(--g-muted);margin-top:4px;font-size:16px}.game .g-brief{clear:both;margin:0 0 16px}.game .g-timer{background:var(--g-line);border-radius:999px;height:10px;margin-top:18px;overflow:hidden}.game .g-timer i{background:var(--g-free);border-radius:999px;height:100%;transition:width .25s linear,background .3s;display:block}.game .g-timer.low i{background:var(--g-minus)}.game .g-sticks{background:var(--g-bg);-webkit-user-select:none;user-select:none;border-radius:14px;flex-direction:column;gap:10px;padding:clamp(14px,3vw,26px) 12px 12px;display:flex}.game .g-sticks-bar{color:var(--g-muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;font-size:15px;display:flex}.game .g-sticks-bar b{color:var(--g-ink)}.game .g-sticks-stick.can{cursor:grab}.game .g-sticks-stick.sel line{stroke:var(--g-sel);filter:drop-shadow(0 0 3px var(--g-sel))}.game .g-sticks-ghost .hit{stroke:#0000;stroke-width:22px;stroke-linecap:round}.game .g-sticks-ghost .mark{stroke:var(--g-line);stroke-width:3px;stroke-dasharray:3 5;stroke-linecap:round;pointer-events:none}.game .g-sticks-ghost.hot .mark{stroke:var(--g-sel);stroke-width:4px}.game .g-sticks-ghost.on .mark{stroke:var(--g-good);stroke-width:6px;stroke-dasharray:none}.game .g-sticks-ghost.hot{cursor:pointer}.game .g-sticks-orig{text-align:center;color:var(--g-muted);font-size:14px}.game .g-sticks-orig b{color:var(--g-ink);letter-spacing:.02em;font-weight:600}.game .g-sticks-limit{color:var(--g-bad);font-weight:600}.game .g-credit{color:var(--g-muted);cursor:pointer;flex-wrap:wrap;align-items:center;gap:8px;padding:2px 12px 8px 44px;font-size:13px;display:flex}.game .g-credit small{color:var(--g-muted)}.game .g-hint-box{border:2px dashed var(--g-line);border-radius:14px;margin:14px 0;padding:14px 18px}.game .g-hint-slide{margin-top:10px;font-size:22px;line-height:1.45}.game .g-hint-slide p{margin:10px 0 0}.game .g-hint-col{font-variant-numeric:tabular-nums;margin-top:10px;font-size:26px;line-height:1.6;display:inline-block}.game .fx-slide .bigex:has(>.di-caption){font-size:clamp(24px,5.5vw,44px)}.game .fx-slide .di-caption{display:none}.game .fx-slide .rvrow:has(.di-caption){white-space:normal;flex-wrap:wrap;width:auto;max-width:100%;font-size:clamp(24px,4vw,42px)!important}.game .fx-slide .di-pic{flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:10px 8px;width:100%;display:flex}.game .fx-slide .di-sock{width:clamp(52px,8.4vw,80px);height:auto;display:block}.game .fx-slide .di-pic:has(.di-sock){column-gap:2px}.game .fx-slide .di-col{flex-direction:column;align-items:center;gap:4px;width:clamp(52px,11vw,92px);font-size:.75em;font-weight:700;line-height:1.1;display:flex}.game .fx-slide .ach-pic{width:clamp(150px,26vw,230px);height:auto;margin:4px auto 0;display:block}.game .fx-slide .di-gnome{width:100%;height:auto;display:block}
