@font-face{font-family:Squad;src:local('Avenir Next');font-display:swap}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fffaf1;color:#253254;font-family:Squad,'Avenir Next',Nunito,ui-rounded,'Trebuchet MS',sans-serif;font-weight:500;line-height:1.5}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.5}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #176ac4;outline-offset:5px}button{border:0;background:none}svg.icon{width:21px;height:21px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;top:-60px;left:12px;background:white;padding:12px;z-index:100}.skip-link:focus{top:8px}.shell{max-width:1280px;padding:0 40px;margin:auto}.topbar{height:94px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:18px;text-decoration:none;flex-shrink:0}.mathlogo{font-weight:900;font-size:24px;letter-spacing:-1.4px;color:#173248;white-space:nowrap}.mathlogo i{font-size:28px;color:#d42b40;font-style:italic;display:inline-block;transform:rotate(-7deg);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:3px}.brand-divider{height:28px;width:1px;background:#ddd6d6}.wordmark{font-size:19px;font-weight:900;letter-spacing:-.7px}.wordmark em{color:#e95060;font-style:normal}.nav{display:flex;gap:6px}.nav button{border-radius:14px;padding:10px 14px;font-size:14px;font-weight:800}.nav button.active{background:#eee8fc;color:#6550b2}.nav button:hover{background:#f1eaf5}.top-actions{display:flex;gap:8px;align-items:center}.round-btn{background:white;border:1px solid #e6dfdb;border-radius:14px;padding:10px;min-width:43px;min-height:43px;box-shadow:0 3px 0 #eae2dc;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:800}.round-btn:hover{transform:translateY(-1px)}.star-counter{color:#8f5e00;display:flex;align-items:center;gap:7px;font-weight:900;background:#fff0c7;border:1px solid #efdba2;padding:8px 13px;border-radius:30px}.star-counter .icon{fill:#ffca45;stroke:#d79320}.profile-btn{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.main{min-height:65vh}.eyebrow{text-transform:uppercase;letter-spacing:2.2px;font-size:11px;font-weight:900;color:#796b87;display:flex;align-items:center;gap:8px}.eyebrow:before{content:'';display:block;width:16px;height:3px;background:#efac5c;border-radius:6px}.hero{min-height:425px;border-radius:36px;background:#eee8f8 url('./assets/world.png') center 55%/cover;position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;box-shadow:inset 0 0 0 1px #fff9,0 14px 45px #7970a018;margin:8px 0 34px}.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#fff8eeeF 0%,#fff7eae8 33%,#fff4e955 64%,#fff6ef05 100%)}.hero-copy{padding:40px 0 44px 44px;width:47%;position:relative;z-index:2}.hero .eyebrow{color:#675379;font-size:10px;letter-spacing:1.5px}.hero h1{font-family:ui-rounded,'Arial Rounded MT Bold',Squad,sans-serif;font-size:clamp(38px,4.1vw,60px);line-height:1.05;letter-spacing:-2px;margin:18px 0;color:#293052;font-weight:950}.hero h1 span{color:#7351bd}.hero p{font-size:16px;max-width:330px;color:#645b73;margin:0 0 22px}.primary,.secondary,.soft-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:15px;padding:13px 22px;font-weight:900;font-size:14px;text-decoration:none;min-height:48px;transition:transform .16s,box-shadow .16s}.primary{background:#7152bc;color:white;box-shadow:0 5px 0 #50398f,0 8px 15px #7152bc20}.primary:hover{transform:translateY(-2px);box-shadow:0 7px 0 #50398f}.primary:active{transform:translateY(3px);box-shadow:0 2px 0 #50398f}.secondary{background:white;border:1px solid #ded6e6;box-shadow:0 4px 0 #e9dfeb}.soft-btn{padding:9px 13px;min-height:40px;background:#f3edf8;color:#6a4ca6;font-size:12px}.soft-btn:hover,.secondary:hover{background:#f9f5ff}.hero-small{font-size:11px;color:#81718a;margin-top:15px;display:flex;gap:12px;align-items:center}.hero-cast{position:absolute;right:0;bottom:16px;width:58%;height:350px;display:flex;align-items:flex-end;justify-content:center;gap:0;filter:drop-shadow(0 14px 8px #41364b22)}.sprite{background-image:url('./assets/squad.png');background-size:400% 100%;background-repeat:no-repeat;aspect-ratio:.6;display:block;width:100%;transform-origin:50% 95%;position:relative;will-change:transform}.sprite.s0{background-position:0 0}.sprite.s1{background-position:33.3333% 0}.sprite.s2{background-position:66.6667% 0}.sprite.s3{background-position:100% 0}.actor{position:relative;display:block;flex-shrink:0}.actor .sprite{animation:idle 3.6s ease-in-out infinite}.actor.water .sprite{animation:water-idle 3.8s ease-in-out infinite}.actor.crystal .sprite{animation:idle 4s ease-in-out infinite .3s}.actor.fire .sprite{animation:boss-idle 4s ease-in-out infinite .7s}.actor.cat .sprite{animation:purr 3s ease-in-out infinite}.actor .actor-spark{position:absolute;pointer-events:none;animation:spark-float 3s ease-in-out infinite;font-size:22px;color:#ffd15a;text-shadow:0 0 15px currentColor}.actor .actor-spark:nth-of-type(2){left:10%;top:15%;animation-delay:.6s}.actor .actor-spark:nth-of-type(3){right:2%;top:35%;animation-delay:1.6s}.actor .actor-spark:nth-of-type(4){left:55%;top:5%;animation-delay:2.2s}.water .actor-spark{color:#77d8ff}.crystal .actor-spark{color:#d490ef}.fire .actor-spark{color:#ffb35b}.actor.reacting .sprite{animation:cheer .65s ease-in-out 2}.actor.fire.reacting .sprite{animation:charge .65s ease-in-out 2}.actor.cat.reacting .sprite{animation:belly-bounce .65s ease-in-out 2}.hero-cast .actor{width:24%;max-height:330px}.hero-cast .actor:nth-child(1){transform:translateY(10px);z-index:2}.hero-cast .actor:nth-child(2){z-index:3}.hero-cast .actor:nth-child(3){width:26%;z-index:4;transform:translateY(-3px)}.hero-cast .actor:nth-child(4){width:24%;transform:translateY(20px);z-index:5}.section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:0 0 22px}.section-head h2{font-size:29px;letter-spacing:-1px;line-height:1.2;margin:8px 0 0}.section-head p{margin:6px 0 0;color:#8a7a8e;font-size:13px}.mode-switch{display:flex;gap:4px;background:#f0e8ef;border:1px solid #e9dfe8;padding:5px;border-radius:16px}.mode-switch button{font-size:12px;font-weight:900;border-radius:11px;padding:9px 17px;white-space:nowrap;min-height:38px}.mode-switch button.active{background:#fff;box-shadow:0 3px 6px #51375b12;color:#684ca6}.hero-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.hero-card{border:2px solid var(--line);border-radius:25px;position:relative;background:var(--pale);overflow:hidden;transition:transform .2s,box-shadow .2s;box-shadow:0 5px 0 var(--line)}.hero-card:hover{transform:translateY(-4px);box-shadow:0 9px 0 var(--line)}.hero-card.selected{border-color:var(--accent);box-shadow:0 5px 0 var(--accent)}.blue{--accent:#2c8cc6;--line:#c6e3ed;--pale:#eef9fc;--ink:#246e9a}.purple{--accent:#9460ca;--line:#e4d0ef;--pale:#faf1ff;--ink:#7b4ba6}.red{--accent:#df6471;--line:#f2ced1;--pale:#fff2ed;--ink:#be4958}.hero-card button.card-select{width:100%;display:block;text-align:left;padding:21px 24px 0;position:relative;z-index:2}.hero-card .role-badge{background:#ffffffc9;color:var(--ink);display:inline-flex;align-items:center;gap:7px;padding:5px 11px;font-size:10px;font-weight:900;letter-spacing:.6px;text-transform:uppercase;border-radius:30px;border:1px solid var(--line)}.hero-card h3{font-size:27px;letter-spacing:-1px;margin:9px 0 0}.hero-card .tag{font-size:12px;color:var(--ink);margin:1px 0 0}.hero-card-art{height:202px;position:relative;display:flex;justify-content:center;align-items:flex-end;background:radial-gradient(ellipse at bottom,#fff9 0%,#fff0 70%);margin-top:5px}.hero-card-art:before{content:'';position:absolute;bottom:4px;left:20%;right:20%;height:15px;border-radius:50%;background:var(--line);opacity:.5;filter:blur(5px)}.hero-card-art .actor{width:135px;max-height:225px;margin-bottom:-5px}.hello{position:absolute;right:14px;bottom:17px;background:#fff;box-shadow:0 3px 0 var(--line);border:1px solid var(--line);border-radius:50%;width:35px;height:35px;z-index:4}.card-bottom{display:flex;justify-content:space-between;align-items:center;padding:15px 24px;background:#fff9;border-top:1px solid var(--line);font-size:12px;font-weight:900;color:var(--ink)}.check-badge{position:absolute;right:16px;top:18px;background:var(--accent);color:white;border-radius:100%;padding:4px;display:none}.selected .check-badge{display:block}.check-badge .icon{width:16px;height:16px}.world-section{margin:40px 0}.world-panel{border:1px solid #e7dfe9;border-radius:25px;background:white;display:grid;grid-template-columns:230px 1fr;overflow:hidden;box-shadow:0 5px 0 #f1e8ec}.world-intro{padding:27px;background:var(--pale);border-right:1px solid var(--line)}.world-intro h3{font-size:22px;line-height:1.2;margin:10px 0 8px;letter-spacing:-.6px}.world-intro p{font-size:12px;color:#7c7184}.world-intro .icon{width:32px;height:32px;color:var(--accent)}.missions{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:25px}.mission{border:1px solid var(--line);border-radius:17px;padding:17px;text-align:left;background:linear-gradient(150deg,#fff,var(--pale));display:flex;flex-direction:column;gap:6px;transition:transform .15s}.mission:hover{transform:translateY(-3px)}.mission-index{font-size:10px;letter-spacing:1px;font-weight:900;color:var(--ink)}.mission-icon{height:43px;width:43px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:var(--pale);color:var(--accent);border:1px solid var(--line);margin:5px 0}.mission-icon .icon{width:27px;height:27px}.mission strong{font-size:15px;letter-spacing:-.3px}.mission small{font-size:10px;color:#8b7c90}.mission-foot{display:flex;align-items:center;justify-content:space-between;margin-top:11px;font-size:11px;font-weight:900;color:var(--ink)}.mission-foot .icon{width:15px}.pip-banner{background:#fff2d8;border:1px solid #f0ddb3;border-radius:24px;padding:15px 26px;display:flex;gap:22px;align-items:center;margin:25px 0 30px}.pip-banner .actor{width:90px;flex-shrink:0;margin-top:-15px;margin-bottom:-3px}.pip-banner h3{font-size:19px;letter-spacing:-.4px;margin:0}.pip-banner p{font-size:12px;color:#8b725b;margin:4px 0}.pip-banner .soft-btn{background:#fffbf1;border:1px solid #ead9b8;white-space:nowrap;margin-left:auto}.footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:25px 0 33px;border-top:1px solid #e8dfdf;font-size:11px;color:#988695}.footer a{text-decoration:none}.footer a:hover{text-decoration:underline}.footer-links{display:flex;gap:16px}.page-title{margin:25px 0 30px}.page-title h1{font-size:36px;letter-spacing:-1.4px;margin:10px 0}.page-title p{font-size:14px;color:#8b7a91}.game-top{display:flex;align-items:center;gap:20px;margin:12px 0 23px}.back-btn{display:flex;align-items:center;gap:7px;color:#8c7a94;font-size:12px;font-weight:800;padding:8px 0}.game-top>div{flex:1}.game-top h1{font-size:20px;margin:0;letter-spacing:-.5px}.game-top small{font-size:11px;color:#938198}.progress-track{display:flex;align-items:center;gap:7px;margin-left:auto}.progress-dot{width:30px;height:11px;border-radius:6px;background:#e8dfef;transition:background .3s,transform .3s}.progress-dot.filled{background:var(--accent);box-shadow:0 0 9px color-mix(in srgb,var(--accent),transparent 70%)}.progress-dot.current{border:2px solid var(--accent);background:white}.game-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start}.character-stage{min-height:435px;background:var(--pale);border:1px solid var(--line);border-radius:26px;position:relative;padding:25px 18px 15px;overflow:hidden;text-align:center}.character-stage:before{content:'';position:absolute;inset:60% -40px -80px;border-radius:50%;background:var(--line);opacity:.45}.character-stage .actor{width:165px;margin:auto}.character-stage .stage-name{position:relative;font-size:19px;font-weight:900;margin:0;color:var(--ink)}.stage-role{font-size:10px;color:var(--ink);position:relative;letter-spacing:1.2px;font-weight:900;text-transform:uppercase}.speech{background:white;position:relative;border:1px solid var(--line);border-radius:17px;padding:13px;font-size:12px;line-height:1.5;margin-bottom:25px;min-height:62px}.speech:after{content:'';position:absolute;bottom:-7px;left:50%;width:12px;height:12px;background:white;transform:rotate(45deg);border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.cat-pocket{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#fff4dd;border-radius:17px;border:1px solid #f0dfbb;margin-top:14px}.cat-pocket .actor{width:57px}.cat-pocket span{font-size:11px;color:#9b7d63}.challenge{border:1px solid var(--line);background:#fff;border-radius:26px;padding:28px 34px;box-shadow:0 6px 0 var(--line);position:relative;overflow:hidden}.challenge-tag{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;font-weight:900;letter-spacing:1.5px;color:var(--ink);text-transform:uppercase}.challenge-tag .soft-btn{padding:5px 10px;min-height:30px;font-size:10px;letter-spacing:0;text-transform:none;background:var(--pale);color:var(--ink)}.equation{font-size:clamp(38px,5vw,65px);font-weight:900;letter-spacing:-2px;text-align:center;line-height:1.25;margin:25px 0 13px;font-variant-numeric:tabular-nums}.equation .operator{color:var(--accent);font-weight:700;margin:0 .13em}.question-sub{text-align:center;color:#8b7e92;font-size:13px;margin:0 0 20px}.input-row{display:flex;gap:12px;max-width:430px;margin:auto}.answer-input{width:100%;min-width:0;height:64px;text-align:center;border:2px solid var(--line);background:var(--pale);border-radius:17px;font-size:30px;font-weight:900;color:#293052;font-variant-numeric:tabular-nums}.answer-input::placeholder{color:#b9a9c5}.input-row .primary{background:var(--accent);box-shadow:0 5px 0 var(--ink);white-space:nowrap;min-width:105px}.feedback{min-height:40px;margin:14px 0 0;text-align:center;font-size:13px;color:#83728c;display:flex;align-items:center;justify-content:center;gap:8px}.feedback.correct{color:#2c8a6b;font-weight:900}.feedback.try{color:#a16b30}.keypad{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;max-width:430px;margin:9px auto 0}.keypad button{border:1px solid #e7e0e9;background:#faf7fc;border-radius:10px;padding:9px 0;font-size:16px;font-weight:800;min-height:42px;box-shadow:0 2px 0 #e9e0ef}.keypad button:hover{background:var(--pale)}.keypad .wide{grid-column:span 2;font-size:11px}.keypad .icon{width:18px}.helper-row{display:flex;justify-content:center;gap:9px;margin:20px 0 0;flex-wrap:wrap}.helper-row button{font-size:11px;color:var(--ink)}.strategy-box{border:1px solid var(--line);border-radius:16px;background:var(--pale);padding:17px 20px;margin:20px 0 15px}.strategy-box h3{font-size:14px;margin:0 0 6px}.strategy-box p{font-size:12px;margin:0;color:#7c6b8a}.step-chips{display:flex;gap:8px;margin-bottom:12px}.step-chip{padding:5px 11px;border-radius:20px;background:#fff;color:#9b89a6;font-size:10px;border:1px solid var(--line)}.step-chip.active{background:var(--accent);color:white;border-color:var(--accent)}.step-chip.done{color:var(--ink)}.worked{display:grid;gap:5px;text-align:left;margin:18px auto;max-width:450px;font-size:20px;font-weight:800;line-height:1.6;font-variant-numeric:tabular-nums}.worked div:last-child{color:var(--ink)}.next-wrap{text-align:center;margin-top:15px}.tool-drawer{border:1px solid #e4dce8;border-radius:24px;margin:27px 0;background:white;overflow:hidden}.tool-heading{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;border-bottom:1px solid #eee6f0;gap:12px;background:#fffcf8}.tool-heading h2{font-size:15px;margin:0;letter-spacing:-.3px}.tool-heading p{font-size:10px;margin:3px 0 0;color:#968297}.tool-tabs{display:flex;gap:5px}.tool-tabs button{padding:8px 12px;font-size:11px;font-weight:900;border-radius:11px;color:#8d7b99;white-space:nowrap}.tool-tabs button.active{color:#7253ac;background:#efe7f8}.tool-body{padding:24px}.tool-note{font-size:12px;color:#948397;margin:0 0 17px}.tool-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:18px}.tool-toolbar button{font-size:11px;border:1px solid #e6ddec;border-radius:11px;background:#faf6ff;padding:8px 12px;min-height:39px;font-weight:800}.tool-toolbar button:hover{background:#eee5f9}.tool-toolbar label{font-size:11px}.tool-toolbar input{max-width:100px;border:1px solid #e1d6e9;border-radius:10px;padding:8px;color:#695285}.tenframe-layout{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap}.tenframe{display:grid;grid-template-columns:repeat(5,45px);gap:6px;padding:9px;border:2px solid #b8d5e8;background:#edf9ff;border-radius:13px}.frame-cell{width:45px;height:45px;border:1px dashed #b8d5e8;border-radius:9px;display:flex;align-items:center;justify-content:center}.bead{height:34px;width:34px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#9be8ff,#38a4db 55%,#3487c0);box-shadow:0 3px 0 #2d79ad,inset 0 2px 2px #ffffffa0;border:1px solid #2887b4;cursor:grab;touch-action:none;display:inline-block;transition:transform .15s}.bead.pink{background:radial-gradient(circle at 30% 25%,#ffdfef,#ed8dc6 55%,#d773ac);box-shadow:0 3px 0 #b85898;border-color:#bc649c}.bead:hover{transform:translateY(-3px)}.bead:active{cursor:grabbing}.bead-pool{background:#fff1fa;border:1px solid #eccde4;padding:18px;border-radius:18px;min-width:105px;display:flex;gap:8px;flex-wrap:wrap;max-width:240px;justify-content:center}.frame-caption{text-align:center;font-size:12px;color:#79718c;margin:12px 0 0}.frame-caption strong{color:#4f5892}.frame-arrow{color:#a893b8}.block-readout{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.block-readout strong{font-size:29px;font-weight:900;letter-spacing:-.6px}.block-readout span{font-size:11px;color:#9a86a0}.block-palette{display:flex;gap:9px;flex-wrap:wrap}.palette-btn{display:flex;align-items:center;gap:7px;border:1px solid #dfd2ed;background:#faf5ff;border-radius:12px;padding:7px 12px;font-size:11px;font-weight:900;min-height:44px}.block-mat{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e4d9ec;border-radius:16px;background:#fcf9ff;margin-top:14px;min-height:160px;overflow:hidden}.block-col{padding:12px 9px;text-align:center;border-right:1px dashed #e1d4ec;min-width:0}.block-col:last-child{border:0}.block-col h4{margin:0 0 12px;font-size:10px;color:#a08aab;text-transform:uppercase;letter-spacing:.7px}.block-group{display:flex;flex-wrap:wrap;align-content:start;justify-content:center;gap:5px}.block{display:inline-block;flex-shrink:0;padding:0;border-radius:3px;border:1px solid #8b6cb3;background:#bd9bde;box-shadow:2px 2px 0 #795a9f;cursor:grab;touch-action:none}.block.d1{width:12px;height:12px;background:#e7b86f;border-color:#c89c50;box-shadow:1px 1px 0 #af8848}.block.d10{width:12px;height:68px;background:repeating-linear-gradient(0deg,transparent,transparent 5.5px,#8b6cb3 5.5px,#8b6cb3 6.5px),#ba9be1}.block.d100{width:58px;height:58px;background:repeating-linear-gradient(90deg,transparent,transparent 4.7px,#7da5c4 4.7px,#7da5c4 5.7px),repeating-linear-gradient(0deg,transparent,transparent 4.7px,#7da5c4 4.7px,#7da5c4 5.7px),#a7d5e9;border-color:#6499ba;box-shadow:2px 2px 0 #6086a8}.block.d1000{width:50px;height:50px;background:linear-gradient(145deg,#fdce83,#e8a24b);border-color:#c58f3f;box-shadow:4px -4px 0 #f6d29c,5px -5px 0 #c58f3f;position:relative;margin:5px 2px}.block.d1000:after{content:'1,000';position:absolute;inset:17px 0 0;font-size:10px;font-weight:900;color:#94632d}.block-col .overflow{font-size:10px;color:#846a98;width:100%}.line-display{background:linear-gradient(#fcfaff,#f5effc);border:1px solid #e4d9ed;border-radius:15px;padding:12px;overflow-x:auto}.line-display svg{width:100%;min-width:400px;height:150px;display:block}.line-label{font-family:inherit;fill:#776289;font-size:12px;font-weight:800}.line-eq{text-align:center;font-size:19px;font-weight:800;margin:12px 0 0;color:#7052a1;font-variant-numeric:tabular-nums}.lab-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:24px}.lab-layout .tool-drawer{margin:0 0 28px}.lab-aside{background:#fff0d2;border:1px solid #efdeb8;border-radius:23px;padding:20px;text-align:center;align-self:start}.lab-aside .actor{width:135px;margin:auto}.lab-aside h3{font-size:20px;margin:10px 0}.lab-aside p{font-size:12px;color:#927b64}.lab-settings{display:flex;gap:12px;flex-wrap:wrap;padding:18px 20px;background:#faf5ff;border-radius:17px;margin-bottom:20px;align-items:center}.lab-settings label{font-size:12px;font-weight:800}.lab-settings input{border:1px solid #ddcde9;border-radius:10px;padding:9px 12px;max-width:100px;font-size:16px;color:#745095}.lab-settings button{margin-left:auto}.collection-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:30px}.sticker{padding:20px;background:white;border:1px solid #e9dfee;border-radius:21px;text-align:center;box-shadow:0 4px 0 #eee4f0;position:relative}.sticker.locked{opacity:.5;filter:grayscale(.8)}.sticker-art{width:75px;height:75px;margin:5px auto 12px;border-radius:25px;background:#f6efff;display:flex;align-items:center;justify-content:center;color:#9462c4;transform:rotate(-6deg)}.sticker-art .icon{width:43px;height:43px;stroke-width:1.6}.sticker strong{font-size:13px}.sticker p{font-size:10px;color:#94829e;margin:5px 0}.sticker .earned{position:absolute;right:12px;top:10px;color:#d9a143;font-size:15px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:22px 0}.stat{padding:22px;border-radius:20px;border:1px solid #e4d9eb;background:white}.stat strong{font-size:32px;display:block;color:#8154ae}.stat span{font-size:12px;color:#9c88a2}.adult-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:30px}.info-card{background:white;border:1px solid #e5dce9;border-radius:23px;padding:25px}.info-card h2{font-size:20px;letter-spacing:-.5px;margin:0 0 10px}.info-card p,.info-card li{font-size:13px;color:#7f7088;line-height:1.8}.info-card ul{padding-left:19px}.info-card .worked{font-size:17px;background:#faf5ff;padding:17px;border-radius:12px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #eee5f0;font-size:12px}.settings-row:last-child{border:0}.settings-row input{width:20px;height:20px;accent-color:#8156b8}.completion{text-align:center;max-width:780px;margin:30px auto 45px;padding:35px;background:white;border:1px solid #eadcf0;border-radius:30px;box-shadow:0 7px 0 #eadff2}.completion .celebration-cast{display:flex;align-items:end;justify-content:center;max-width:400px;margin:auto}.completion .actor{width:140px}.completion h1{font-size:36px;letter-spacing:-1.4px;margin:20px 0 10px}.completion p{font-size:14px;color:#907b99}.completion .earned-stars{font-size:35px;letter-spacing:9px;color:#e8b43d}.completion .button-row{display:flex;gap:12px;justify-content:center;margin-top:25px;flex-wrap:wrap}.summary-chips{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:20px 0}.summary-chips span{font-size:12px;background:#f7effd;padding:7px 12px;border-radius:10px;color:#8b64b1}.animation-stage{background:#efe5fa url('./assets/world.png') center/cover;border:1px solid #e7d6ef;border-radius:30px;padding:28px;overflow:hidden;position:relative;isolation:isolate}.animation-stage:before{content:'';position:absolute;inset:0;background:#fff7e654;z-index:-1}.animation-stage h2{text-align:center;font-size:20px;margin:0 0 25px;color:#3c345a;text-shadow:0 1px #fff}.animation-lineup{display:grid;grid-template-columns:repeat(4,1fr);align-items:end;gap:20px}.animation-card{background:#fff9;border:1px solid #fff;border-radius:23px;padding:18px 16px 15px;text-align:center;backdrop-filter:blur(6px)}.animation-card .actor{width:100%;max-width:165px;margin:auto}.animation-card h3{margin:10px 0 3px;font-size:20px}.animation-card p{font-size:10px;color:#86728c;margin:0 0 12px}.animation-card button{font-size:11px;padding:9px 14px;min-height:39px}.animation-stage .tool-note{text-align:center;color:#695774;margin:23px 0 0}.save-notice{padding:9px 15px;border-radius:12px;background:#ffefd3;font-size:12px;margin-bottom:15px;color:#98732e}dialog{border:1px solid #e0d2e9;border-radius:26px;background:#fffaf4;color:#38405a;max-width:480px;width:calc(100% - 36px);padding:28px;box-shadow:0 30px 100px #34214340}dialog::backdrop{background:#33284670;backdrop-filter:blur(5px)}dialog h2{font-size:25px;margin:0 0 8px;letter-spacing:-.6px}dialog p{font-size:12px;color:#8a7795}dialog .dialog-close{float:right;border-radius:50%;background:#eee4f3;padding:6px;display:flex}.profile-list{display:grid;gap:8px;margin:18px 0}.profile-option{background:white;border:1px solid #e5d7ec;border-radius:14px;padding:13px;text-align:left;display:flex;align-items:center;gap:12px;font-size:13px;font-weight:900}.profile-option small{display:block;font-size:10px;font-weight:500;color:#9b85a6}.profile-option .icon{color:#9c74bb}.profile-form{display:flex;gap:8px;margin:15px 0}.profile-form input{width:100%;min-width:0;border:1px solid #d5c4e0;border-radius:12px;padding:11px;font-size:14px}.profile-form .primary{padding:9px 16px;font-size:12px}.dialog-actions{display:flex;gap:9px;justify-content:end;margin-top:22px}.print-only{display:none}#particles{position:fixed;inset:0;pointer-events:none;z-index:99;overflow:hidden}.particle{position:absolute;left:var(--x);top:var(--y);width:10px;height:10px;background:var(--c);border-radius:3px;animation:confetti 1.5s ease-out forwards}.boss-seals{display:flex;gap:8px;justify-content:center;margin:0 0 20px}.seal{width:34px;height:34px;border:1px solid #edd7db;display:flex;align-items:center;justify-content:center;border-radius:11px;background:#fff4f4;color:#d6a4ab}.seal.open{background:#ffdc87;color:#ad6f1e;border-color:#e8bb62;animation:cheer .5s ease-out}.seal .icon{width:20px;height:20px}.text-link{font-size:12px;text-decoration:underline;text-underline-offset:3px;color:#897194}.save-status{font-size:10px;color:#a995ad;margin:12px 0 0;text-align:center}.error-copy{color:#b1625d;font-size:12px}.page-enter{animation:enter .35s ease-out}.pip-heart{position:absolute;left:50%;top:20%;color:#ef88a5;font-size:28px;opacity:0}.reacting .pip-heart{animation:heart-up 1.3s ease-out}.empty-state{padding:30px;text-align:center;color:#9a83a3;font-size:13px}
@keyframes idle{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-5px) rotate(1deg)}}@keyframes water-idle{0%,100%{transform:translateY(0) rotate(-1.6deg)}50%{transform:translateY(-10px) rotate(1.4deg)}}@keyframes boss-idle{0%,100%{transform:scale(1) rotate(.4deg);filter:drop-shadow(0 0 0 #ffbf0000)}50%{transform:scale(1.018) rotate(-.4deg);filter:drop-shadow(0 0 9px #ffbc3b60)}}@keyframes purr{0%,100%{transform:scale(1,1) rotate(-.5deg)}50%{transform:scale(1.035,.97) rotate(.5deg)}}@keyframes spark-float{0%,100%{transform:translateY(0) scale(.8);opacity:.3}50%{transform:translateY(-15px) scale(1.1);opacity:.95}}@keyframes cheer{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-18px) rotate(-5deg)}60%{transform:translateY(-7px) rotate(5deg)}80%{transform:translateY(0) scale(1.04,.96)}}@keyframes belly-bounce{0%,100%{transform:scale(1)}20%{transform:scale(1.1,.9)}50%{transform:translateY(-16px) scale(.95,1.05)}80%{transform:scale(1.08,.94)}}@keyframes charge{0%,100%{transform:scale(1);filter:drop-shadow(0 0 3px #f6a62755)}40%{transform:translateY(-7px) scale(1.04) rotate(-3deg);filter:drop-shadow(0 0 17px #ffae3299)}70%{transform:translateY(-3px) rotate(2deg)}}@keyframes heart-up{0%{transform:translateY(0);opacity:0}30%{opacity:1}100%{transform:translateY(-70px) rotate(10deg);opacity:0}}@keyframes confetti{0%{transform:translate(0,0) rotate(0);opacity:1}100%{transform:translate(var(--dx),var(--dy)) rotate(540deg);opacity:0}}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.shell{max-width:1370px}.hero{min-height:470px}.hero-cast{height:390px;bottom:18px}.hero-card-art{height:220px}.hero-card-art .actor{width:145px}}
@media(max-width:1050px){.shell{padding:0 24px}.nav button{padding:9px 10px;font-size:12px}.brand{gap:12px}.mathlogo{font-size:21px}.wordmark{font-size:17px}.profile-btn{max-width:90px}.hero{min-height:390px}.hero-copy{padding-left:30px;width:49%}.hero-cast{width:56%;height:290px;bottom:15px}.hero h1{font-size:46px}.hero p{font-size:14px}.world-panel{grid-template-columns:190px 1fr}.missions{gap:10px;padding:18px}.mission{padding:14px}.game-layout{grid-template-columns:180px minmax(0,1fr);gap:18px}.character-stage{padding:20px 12px;min-height:400px}.character-stage .actor{width:145px}.challenge{padding:24px}.lab-layout{grid-template-columns:minmax(0,1fr) 190px}.lab-aside .actor{width:120px}.tool-tabs button{padding:8px}.animation-lineup{gap:12px}.animation-card{padding:15px 10px}.topbar{gap:12px}.star-counter{padding:8px 10px}}
@media(max-width:800px){.topbar{height:83px}.brand-divider,.wordmark{display:none}.nav{gap:0}.nav button{font-size:11px;padding:9px}.profile-btn{display:none}.round-btn{padding:8px;min-width:38px;min-height:38px}.hero{min-height:370px}.hero-copy{width:52%;padding:26px 0 30px 25px}.hero h1{font-size:39px}.hero p{font-size:13px;max-width:260px}.hero-cast{width:54%;bottom:24px;height:230px}.hero-cast .actor:nth-child(4){display:none}.hero-cast .actor{width:31%}.hero-cast .actor:nth-child(3){width:34%}.hero-small{font-size:9px;gap:7px}.hero .eyebrow{font-size:8px}.hero-grid{gap:12px}.hero-card button.card-select{padding:18px 17px 0}.hero-card h3{font-size:24px}.hero-card .tag{font-size:10px}.hero-card-art{height:170px}.hero-card-art .actor{width:112px}.card-bottom{padding:13px 17px;font-size:10px}.hero-card .role-badge{font-size:8px;padding:5px 8px}.section-head h2{font-size:25px}.mode-switch button{padding:8px 12px;font-size:10px}.world-panel{grid-template-columns:1fr}.world-intro{border-right:0;border-bottom:1px solid var(--line);padding:20px;display:flex;align-items:center;gap:16px}.world-intro h3{margin:0;font-size:20px}.world-intro p{margin:4px 0 0}.world-intro .icon{flex-shrink:0}.missions{padding:20px}.game-layout{grid-template-columns:1fr}.character-stage{display:flex;align-items:center;min-height:105px;height:116px;gap:16px;padding:10px 20px;overflow:visible}.character-stage .actor{width:70px;order:0;margin:0}.character-stage .speech{order:1;margin:0;flex:1;font-size:12px;padding:12px;min-height:0;text-align:left}.character-stage .speech:after{display:none}.character-stage .stage-id{order:2;min-width:85px;text-align:left}.character-stage .stage-name{font-size:17px}.stage-role{font-size:8px}.character-stage:before{inset:0;border-radius:26px;opacity:.12}.cat-pocket{display:none}.game-top{gap:14px}.game-top h1{font-size:17px}.progress-dot{width:22px;height:9px}.game-top .back-btn{font-size:0}.game-top .back-btn .icon{width:23px}.lab-layout{grid-template-columns:1fr}.lab-aside{display:none}.tool-heading{flex-wrap:wrap}.tool-tabs{margin-left:auto}.collection-grid{grid-template-columns:repeat(3,1fr)}.animation-lineup{grid-template-columns:repeat(2,1fr)}.animation-card .actor{max-width:140px}.animation-stage{padding:20px}.adult-grid{gap:15px}.info-card{padding:20px}.top-actions{gap:6px}}
@media(max-width:560px){.shell{padding:0 16px}.topbar{height:74px;gap:6px;flex-wrap:wrap}.mathlogo{font-size:20px}.mathlogo i{font-size:23px}.nav{gap:0}.nav button{font-size:10px;padding:8px 7px}.nav button[data-page="grownups"]{display:none}.star-counter{font-size:12px;padding:7px 8px;gap:4px}.star-counter .icon{width:16px}.top-actions{gap:5px}.hero{margin-top:6px;min-height:525px;align-items:start;border-radius:26px;background-position:57% 80%;margin-bottom:26px}.hero:before{background:linear-gradient(180deg,#fff8eff5 0%,#fff7eae8 30%,#fff4e955 65%,#fff6ef00 100%)}.hero-copy{width:100%;padding:27px 24px 0;text-align:center}.hero .eyebrow{justify-content:center;font-size:8px}.hero h1{font-size:43px;letter-spacing:-1.8px;margin:15px 0 10px}.hero h1 br{display:none}.hero p{font-size:12px;max-width:290px;margin:0 auto 15px}.hero .primary{font-size:12px;min-height:43px;padding:10px 18px}.hero-small{justify-content:center;margin-top:12px}.hero-cast{height:220px;bottom:11px;right:2%;width:96%}.hero-cast .actor{width:25%}.hero-cast .actor:nth-child(3){width:27%}.hero-cast .actor:nth-child(4){display:block;width:25%;transform:translateY(8px)}.hero-cast .actor:nth-child(1){transform:translateY(4px)}.section-head{align-items:start;flex-direction:column;gap:14px}.section-head h2{font-size:25px}.section-head .mode-switch{width:100%}.mode-switch button{flex:1}.hero-grid{grid-template-columns:1fr;gap:16px}.hero-card{min-height:187px;border-radius:23px;display:grid;grid-template-columns:1fr 130px}.hero-card button.card-select{padding:19px 18px 0}.hero-card h3{font-size:27px}.hero-card .tag{font-size:11px}.hero-card-art{height:145px;grid-row:1/3;grid-column:2;margin:12px 0 0}.hero-card-art .actor{width:105px}.hero-card .role-badge{font-size:9px}.check-badge{right:12px;top:12px}.card-bottom{border-top:0;background:none;padding:11px 18px 16px;align-self:end;font-size:11px}.card-bottom .icon{display:none}.hello{right:8px;bottom:0;width:29px;height:29px}.hello .icon{width:16px}.world-section{margin-top:30px}.world-intro{padding:18px}.world-intro h3{font-size:18px}.world-intro p{font-size:11px}.missions{grid-template-columns:1fr;padding:16px;gap:12px}.mission{display:grid;grid-template-columns:45px 1fr auto;column-gap:12px;align-items:center;padding:14px}.mission-index{display:none}.mission-icon{grid-row:1/4;margin:0}.mission strong{font-size:14px}.mission small{grid-column:2}.mission-foot{grid-column:3;grid-row:1/3;margin:0}.mission-foot .icon{margin-left:6px}.pip-banner{padding:12px 17px;gap:12px;margin:23px 0}.pip-banner .actor{width:63px;margin-top:0}.pip-banner h3{font-size:15px}.pip-banner p{font-size:10px}.pip-banner .soft-btn{padding:8px;font-size:9px;min-height:36px}.footer{font-size:9px;flex-direction:column;gap:12px;text-align:center;padding:20px 0}.footer-links{gap:18px}.game-top{margin:7px 0 18px;gap:10px}.game-top h1{font-size:14px}.game-top small{font-size:9px}.progress-track{gap:4px}.progress-dot{width:14px;height:8px}.character-stage{height:105px;gap:10px;padding:10px 12px}.character-stage .actor{width:60px}.character-stage .speech{font-size:10px;padding:10px}.character-stage .stage-id{display:none}.challenge{padding:21px 17px;border-radius:23px}.challenge-tag{font-size:9px;letter-spacing:1px}.equation{font-size:41px;letter-spacing:-1.5px;margin:23px 0 10px}.question-sub{font-size:12px}.input-row{gap:9px}.answer-input{height:58px;font-size:27px}.input-row .primary{min-width:86px;padding:12px 15px;font-size:12px}.feedback{font-size:12px;min-height:39px}.keypad button{min-height:43px;font-size:16px}.helper-row{gap:4px;margin-top:15px}.helper-row button{font-size:10px;padding:8px}.strategy-box{padding:14px}.strategy-box h3{font-size:12px}.strategy-box p{font-size:11px}.step-chips{gap:4px}.step-chip{padding:4px 8px;font-size:9px}.worked{font-size:17px}.tool-heading{padding:14px 16px;gap:10px}.tool-heading h2{font-size:14px}.tool-heading p{font-size:9px}.tool-tabs{margin:0;width:100%;justify-content:space-between}.tool-tabs button{font-size:10px;flex:1;padding:8px}.tool-body{padding:18px 14px}.tenframe-layout{gap:15px}.tenframe{grid-template-columns:repeat(5,36px);padding:7px;gap:5px}.frame-cell{width:36px;height:36px}.bead{width:28px;height:28px}.bead-pool{max-width:230px;min-width:0;padding:14px}.frame-arrow{display:none}.tool-note{font-size:11px}.block-readout strong{font-size:24px}.block-palette{gap:5px}.palette-btn{font-size:10px;padding:6px 8px}.block-mat{min-height:160px}.block-col{padding:10px 5px}.block-col h4{font-size:8px;letter-spacing:0}.block.d100{width:42px;height:42px;background-size:auto}.block.d1000{width:38px;height:38px}.block.d1000:after{font-size:8px;inset:13px 0 0}.block.d10{height:57px;width:10px}.block.d1{height:10px;width:10px}.block-group{gap:5px}.tool-toolbar{gap:6px}.tool-toolbar button{font-size:10px;padding:7px 9px}.tool-toolbar input{max-width:74px;font-size:12px}.block-readout span{font-size:10px}.lab-settings{padding:14px;gap:9px}.lab-settings input{max-width:70px;font-size:14px}.lab-settings label{font-size:10px}.lab-settings button{font-size:10px;padding:9px 11px;min-height:38px}.page-title h1{font-size:29px}.page-title p{font-size:12px}.collection-grid{grid-template-columns:repeat(2,1fr);gap:12px}.sticker{padding:16px 12px}.stat-grid{gap:9px}.stat{padding:15px 11px}.stat strong{font-size:25px}.stat span{font-size:10px}.adult-grid{grid-template-columns:1fr}.animation-lineup{gap:10px}.animation-stage{padding:18px 12px;border-radius:23px}.animation-stage h2{font-size:17px}.animation-card{padding:14px 8px}.animation-card .actor{max-width:115px}.animation-card h3{font-size:17px}.animation-card p{font-size:9px}.animation-card button{font-size:10px;padding:8px 9px}.animation-stage .tool-note{font-size:10px}.completion{padding:26px 17px}.completion h1{font-size:29px}.completion .actor{width:115px}.completion p{font-size:12px}.boss-seals{gap:6px}.seal{width:29px;height:29px}.game-layout{gap:16px}.save-status{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.actor .sprite,.actor .actor-spark,.particle,.page-enter,.seal.open,.reacting .pip-heart{animation:none!important}.hero-card,.primary,.mission{transition:none}}body.reduced .actor .sprite,body.reduced .actor-spark,body.reduced .particle,body.reduced .page-enter,body.reduced .seal.open,body.reduced .pip-heart{animation:none!important}body.reduced{scroll-behavior:auto}
@media print{.topbar,.footer,.nav,.tool-drawer,.game-layout,.skip-link,.no-print{display:none!important}.print-only{display:block}.shell{padding:0}.main{min-height:0}.info-card{break-inside:avoid}.adult-grid{display:block}.info-card{margin-bottom:20px}body{background:white}}
.sprite.s2{clip-path:inset(0 5% 0 0)}
.sprite.s3{background-size:388% 100%}
.sprite.s2{clip-path:inset(0 12% 0 0)}
.connected-game{grid-template-columns:170px minmax(0,1fr);gap:22px}.connected-game .character-stage{min-height:360px;padding:20px 12px}.connected-game .character-stage .actor{width:135px}.connected-game .speech{font-size:12px}.connected-challenge{padding:24px;min-width:0}.answer-zone{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:15px 0 4px}.connected-challenge .equation{margin:0;font-size:clamp(27px,3.8vw,53px);white-space:nowrap;letter-spacing:-1px}.answer-zone form{width:300px;max-width:45%}.answer-label{display:block;font-size:12px;font-weight:900;margin-bottom:6px;color:#665079}.answer-zone .input-row{gap:8px}.answer-zone .answer-input{height:53px;font-size:25px;min-width:0;width:100%;padding:10px 12px}.answer-zone .primary{padding:12px 16px;min-width:88px;font-size:12px}.answer-zone form>small{display:block;font-size:10px;line-height:1.5;color:#887395;margin-top:7px}.connected-challenge>.feedback{min-height:28px;margin:5px 0 12px;font-size:12px}.learning-workspace{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;align-items:stretch}.learning-workspace>div{min-width:0}.working-panel,.model-panel{height:100%;border:1px solid #e0d0ed;border-radius:21px;padding:20px;background:#faf6ff}.model-panel{background:#f6fbff;border-color:#d3e5ed}.workspace-label{font-size:9px;letter-spacing:1.5px;font-weight:900;color:#9b73b6;margin-bottom:8px}.model-panel .workspace-label{color:#6097b0}.working-panel h2,.model-panel h2{font-size:18px;line-height:1.3;letter-spacing:-.45px;margin:0 0 8px}.work-intro,.model-direction{font-size:11px;color:#897695;line-height:1.6;margin:0 0 15px}.work-step{padding:15px 0;border-top:1px dashed #ddcfe9;transition:opacity .25s}.work-step.waiting{opacity:.66}.work-step.active .step-number{background:#b397d4;color:white}.work-step.done .step-number{background:#e0f1e9;color:#4f9176}.work-step label,.work-label{display:flex;gap:8px;align-items:center;font-size:11px;font-weight:900;color:#806693}.step-number{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:8px;background:#e8ddef;color:#9a83ac;font-size:10px;flex-shrink:0}.math-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:10px 0 5px;font-size:20px;font-weight:750;color:#4b4563;font-variant-numeric:tabular-nums}.work-step small{font-size:10px;color:#8a7695;line-height:1.6}.step-input{width:65px;min-width:0;height:44px;background:#fff;border:2px dashed #bc9bd4;color:#8e59b3;border-radius:10px;font:800 19px inherit;text-align:center;padding:6px}.step-input:focus{border-style:solid;outline:3px solid #d6b9ec70}.step-input:disabled{background:#ede7f3}.step-check{display:flex;align-items:center;justify-content:center;width:32px;height:36px;border-radius:10px;background:#e4d6f1;color:#77549b}.math-filled{display:inline-flex;gap:5px;padding:5px 9px;background:#e9ddf6;border-radius:9px;color:#8e5eaf}.math-filled.pink{background:#f9e1eb;color:#bc6b8d}.math-filled small{color:inherit;font-size:12px}.math-blank{display:inline-block;min-width:26px;border-bottom:2px dashed #b79dca;text-align:center;color:#b093c4}.pink-text{color:#c97999}.purple-text{color:#9864bd}.answer-mirror{font:inherit;background:#fff3c9;border:2px dashed #dfc57e;color:#8e763e;border-radius:10px;min-width:55px;min-height:43px;padding:4px 8px}.answer-mirror.solved{background:#e3f1e9;border-style:solid;border-color:#b4d7c6;color:#4b846d}.work-status{font-size:11px;color:#937b9e;line-height:1.65;padding:10px 12px;background:white;border-radius:12px;min-height:56px;margin:7px 0 0}.work-status.correct{color:#4d927b;background:#e9f5ef}.work-status.try{color:#aa7f43;background:#fff4df}.live-mat,.source-mat{padding:13px;background:#fff;border-radius:15px;border:2px solid #d6e6f0;position:relative}.source-mat{border-color:#edd5e4;background:#fff9fc}.live-mat.friendly-made{border-color:#85cdb5;box-shadow:0 0 0 3px #bbe6d140}.mat-heading{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:10px;color:#7e93a5}.mat-heading strong{font-size:25px;line-height:1;color:#557e97;font-variant-numeric:tabular-nums}.source-mat .mat-heading strong{color:#b76e96}.target-pill{font-size:9px;padding:4px 7px;border-radius:9px;background:#edf5fb;margin-left:auto;color:#739cb3}.live-pieces{display:flex;align-items:start;flex-wrap:wrap;gap:12px;margin-top:14px;min-height:51px}.piece-group{display:flex;flex-direction:column;gap:7px;align-items:center;flex:1;min-width:35px}.piece-group small{font-size:8px;color:#9c89aa;text-align:center;white-space:nowrap}.piece-icons{display:flex;gap:3px;align-items:end;justify-content:center;flex-wrap:wrap;max-width:108px;min-height:36px}.math-piece{display:inline-block;flex-shrink:0;border:1px solid #bd8fcb;box-shadow:1px 1px 0 #b890c5;border-radius:2px;animation:piece-arrive .28s ease-out}.math-piece.p1{width:9px;height:9px;background:#e99aba;border-color:#cd7d9b;box-shadow:1px 1px #bf7496}.math-piece.p10{width:8px;height:34px;background:repeating-linear-gradient(0deg,transparent,transparent 2.4px,#a584ca 2.4px,#a584ca 3.4px),#c8afe6}.math-piece.p100{width:31px;height:31px;background:repeating-linear-gradient(90deg,transparent,transparent 2px,#84b4ca 2px,#84b4ca 3px),repeating-linear-gradient(0deg,transparent,transparent 2px,#84b4ca 2px,#84b4ca 3px),#c0dfef;border-color:#79aac2;box-shadow:1px 1px #80a3bd}.math-piece.p1000{width:28px;height:28px;background:linear-gradient(135deg,#ffe6a6,#ecc36a);box-shadow:3px -3px #fce4a6,4px -4px #d4ae66;border-color:#d4ae66;margin:3px}.zero-pieces{font-size:11px;color:#b59bb8;margin:8px auto}.friendly-meter{height:6px;border-radius:8px;background:#edf0f6;margin:13px 0 7px;overflow:hidden}.friendly-meter span{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#df9fbe,#8fc9d9);transition:width .25s ease}.regroup-caption{font-size:10px;color:#799caf;line-height:1.65;min-height:30px}.friendly-made .regroup-caption{color:#5b9f87}.transfer-bridge{display:flex;gap:4px;align-items:center;justify-content:center;flex-direction:column;font-size:10px;color:#b67c9b;padding:8px;position:relative}.transfer-bridge>span:last-child{font-size:9px;color:#a893a4}.transfer-arrow{position:absolute;left:14px;font-size:22px;display:flex;align-items:center;gap:4px}.transfer-arrow.moving .math-piece{animation:unit-hop .45s ease-out}.linked-controls{display:flex;gap:5px;flex-wrap:wrap;margin:12px 0 0}.linked-controls button{background:#e5eef5;border:1px solid #d4e2ee;padding:8px 9px;min-height:36px;font-size:10px;border-radius:9px;color:#6c8da4;font-weight:800}.linked-controls .unit-move{background:#f5e2ed;border-color:#eac5dc;color:#ad6a92;touch-action:none}.linked-controls button:disabled{opacity:.4;cursor:default}.model-hint{font-size:9px;color:#8da0af;line-height:1.6;margin:8px 0}.linked-hop-map{margin-top:10px;border-top:1px dashed #d4dfec;padding-top:3px}.linked-hop-map svg{width:100%;height:auto;display:block}.hop-trace{fill:none;stroke:#e6ccd9;stroke-width:3;stroke-dasharray:5 5;transition:stroke .3s}.hop-trace.rest{stroke:#d9cbe9}.hop-trace.lit{stroke:#cd7fa1;stroke-dasharray:0;animation:hop-draw .55s ease-out}.hop-trace.rest.lit{stroke:#a474c8}.hop-dot{fill:#78b1ca;stroke:white;stroke-width:3;transition:cx .25s ease}.hop-text{font-size:19px;font-weight:900;fill:#c5789b}.hop-text.purple-text{fill:#9d73bf}.hop-tick{font-size:15px;font-weight:800;fill:#8f819e}.hop-tick.friendly{fill:#6994a9}.linked-hop-map>small{font-size:8px;text-align:center;display:block;color:#a998b2}.distance-readout{text-align:center;font-size:16px;font-weight:900;margin:10px 0 3px;font-variant-numeric:tabular-nums;color:#73627e}.model-prompt{display:block;text-align:center;font-size:10px;margin-top:8px;color:#9c7fb7}.sub-gap-card{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;background:#f0e9fb;border:1px solid #dfd1f1;border-radius:13px;margin-top:12px;padding:14px;font-size:10px;color:#9a80b0}.sub-gap-card strong{font-size:25px;color:#9568b5}.sub-gap-card small{width:100%;text-align:center;font-size:11px}.puzzle-keypad{max-width:400px;margin:20px auto 0}.puzzle-keypad summary{font-size:11px;color:#9a7ead;cursor:pointer;padding:7px}.puzzle-keypad summary span{float:right;font-size:9px;color:#b49bc1}.puzzle-keypad .keypad{margin:4px 0 0}.solved-badge{display:flex;gap:7px;align-items:center;padding:13px 16px;background:#e5f3eb;border-radius:13px;color:#57927c;font-size:12px}.connected-challenge .next-wrap{margin-top:22px}.connected-challenge .next-wrap .primary{font-size:13px}
@keyframes piece-arrive{from{opacity:.2;transform:translateY(-5px) scale(.7)}to{opacity:1;transform:none}}@keyframes unit-hop{from{transform:translate(30px,35px);opacity:0}to{transform:translate(0,-12px);opacity:1}}@keyframes hop-draw{from{stroke-dasharray:10 10;opacity:.3}to{stroke-dasharray:0;opacity:1}}
@media(max-width:1100px){.connected-game{grid-template-columns:130px minmax(0,1fr);gap:15px}.connected-game .character-stage .actor{width:105px}.connected-game .speech{font-size:10px;padding:11px}.connected-game .stage-name{font-size:20px}.connected-game .cat-pocket{display:none}.connected-challenge{padding:20px}.learning-workspace{gap:12px}.working-panel,.model-panel{padding:15px}.math-row{font-size:18px;gap:5px}.step-input{width:55px}.connected-challenge .equation{font-size:37px}}
@media(max-width:850px){.connected-game{grid-template-columns:1fr}.connected-game .character-stage{min-height:0;height:95px;display:flex;align-items:center;gap:13px;padding:9px 17px}.connected-game .character-stage .actor{width:60px;order:0;margin:0}.connected-game .speech{order:1;flex:1;margin:0;font-size:11px}.connected-game .stage-id{order:2}.answer-zone{gap:15px}.connected-challenge .equation{font-size:38px}}
@media(max-width:600px){.connected-challenge{padding:18px 13px}.answer-zone{display:block;margin-top:12px}.connected-challenge .equation{font-size:clamp(28px,8vw,43px);justify-content:center;text-align:center;margin:17px 0}.answer-zone form{max-width:none;width:100%;margin:auto}.answer-zone .input-row{max-width:none}.answer-zone .answer-input{height:53px}.answer-zone form>small{text-align:center;font-size:10px}.learning-workspace{grid-template-columns:1fr}.working-panel,.model-panel{padding:17px}.working-panel h2,.model-panel h2{font-size:18px}.working-panel .work-intro{margin-bottom:9px}.work-step{padding:12px 0}.math-row{font-size:21px}.step-input{width:67px}.work-status{min-height:0;margin-bottom:0}.model-panel .piece-icons{max-width:145px}.model-panel .piece-group small{font-size:9px}.connected-game .stage-id{display:none}.connected-challenge .challenge-tag{font-size:8px;letter-spacing:.4px}.connected-challenge .challenge-tag .soft-btn{font-size:10px;padding:7px 9px}.connected-challenge .next-wrap .text-link{display:block;margin:15px auto 0!important}.connected-game .character-stage{height:88px}.distance-readout{font-size:18px}}
@media(prefers-reduced-motion:reduce){.math-piece,.transfer-arrow.moving .math-piece,.hop-trace.lit{animation:none!important}.friendly-meter span,.hop-dot{transition:none}}body.reduced .math-piece,body.reduced .transfer-arrow.moving .math-piece,body.reduced .hop-trace.lit{animation:none!important}body.reduced .friendly-meter span,body.reduced .hop-dot{transition:none}
.challenge-tag .soft-btn{white-space:nowrap}
.drag-unit-ghost{position:fixed;z-index:999;pointer-events:none;transform:translate(-50%,-50%);width:32px;height:32px;border:2px solid white;border-radius:9px;background:#de95b5;color:white;font-size:17px;font-weight:900;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px #9f638b66}
.mobile-live-strip{display:none}@media(max-width:600px){.mobile-live-strip{display:grid;grid-template-columns:1fr 46px 1fr;align-items:center;background:#fefaff;border:1px solid #dac9e7;border-radius:13px;padding:9px;position:sticky;top:7px;z-index:5;box-shadow:0 4px 12px #b7a1c528;margin:10px 0}.mobile-live-strip>div{text-align:center;min-width:0}.mobile-live-strip strong{font-size:22px;line-height:1;color:#8a6ba7}.mobile-live-strip .live-pieces{gap:4px;margin-top:5px;min-height:24px;justify-content:center}.mobile-live-strip .piece-group{gap:2px;min-width:15px;flex:initial}.mobile-live-strip .piece-group small{display:none}.mobile-live-strip .piece-icons{gap:2px;min-height:20px;max-width:45px}.mobile-live-strip .math-piece.p1{width:6px;height:6px}.mobile-live-strip .math-piece.p10{width:5px;height:20px}.mobile-live-strip .math-piece.p100{width:17px;height:17px}.mobile-live-strip .math-piece.p1000{width:16px;height:16px;margin:2px}.mobile-live-strip .ones-frame{grid-template-columns:repeat(5,6px);grid-template-rows:repeat(2,6px);gap:2px;padding:3px}.mobile-live-strip .empty-unit{width:6px;height:6px}.mobile-live-strip>p{grid-column:1/-1;margin:5px 0 0;text-align:center;font-size:9px;color:#9b83ae}.mini-transfer{color:#cb8cab;font-size:21px;text-align:center}.mini-transfer small{display:block;font-size:8px;color:#b58eac;line-height:1.2}.mini-gap{font-size:8px;color:#ab94b8;display:block;margin-top:5px}.mini-gap b{font-size:16px;color:#9a72b7}.mobile-live-strip .zero-pieces{font-size:8px;margin:3px 0}}
.work-step{padding:11px 0}.work-step small{display:none}.work-step:last-of-type small{display:block}.work-step .math-row{margin:6px 0 3px}.work-step .step-number{width:20px;height:20px}.working-panel .work-intro{margin-bottom:9px}.working-panel .work-status{padding:9px 11px;min-height:47px}.subtraction-model .live-pieces{min-height:40px}.subtraction-model .model-hint{margin:6px 0}.subtraction-model .sub-gap-card{padding:10px;margin-top:9px}.subtraction-model .linked-hop-map{margin-top:4px}.subtraction-model .linked-hop-map svg{max-height:143px}
.addition-model{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 10px;align-content:start}.addition-model>div:not(.live-mat):not(.source-mat),.addition-model>h2,.addition-model>p,.addition-model>.combine-rest{grid-column:1/-1}.addition-model>.live-mat{grid-column:1;grid-row:4}.addition-model>.source-mat{grid-column:2;grid-row:4}.addition-model>.transfer-bridge{grid-row:5}.addition-model .mat-heading{flex-direction:column;align-items:center;text-align:center}.addition-model .mat-heading strong{font-size:30px}.addition-model .target-pill{margin:0}.addition-model .live-pieces{min-height:80px;gap:8px}.addition-model .piece-icons{max-width:94px}.addition-model .piece-group{min-width:33px}.addition-model .piece-group small{font-size:8px}.addition-model .regroup-caption{font-size:9px;text-align:center}.addition-model .transfer-bridge{min-height:58px;padding:8px 25px}.addition-model .transfer-arrow{left:calc(50% - 105px);transform:rotate(90deg)}.addition-together{border-top:1px dashed #d9d4e7;padding:17px 0 5px;margin-top:12px;text-align:center;font-size:24px;font-weight:800;color:#7892aa;font-variant-numeric:tabular-nums}.addition-together strong{color:#61977f}.addition-together small{display:block;font-size:10px;margin-top:7px;font-weight:500;color:#9a8daa}.combine-rest{background:#e6daf6;color:#8c62ab;font-size:11px;font-weight:800;border:1px solid #d4c0e7;border-radius:10px;padding:10px 12px;margin-top:10px}.combine-rest:disabled{opacity:.4}.combined-mat{opacity:.65}.ones-frame{display:grid;grid-template-columns:repeat(5,12px);grid-template-rows:repeat(2,12px);gap:3px;border:1px solid #e9c8db;border-radius:5px;padding:4px;background:#fff7fc;max-width:none!important;min-height:0}.ones-frame .math-piece.p1{width:12px;height:12px}.empty-unit{width:12px;height:12px;border:1px dashed #e4cddc;border-radius:2px;background:white}.step-input{font-family:inherit;font-weight:800;font-size:19px}.addition-model .live-pieces:has(.ones-frame){justify-content:center}.addition-model .live-pieces .piece-group:only-child{flex:initial}.math-piece.p1{width:11px;height:11px}
@media(max-width:560px){.topbar{height:112px;display:grid;grid-template-columns:1fr auto;gap:8px;align-content:center}.topbar .brand{grid-column:1;grid-row:1}.top-actions{grid-column:2;grid-row:1}.nav{grid-column:1/-1;grid-row:2;justify-content:center;gap:4px}.nav button{padding:7px 15px;font-size:11px}.hero h1 br{display:block}.hero{min-height:515px}}
/* Focused mental-math screen. Extra support is opened by the learner. */
body.playing .nav,body.playing .footer{display:none}body.playing .topbar{height:76px;display:flex;flex-wrap:nowrap;justify-content:space-between}body.playing .main{min-height:0}.calm-game{max-width:900px;margin:5px auto 36px}.calm-top{display:flex;align-items:center;gap:20px;margin:12px 0 18px}.calm-top h1{font-size:19px;letter-spacing:-.4px;margin:0}.calm-top small{font-size:11px;color:#9b88a3}.calm-top .progress-track{margin-left:auto}.calm-top .back-btn{padding:8px 0;font-size:11px;display:flex;align-items:center;gap:7px;color:#9680a6}.calm-top .back-btn .icon{width:18px}.calm-puzzle{position:relative;border:1px solid #e4dceb;background:#fff;border-radius:30px;padding:24px 38px 42px;box-shadow:0 5px 0 #ebe4ef66;min-height:420px}.calm-context{display:flex;justify-content:space-between;align-items:center;height:64px}.calm-avatar{display:flex;align-items:center;gap:8px;color:var(--ink);font-size:12px;font-weight:800}.calm-avatar .actor{width:48px}.calm-context .round-btn{background:transparent;border:0;box-shadow:none;color:#9b87aa}.calm-answer-form{display:flex;gap:14px;align-items:center;justify-content:center;margin:18px 0 0;flex-wrap:wrap}.calm-game .equation{font-size:clamp(29px,4vw,52px);letter-spacing:-1.6px;display:flex;align-items:center;justify-content:center;gap:12px;margin:0;line-height:1.3;flex-wrap:wrap;min-width:0}.calm-game .equation>span{white-space:nowrap}.calm-game .equation .operator{margin:0 2px}.calm-final-blank{height:73px;width:120px;padding:8px;border:2px solid #d8e7ef;background:#f7fbff;border-radius:17px;text-align:center;font:800 36px inherit;font-size:36px;font-family:inherit;color:#465f86;outline:0;letter-spacing:-1px;min-width:0}.calm-final-blank::placeholder{color:#b7c5d3}.calm-final-blank:focus{border-color:#7da7cf;box-shadow:0 0 0 4px #b8d9f044}.calm-final-blank.just-dropped,.calm-blank.just-dropped{animation:drop-accept .4s ease-out}.calm-check{padding:15px 18px;min-height:52px;font-size:12px}.calm-feedback{font-size:12px;color:#aa99b1;min-height:24px;text-align:center;line-height:1.7;margin:16px 0 22px}.calm-feedback.try{color:#bc8e61}.calm-feedback.correct{color:#6a9c87}.calm-working{max-width:540px;margin:0 auto;padding:17px 23px 19px;border-radius:17px;background:#faf7fd}.calm-hint-heading{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#ac97b9;margin-bottom:5px;gap:8px}.calm-working h2{font-size:14px;letter-spacing:0;margin:0 0 9px;color:#89719f}.quiet-link{font-size:10px;min-height:30px;padding:4px 6px;color:#a38baf;text-decoration:none;border-radius:7px;background:transparent}.quiet-link:hover{color:#7e5d9a;background:#f4edf8}.calm-step-line{display:flex;align-items:center;justify-content:center;gap:13px;margin:0;min-height:52px}.line-math{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;font-size:25px;line-height:1.3;font-weight:800;font-variant-numeric:tabular-nums;color:#69607d}.calm-blank{height:48px;width:74px;min-width:0;padding:5px;border:2px dashed #d2bddf;background:#fff;border-radius:11px;text-align:center;font:800 23px inherit;font-size:23px;font-family:inherit;color:#9569b2;outline:0}.calm-blank:focus{border-style:solid;box-shadow:0 0 0 3px #e6d6f470}.calm-blank:disabled{background:#f1eaf6;opacity:.6}.calm-blank::placeholder{color:#bdabcb}.line-check{padding:9px 10px;min-height:40px;background:#ece2f4;color:#9a77b3;font-size:10px;font-weight:800;border-radius:9px}.line-check:disabled{opacity:.4}.completed-number{color:#9a78b5}.line-tick{color:#8cbaa4;font-size:19px}.prior-step{font-size:11px;text-align:center;color:#b2a2bc;line-height:1.5;margin:0 0 11px;font-variant-numeric:tabular-nums}.answer-above{font-size:10px;color:#9b83ad;padding:8px;min-height:34px;white-space:nowrap}.all-working .calm-step-line+.calm-step-line{border-top:1px dashed #e7dced;padding-top:11px;margin-top:11px}.calm-step-feedback{font-size:11px;line-height:1.6;color:#b28c63;margin:11px 0 0;text-align:center}.calm-options{display:flex;justify-content:center;gap:16px;margin:8px auto 0}.calm-options .quiet-link{font-size:10px;color:#af9abd}.number-tiles{max-width:540px;margin:10px auto 0;text-align:center}.number-tiles p{font-size:10px;color:#ad9ab8;margin:0 0 9px}.tile-row{display:flex;gap:5px;flex-wrap:wrap;justify-content:center}.number-tile{width:39px;height:43px;border:1px solid #e3d6ee;border-radius:10px;background:#faf6ff;color:#8c6ca6;font-size:19px;font-weight:800;box-shadow:0 3px 0 #e8dfef;touch-action:none;cursor:grab;user-select:none}.number-tile:active{cursor:grabbing;background:#ede0f7}.tile-erase{width:39px;height:43px;color:#ab95b9;font-size:20px;border:0;background:transparent}.calm-next{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;margin-top:24px}.calm-next .primary{font-size:13px}.calm-pip{position:absolute;right:20px;bottom:12px;padding:0;opacity:.75}.calm-pip .actor{width:48px}.calm-solution{color:#668f85}.calm-model{max-width:570px;margin:0 auto 18px;padding:14px 17px;background:#f9fcfe;border-radius:16px}.calm-piles{display:grid;grid-template-columns:minmax(0,1fr) 55px minmax(0,1fr);align-items:center;gap:6px}.calm-pile{min-width:0;padding:10px 5px;border-radius:13px;text-align:center}.calm-pile>strong{font-size:29px;line-height:1.2;font-variant-numeric:tabular-nums;color:#8c82a0}.calm-pile:first-child>strong{color:#739db3}.calm-pile.made-friendly{background:#eaf6f077}.calm-model .live-pieces{min-height:45px;margin-top:11px;gap:7px;justify-content:center}.calm-model .piece-group{flex:initial;min-width:26px;gap:4px}.calm-model .piece-icons{max-width:85px;min-height:30px}.calm-model .piece-group small{font-size:8px}.calm-transfer{font-size:23px;color:#c195b0;text-align:center}.calm-transfer small{display:block;font-size:8px;line-height:1.5;color:#b5a0ba}.calm-regroup{text-align:center;font-size:9px;color:#8eafa2;margin:9px 0}.calm-model-controls{display:flex;gap:5px;justify-content:center;flex-wrap:wrap;margin:10px auto 0}.calm-model-controls button{background:transparent;color:#99a7ba;padding:7px 9px;border-radius:8px;font-size:10px;min-height:34px}.calm-model-controls button:hover{background:#edf3f8}.calm-model-controls .unit-move{background:#efe6f4;color:#a387b5;touch-action:none}.calm-model-controls button:disabled{opacity:.35;cursor:default}.calm-hop-line{width:100%;height:auto;display:block;max-height:143px}.calm-gap{display:flex;justify-content:center;gap:23px;font-size:10px;color:#a292ae;margin:7px 0;flex-wrap:wrap}.calm-gap b{color:#8d6ea8;font-size:14px}.calm-model:empty{display:none}@keyframes drop-accept{50%{box-shadow:0 0 0 7px #d9bbea55;transform:scale(1.05)}}
@media(max-width:650px){.calm-game{margin-top:0}.calm-top{gap:12px;margin:5px 0 15px}.calm-top h1{font-size:15px}.calm-top small{font-size:9px}.calm-top .progress-track{gap:4px}.calm-top .progress-dot{width:16px;height:7px}.calm-puzzle{padding:17px 17px 37px;border-radius:24px;min-height:390px}.calm-context{height:48px}.calm-avatar .actor{width:37px}.calm-avatar{font-size:10px}.calm-game .equation{font-size:32px;gap:9px;letter-spacing:-.6px}.calm-final-blank{height:58px;width:91px;font-size:28px;border-radius:13px}.calm-answer-form{gap:10px;margin-top:19px}.calm-check{font-size:11px;min-height:43px;padding:10px 15px}.calm-feedback{font-size:10px;margin:13px 0 20px}.calm-working{padding:15px 14px;border-radius:14px}.line-math{font-size:22px;gap:7px}.calm-blank{width:67px;height:45px;font-size:22px}.calm-step-line{gap:7px;flex-wrap:wrap}.line-check{padding:8px;font-size:9px;min-height:37px}.calm-hint-heading{font-size:9px}.calm-working h2{font-size:13px}.prior-step{font-size:9px}.calm-pip{right:10px;bottom:4px}.calm-pip .actor{width:37px}.calm-model{padding:10px;margin-bottom:15px}.calm-pile>strong{font-size:25px}.calm-piles{grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr)}.calm-model .live-pieces{gap:5px}.calm-model .piece-group{min-width:20px}.calm-model .piece-icons{max-width:67px;gap:2px}.calm-model .math-piece.p1000{width:22px;height:22px}.calm-model .math-piece.p100{width:25px;height:25px}.calm-model .math-piece.p10{height:29px;width:6px}.calm-model .ones-frame{grid-template-columns:repeat(5,9px);grid-template-rows:repeat(2,9px);gap:2px;padding:3px}.calm-model .ones-frame .math-piece.p1,.calm-model .empty-unit{width:9px;height:9px}.tile-row{gap:6px}.number-tile,.tile-erase{width:38px;height:40px;font-size:18px}.calm-options{gap:12px}.calm-next{gap:12px}.calm-next .primary{font-size:11px}.calm-game .progress-track{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){.just-dropped{animation:none!important}}body.reduced .just-dropped{animation:none!important}
.official-logo{display:block;width:136px;height:auto;max-height:45px;object-fit:contain}.calm-final-blank,.calm-blank{font-weight:800}.calm-final-blank:focus-visible,.calm-blank:focus-visible{outline:none}.calm-options .quiet-link{font-size:11px;color:#927b9f}.calm-game.blue .primary{background:#398fb7;box-shadow:0 4px 0 #2c7097}.calm-game.red .primary{background:#c6757f;box-shadow:0 4px 0 #a45b65}@media(max-width:650px){.official-logo{width:112px;max-height:38px}.calm-game .equation{font-size:clamp(24px,7.7vw,32px)}}
.line-by-line .calm-hint-heading{margin-bottom:10px}.line-stage+.line-stage{margin-top:13px;padding-top:13px;border-top:1px solid #e9e0ef}.line-stage h2{font-size:11px;font-weight:700;letter-spacing:0;margin-bottom:6px;color:#9b85ad}.line-stage.line-current h2{color:#8b699f;font-weight:800}.line-stage.line-completed .line-math{font-size:22px;color:#92819f}.line-stage.line-completed .calm-step-line{min-height:34px}.line-stage .calm-step-line{justify-content:flex-start}.line-stage .line-check,.line-stage .line-tick{margin-left:auto;flex-shrink:0}.line-stage .line-math{justify-content:flex-start}.line-by-line{max-width:550px}.line-stage.line-completed .completed-number{color:#a18ab1}@media(max-width:650px){.line-stage.line-completed .line-math{font-size:19px}.line-stage+.line-stage{padding-top:11px;margin-top:11px}.line-stage .line-math{font-size:21px;gap:5px}.line-stage .line-check{margin-left:0}.line-stage.line-current .line-math{flex:1}.line-stage.line-completed .line-tick{margin-left:auto}.line-stage h2{font-size:10px}}
