@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--paper:#f7f7ef;--ink:#252c25;--muted:#7a8075;--line:#dcdfd2;--lime:#d2ec64;--orange:#ea956b;--display:'Space Grotesk','Trebuchet MS',sans-serif;--body:'DM Sans','Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #759939;outline-offset:5px}button{transition:transform .16s,background .16s,box-shadow .16s}button:active{transform:translateY(2px)}[hidden]{display:none!important}.site-shell{max-width:1280px;padding:0 44px;margin:0 auto}.site-header{height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);font-family:var(--display);font-size:18px;font-weight:700;letter-spacing:-.6px;line-height:1.02}.brand-icon{width:41px;height:49px;transform:rotate(-9deg);display:inline-flex}.brand-icon svg{width:100%;height:100%;fill:none;stroke:var(--ink);stroke-width:3.1;stroke-linecap:round;stroke-linejoin:round}.brand-light{display:block;font-weight:400;font-size:17px;letter-spacing:3.35px;padding-top:4px}.header-right{display:flex;align-items:center;gap:31px}.little-note{font-size:12px;color:var(--muted)}.best-pill{border:1px solid var(--line);border-radius:30px;display:flex;align-items:center;gap:8px;background:transparent;font-size:13px;font-weight:700;padding:10px 15px}.best-pill:hover{background:#edf0df}.star-symbol{color:#d3913e;font-size:23px}.best-label{font-size:12px;font-weight:500;color:var(--muted)}.intro{display:flex;align-items:center;justify-content:space-between;padding:38px 0 31px}.eyebrow{font-size:10px;letter-spacing:2.05px;font-weight:700;display:flex;align-items:center;gap:8px;margin:0 0 13px}.eyebrow>span{height:6px;width:6px;background:#809b4a;border-radius:50%}h1{position:relative;display:inline-block;font-family:var(--display);font-size:49px;line-height:1.1;letter-spacing:-2.7px;margin:0;font-weight:600}h1 span{color:#708b42}.title-swoosh{position:absolute;width:230px;height:16px;right:0;bottom:-12px;stroke:#a8bf7f;fill:none;stroke-width:2;stroke-linecap:round}.intro-copy{font-size:14px;color:#7a7d72;margin:23px 0 0;line-height:1.6}.intro-sticker{display:flex;align-items:center;gap:13px;transform:rotate(4deg);padding:14px 18px;background:#edeece;border:1px solid #d9dfb6;border-radius:8px;font-size:12px;line-height:1.7;margin:15px 6px 0 18px;box-shadow:2px 3px 0 #e7e9d6}.intro-sticker svg{width:36px;height:36px;fill:none;stroke:#708b42;stroke-width:2;stroke-linecap:round}.intro-sticker em{font-weight:600;font-style:normal}.game-card{border:1px solid #c9cebb;border-radius:17px;overflow:hidden;background:#fffef8;box-shadow:0 6px 0 #e8eadf}.game-toolbar{height:78px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #d4d9c6;background:#fffef8}.level-info{display:flex;align-items:center;gap:12px;min-width:220px}.level-number{width:38px;height:38px;border:1px solid #d5ddbc;background:#eff3dc;display:flex;align-items:center;justify-content:center;border-radius:10px;font:500 18px var(--display)}.toolbar-eyebrow{font-size:8px;letter-spacing:1.7px;font-weight:700;color:var(--muted);display:block;margin-bottom:4px}.level-info h2{font:600 18px var(--display);margin:0;letter-spacing:-.5px}.game-stats{display:flex;align-items:center;gap:22px;transform:translateX(-25px)}.stat{display:flex;align-items:center;gap:7px;font-family:var(--display);font-size:17px;font-weight:500;font-variant-numeric:tabular-nums}.stat .muted{color:#929684;font-weight:400;font-size:14px}.stat-divider{height:22px;background:var(--line);width:1px}.time-stat svg{width:19px;height:19px;stroke:#858d76;stroke-width:1.6;fill:none;margin-right:2px}.toolbar-actions{display:flex;gap:7px}.icon-button{height:35px;width:35px;display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid transparent;border-radius:8px}.icon-button:hover{background:#edf0e3;border-color:#e0e5d0}.icon-button svg{height:18px;width:18px;stroke:#616b54;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;fill:none}.playfield{position:relative;aspect-ratio:2.31;min-height:330px;background:#f7f8ed;isolation:isolate;overflow:hidden}canvas{width:100%;height:100%;display:block;touch-action:none;position:absolute;inset:0;outline-offset:-4px!important}.canvas-label{position:absolute;left:25px;top:20px;display:flex;gap:7px;align-items:center;font-size:8px;letter-spacing:1.5px;font-weight:600;color:#899878;pointer-events:none}.live-dot{width:5px;height:5px;background:#9aad7f;border-radius:50%}.world-progress{position:absolute;top:24px;right:25px;width:85px;height:4px;border-radius:3px;background:#dce4d2;overflow:hidden}.world-progress span{display:block;height:100%;background:#8da559;width:0;transition:width .2s}.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#f7f8ed44,#f7f8edc7 32%,#f7f8edba 68%,#f7f8ed33);z-index:2}.overlay-panel{text-align:center;width:330px;max-width:90%;padding:18px 22px 22px;animation:panel-in .25s ease}.panel-kicker{font-size:9px;font-weight:700;letter-spacing:1.7px;color:#7c895f}h3{font:600 61px/.99 var(--display);letter-spacing:-3px;margin:15px 0 15px}h3 span{position:relative;color:#789349}h3 span:after{content:'';position:absolute;left:0;right:0;bottom:-3px;height:3px;border-radius:100%;background:#b7c999;transform:rotate(-3deg)}#panelCopy{font-size:13px;line-height:1.65;color:#7b826c;margin:0 auto 20px;max-width:265px}.primary-button{border:1px solid #293c1e;background:var(--lime);border-radius:9px;padding:12px 19px;min-width:177px;display:inline-flex;align-items:center;justify-content:space-between;gap:25px;font-weight:700;font-size:14px;box-shadow:0 3px 0 #283b1d}.primary-button:hover{background:#ddf680;transform:translateY(-1px);box-shadow:0 4px 0 #283b1d}.primary-button:active{transform:translateY(3px);box-shadow:none}.primary-button svg{width:21px;height:21px;fill:none;stroke:var(--ink);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.panel-hint{display:block;font-size:10px;color:#929881;margin-top:14px}.secondary-button{border:0;border-bottom:1px solid #adb999;background:none;font-size:11px;margin:15px 0 0;padding:2px}.result-stats{display:flex;justify-content:center;gap:18px;font:500 18px var(--display);margin:0 0 20px}.result-stats .star-symbol{font-size:20px}.game-toast{position:absolute;bottom:77px;left:50%;transform:translate(-50%,8px);background:#fffef4;border:1px solid #c7d3af;box-shadow:0 3px 0 #dce2cc;border-radius:25px;font-size:12px;padding:9px 19px;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s;white-space:nowrap;z-index:1}.game-toast.show{opacity:1;transform:translate(-50%,0)}.game-footer{height:56px;display:flex;justify-content:space-between;align-items:center;padding:0 24px;background:#fffef8;border-top:1px solid #d4d9c6;font-size:11px;color:#818775}.keyboard-help{display:flex;align-items:center;gap:8px}.key-pair{display:flex;gap:3px}kbd{display:inline-flex;align-items:center;justify-content:center;height:23px;min-width:23px;padding:0 5px;font:11px var(--display);color:#656e56;border:1px solid #dce1cf;border-bottom-width:2px;border-radius:4px;background:#fbfcf6}.space-key{font-size:8px;letter-spacing:.4px;padding:0 8px}.footer-dot{color:#bfc6b3;padding:0 3px}.double-tip{display:flex;gap:4px;align-items:center}.double-tip strong{font-weight:500;color:#65774a}.double-tip svg{width:29px;height:22px;fill:none;stroke:#a9b98c;stroke-width:1.3;stroke-linecap:round;transform:translateY(4px);margin-left:3px}.level-best{font-size:10px}.touch-controls{display:none}.levels-section{margin-top:35px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-heading h2{font:600 18px var(--display);letter-spacing:-.6px;margin:0;display:flex;align-items:baseline;gap:15px}.section-heading h2 span{font:11px var(--body);letter-spacing:0;color:#8b8f80}.notebook-note{font-size:10px;color:#929980;display:flex;align-items:center;gap:5px;font-style:italic}.notebook-note svg{width:35px;height:24px;fill:none;stroke:#9ba989;stroke-width:1.3;stroke-linecap:round}.level-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.level-card{position:relative;text-align:left;padding:14px 15px 12px;background:#fdfdf6;border:1px solid #dadfcb;border-radius:10px;min-width:0;overflow:hidden}.level-card:hover{transform:translateY(-3px);box-shadow:0 3px 0 #e2e7d4;border-color:#aebb92}.level-card.active{border:1.5px solid #829d53;background:#f0f4df;box-shadow:0 2px 0 #cdd8b5;padding:13.5px 14.5px 11.5px}.level-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font:500 11px var(--display);color:#919982}.level-card .mini-world{height:35px;width:65px;position:absolute;top:9px;right:14px}.level-card .card-title{display:block;font:600 13px var(--display);letter-spacing:-.3px;margin-bottom:5px;white-space:nowrap}.card-tag{font-size:9px;color:#919781}.card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:13px;border-top:1px solid #e2e7d3;padding-top:10px}.card-stars{display:flex;gap:2px;font-size:12px;letter-spacing:2px;color:#ced4bf}.card-stars .earned{color:#c59743}.card-action{font-size:8px;font-weight:600;letter-spacing:.8px;color:#8c9974}.level-card.active .card-action{color:#6a8046}.page-footer{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#979e8a;padding:27px 0 25px}.page-footer>span:first-child{display:flex;align-items:center;gap:8px}.footer-spark{font-size:20px;line-height:1;color:#96a47b}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@keyframes panel-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1400px){.intro{padding-top:44px;padding-bottom:35px}.playfield{aspect-ratio:2.25}}@media(max-width:1000px){.site-shell{padding:0 26px}.little-note{display:none}.intro-sticker{font-size:10px}.intro-sticker svg{width:29px}.level-info{min-width:180px}.game-stats{transform:none}.notebook-note{display:none}.level-cards{gap:8px}.level-card{padding-left:10px;padding-right:10px}.level-card.active{padding-left:9.5px;padding-right:9.5px}.level-card .card-title{font-size:11px}.card-tag{font-size:8px}.level-best{font-size:9px}.game-toolbar{padding:0 18px}.game-footer{padding:0 18px}}@media(max-width:700px){.site-shell{padding:0 17px}.site-header{height:79px}.brand{font-size:15px;gap:8px}.brand-light{font-size:14px;letter-spacing:2.9px}.brand-icon{width:31px;height:38px}.best-pill{padding:6px 10px;gap:5px;font-size:12px}.best-label{font-size:10px}.best-pill .star-symbol{font-size:19px}.intro{padding:27px 0 25px}.eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:11px}h1{font-size:36px;letter-spacing:-2px}.title-swoosh{width:168px;bottom:-11px}.intro-copy{font-size:11px;margin-top:21px}.intro-sticker{display:none}.game-toolbar{height:65px;padding:0 12px;gap:7px}.level-info{gap:8px;min-width:0;flex:1}.level-number{width:29px;height:32px;font-size:15px;border-radius:7px}.toolbar-eyebrow{font-size:6px;letter-spacing:1px}.level-info h2{font-size:14px}.game-stats{gap:9px}.stat{font-size:14px;gap:4px}.stat .star-symbol{font-size:20px}.stat .muted{font-size:11px}.stat-divider{height:17px}.time-stat{font-size:13px}.time-stat svg{width:15px;margin:0}.toolbar-actions{gap:0}.icon-button{height:29px;width:27px}.icon-button svg{width:15px}.playfield{aspect-ratio:1.36;min-height:275px}.canvas-label{top:15px;left:15px;font-size:7px}.world-progress{top:18px;right:15px;width:55px}.game-footer{height:43px;padding:0 13px;font-size:9px}.keyboard-help{gap:5px}.keyboard-help .double-tip,.keyboard-help .footer-dot:last-of-type{display:none}kbd{height:20px;min-width:20px;font-size:10px}.space-key{font-size:7px;padding:0 6px}.level-best{font-size:8px}.overlay-panel{padding:14px 20px;width:290px}.panel-kicker{font-size:8px;letter-spacing:1.3px}h3{font-size:49px;margin:13px 0}#panelCopy{font-size:11px;margin-bottom:16px;max-width:225px}.primary-button{font-size:12px;padding:10px 15px;min-width:150px}.panel-hint{font-size:8px;margin-top:12px}.touch-controls{display:flex;justify-content:space-between;align-items:center;margin:17px 3px 0;gap:8px;touch-action:none;user-select:none}.touch-controls>div{display:flex;gap:9px}.touch-controls>span{font-size:8px;color:#909980;text-align:center}.touch-button{border:1px solid #bdcaa5;border-bottom-width:3px;border-radius:12px;width:53px;height:47px;background:#f0f3e3;font:24px var(--display);touch-action:none;user-select:none;-webkit-user-select:none}.touch-button.held{background:#d8e8b7;transform:translateY(2px);border-bottom-width:1px}.touch-jump{background:var(--lime);width:75px;display:flex;align-items:center;justify-content:center;gap:6px}.touch-jump small{font-size:9px;font-family:var(--body);font-weight:700}.levels-section{margin-top:27px}.section-heading{margin-bottom:13px}.section-heading h2{font-size:16px;gap:9px;flex-wrap:wrap}.section-heading h2 span{font-size:9px}.level-cards{display:flex;overflow-x:auto;gap:9px;padding-bottom:8px;scroll-snap-type:x proximity}.level-card{flex:0 0 144px;padding:13px;scroll-snap-align:start}.level-card.active{padding:12.5px}.level-card .card-title{font-size:12px}.card-tag{font-size:9px}.page-footer{font-size:8px;gap:12px;padding-top:18px;line-height:1.5}.page-footer>span:last-child{max-width:115px;text-align:right}.footer-spark{font-size:17px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(pointer:coarse) and (min-width:701px){.touch-controls{display:flex;justify-content:space-between;align-items:center;padding-top:18px}.touch-controls>div{display:flex;gap:10px}.touch-controls>span{font-size:11px;color:var(--muted)}.touch-button{width:60px;height:45px;border-radius:10px;border:1px solid #bdcaa5;background:#eff3df;font-size:22px;touch-action:none}.touch-jump{background:var(--lime);width:95px}.touch-jump small{font-size:10px}}

/* Navigation within A2G Codes. */
.header-right{gap:18px}.back-link{font-size:12px;font-weight:600;color:#697d4c;text-decoration:none;white-space:nowrap}.back-link:hover{text-decoration:underline}@media(max-width:700px){.header-right{gap:9px}.back-link{font-size:10px}}
