@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:400;src:url(/matteglim/assets/nunito-latin-400-normal-r8SDr6Up.woff2)format("woff2"),url(/matteglim/assets/nunito-latin-400-normal-DKg4f3fz.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(/matteglim/assets/nunito-latin-600-normal-Br8yIETf.woff2)format("woff2"),url(/matteglim/assets/nunito-latin-600-normal-Cd0eNu1l.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:700;src:url(/matteglim/assets/nunito-latin-700-normal-Dort48En.woff2)format("woff2"),url(/matteglim/assets/nunito-latin-700-normal-OcDqTBcA.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(/matteglim/assets/nunito-latin-800-normal-Dz8SOQK_.woff2)format("woff2"),url(/matteglim/assets/nunito-latin-800-normal-D-J0wlBY.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:900;src:url(/matteglim/assets/nunito-latin-900-normal-BVB1fGs6.woff2)format("woff2"),url(/matteglim/assets/nunito-latin-900-normal-CVn49sIn.woff)format("woff")}:root{color:#253c50;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#fbfaf5;font-family:Nunito,sans-serif;font-weight:600}*{box-sizing:border-box}body{min-width:320px;margin:0}a{color:inherit;text-decoration:none}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font-family:inherit}h1,h2,p{margin-top:0}button,a,input{touch-action:manipulation}a:focus-visible,button:focus-visible{outline-offset:6px;outline:4px solid #263ec4}::selection{color:#253c50;background:#f5d678}.skip-link{z-index:20;background:#fff;padding:12px;position:absolute;top:-100px;left:20px}.skip-link:focus{top:10px}.app-shell{flex-direction:column;max-width:1240px;min-height:100svh;margin:auto;padding:0 56px;display:flex}.site-header{justify-content:space-between;align-items:center;height:115px;display:flex}.brand{letter-spacing:-1.2px;align-items:center;font-size:30px;font-weight:900;display:flex}.brand-icon{color:#68522b;background:#f8cc54;border-radius:13px;place-items:center;width:40px;height:40px;margin-right:10px;font-size:31px;display:grid;transform:rotate(-8deg)}.brand-dot{color:#e6a93b}.header-tagline{color:#687782;font-size:14px}main{flex:1}footer{color:#707c80;justify-content:center;align-items:center;gap:9px;padding:36px 0 28px;font-size:13px;display:flex}footer span{color:#be922b;font-size:19px}.hero{grid-template-columns:1.1fr 1fr;align-items:center;gap:20px;min-height:535px;display:grid}.eyebrow{text-transform:uppercase;letter-spacing:1.6px;color:#59706d;margin-bottom:21px;font-size:12px;font-weight:900}.eyebrow span{color:#a38229;margin-right:6px}h1{letter-spacing:-2px;font-size:clamp(36px,4.7vw,60px);font-weight:900;line-height:1.13}.hero h1 span{color:#365bd7}.hero .intro{color:#647580;max-width:390px;margin:24px 0 30px;font-size:19px;line-height:1.7}.primary-link{color:#fff;background:#365bd7;border-radius:19px;justify-content:space-between;align-items:center;gap:48px;padding:17px 30px;font-size:23px;font-weight:800;transition:transform .2s,background .2s;display:inline-flex;box-shadow:0 5px #2547b7}.primary-link:hover{background:#294cc6;transform:translateY(-2px)}.start-link{min-width:208px}.home-note{color:#748087;margin-top:22px;font-size:12px}.hero-art{place-items:center;height:440px;display:grid;position:relative}.orbit{border:1px dashed #d8ded9;border-radius:50%;width:360px;height:360px;position:absolute;transform:rotate(-20deg)}.orbit-two{width:440px;height:270px;transform:rotate(24deg)}.mascot{z-index:2;background:#f8cf56;border-radius:72px 72px 59px 59px;width:185px;height:206px;position:relative;transform:rotate(-8deg);box-shadow:inset -11px -9px #edbc43}.hero-art .mascot{margin-top:24px;animation:5s ease-in-out infinite float}.mascot-eye{background:#374750;border-radius:50%;width:12px;height:18px;position:absolute;top:78px}.eye-left{left:51px}.eye-right{right:49px}.mascot-smile{border-bottom:5px solid #374750;border-radius:0 0 35px 35px;width:35px;height:22px;position:absolute;top:108px;left:75px}.mascot-cheek{opacity:.8;background:#efa16b;border-radius:50%;width:24px;height:12px;position:absolute;top:104px}.cheek-left{left:32px}.cheek-right{right:29px}.mascot-foot{z-index:-1;background:#374e64;border-radius:0 0 14px 14px;width:26px;height:39px;position:absolute;bottom:-18px}.foot-left{left:40px;transform:rotate(10deg)}.foot-right{right:39px;transform:rotate(-10deg)}.mascot-shadow{filter:blur(3px);background:#e8e5d7;border-radius:50%;width:150px;height:19px;position:absolute;bottom:66px}.speech-bubble{z-index:3;background:#fff;border:1px solid #e9e7dd;border-radius:18px 18px 0;padding:17px 20px;font-size:15px;font-weight:800;position:absolute;top:15px;left:76px;transform:rotate(-6deg);box-shadow:0 4px #efede3}.floating-number{z-index:3;border-radius:23px;padding:14px 23px;font-size:67px;font-weight:900;line-height:1;position:absolute}.number-three{color:#6e9070;background:#e2ece0;top:141px;left:10px;transform:rotate(-15deg)}.number-seven{color:#8873bb;background:#e8e4f5;top:234px;right:4px;transform:rotate(13deg)}.art-plus{color:#e5a07f;font-size:65px;position:absolute;top:72px;right:43px;transform:rotate(15deg)}.art-times{color:#8faab7;font-size:49px;position:absolute;bottom:43px;left:66px;transform:rotate(-12deg)}.art-star{color:#d5ac3f;font-size:33px;position:absolute;bottom:10px;right:116px}.feature-strip{border-top:1px solid #e7e7dc;border-bottom:1px solid #e7e7dc;justify-content:center;gap:66px;margin-top:15px;padding:28px 0;display:flex}.feature-strip>div{align-items:center;gap:13px;font-size:15px;font-weight:800;display:flex}.feature-icon{border-radius:13px;place-items:center;width:39px;height:39px;font-size:22px;display:grid}.mint{color:#3f6852;background:#e5f0e4}.peach{color:#915534;background:#fbe9dd}.lavender{color:#715798;background:#ede8f8}.blue{color:#3c678b;background:#e4eff8}.yellow{color:#80621b;background:#fbefc6}.back-link{color:#596c77;align-items:center;gap:8px;min-height:48px;font-size:15px;font-weight:800;display:inline-flex}.page-heading{text-align:center;margin:22px 0 38px}.page-heading .eyebrow{margin-bottom:13px}.page-heading h1{margin-bottom:16px;font-size:44px}.page-heading>p:last-child{color:#677985;font-size:18px}.level-grid{grid-template-columns:repeat(6,1fr);gap:18px;display:grid}.level-card{border:1px solid #00000007;border-radius:25px;grid-column:span 2;padding:27px;transition:transform .2s,box-shadow .2s;box-shadow:0 5px #00000008}.level-card:hover{transform:translateY(-5px);box-shadow:0 10px #00000008}.level-card-top{justify-content:space-between;align-items:center;margin-bottom:19px;display:flex}.level-icon{font-size:31px}.level-number{background:#ffffff85;border-radius:100px;padding:7px 12px;font-size:12px;font-weight:900}.level-card h2{letter-spacing:-.5px;margin-bottom:8px;font-size:23px}.level-card p{min-height:42px;font-size:14px;line-height:1.5}.level-card-bottom{justify-content:space-between;align-items:center;margin-top:22px;font-size:23px;font-weight:900;display:flex}.round-arrow{background:#ffffff8f;border-radius:50%;place-items:center;width:39px;height:39px;font-size:22px;display:grid}.level-tip{text-align:center;color:#65766e;margin:32px 0 0;font-size:14px}.level-tip span{color:#a87e1b;vertical-align:middle;margin-right:7px;font-size:24px}.game-page{max-width:800px;margin:0 auto}.game-navigation{justify-content:space-between;align-items:center;gap:14px;display:flex}.level-badge{border-radius:100px;padding:10px 17px;font-size:14px;font-weight:800}.game-stats{justify-content:space-between;align-items:center;margin:22px 3px;display:flex}.score{align-items:center;gap:8px;font-size:19px;display:flex}.score strong{color:#365bd7;font-size:25px}.hearts{gap:9px;display:flex}.heart{color:#e88382;font-size:35px;transition:transform .4s,opacity .4s,color .4s}.heart.lost{color:#cbcdd1;opacity:.45;transform:scale(.8)}.paper-card{text-align:center;background:#fff;border:1px solid #e9e8df;border-radius:32px;padding:43px 30px;box-shadow:0 7px #edece2}.question-card h1{letter-spacing:-1px;margin-bottom:35px;font-size:36px}.question-card .eyebrow{margin-bottom:12px;font-size:11px}.equation{white-space:nowrap;justify-content:center;align-items:center;gap:22px;font-size:clamp(32px,5vw,58px);font-weight:900;display:flex}.equation .ant-input{text-align:center;color:#365bd7;background:#f7f8ff;border:2px solid #bbc6eb;border-radius:21px;width:132px;height:103px;padding:6px;font-size:52px;font-weight:900}.equation .ant-input::placeholder{color:#9eaedb}.answer-label{color:#73818d;margin:12px 0 5px;font-size:13px;display:block}.feedback{color:#78868c;justify-content:center;align-items:center;min-height:64px;padding:8px;font-size:15px;line-height:1.5;display:flex}.feedback.correct{color:#35734d;font-size:21px;font-weight:900}.feedback.wrong{color:#93671b;font-weight:800}.ant-btn-primary{font-weight:800;box-shadow:0 4px #2447b5}.ant-btn-primary:disabled{box-shadow:none}.check-button{min-width:290px;gap:20px!important}.question-card.correct .equation{animation:.45s bounce}.question-card.wrong .equation{animation:.3s shake}.game-over .mascot{margin:0 auto 32px}.mascot-small{zoom:.85;border-radius:44px 44px 36px 36px;width:111px;height:124px}.mascot-small .mascot-eye{top:40px}.mascot-small .eye-left{left:28px}.mascot-small .eye-right{right:25px}.mascot-small .mascot-smile{width:28px;top:65px;left:41px}.mascot-small .mascot-cheek{width:17px;top:65px}.mascot-small .cheek-left{left:13px}.mascot-small .cheek-right{right:10px}.mascot-small .foot-left{left:20px}.mascot-small .foot-right{right:20px}.game-over h1{letter-spacing:-1px;outline:none;font-size:39px}.game-over p{color:#6a7b84;max-width:420px;margin-left:auto;margin-right:auto}.game-over .eyebrow{font-size:10px}.game-over .earned-stars{color:#9b781c;font-size:24px;font-weight:900}.stack-actions{flex-direction:column;gap:16px;max-width:310px;margin:27px auto 0;display:flex}.secondary-link{color:#365bd7;border:2px solid #dce2ef;border-radius:17px;justify-content:center;align-items:center;min-height:58px;font-size:16px;font-weight:800;display:flex}.secondary-link:hover{background:#f2f5ff}@keyframes float{0%,to{transform:translateY(0)rotate(-8deg)}50%{transform:translateY(-10px)rotate(-5deg)}}@keyframes bounce{50%{transform:translateY(-9px)}}@keyframes shake{25%,75%{transform:translate(-4px)}50%{transform:translate(4px)}}@media (width<=1000px){.app-shell{padding:0 32px}.hero{gap:0}.hero-art{transform-origin:50%;transform:scale(.87)}.hero h1{font-size:48px}.feature-strip{gap:32px}.level-card{padding:23px}.level-card h2{font-size:21px}}@media (width<=760px){.app-shell{padding:0 22px}.site-header{height:90px}.brand{font-size:26px}.header-tagline{font-size:11px}.hero{text-align:center;grid-template-columns:1fr;gap:0}.hero-copy{padding-top:30px}.hero h1{font-size:48px}.hero .intro{max-width:350px;margin:20px auto 25px;font-size:17px}.hero-art{width:100%;max-width:430px;height:340px;margin:-3px auto -24px;transform:scale(.83)}.hero-art .speech-bubble{top:-7px;left:66px}.hero-art .mascot-shadow{bottom:17px}.number-three{top:92px}.number-seven{top:181px}.art-plus{top:40px}.art-times{bottom:13px}.art-star{bottom:-25px}.feature-strip{justify-content:space-around;gap:18px;margin-top:15px;padding:21px 0}.feature-strip>div{flex-direction:column;gap:9px;font-size:12px}.page-heading h1{font-size:37px}.level-grid{grid-template-columns:repeat(2,1fr);gap:15px}.level-card,.level-card:nth-child(4){grid-column:auto}.game-stats{margin:19px 0}.paper-card{padding:35px 20px}.game-navigation{align-items:center}.level-badge{font-size:11px}.equation{gap:14px;font-size:44px}.equation .ant-input{width:105px;height:91px;font-size:43px}}@media (width<=400px){.app-shell{padding:0 16px}.header-tagline{text-align:right;max-width:100px}.hero h1{font-size:42px}.hero-art{width:calc(100% + 20px);margin-left:-10px;transform:scale(.78)}.level-card{padding:18px}.level-card h2{font-size:18px}.level-card p{font-size:13px}.level-card-top{gap:5px}.level-number{padding:5px 8px}.equation{gap:8px;font-size:28px}.equation .ant-input{width:72px;height:81px;font-size:32px}.check-button{width:100%;min-width:0;font-size:17px!important}.level-badge{max-width:205px}.question-card h1{font-size:30px}.game-over h1{font-size:32px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.header-actions{align-items:center;gap:24px;display:flex}.sound-toggle.ant-btn{background:#fffef9;border-color:#dce2d8;min-height:48px;padding:0 15px;font-size:14px;font-weight:800}@media (width<=760px){.header-actions .header-tagline{display:none}.header-actions{gap:0}}@media (width<=400px){.sound-toggle.ant-btn{padding:0 10px;font-size:12px}}@media (width>=1001px){.site-header{flex-shrink:0;height:clamp(76px,11svh,104px)}.hero{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);min-height:clamp(400px,62svh,600px)}.hero-art{min-width:0}.feature-strip{margin-top:8px;padding:20px 0}footer{padding:22px 0}}@media (width>=1200px){.level-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.level-card,.level-card:nth-child(4){flex-direction:column;grid-column:auto;padding:24px 18px;display:flex}.level-card h2{min-height:54px;font-size:20px;line-height:1.35}.level-card p{min-height:63px}.level-card-bottom{margin-top:auto;padding-top:18px}.page-heading{margin:18px 0 30px}}@media (width>=1001px) and (height<=800px){.hero h1{margin-bottom:20px;font-size:clamp(44px,4vw,56px)}.hero .intro{margin:18px 0 24px}.hero-art{height:400px}.hero-art .orbit{scale:.9}.hero-art .speech-bubble{top:6px}.hero-art .mascot-shadow{bottom:46px}.page-heading{margin:8px 0 20px}.page-heading h1{margin-bottom:10px;font-size:38px}.page-heading .eyebrow{margin-bottom:8px}.level-card{padding-top:18px;padding-bottom:18px}.level-card-top{margin-bottom:10px}.level-card-bottom{margin-top:10px}.level-tip{margin-top:20px}.game-stats{margin:10px 3px 16px}.question-card{padding:28px 30px}.question-card h1{margin-bottom:22px}.feedback{min-height:54px}.game-over{grid-template-columns:120px minmax(0,1fr);align-items:center;column-gap:26px;padding:30px;display:grid}.game-over>.mascot{grid-area:1/1/span 5;margin:0 auto}.game-over>:not(.mascot){grid-column:2}.game-over h1{margin-bottom:16px;font-size:36px}.game-over .eyebrow{margin-bottom:12px}.game-over .earned-stars{margin-bottom:14px}.game-over .stack-actions{width:100%;margin-top:12px}}.celebration{z-index:20;pointer-events:none;position:fixed;inset:0;overflow:hidden}.confetti-piece{opacity:0;width:10px;height:16px;animation:confetti-fall var(--duration) var(--delay) ease-in forwards;position:absolute;top:-24px}@keyframes confetti-fall{0%{opacity:0;transform:translate(0,0)rotate(0)}10%,65%{opacity:.85}to{opacity:0;transform:translate3d(var(--drift), 100svh, 0) rotate(var(--spin))}}@media (prefers-reduced-motion:reduce){.celebration{display:none}}.level-progress{gap:8px;margin:0 3px 18px;display:grid}.level-progress label{color:#596c77;font-size:13px}.level-progress progress{accent-color:#365bd7;background:#e9edf3;border:none;border-radius:10px;width:100%;height:10px;overflow:hidden}.level-progress progress::-webkit-progress-bar{background:#e9edf3}.level-progress progress::-webkit-progress-value{background:#365bd7;border-radius:10px}.level-progress progress::-moz-progress-bar{background:#365bd7;border-radius:10px}.completion-trophy{margin-bottom:14px;font-size:clamp(56px,9vh,88px);line-height:1.2}.level-complete h1{letter-spacing:-1px;margin-bottom:18px;font-size:clamp(28px,4vw,40px)}.level-complete p{color:#596c77}.level-complete .completion-score{color:#80621b;font-size:20px;font-weight:900}.completion-link{justify-content:center;min-height:62px;padding:15px;font-size:17px}.level-complete .stack-actions{margin-top:20px}@media (width>=1001px) and (height<=800px){.level-complete{padding:24px 30px}}.place-hint{color:#596c77;max-width:470px;margin:-14px auto 20px;line-height:1.6}.place-blocks{background:#f6faf5;border:2px dashed #c6d8cc;border-radius:18px;flex-wrap:wrap;justify-content:center;align-items:center;gap:24px;max-width:460px;min-height:96px;margin:16px auto 24px;padding:18px;display:flex}.tens-boxes{grid-template-columns:repeat(2,56px);gap:5px;display:grid}.tens-boxes:empty,.ones-balls:empty{display:none}.ten-box{background:#deefdf;border:2px solid #538369;border-radius:6px;padding:3px;font-size:22px;font-weight:900}.ones-balls{grid-template-columns:repeat(2,22px);gap:8px;display:grid}.one-ball{background:#f8d87c;border:2px solid #947129;border-radius:50%;width:22px;height:22px}.place-target{color:#365bd7;font-size:48px;font-weight:900}.place-controls{flex-wrap:wrap;justify-content:center;gap:24px;display:flex}.place-controls>div{gap:8px;font-weight:800;display:grid}.place-controls>div>div{align-items:center;gap:14px;display:flex}.place-controls .ant-btn{width:46px;height:46px;font-size:24px}.place-controls output{min-width:24px;font-size:24px}.split-equation{gap:12px;font-size:clamp(24px,5vw,44px)}.split-equation .ant-input{width:100px;height:85px;font-size:36px}@media (width<=480px){.split-equation{gap:7px}.split-equation .ant-input{width:65px;height:70px;font-size:28px}}
