@font-face{font-family:Nunito Sans Variable;font-style:normal;font-weight:200 1000;font-display:swap;src:url(/assets/nunito-sans-latin-wght-normal-BWQ3gi2K.woff2)format("woff2")}:root{color:#171919;font-synthesis:none;--muted:#737879;--green:#38ef11;--line:#e7e9e6;--soft:#f6f7f4;background:#fff;font-family:Nunito Sans Variable,Arial,sans-serif}*{box-sizing:border-box}body{margin:0}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}button,img{-webkit-user-select:none;user-select:none}button:focus-visible{outline-offset:5px;outline:3px solid #0040ff}button{border:0}img{object-fit:contain;max-width:100%;display:block}h1,h2,p{margin:0}[hidden]{display:none!important}.screen{min-height:100svh;padding:max(32px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));margin:0 auto}.eyebrow,.label{letter-spacing:.17em;font-size:10px;font-weight:850;line-height:1.6}.eyebrow{color:var(--muted)}.menu-screen{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:30px;max-width:600px;display:flex;position:relative}.menu-heading h1{margin:22px 0 20px}.brand{width:420px;max-width:80vw;height:auto}.menu-heading p{color:#757a79;letter-spacing:-.025em;font-size:20px;font-weight:650;line-height:1.5}.menu-actions{flex-direction:column;align-items:center;gap:16px;display:flex}.play-button{background:0 0;flex-direction:column;align-items:center;gap:12px;padding:0 20px;font-size:15px;font-weight:850;display:flex}.play-button img{width:100px;height:100px;transition:transform .18s}.play-button:hover img{transform:scale(1.05)rotate(-3deg)}.play-button:active img{transform:scale(.95)}.secondary-button{border:1px solid var(--line);background:#fff;border-radius:100px;gap:24px;min-height:44px;padding:11px 22px;font-size:14px;font-weight:800;display:flex}.secondary-button:hover{background:var(--soft)}.best-badge{background:var(--soft);letter-spacing:.1em;color:var(--muted);border-radius:8px;align-items:center;gap:9px;padding:10px 16px;font-size:9px;font-weight:850;display:flex}.best-badge strong{color:#171919;letter-spacing:0;font-variant-numeric:tabular-nums;margin-left:8px;font-size:15px}.best-dot{background:#36c919;border-radius:100%;width:5px;height:5px}.menu-tools{gap:46px;margin:4px 0 26px;display:flex}.tool{background:0 0;flex-direction:column;align-items:center;gap:10px;min-width:76px;padding:3px;font-size:11px;font-weight:800;display:flex}.tool img{width:48px;height:48px;transition:transform .15s}.tool:hover img{transform:translateY(-3px)}.menu-footer{bottom:max(20px,env(safe-area-inset-bottom));color:#929893;letter-spacing:.12em;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;font-size:8px;font-weight:800;display:flex;position:absolute;left:24px;right:24px}.menu-footer>span:first-child{flex-basis:100%;margin-bottom:2px}.install-button{letter-spacing:0;text-underline-offset:4px;background:#fff;border:0;min-height:32px;padding:5px 0;font-size:10px;text-decoration:underline}.offline-indicator{letter-spacing:.08em;font-size:8px}.game-screen{padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(8px,env(safe-area-inset-bottom));flex-direction:column;gap:10px;max-width:550px;height:100svh;min-height:0;display:flex}.game-header{flex-shrink:0;justify-content:space-between;align-items:center;width:100%;height:44px;display:flex}.game-header>img{width:156px;height:39px}.small-control{border:1px solid var(--line);background:#fff;border-radius:50%;place-items:center;width:44px;height:44px;font-size:24px;display:grid}.small-control:hover{background:var(--soft)}.game-body{flex:1;justify-content:center;align-items:center;min-height:0;display:flex}.board-frame{aspect-ratio:1/2;background:#000;border-radius:2px;max-width:100%;height:100%;position:relative;overflow:hidden;box-shadow:0 0 0 1px #000}#phaser-board{touch-action:none;position:absolute;inset:0}canvas{touch-action:none!important;display:block!important}.game-footer{flex-shrink:0;justify-content:space-between;align-items:center;width:100%;max-width:100%;height:60px;padding:0 2px;display:flex}.game-footer .label{color:var(--muted);font-size:9px;display:block}.game-footer strong{font-variant-numeric:tabular-nums;font-size:22px;font-weight:950;line-height:1.1}.game-footer .current-score{text-align:right}.game-footer .current-score strong{font-size:37px}.game-message{color:#737879;text-align:center;flex-shrink:0;height:20px;font-size:11px;line-height:1.5}.loss-label{color:#fff;text-align:center;pointer-events:none;background:#000c;padding:16px 0;font-size:38px;font-weight:950;position:absolute;top:36%;left:0;right:0}.results-screen{text-align:center;flex-direction:column;justify-content:center;align-items:center;max-width:600px;display:flex}.results-screen h1{letter-spacing:-.065em;margin:18px 0 12px;font-size:clamp(43px,9vw,64px);font-weight:950;line-height:1.1}.heading-dot{color:#00ce00}.results-screen>p{color:var(--muted);font-size:15px}.result-stats{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;gap:44px;margin:20px 0 25px;padding:36px 28px;display:grid}.result-stats>div{flex-direction:column;align-items:center;gap:8px;min-width:100px;display:flex}.result-stats strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-size:43px;font-weight:950;line-height:1.1}.result-stats .label{color:var(--muted);font-size:9px}.primary-button{color:#fff;background:#151818;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:36px;min-height:52px;padding:16px 22px;font-size:14px;font-weight:850;display:flex}.primary-button:hover{background:#323a35}.primary-button span{color:#52fc2d;font-size:22px;line-height:1}.text-button{color:#737879;background:0 0;border:0;min-height:44px;margin-top:8px;font-size:12px;font-weight:750}.text-button:hover{color:#151818}.result-decoration{align-items:center;gap:5px;margin-top:48px;display:flex}.result-decoration span{background:#0f0;place-items:center;width:31px;height:31px;font-size:19px;font-weight:950;display:grid;transform:rotate(-9deg)}.result-decoration span:nth-child(2){background:#00c8ff;transform:rotate(4deg)}.result-decoration span:nth-child(3){color:#fff;background:#0040ff;transform:rotate(-4deg)}dialog{color:#171919;background:#fff;border:1px solid #e6e8e4;border-radius:14px;max-width:min(390px,100vw - 32px);padding:30px;animation:.1833s ease-out popup;box-shadow:0 22px 100px #0002}dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0005}dialog h2{letter-spacing:-.045em;margin:16px 0;font-size:29px;font-weight:950;line-height:1.12}dialog p{color:#717875;margin-bottom:24px;font-size:15px;line-height:1.65}dialog .primary-button,dialog .text-button{width:100%}.lesson-counter{color:#737879;letter-spacing:.13em;font-size:9px;font-weight:850}.pwa-notice{bottom:max(18px,env(safe-area-inset-bottom));color:#fff;z-index:10;background:#171919;border-radius:10px;align-items:center;gap:16px;width:max-content;max-width:calc(100vw - 24px);padding:13px 16px;font-size:12px;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 8px 35px #0002}.pwa-notice button{color:#a0ff6c;white-space:nowrap;background:0 0;min-height:32px;font-size:11px;font-weight:800}.pwa-notice #dismiss-notice{color:#b7bfba;min-width:24px;font-size:23px}.storage-notice{text-align:center;z-index:9;background:#fff0c7;border-radius:5px;padding:8px;font-size:11px;position:fixed;top:8px;left:12px;right:12px}.boot{text-align:center;color:#747b75;flex-direction:column;justify-content:center;align-items:center;gap:20px;min-height:100svh;padding:30px;display:flex}.boot h1{color:#171919}.boot button{padding:12px 24px}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.sr-only:focus-within{clip:auto;z-index:8;white-space:normal;background:#fff;border:2px solid #0040ff;width:auto;max-width:95%;height:auto;padding:6px;top:4px;left:4px}.sr-only:focus-within button:not(:focus){clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}.sr-only button:focus{color:#000;background:#fff;padding:8px;font-size:12px}@keyframes popup{0%{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}@media (min-height:850px){.menu-screen{gap:38px}.play-button img{width:120px;height:120px}.menu-heading h1{margin:26px 0}.menu-tools{margin-top:10px}}@media (max-height:680px){.menu-screen{gap:17px;padding-bottom:70px}.brand{width:340px;max-width:65vw}.menu-heading h1{margin:10px 0}.menu-heading p{font-size:16px}.play-button img{width:74px;height:74px}.menu-tools{gap:36px;margin:0}.tool img{width:40px;height:40px}.menu-footer{bottom:10px}.game-screen{gap:5px}.game-footer{height:48px}.game-message{height:16px;font-size:10px}.game-header{height:40px}.game-header>img{width:132px;height:33px}.result-stats{margin:18px 0;padding:24px}.result-decoration{margin-top:24px}}@media (orientation:landscape) and (max-height:600px){.menu-screen{grid-template-columns:1.4fr 1fr;align-content:center;gap:18px 30px;max-width:720px;padding-bottom:55px;display:grid}.menu-heading{grid-row:span 2}.brand{width:340px;max-width:42vw}.menu-heading p{font-size:17px}.menu-actions{gap:6px}.menu-tools{flex-direction:row;grid-area:3/1;justify-content:center}.best-badge{grid-area:3/2;justify-self:center}.menu-footer{bottom:8px}.menu-footer>span:first-child{flex-basis:auto;margin:0}.results-screen{min-height:100svh}.result-decoration{display:none}.result-stats{margin:10px 0;padding:15px}.results-screen h1{margin:8px;font-size:36px}.results-screen .eyebrow{display:none}.game-screen{gap:3px;max-width:550px;padding-top:4px;padding-bottom:4px}.game-header{height:34px}.game-header .small-control{width:32px;height:32px;font-size:18px}.game-header>img{width:108px;height:27px}.game-footer{height:35px}.game-footer strong{font-size:17px}.game-footer .current-score strong{font-size:24px}.game-footer .label{font-size:8px}.game-message{height:13px;font-size:9px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation-duration:.01ms!important}}.menu-feedback{max-width:340px;color:var(--muted);font-size:12px;line-height:1.5}.menu-feedback:empty{display:none}.game-footer{align-self:center}.result-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%;max-width:360px;padding-left:0;padding-right:0}.result-stats>div{min-width:0}.result-stats strong{font-size:clamp(20px,6.8vw,43px)}.pwa-notice button{min-height:44px}.pwa-notice #dismiss-notice{min-width:44px}@media (orientation:landscape) and (max-height:600px){.game-header{height:44px}.game-header .small-control{width:44px;height:44px}}
