:root{--ink:#2b2440;--bg:#fff6e9;--paper:#fff;--purple:#7b5cff;--orange:#ff8a3d;--yellow:#ffd23f;--teal:#1fc2ae;--pink:#ff5d8f;--blue:#3da5ff;--green:#4cc95b;--red:#ff4d5e;--line:.16em;--drop:.32em;--radius:1.3em;font-size:max(15px,min(.85vw + .85vh,30px))}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background-color:var(--bg);color:var(--ink);-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:manipulation;background-image:radial-gradient(#7b5cff1f .12em,#0000 .14em),radial-gradient(#ff8a3d1a .12em,#0000 .14em);background-position:0 0,1.2em 1.2em;background-size:2.4em 2.4em;font-family:"Baloo 2",Comic Sans MS,Chalkboard SE,Trebuchet MS,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:700;line-height:1.2;overflow-x:hidden}button{font:inherit;color:inherit}svg{display:block}.btn{--b:var(--purple);border:var(--line) solid var(--ink);background:var(--b);color:#fff;cursor:pointer;min-height:2.6em;box-shadow:0 var(--drop) 0 var(--ink);border-radius:1em;justify-content:center;align-items:center;gap:.4em;padding:.35em 1em;font-size:1em;font-weight:800;transition:transform 80ms,box-shadow 80ms,filter .15s;display:inline-flex}.btn:active:not(:disabled){transform:translateY(var(--drop));box-shadow:0 0 0 var(--ink)}.btn:disabled{filter:grayscale(.8)opacity(.5);cursor:default}.btn svg{width:1.3em;height:1.3em}.btn-icon{--b:var(--paper);color:var(--ink);width:2.6em;padding:0}.btn-big{min-height:2.8em;font-size:1.15em}.btn-go{--b:var(--green)}.btn-alt{--b:var(--blue)}.btn-warn{--b:var(--orange)}.card{background:var(--paper);border:var(--line) solid var(--ink);border-radius:var(--radius);box-shadow:.25em var(--drop) 0 var(--ink)}.screen{min-height:100vh;flex-direction:column;min-height:100dvh;display:flex}.game-screen{height:100vh;height:100dvh;overflow:hidden}.topbar{padding:.7em 1em;padding-top:max(.7em, env(safe-area-inset-top));align-items:center;gap:.8em;display:flex}.tools{gap:.5em;margin-left:auto;display:flex}.logo{align-items:center;gap:.4em;display:flex;transform:rotate(-3deg)}.logo-mark{flex:none;width:3.4em;height:3.4em}.logo-text{flex-direction:column;line-height:.9;display:flex}.logo-name{color:var(--purple);-webkit-text-stroke:.09em var(--ink);paint-order:stroke fill;text-shadow:.05em .07em 0 var(--ink);font-size:2.8em;font-weight:800}.logo-name small{color:var(--orange);font-size:.55em}.logo-tagline{color:var(--ink);opacity:.75;padding-left:.2em;font-size:.95em}.title-pill{background:var(--paper);border:var(--line) solid var(--ink);box-shadow:0 .2em 0 var(--ink);white-space:nowrap;border-radius:2em;align-items:center;gap:.5em;min-width:0;padding:.25em .9em .25em .35em;font-size:1.15em;font-weight:800;display:flex}.title-text{text-overflow:ellipsis;overflow:hidden}.title-icon{flex:none;width:2em;height:2em}.title-icon svg{width:100%;height:100%}.level-badge{background:var(--game,var(--purple));color:#fff;border:.12em solid var(--ink);border-radius:1em;padding:0 .6em;font-size:.8em}.progress{flex-wrap:wrap;flex:1;justify-content:center;gap:.35em;min-width:0;display:flex}.progress i{background:var(--paper);border:.13em solid var(--ink);border-radius:50%;width:.95em;height:.95em;transition:background .3s,transform .3s}.progress i.done{background:var(--green)}.progress-bar{border:.14em solid var(--ink);background:var(--paper);border-radius:1em;width:min(100%,22em);height:1.1em;overflow:hidden}.progress-bar i{background:var(--green);height:100%;transition:width .4s;display:block}.progress i.current{background:var(--yellow);transform:scale(1.3)}.home-body,.level-body{flex:1;grid-template-columns:max(150px,min(22vw,380px)) 1fr;align-items:center;gap:1.5em;padding:0 1.5em 1.5em;display:grid}.game-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,12.5em),1fr));align-content:center;gap:1.4em;display:grid}.game-card{--c:var(--blue);background:var(--c);color:#fff;text-align:left;cursor:pointer;flex-direction:column;gap:.25em;padding:1em 1.1em 1.1em;transition:transform .15s;animation:.5s cubic-bezier(.3,1.5,.6,1) both card-in;display:flex}.game-card:nth-child(odd){transform:rotate(-1.2deg)}.game-card:nth-child(2n){transform:rotate(1.2deg)}.game-card:active{transform:scale(.96)rotate(0)}.game-card-icon{border:var(--line) solid var(--ink);background:#fff;border-radius:50%;width:4.6em;height:4.6em;margin-bottom:.3em;padding:.55em}.game-card-icon svg{width:100%;height:100%}.game-card-title{-webkit-text-stroke:.06em var(--ink);paint-order:stroke fill;text-shadow:.04em .06em 0 var(--ink);font-size:1.6em;font-weight:800}.game-card-tag{opacity:.95;text-shadow:0 .06em #00000040;font-size:.95em}.game-card-stars{color:var(--ink);border:.12em solid var(--ink);background:#ffffffeb;border-radius:1em;align-self:flex-start;align-items:center;gap:.2em;margin-top:auto;padding:.05em .6em;display:inline-flex}.game-card-stars .star{width:1.1em;height:1.1em}@keyframes card-in{0%{opacity:0;transform:translateY(1.5em)scale(.9)}}.level-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,11em),1fr));align-content:center;gap:1.4em;display:grid}.level-card{--c:var(--green);cursor:pointer;text-align:center;border-top:1.1em solid var(--c);flex-direction:column;align-items:center;gap:.5em;padding:1.3em 1em;animation:.5s cubic-bezier(.3,1.5,.6,1) both card-in;display:flex}.level-card:active{transform:scale(.96)}.level-pips{gap:.3em;display:flex}.level-pips i{background:var(--c);border:.14em solid var(--ink);border-radius:50%;width:1.2em;height:1.2em}.level-label{font-size:2em;font-weight:800}.level-desc{opacity:.8;min-height:2.4em;font-size:1em}.level-stars{gap:.2em;display:flex}.level-stars .star{width:2em;height:2em}.star{display:inline-block}.star svg{fill:#e7e1f2;width:100%;height:100%;stroke:var(--ink);stroke-width:1.6px;stroke-linejoin:round}.star.on svg{fill:var(--yellow)}.game-body{min-height:0;padding:0 1em 1em;padding-bottom:max(1em, env(safe-area-inset-bottom));flex:1;grid-template-columns:1fr max(130px,min(17vw,300px));gap:1em;display:grid}.stage{background:var(--paper);border:var(--line) solid var(--ink);min-width:0;min-height:0;box-shadow:.25em var(--drop) 0 var(--ink);border-radius:1.6em;position:relative;overflow:hidden}.mascot-slot{min-width:0;min-height:0;display:flex;position:relative}body:has(.result-overlay) .mascot-slot{z-index:55}.mascot{flex-direction:column;justify-content:flex-end;align-items:center;gap:.6em;width:100%;display:flex}.mascot-figure{cursor:pointer;filter:drop-shadow(.15em .3em #2b244033);background:0 0;border:0;width:100%;max-width:13em;padding:0}.mascot-figure .owl{width:100%;height:auto}.bubble{background:var(--paper);border:var(--line) solid var(--ink);text-align:center;width:100%;max-width:16em;box-shadow:.15em .22em 0 var(--ink);visibility:hidden;opacity:0;border-radius:1.1em;padding:.55em .8em;font-size:1.1em;transition:opacity .2s,transform .25s cubic-bezier(.3,1.6,.6,1),visibility .2s;position:relative;transform:scale(.6)}.bubble:after{content:"";background:var(--paper);border-right:var(--line) solid var(--ink);border-bottom:var(--line) solid var(--ink);border-bottom-right-radius:.25em;width:1.1em;height:1.1em;position:absolute;bottom:-.75em;left:50%;transform:translate(-50%)rotate(45deg)}.bubble.show{visibility:visible;opacity:1;transform:scale(1)}.owl{overflow:visible}.owl .owl-eyes-happy,.owl .owl-mouth{display:none}.owl .owl-body{transform-box:view-box;transform-origin:100px 212px;animation:2.6s ease-in-out infinite bob}.owl .owl-eyes-open{transform-box:view-box;transform-origin:100px 108px;animation:5s infinite blink}.owl .owl-pupils{transition:transform .3s}.owl .owl-wing,.owl .owl-tassel{transform-box:view-box}.owl .owl-wing-l{transform-origin:50px 112px}.owl .owl-wing-r{transform-origin:150px 112px}.owl .owl-tassel{transform-origin:100px 44px}.owl .m-smile{display:block}[data-mood=happy] .owl .m-smile,[data-mood=cheer] .owl .m-smile{display:none}[data-mood=happy] .owl .m-open,[data-mood=cheer] .owl .m-open{display:block}[data-mood=happy] .owl .owl-eyes-open,[data-mood=cheer] .owl .owl-eyes-open{display:none}[data-mood=happy] .owl .owl-eyes-happy,[data-mood=cheer] .owl .owl-eyes-happy{display:block}[data-mood=think] .owl .owl-pupils{transform:translate(5px,-6px)}[data-mood=think] .owl .owl-tassel{animation:.6s ease-in-out infinite alternate tassel}[data-mood=think] .owl .owl-body{animation:1.6s ease-in-out infinite alternate tilt}[data-mood=sad] .owl .m-sad{display:block}[data-mood=sad] .owl .owl-pupils{transform:translateY(5px)}[data-mood=wave] .owl .owl-wing-r{animation:.45s ease-in-out 4 alternate wave}[data-mood=cheer] .owl .owl-wing-l{animation:.3s ease-in-out 6 alternate wave-l}[data-mood=cheer] .owl .owl-wing-r{animation:.3s ease-in-out 6 alternate wave}.mascot.jump[data-mood=happy] .mascot-figure,.mascot.jump[data-mood=cheer] .mascot-figure{animation:.5s cubic-bezier(.3,1.5,.6,1) 2 hop}.mascot.jump[data-mood=sad] .mascot-figure{animation:.45s shake}@keyframes bob{50%{transform:translateY(-4px)scaleY(1.02)}}@keyframes blink{0%,94%,to{transform:scaleY(1)}97%{transform:scaleY(.1)}}@keyframes tassel{0%{transform:rotate(-14deg)}to{transform:rotate(16deg)}}@keyframes tilt{0%{transform:rotate(-4deg)}to{transform:rotate(4deg)}}@keyframes wave{0%{transform:rotate(0)}to{transform:rotate(-55deg)}}@keyframes wave-l{0%{transform:rotate(0)}to{transform:rotate(55deg)}}@keyframes hop{40%{transform:translateY(-14%)}}.shake{animation:.45s shake}.pop{animation:.35s cubic-bezier(.3,1.6,.6,1) pop-in}@keyframes shake{20%{transform:translate(-8%)}40%{transform:translate(7%)}60%{transform:translate(-5%)}80%{transform:translate(3%)}}@keyframes pop-in{0%{transform:scale(.5)}}.overlay{z-index:50;background:#2b244080;place-items:center;padding:1em;animation:.3s both fade;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.result-card{text-align:center;max-width:34em;padding:1.5em 2em 1.8em;animation:.45s cubic-bezier(.3,1.5,.6,1) both card-in}.result-card h2{margin:.3em 0 .2em;font-size:2em}.result-card p{opacity:.85;margin:0 0 .6em;font-size:1.1em}.result-stars{justify-content:center;gap:.4em;display:flex}.result-stars .star{width:5em;height:5em;animation:.6s cubic-bezier(.3,1.8,.6,1) both star-in}.result-stars .star:first-child{animation-delay:.25s;transform:rotate(-12deg)translateY(.4em)}.result-stars .star:nth-child(2){width:6em;height:6em;animation-delay:.55s}.result-stars .star:nth-child(3){animation-delay:.85s;transform:rotate(12deg)translateY(.4em)}.result-actions{flex-wrap:wrap;justify-content:center;gap:.8em;margin-top:1em;display:flex}@keyframes star-in{0%{opacity:0;scale:.2}}@keyframes fade{0%{opacity:0}}.confetti{pointer-events:none;z-index:60;position:fixed;top:0;bottom:0;left:0;right:0;overflow:hidden}.confetti i{width:.7em;height:1em;animation-name:fall;animation-timing-function:cubic-bezier(.3,.4,.6,1);animation-fill-mode:both;position:absolute;top:-5vh}@keyframes fall{to{transform:translate(var(--dx), 112vh) rotate(var(--rot))}}@media (max-aspect-ratio:1){.home-body,.level-body{grid-template-columns:1fr;align-items:start;padding:0 1em 1em}.game-body{grid-template-rows:1fr auto;grid-template-columns:1fr;gap:.6em;padding:0 .6em .6em}.mascot{flex-direction:row-reverse;justify-content:center;align-items:flex-end}.mascot-figure{flex:none;width:5.5em}.bubble{flex:1;max-width:none;font-size:1em}.bubble:after{bottom:1.1em;left:-.72em;transform:rotate(135deg)}.bubble:not(.show){display:none}.game-body .bubble{min-height:0}.topbar{flex-wrap:wrap;gap:.5em;padding:.6em}.game-screen .progress{flex-basis:100%;order:5}.game-screen .title-icon{display:none}.logo-name{font-size:2.2em}.logo-mark{width:2.6em;height:2.6em}}@media (max-width:520px){:root{font-size:15px}.level-badge{display:none}}.settings-card{flex-direction:column;gap:1.1em;width:min(30em,100%);padding:1.4em 1.8em 1.6em;animation:.4s cubic-bezier(.3,1.5,.6,1) both card-in;display:flex}.settings-card h2{align-items:center;gap:.4em;margin:0;font-size:1.9em;display:flex}.settings-card h2 svg{width:1.1em;height:1.1em}.settings-label{opacity:.8;margin-bottom:.4em;font-size:1.15em}.settings-row{grid-template-columns:1fr 1fr;gap:.7em;display:grid}.choice{--b:var(--paper);color:var(--ink);justify-content:flex-start;min-height:3em;font-size:1.1em}.choice.active{--b:var(--yellow)}.choice .flag{border:.1em solid var(--ink);border-radius:.2em;flex:none;width:2em;height:1.35em;overflow:hidden}.choice .flag svg{width:100%;height:100%}.settings-note{opacity:.7;margin:-.4em 0 0;font-size:.9em}.settings-card .btn-go{align-self:center;min-width:8em}.game-chessmaze{background:#fffaf2;justify-content:center;align-items:center;display:flex}.cm{justify-content:center;align-items:center;gap:1.5em;width:100%;height:100%;padding:12px;display:flex}.cm.vertical{flex-direction:column;gap:.6em}.cm-board{grid-template-columns:repeat(var(--n), 1fr);grid-template-rows:repeat(var(--n), 1fr);border:.2em solid #2b2440;border-radius:.8em;flex:none;display:grid;position:relative;overflow:hidden;box-shadow:.2em .25em #2b2440}.cm-sq{cursor:pointer;background:#fff3dc;border:0;margin:0;padding:0;transition:background .25s;position:relative}.cm-sq.dark{background:#f2c48d}.cm-sq.goal{background:#c8f0d0}.cm-sq.goal.dark{background:#a9e3b4}.cm-sq.target:after{content:"";opacity:.55;background:#7b5cff;border-radius:50%;width:28%;height:28%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 .12em #fff}.cm-sq.target.goal:after{opacity:0}.cm-board.peek .cm-sq.danger{background:#ffc2c8}.cm-board.peek .cm-sq.danger.dark{background:#ff9ea8}.cm-board.peek .cm-sq.danger:before{content:"";opacity:.6;background:linear-gradient(45deg,#0000 42%,#ff4d5e 42%,#ff4d5e 58%,#0000 58%),linear-gradient(-45deg,#0000 42%,#ff4d5e 42%,#ff4d5e 58%,#0000 58%);position:absolute;top:30%;bottom:30%;left:30%;right:30%}.cm-sq.bad{background:#ff4d5e!important}.cm-layer{pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0}.cm-piece{width:calc(100% / var(--n));height:calc(100% / var(--n));place-items:center;display:grid;position:absolute}.cm-piece svg{width:86%;height:86%}.cm-piece.flag svg{transform-origin:35% 85%;width:72%;height:72%;animation:1.2s ease-in-out infinite alternate cm-flag}.cm-piece.player{z-index:2;transition:left .35s ease-in-out,top .35s ease-in-out}.cm-piece.player svg{filter:drop-shadow(0 .12em #2b244059)}.cm-piece.player.jump svg{animation:.35s ease-in-out cm-jump}.cm-piece.player.home svg{animation:.5s cubic-bezier(.3,1.5,.6,1) 3 cm-hop}.cm-piece.enemy.alarm svg{animation:.9s cm-alarm}@keyframes cm-flag{to{transform:rotate(-5deg)}}@keyframes cm-jump{50%{transform:translateY(-22%)scale(1.15)}}@keyframes cm-hop{50%{transform:translateY(-18%)}}@keyframes cm-alarm{0%,to{filter:none;transform:none}20%,60%{filter:drop-shadow(0 0 .3em #ff4d5e);transform:scale(1.25)rotate(-8deg)}40%,80%{filter:drop-shadow(0 0 .3em #ff4d5e);transform:scale(1.25)rotate(8deg)}}.cm-panel{flex-direction:column;flex:1;align-items:center;gap:.8em;min-width:0;max-width:18em;display:flex}.cm-legend{align-items:center;gap:.6em;width:100%;padding:.6em .8em;display:flex}.cm-legend-piece{flex:none;width:3em;height:3em}.cm-legend-piece svg{width:100%;height:100%}.cm-legend-text{line-height:1.25}.cm-enemies{align-items:center;gap:.3em;font-weight:700;display:flex}.cm-enemies>span:first-child{margin-right:.3em}.cm-enemy-ico{width:2.2em;height:2.2em}.cm-enemy-ico svg{width:100%;height:100%}.cm-moves{font-size:1.15em;font-weight:800}.cm-actions{flex-wrap:wrap;justify-content:center;gap:.5em;display:flex}.cm-actions .btn{gap:.3em}.vertical .cm-panel{grid-template-columns:1fr auto;align-items:center;gap:.4em .6em;width:100%;max-width:none;display:grid}.vertical .cm-legend{grid-column:1/-1;padding:.4em .6em}.vertical .cm-legend-piece{width:2.4em;height:2.4em}.vertical .cm-legend-text,.vertical .cm-enemies{font-size:.9em}.vertical .cm-enemy-ico{width:1.8em;height:1.8em}.vertical .cm-moves{justify-self:end}.vertical .cm-actions{grid-column:1/-1}.game-clock{align-items:stretch;display:flex}.clk{flex:1;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:1.5em;padding:1.2em 1.5em;display:grid}.clk-wrap{aspect-ratio:1;justify-self:center;width:100%;max-width:min(100%,72vh)}.clk-face{width:100%;height:100%}.clk-rim{fill:#3da5ff;stroke:#2b2440;stroke-width:4px}.clk-bg{fill:#fff;stroke:#2b2440;stroke-width:3px}.clk-face .tick{stroke:#2b2440;stroke-width:1.2px;opacity:.5}.clk-face .tick5{stroke:#2b2440;stroke-width:3px;stroke-linecap:round}.clk-face .num{fill:#2b2440;text-anchor:middle;dominant-baseline:central;font:800 20px "Baloo 2",sans-serif}.clk-hour line{stroke:#ff8a3d;stroke-width:10px;stroke-linecap:round}.clk-min line{stroke:#7b5cff;stroke-width:6.5px;stroke-linecap:round}.clk-wrap.settable .clk-rim{fill:#ffd23f}.clk-part{background:#fff3b0;border:.12em solid #2b2440;border-radius:2em;align-items:center;gap:.4em;padding:.2em .9em .2em .3em;font-size:1.3em;font-weight:800;display:inline-flex;box-shadow:0 .15em #2b2440}.clk-part-icon{width:2em;height:2em}.clk-part-icon svg{width:100%;height:100%}.clk-part[data-part=night]{color:#fff;background:#2b2440}.clk-part[data-part=morning]{background:#ffe7b0}.clk-part[data-part=evening]{background:#ffd0c0}.clk-panel{text-align:center;flex-direction:column;align-items:center;gap:.7em;display:flex}.clk-q{font-size:1.9em;font-weight:800}.clk-options{grid-template-columns:1fr 1fr;gap:.9em;width:100%;max-width:18em;display:grid}.clk-options.n3{grid-template-columns:1fr;max-width:12em}.clk-opt{--b:#fff;color:#2b2440;font-variant-numeric:tabular-nums;min-height:1.9em;font-size:2.2em}.clk-opt.right{--b:var(--green);color:#fff}.clk-opt:disabled:not(.right){filter:none;opacity:.35}.clk-opt.right:disabled{filter:none;animation:.35s pop-in}.clk-target{color:#ffd23f;font-variant-numeric:tabular-nums;background:#2b2440;border-radius:.3em;padding:.15em .5em;font-size:3.4em;font-weight:800;line-height:1}.clk-words{color:#7b5cff;margin-bottom:.3em;font-size:1.3em}.clk-ctrl{background:#f5f1ff;border:.12em solid #2b2440;border-radius:1.5em;align-items:center;gap:.6em;padding:.3em;font-size:1.15em;display:flex}.clk-ctrl span{min-width:6.5em}.clk-ctrl.hour .clk-nudge{--b:#ff8a3d}.clk-ctrl.min .clk-nudge{--b:#7b5cff}.clk-nudge{width:2.4em;padding:0;font-size:1.4em}.clk-check{margin-top:.3em}@media (max-aspect-ratio:1){.clk{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:.8em;padding:.8em}.clk-wrap{align-self:center;width:min(100%,45dvh);max-width:none}.clk-q{font-size:1.5em}.clk-options.n3{grid-template-columns:repeat(3,1fr);max-width:none}.clk-target{font-size:2.6em}.clk-opt{min-width:0;padding:0 .3em;font-size:1.7em}.clk-options{gap:.6em}}.game-math{background:linear-gradient(#c9ecff,#fff 70%)}.m-wrap{flex-direction:column;height:100%;padding:1em;display:flex}.m-top{flex-direction:column;align-items:center;gap:.5em;display:flex}.m-eq{align-items:center;gap:.35em;font-size:max(2.6em,min(7vmin,5em));font-weight:800;display:flex}.m-num{text-align:center;font-variant-numeric:tabular-nums;background:#fff;border:.06em solid #2b2440;border-radius:.3em;min-width:1.4em;padding:0 .2em;box-shadow:0 .08em #2b2440}.m-op{color:#7b5cff}.m-hole{color:#ff8a3d;background:#fff6c2;border-style:dashed;animation:1.2s ease-in-out infinite hole}.m-hole.solved{background:var(--green);color:#fff;border-style:solid;animation:.35s pop-in}@keyframes hole{50%{transform:scale(1.06)}}.m-visual{flex-wrap:wrap;justify-content:center;align-items:center;gap:.6em;font-size:1.6em;display:flex}.m-dots{grid-template-columns:repeat(5,1em);gap:.25em;display:grid}.m-dots i{border:.1em solid #2b2440;border-radius:50%;width:1em;height:1em;position:relative}.m-dots .d1{background:var(--orange)}.m-dots .d2{background:var(--teal)}.m-dots .gone{opacity:.35}.m-dots .gone:after{content:"✕";color:#2b2440;opacity:1;place-items:center;font-size:.9em;line-height:1;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.m-streak{color:#ff8a3d;min-height:1.4em;font-size:1.2em}.m-sky{flex:1;justify-content:space-evenly;align-items:center;gap:.5em;min-height:0;display:flex}.m-balloon{--bc:#ff5d8f;aspect-ratio:.82;background:radial-gradient(circle at 32% 28%, #ffffffb3 0 9%, transparent 10%), var(--bc);cursor:pointer;width:max(4.5em,min(16vmin,9em));animation:sway var(--sway) ease-in-out var(--delay) infinite alternate;border:.16em solid #2b2440;border-radius:50% 50% 47% 47%/55% 55% 45% 45%;padding:0;transition:opacity .3s,transform .3s;position:relative}.m-balloon:before{content:"";border:.35em solid #0000;border-top:0;border-bottom:.5em solid #2b2440;position:absolute;bottom:-.45em;left:50%;transform:translate(-50%)}.m-balloon:after{content:"";transform-origin:top;background:#2b2440;border-radius:1em;width:.12em;height:2.2em;margin-top:.4em;position:absolute;top:100%;left:50%;transform:rotate(4deg)}.m-balloon span{color:#fff;-webkit-text-stroke:.08em #2b2440;paint-order:stroke fill;font-size:max(1.8em,min(6vmin,3.4em));font-weight:800}.m-balloon.wrong{animation:.5s forwards deflate}.m-balloon.popped{animation:.4s forwards popped}.m-balloon:disabled{cursor:default}@keyframes sway{0%{transform:translateY(-4%)rotate(-3deg)}to{transform:translateY(4%)rotate(3deg)}}@keyframes deflate{40%{transform:translate(-6%)rotate(-8deg)}to{opacity:.3;transform:scale(.75)translateY(20%)}}@keyframes popped{30%{transform:scale(1.25)}to{opacity:0;transform:scale(1.6)}}@media (max-aspect-ratio:1){.m-sky{grid-template-columns:1fr 1fr;align-content:space-evenly;justify-items:center;display:grid}.m-balloon{width:max(4em,min(22vw,8em))}}.game-robot{background:#f3fbff;justify-content:center;align-items:center;display:flex}.rb{justify-content:center;align-items:center;gap:1.5em;width:100%;height:100%;padding:12px;display:flex}.rb.vertical{flex-direction:column;gap:.7em}.rb-board{grid-template-columns:repeat(var(--n), 1fr);grid-template-rows:repeat(var(--n), 1fr);background:#2b2440;border-radius:.9em;flex:none;gap:3px;padding:3px;display:grid;position:relative;box-shadow:.2em .25em #2b2440}.rb-tile{background:#c8f0d0;border-radius:.35em}.rb-tile:nth-child(odd){background:#b5e8c0}.rb-layer{pointer-events:none;position:absolute;top:3px;bottom:3px;left:3px;right:3px}.rb-item,.rb-robot{width:calc(100% / var(--n));height:calc(100% / var(--n));place-items:center;display:grid;position:absolute}.rb-item svg{width:80%;height:80%}.rb-item.goal svg{transform-origin:35% 85%;animation:1.2s ease-in-out infinite alternate flag}.rb-item.battery svg{animation:1.4s ease-in-out infinite alternate bob-b}.rb-item.battery.got{opacity:0;transition:transform .4s,opacity .4s;transform:scale(1.6)translateY(-30%)}@keyframes flag{to{transform:rotate(-5deg)}}@keyframes bob-b{to{transform:translateY(-8%)}}.rb-robot{z-index:2;transition:left .35s ease-in-out,top .35s ease-in-out;top:0;left:0}.rb-robot-inner{place-items:center;width:92%;height:92%;display:grid;position:relative}.rb-robot-face{width:78%;height:88%;transition:transform .25s}.rb-robot-face .owl{width:100%;height:100%}.rb-robot-face.flip{transform:scaleX(-1)}.rb-robot-arrow{color:#ffd23f;pointer-events:none;place-items:start center;transition:transform .3s ease-in-out;display:grid;position:absolute;top:-8%;bottom:-8%;left:-8%;right:-8%}.rb-robot-arrow svg{width:34%;height:34%;margin-top:-14%}.rb-robot.bump .rb-robot-inner{animation:.5s bump}.rb-robot.home .rb-robot-inner{animation:.5s cubic-bezier(.3,1.5,.6,1) 3 hop}@keyframes bump{35%{transform:translate(calc(var(--bx) * 28%), calc(var(--by) * 28%))}55%{transform:translate(calc(var(--bx) * -6%), calc(var(--by) * -6%)) rotate(-8deg)}75%{transform:rotate(6deg)}}.rb-panel{flex-direction:column;flex:1;align-items:center;gap:.9em;min-width:0;max-width:22em;display:flex}.vertical .rb-panel{gap:.6em;width:100%;max-width:none}.rb-program-box{background:#fff;border:.14em solid #2b2440;border-radius:1em;width:100%;padding:.4em;position:relative}.rb-program{flex-wrap:wrap;align-content:flex-start;gap:.3em;min-height:2.4em;max-height:8.4em;display:flex;overflow-y:auto}.vertical .rb-program{flex-wrap:nowrap;max-height:none;overflow-x:auto}.rb-empty{opacity:.45;align-self:center;padding:0 .4em}.rb-counter{background:#fff;border:.1em solid #2b2440;border-radius:1em;padding:0 .5em;font-size:.8em;position:absolute;bottom:-.75em;right:.6em}.rb-chip{color:#fff;cursor:pointer;background:#7b5cff;border:.12em solid #2b2440;border-radius:.6em;flex:none;width:2.3em;height:2.3em;padding:.25em;transition:transform .15s}.rb-chip.turn{background:#ff8a3d}.rb-chip svg{width:100%;height:100%}.rb-chip.done{opacity:.45}.rb-chip.active{color:#2b2440;background:#ffd23f;transform:scale(1.18)}.rb-pad{gap:.5em;display:grid}.rb-pad.abs{grid-template-rows:repeat(2,3.6em);grid-template-columns:repeat(3,3.6em)}.rb-pad.rel{grid-template-rows:4.2em;grid-template-columns:repeat(3,4.2em)}.rb-cmd{--b:#7b5cff;color:#fff;width:100%;height:100%;padding:.35em}.rb-cmd svg{width:100%;height:100%}.rb-cmd.turn{--b:#ff8a3d}.vertical .rb-pad.abs{grid-template-rows:repeat(2,3em);grid-template-columns:repeat(3,3em)}.rb-actions{flex-wrap:wrap;justify-content:center;gap:.5em;display:flex}.rb-run{min-width:5em}.game-sudoku{justify-content:center;align-items:center;display:flex}.sdk{justify-content:center;align-items:center;gap:1.5em;width:100%;height:100%;padding:12px;display:flex}.sdk.vertical{flex-direction:column;gap:.8em}.sdk-board{--cell:60px;grid-template-columns:repeat(var(--n), 1fr);grid-template-rows:repeat(var(--n), 1fr);background:#2b2440;border:.22em solid #2b2440;border-radius:.8em;flex:none;gap:2px;display:grid;overflow:hidden;box-shadow:.2em .25em #2b2440}.sdk-cell{cursor:pointer;font-size:calc(var(--cell) * .6);color:#3da5ff;background:#fff;border:0;place-items:center;padding:0;font-weight:800;line-height:1;transition:background .15s;display:grid}.sdk-cell.alt{background:#f6f2ff}.sdk-cell.br{border-right:3px solid #2b2440}.sdk-cell.bb{border-bottom:3px solid #2b2440}.sdk-cell.given{color:#2b2440;cursor:default}.sdk-cell svg{width:72%;height:72%}.sdk-cell.peer{background:#fff3c4}.sdk-cell.same{background:#ffe27a}.sdk-cell.sel{background:#ffd23f;box-shadow:inset 0 0 0 .18em #ff8a3d}.sdk-cell.flash{animation:.8s sdk-flash}.sdk-cell.clash{animation:1.2s sdk-clash}@keyframes sdk-flash{30%{background:#b8f5c0;transform:scale(1.08)}}@keyframes sdk-clash{0%,60%{background:#ffb3bb}}.sdk-side{flex-direction:column;align-items:center;gap:1em;display:flex}.sdk-pal{grid-template-columns:repeat(var(--pc), 1fr);gap:.6em;display:grid}.sdk-key{--b:#fff;color:#2b2440;width:2.6em;height:2.6em;padding:0;font-size:1.6em}.sdk-key svg{width:1.4em;height:1.4em}.n9~.sdk-side .sdk-key{font-size:1.35em}.vertical .sdk-side{flex-flow:wrap;justify-content:center}.vertical .sdk-key{width:2.2em;height:2.2em;font-size:1.3em}.vertical .n9~.sdk-side .sdk-key{width:1.8em;height:2em;font-size:1.1em}
