@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700&family=Nunito:wght@600;700;800;900&display=swap');
:root{--paper:#f9f7f0;--ink:#233d3b;--muted:#6c7a74;--line:#e3e7dc;--teal:#28685d;--teal-dark:#1d5148;--red:#e85b51;--red-dark:#bc352e;--blue:#3887d5;--blue-dark:#1c60a4;--yellow:#f6c95f;--soft:#edf3e8;--font:'DM Sans',system-ui,sans-serif;--round:'Nunito',system-ui,sans-serif}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:var(--font);font-size:16px;-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button,a,input,select{-webkit-touch-callout:none}button{color:inherit;cursor:pointer}button{border:0}button:disabled{cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #d58b15;outline-offset:4px}button:disabled:focus-visible{outline:3px solid #d58b15}button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}button{touch-action:manipulation}button,.game-card{transition:background .16s,transform .16s,box-shadow .16s}button:hover:not(:disabled){filter:brightness(.98)}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.page-shell{max-width:1280px;margin:auto;padding:0 42px}.site-header{height:102px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;color:var(--ink);font-family:var(--round);font-size:26px;font-weight:900;line-height:1.1;letter-spacing:-.8px}.brand-light{font-weight:600}.brand small{font:600 8px var(--font);display:block;letter-spacing:2px;margin-top:5px}.brand-mark{width:34px;height:34px;display:grid;grid-template-columns:1fr 1fr;gap:4px;transform:rotate(-7deg)}.brand-mark i{background:var(--red);border-radius:50%}.brand-mark i:nth-child(2){background:var(--yellow)}.brand-mark i:nth-child(3){background:var(--teal)}.brand-mark i:nth-child(4){background:var(--blue)}.header-actions{display:flex;gap:20px;align-items:center}.quiet-button,.icon-button{background:transparent;font-size:13px;font-weight:600}.quiet-button{display:flex;align-items:center;gap:8px;padding:10px 0}.quiet-button>span{border:1.5px solid #81928c;border-radius:50%;width:19px;height:19px;display:inline-flex;align-items:center;justify-content:center;font-size:12px}.icon-button{width:38px;height:38px;border:1px solid #dce1d6;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.45)}.intro{overflow:hidden;padding:36px 0 38px;display:flex;justify-content:space-between;align-items:center;min-height:227px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;margin:0 0 10px}.intro .eyebrow{color:var(--teal);display:flex;gap:8px;align-items:center}.tiny-spark{font-size:18px;line-height:1}h1{font-family:var(--round);font-size:clamp(34px,4vw,53px);font-weight:900;letter-spacing:-2px;line-height:1.12;margin:8px 0 16px}h1>span{position:relative;white-space:nowrap}h1 svg{position:absolute;width:100%;height:13px;bottom:-7px;left:0;overflow:visible;z-index:-1;fill:none;stroke:var(--yellow);stroke-width:10;stroke-linecap:round}h1 .title-dot{color:var(--red)}.intro-copy{margin:0;color:var(--muted);font-size:15px;line-height:1.7}.intro-art{position:relative;width:265px;height:160px;display:flex;justify-content:center;align-items:center;margin-right:30px}.mini-house{background:#e9eee0;width:158px;padding:13px;border-radius:45% 45% 15px 15px;transform:rotate(7deg);position:relative;box-shadow:0 8px 0 #dce4d4}.mini-roof{font-size:7px;letter-spacing:1px;font-weight:800;text-align:center;margin:13px 0 12px}.mini-frame{background:#fffdf7;border:2px solid #395a4f;display:grid;grid-template-columns:repeat(5,1fr);gap:5px;padding:8px;border-radius:7px}.mini-frame i{width:16px;height:16px;border-radius:50%;background:var(--red)}.mini-frame i.blue{background:var(--blue)}.house-face{display:flex;align-items:center;justify-content:center;gap:12px;height:20px}.house-face i{width:4px;height:5px;background:var(--ink);border-radius:50%}.house-face span{width:14px;height:7px;border:2px solid var(--ink);border-top:0;border-radius:0 0 20px 20px;margin-top:5px}.art-spark{position:absolute;color:#c39330;font-size:32px}.art-spark.one{top:10px;left:12px;transform:rotate(10deg)}.art-spark.two{bottom:20px;right:7px;font-size:43px}.floating-dot{width:21px;height:21px;border-radius:50%;position:absolute;box-shadow:0 3px 0 #0001}.floating-dot.red{right:28px;top:21px;background:var(--red)}.floating-dot.blue{left:34px;bottom:11px;background:var(--blue)}.workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:29px;align-items:start}.sidebar-label{font-size:9px;letter-spacing:1.35px;margin:7px 0 16px}.game-menu{display:grid;gap:12px}.game-card{position:relative;width:100%;background:#f1f0e8;border:1.5px solid #e6e6dc;border-radius:18px;padding:19px;text-align:left;min-height:154px}.game-card:hover{background:#fffdf7}.game-card.active{background:#edf3e8;border-color:#91ad95;box-shadow:0 4px 0 #e0e8db}.card-copy{display:block}.card-copy small{display:block;font-size:8px;font-weight:700;letter-spacing:1.05px;margin:14px 0 6px;color:#6f7e6e}.card-copy strong{font-family:var(--round);font-size:19px;font-weight:900;letter-spacing:-.4px;display:block;margin-bottom:4px}.card-copy>span{font-size:11px;color:#6d7a71;line-height:1.5;display:block}.card-arrow{position:absolute;right:17px;top:20px;color:#8e9f8c;font-size:21px}.game-card.active .card-arrow{color:var(--teal)}.card-illustration{height:28px;display:flex;align-items:center;gap:6px;width:max-content}.sum-art i{width:24px;height:24px;border-radius:50%;background:var(--red);box-shadow:inset 0 -3px 0 #0001}.sum-art i:last-child{background:var(--blue)}.sum-art b{font-size:20px;color:#6d8073;margin:0 1px}.friends-art b{font:900 22px var(--round);background:#fffdf7;border-radius:7px;min-width:30px;text-align:center;color:var(--red)}.friends-art b:last-child{color:var(--blue)}.friends-art i{font-style:normal;font-weight:800}.bridge-art{position:relative;gap:4px}.bridge-art b{font:900 21px var(--round);background:var(--teal);color:white;border-radius:17px 17px 5px 5px;padding:2px 8px;transform:rotate(-5deg)}.bridge-art i{width:13px;height:13px;border-radius:50%;background:var(--red)}.bridge-art i:last-child{background:var(--blue)}.sidebar-note{padding:25px 8px;display:flex;gap:13px}.sidebar-note>span{color:#c7a45d;font-size:30px}.sidebar-note p{margin:0;font-size:11px;color:var(--muted);line-height:1.7}.sidebar-note strong{display:block;color:var(--ink);font-size:12px;margin-bottom:4px}.teacher-link{display:flex;align-items:center;gap:8px;background:transparent;font-size:11px;padding:9px 8px;color:var(--muted)}.teacher-link svg{width:18px;height:18px}.game-panel{border:1px solid #e3e6dc;border-radius:24px;background:#fffef9;padding:26px 30px 0;box-shadow:0 7px 0 #eceee4;overflow:hidden;position:relative}.game-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.game-top .eyebrow{color:var(--teal);font-size:8px;letter-spacing:1.4px;margin-bottom:4px}h2{font:900 26px/1.25 var(--round);letter-spacing:-.7px;margin:0}.star-score{display:flex;align-items:center;gap:5px;border-radius:12px;background:#fff4d9;padding:9px 12px;font-family:var(--round);font-size:18px}.star-score>span{color:#d8a432;font-size:23px;margin-right:3px}.star-score small{font:500 11px var(--font);color:#7b7764}.round-line{display:flex;gap:14px;align-items:center;justify-content:space-between;margin:17px 0 23px;font-size:10px;color:#66735f}.round-dots{display:flex;gap:5px}.round-dots i{width:6px;height:6px;border-radius:50%;background:#e2e8dc}.round-dots i.done{background:var(--teal)}.round-dots i.now{background:var(--yellow);box-shadow:0 0 0 3px #fff4d9}.task-heading{display:flex;align-items:start;justify-content:space-between;gap:8px}.task-heading h3{font:900 21px/1.35 var(--round);letter-spacing:-.4px;margin:0 0 6px}.task-heading p{font-size:12px;color:var(--muted);line-height:1.5;margin:0}.equation{display:flex;gap:16px;align-items:center;justify-content:center;font:900 47px/1.1 var(--round);padding:24px 0 22px;letter-spacing:-1px}.equation .red-number{color:var(--red)}.equation .blue-number{color:var(--blue)}.equation .sign{font-weight:600;font-size:31px;color:#8b988a}.question-number{border:2px dashed #b6c4b0;background:#f5f7ed;border-radius:12px;min-width:57px;height:58px;display:flex;align-items:center;justify-content:center;color:#7f9279;font-size:35px}.question-number.revealed{background:#e3efdd;color:var(--teal);border-color:#94b28b;border-style:solid}.frame-playground{display:grid;grid-template-columns:minmax(0,1fr) 37px minmax(0,1fr);align-items:center;gap:6px;padding:20px 16px;background:radial-gradient(#d8e0d0 .7px,transparent .7px);background-size:12px 12px;border:1px solid #e7ebdf;border-radius:16px}.frame-unit{min-width:0}.frame-caption{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;gap:6px}.frame-caption>span{font-size:7px;font-weight:700;letter-spacing:.65px;color:#748170;line-height:1.4}.frame-caption b{font-size:9px;color:var(--red-dark);background:#fff3ed;border-radius:5px;padding:4px 5px;white-space:nowrap}.frame-caption .blue-text{color:var(--blue-dark);background:#e9f2fb}.ten-frame{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:2px solid #b6c7ad;border-radius:11px;overflow:hidden;background:#fffef8;position:relative;touch-action:pan-y}.ten-frame.donor{border-color:#b6c9d8;background:#f4f8fb}.cell{aspect-ratio:1;min-width:0;border:0;border-right:1px solid #d6dfce;border-bottom:1px solid #d6dfce;background:transparent;position:relative;display:grid;place-items:center;padding:0}.cell:nth-child(5n){border-right:0}.cell:nth-child(n+6){border-bottom:0}.donor .cell{border-color:#d2e0eb}.cell:focus-visible{outline-offset:-4px;outline-width:3px;z-index:2}.cell:disabled{opacity:1}.cell.empty:after{content:'';width:17%;height:17%;background:#e3e8db;border-radius:50%}.donor .cell.empty:after{background:#dfe8ee}.token{display:block;width:70%;height:70%;border-radius:50%;background:var(--red);position:relative;box-shadow:inset 0 -3px 0 #00000016,0 2px 2px #30453515;pointer-events:none}.token.blue{background:var(--blue)}.token:before{content:'';position:absolute;top:12%;left:19%;width:30%;height:15%;background:#ffffff55;border-radius:50%;transform:rotate(-32deg)}.cell.movable{touch-action:none;cursor:grab}.cell.movable:active{cursor:grabbing}.cell.movable:hover .token{transform:scale(1.08)}.receiver.drop-active{box-shadow:0 0 0 4px #f6c95f80;border-color:#c8952b}.transfer-arrow svg{width:100%;height:40px;fill:none;stroke:#8faaa0;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.discovery-strip{display:flex;align-items:center;gap:9px;background:#f2f5e9;padding:11px 13px;border-radius:9px;margin-top:13px;min-height:41px}.discovery-strip>span{color:#9fbc83;font-size:18px}.discovery-strip p{font-size:11px;line-height:1.55;margin:0;color:#697960}.discovery-strip.ready{background:#e6f1df}.discovery-strip.ready>span{color:var(--teal)}.discovery-strip.ready p{color:var(--teal)}.feedback{min-height:20px;margin:16px 0 8px;font-size:12px;line-height:1.6;text-align:center;color:var(--teal);font-weight:600}.feedback.error{color:#a25725}.activity-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 0 23px}.reset-button{display:flex;align-items:center;gap:6px;background:transparent;font-size:11px;color:#63715e;padding:12px 0}.reset-button svg{width:16px;height:16px}.primary-button{display:inline-flex;gap:23px;justify-content:center;align-items:center;background:var(--teal);color:white;border-radius:11px;min-height:45px;padding:12px 19px;font-size:12px;font-weight:600;box-shadow:0 3px 0 var(--teal-dark)}.primary-button span{font-size:18px;line-height:1}.primary-button:disabled{background:#e8ecdf;color:#8d9886;box-shadow:0 3px 0 #dde2d4}.primary-button:hover:not(:disabled){background:var(--teal-dark);filter:none}.panel-footer{margin:0 -30px;background:#f7f8f0;border-top:1px solid #e6ebde;display:flex;align-items:center;gap:13px;padding:12px 30px;color:#87917e;font-size:9px}.panel-footer>span{display:flex;align-items:center;gap:5px}.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.red{background:var(--red)}.blue{background:var(--blue)}.panel-footer p{margin:0 0 0 auto;font-size:9px}.panel-footer strong{color:var(--teal)}.site-footer{display:flex;align-items:center;justify-content:space-between;color:#8e9789;margin:28px 0 26px;font-size:10px;line-height:1.5}.site-footer>span:last-child{font-size:8px;letter-spacing:1.2px}.site-footer b{font-size:14px;color:#caa957;margin:0 7px}.mobile-only{display:none}.drawing-tools{display:flex;align-items:center;gap:7px;margin:0 0 14px;flex-wrap:wrap}.paint-choice{display:flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #e1e5d9;border-radius:8px;background:#f9faf4;font-size:11px}.paint-choice i{height:15px;width:15px;border-radius:50%}.paint-choice.selected{background:#eef4e7;border-color:#6b8d63;box-shadow:0 0 0 1px #6b8d63}.paint-choice.eraser>span{font-size:18px;line-height:15px}.drawing-tools>.quiet-button{margin-left:auto;font-size:11px;padding:8px}.drawing-board{display:grid;grid-template-columns:1fr 1fr;gap:22px;background:#fbfaf5;border:1px solid #e5e7db;padding:20px 18px;border-radius:14px}.drawing-board.single{grid-template-columns:1fr;max-width:320px;margin:0 auto}.drawing-board .ten-frame{background:#fffdf8}.drawing-board .cell{cursor:crosshair}.drawing-board .cell.empty:after{background:transparent;border:1px dashed #d5dec9;width:64%;height:64%}.drawing-count{margin:13px 0 0;text-align:center;font-size:11px;color:var(--muted)}.decomposition{display:flex;justify-content:center;align-items:center;gap:9px;min-height:32px;flex-wrap:wrap;font:800 19px var(--round);margin:0 0 16px}.decomposition .bond{color:var(--blue);background:#edf4fc;padding:7px 12px;border-radius:9px}.decomposition .total-ten{color:var(--teal);background:#e9f0e1;padding:7px 12px;border-radius:9px}.decomposition small{font:500 11px var(--font);color:#73806d}.answer-prompt{text-align:center;font-size:12px;font-weight:500;margin:13px 0}.answers{display:flex;justify-content:center;gap:12px}.answer{min-width:66px;height:57px;border:1.5px solid #dce4d3;border-radius:12px;background:#fffef9;font:900 28px var(--round);box-shadow:0 4px 0 #edf0e5}.answer:hover:not(:disabled){border-color:var(--teal);background:#f0f5e9}.answer.correct{color:var(--teal);background:#e8f3de;border-color:#91b67e;box-shadow:0 4px 0 #d3e4c7}.answer.wrong{background:#fff3e6;border-color:#d8a97f;color:#9c662f;animation:wiggle .25s}.answer:disabled{opacity:.65}.answer.correct:disabled{opacity:1}.celebration{text-align:center;padding:18px 0 34px}.big-star{font-size:90px;color:var(--yellow);text-shadow:0 5px 0 #e7b139;line-height:1.4;animation:star-pop .6s ease}.celebration .eyebrow{margin:20px 0 10px;color:var(--teal);font-size:9px}.celebration h3{font:900 35px/1.15 var(--round);letter-spacing:-1px;margin:12px 0 16px}.celebration>p:not(.eyebrow){font-size:13px;line-height:1.8;color:var(--muted)}.celebration-actions{display:flex;align-items:center;flex-direction:column;gap:13px;margin-top:26px}.drag-ghost{position:fixed;z-index:100;pointer-events:none;border-radius:50%;background:var(--blue);box-shadow:0 8px 12px #233d3b30,inset 0 -4px 0 #0002;transform:translate(-50%,-50%);opacity:.9}.confetti{position:absolute;top:37%;left:50%;width:8px;height:12px;border-radius:2px;pointer-events:none;animation:confetti .9s ease-out forwards;background:var(--yellow)}.skip{position:absolute;left:12px;top:-100px;z-index:200;background:white;padding:12px;border:2px solid var(--teal);color:var(--teal);border-radius:8px}.skip:focus{top:12px}dialog{border:1px solid #dce3d2;max-width:540px;width:calc(100% - 30px);max-height:calc(100% - 40px);border-radius:23px;background:#fffef8;color:var(--ink);padding:28px;box-shadow:0 20px 100px #172b3a33}dialog::backdrop{background:#173b344f;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.dialog-heading .eyebrow{margin:0;color:var(--teal);font-size:9px}.close-dialog.icon-button{font-size:25px;font-weight:400}dialog>p{font-size:13px;color:var(--muted);line-height:1.8}dialog h2{font-size:27px}.how-list{list-style:none;padding:0;margin:23px 0}.how-list li{display:flex;gap:14px;margin-bottom:18px}.how-list li>b{font:800 14px var(--round);flex-shrink:0;border-radius:50%;width:29px;height:29px;background:#e9f1e2;display:grid;place-items:center}.how-list strong{font-family:var(--round);font-weight:900;font-size:16px}.how-list p{margin:4px 0 0;font-size:12px;line-height:1.7;color:var(--muted)}.dialog-note{background:#f2f4e9;border-radius:9px;padding:12px;font-size:12px;line-height:1.6;color:var(--muted)}dialog .primary-button{width:100%}#custom-form{margin-top:24px}#custom-form>label{display:block;font-size:11px;font-weight:600;margin-bottom:7px}#custom-form select,#custom-form input{border:1px solid #d3ddca;border-radius:8px;background:white;color:var(--ink);width:100%;padding:11px}#custom-form select{font-size:13px}.custom-numbers{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:16px 0}.custom-numbers label{font-size:11px;font-weight:600}.custom-numbers input{margin-top:7px;font-size:17px}.form-error{font-size:12px;color:#a0492c;line-height:1.5;min-height:4px}.teacher-print{display:flex;align-items:center;gap:12px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.teacher-print strong{font-size:12px}.teacher-print p{font-size:11px;color:var(--muted);line-height:1.5;margin:5px 0}.teacher-print button{white-space:nowrap;font-size:11px}.privacy-note{font-size:10px;line-height:1.6;color:#8b9485;margin-top:18px}#print-sheet{display:none}
.number-level{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 27px;padding:16px 20px;background:#f0f3e8;border:1px solid #e0e6d6;border-radius:15px}.level-picker{display:flex;align-items:center;gap:17px;padding:0;margin:0;border:0;min-width:0}.level-picker legend{float:left;padding:0;font:900 15px var(--round);white-space:nowrap}.level-options{display:flex;gap:5px;flex-shrink:0}.level-options label{position:relative;cursor:pointer}.level-options input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.level-options span{display:block;padding:10px 15px;border-radius:9px;background:#fffef9;border:1px solid #d5decc;font-size:12px;font-weight:700;white-space:nowrap}.level-options input:checked+span{background:var(--teal);border-color:var(--teal);color:white}.level-options input:focus-visible+span{outline:3px solid #d58b15;outline-offset:3px}.number-level>p{font-size:11px;color:#62725c;line-height:1.6;margin:0;max-width:340px}.game-card:disabled{opacity:.55;background:#efefe8;box-shadow:none}.game-card:disabled .card-arrow{display:none}
@keyframes wiggle{0%,100%{transform:translateX(0)}33%{transform:translateX(-4px)}66%{transform:translateX(4px)}}@keyframes star-pop{0%{transform:scale(.4) rotate(-15deg)}75%{transform:scale(1.12) rotate(5deg)}100%{transform:scale(1)}}@keyframes confetti{from{opacity:1;transform:translate(0,0) rotate(0)}to{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r))}}
@media(min-width:1350px){.page-shell{padding:0 48px}.workspace{grid-template-columns:270px minmax(0,1fr);gap:35px}.game-panel{padding-left:35px;padding-right:35px}.panel-footer{margin:0 -35px;padding-left:35px;padding-right:35px}.frame-playground{padding:22px}.intro-art{margin-right:50px}.game-card{min-height:158px}}
@media(max-width:1050px){.page-shell{padding:0 28px}.workspace{grid-template-columns:220px minmax(0,1fr);gap:20px}.game-panel{padding:23px 22px 0}.panel-footer{margin:0 -22px;padding:12px 22px}.game-card{padding:16px}.card-copy strong{font-size:18px}.card-copy>span{font-size:10px}.card-copy small{font-size:7px}.frame-playground{padding:16px 10px;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:3px}.frame-caption{display:block}.frame-caption>span{display:block;margin-bottom:7px}.frame-caption b{display:inline-block;font-size:8px}.intro-art{margin-right:0}.task-heading h3{font-size:20px}.panel-footer p{font-size:8px}.panel-footer{gap:9px}}
@media(max-width:800px){.page-shell{padding:0 22px;max-width:720px}.site-header{height:82px}.intro{padding:29px 0 31px;min-height:190px}h1{font-size:41px}.intro-copy{font-size:13px}.intro-art{width:150px;height:140px;transform:scale(.8);transform-origin:right center}.art-spark.one{left:-30px}.floating-dot.blue{left:-16px}.art-spark.two{right:-28px}.floating-dot.red{right:-16px}.workspace{grid-template-columns:1fr;gap:23px}.sidebar-label{margin:0 0 11px;font-size:8px}.game-menu{grid-template-columns:repeat(3,1fr);gap:10px}.game-card{padding:14px 12px;min-height:140px;border-radius:14px}.card-copy small{font-size:6px;letter-spacing:.7px;margin-top:12px}.card-copy strong{font-size:16px;letter-spacing:-.5px}.card-copy>span{font-size:9px}.card-arrow{right:10px;top:15px;font-size:17px}.card-illustration{transform:scale(.9);transform-origin:left center}.sidebar-note{display:none}.teacher-link{position:static;margin:8px 0 -7px auto;padding:8px 0;font-size:10px}.game-panel{padding:26px 28px 0}.panel-footer{margin:0 -28px;padding:13px 28px}.frame-playground{padding:23px 18px;grid-template-columns:1fr 35px 1fr;gap:8px}.frame-caption{display:flex}.frame-caption>span{margin:0;font-size:7px}.frame-caption b{font-size:9px}.task-heading h3{font-size:23px}.task-heading p{font-size:13px}.equation{padding:24px 0;font-size:49px}.game-top .eyebrow{font-size:9px}.panel-footer p{font-size:9px}.site-footer{margin-top:27px}.discovery-strip p{font-size:12px}.game-top h2{font-size:28px}.primary-button{font-size:13px;min-height:48px}.game-card.active{box-shadow:0 3px 0 #e0e8db}}
@media(max-width:520px){.page-shell{padding:0 15px}.site-header{height:75px}.brand{font-size:23px;gap:8px}.brand-mark{width:28px;height:28px;gap:3px}.brand small{font-size:6px;letter-spacing:1.8px}.header-actions{gap:9px}.header-actions .quiet-button{font-size:0;gap:0;padding:9px}.header-actions .quiet-button>span{font-size:12px;width:23px;height:23px}.icon-button{width:33px;height:33px;border-radius:9px}.icon-button svg{width:17px;height:17px}.intro{padding:28px 0 28px;min-height:170px}.intro .eyebrow{font-size:8px;letter-spacing:1.3px}h1{font-size:35px;letter-spacing:-1.6px;margin:9px 0 13px}.intro-copy{font-size:11px;line-height:1.7}.mobile-only{display:block}.intro-art{width:90px;transform:scale(.58);height:120px;margin-left:-30px;margin-right:4px;transform-origin:right center}.mini-house{min-width:158px}.intro-art .art-spark.one{left:-80px}.intro-art .floating-dot.blue{left:-56px}.intro-art .art-spark.two{right:-57px}.intro-art .floating-dot.red{right:-42px}.game-menu{gap:6px}.game-card{padding:12px 8px;min-height:127px;border-radius:12px}.card-arrow{display:none}.card-copy small{font-size:5.5px;letter-spacing:.1px;line-height:1.5;margin-top:9px}.card-copy strong{font-size:13px;letter-spacing:-.3px;margin:4px 0}.card-copy>span{font-size:8px;line-height:1.6}.card-illustration{transform:scale(.8);height:25px}.sidebar-label{font-size:7px;letter-spacing:1.3px}.teacher-link{font-size:9px}.teacher-link svg{width:15px;height:15px}.workspace{gap:19px}.game-panel{border-radius:18px;padding:21px 17px 0}.game-top h2{font-size:24px}.game-top .eyebrow{font-size:7px;letter-spacing:1.1px}.star-score{font-size:16px;padding:7px 9px;gap:3px}.star-score>span{font-size:19px;margin-right:1px}.star-score small{font-size:9px}.round-line{margin:16px 0 19px;font-size:9px}.round-dots{gap:5px}.round-dots i{width:5px;height:5px}.task-heading h3{font-size:20px}.task-heading p{font-size:11px;max-width:250px}.equation{font-size:43px;gap:13px;padding:22px 0}.equation .sign{font-size:26px}.question-number{min-width:47px;height:49px;font-size:29px;border-radius:10px}.frame-playground{grid-template-columns:1fr;gap:0;padding:17px 23px;max-width:350px;margin:auto}.frame-caption{display:flex;margin-bottom:8px}.frame-caption>span{font-size:7px}.frame-caption b{font-size:9px}.transfer-arrow{height:26px;display:flex;justify-content:center;align-items:center}.transfer-arrow svg{width:35px;height:25px;transform:rotate(85deg)}.frame-playground .ten-frame{border-radius:10px}.cell{max-height:53px}.discovery-strip{padding:10px 11px;min-height:44px}.discovery-strip p{font-size:10px}.feedback{font-size:11px;margin-top:13px;min-height:18px}.activity-actions{padding-bottom:21px}.reset-button{font-size:10px;gap:4px}.primary-button{font-size:11px;gap:15px;min-height:43px;padding:11px 15px}.panel-footer{margin:0 -17px;padding:13px 17px;font-size:8px;gap:8px}.panel-footer p{font-size:8px}.site-footer{font-size:8px;gap:12px;align-items:start}.site-footer>span:last-child{font-size:6px;letter-spacing:.7px;text-align:right}.site-footer b{margin:0 3px;font-size:10px}.drawing-board{grid-template-columns:1fr;gap:18px;padding:18px 23px}.drawing-board.single{max-width:none}.drawing-tools{gap:5px}.paint-choice{padding:8px;font-size:10px;gap:4px}.paint-choice i{width:13px;height:13px}.drawing-tools>.quiet-button{font-size:10px}.drawing-count{font-size:10px;line-height:1.5}.decomposition{font-size:17px;gap:6px}.decomposition .bond,.decomposition .total-ten{padding:6px 8px}.answers{gap:10px}.answer{min-width:56px;height:53px;font-size:25px}.answer-prompt{font-size:11px}.celebration h3{font-size:30px}.big-star{font-size:77px}dialog{padding:22px}dialog h2{font-size:24px}.teacher-print{display:block}.teacher-print button{margin-top:9px}}
@media(max-width:1050px){.number-level{align-items:start;flex-direction:column;gap:10px}.number-level>p{max-width:none}}
@media(max-width:520px){.number-level{padding:14px 12px;margin-bottom:22px;gap:10px}.level-picker{width:100%;justify-content:space-between;gap:10px}.level-picker legend{font-size:12px}.level-options span{padding:9px 11px;font-size:11px}.number-level>p{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white;font-family:system-ui,sans-serif;color:#172a29}.page-shell,dialog,.skip,.drag-ghost{display:none!important}#print-sheet{display:block!important}#print-sheet h1{font-size:25px;margin:0 0 7px;letter-spacing:-.6px}#print-sheet>p{font-size:11px;line-height:1.6;margin:8px 0 16px}.worksheet-header{font-size:10px;display:flex;justify-content:space-between;border-bottom:1px solid #aaa;padding-bottom:12px;margin-bottom:20px}.worksheet-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.worksheet-card{border:1px solid #b9c3b3;border-radius:9px;padding:17px;break-inside:avoid}.worksheet-card h2{font-size:21px;margin:0 0 15px;text-align:center}.worksheet-frames{display:grid;gap:12px}.print-frame{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #53604e}.print-frame i{height:29px;border-right:1px solid #a5afa0;border-bottom:1px solid #a5afa0}.print-frame i:nth-child(5n){border-right:0}.print-frame i:nth-child(n+6){border-bottom:0}.worksheet-card p{font-size:10px;margin:12px 0 0}.worksheet-footer{font-size:9px!important;margin-top:22px!important;color:#666}@page{size:A4;margin:15mm}}

/* Independent activities: the drawing and calculation games have their own entry. */
.game-card{min-height:128px;padding:15px 17px}.card-copy small{margin-top:9px}.card-copy strong{font-size:17px}.game-menu{gap:10px}.draw-art{gap:6px}.draw-art b{font:900 30px var(--round);color:#a16d29;line-height:1}.draw-art i{width:17px;height:17px;border-radius:50%;background:var(--red)}.draw-art i:last-child{background:var(--blue)}.quiz-art b{font:900 22px var(--round);color:#66578d}.game-card[data-mode="draw"].active{background:#faf1df;border-color:#cbb17e}.game-card[data-mode="quiz"].active{background:#efebf7;border-color:#b6a9d0}#solve-stage{margin-top:17px;padding:15px 8px 3px;border-top:1px solid var(--line)}#solve-stage .answer-prompt{margin-top:0}.task-heading{margin-top:4px}.primary-button[hidden]{display:none}.paint-choice:disabled{cursor:default;opacity:.7}
@media(max-width:800px){.game-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.game-card{min-height:114px;padding:13px 15px}.game-card:last-child{grid-column:1 / -1;display:flex;align-items:center;gap:18px;min-height:84px}.game-card:last-child .card-copy small{margin-top:0}.game-card:last-child .card-illustration{min-width:90px}.card-copy strong{font-size:17px}.card-copy small{font-size:8px}.card-copy>span{font-size:10px}.card-arrow{display:none}}
@media(max-width:520px){.game-card{padding:12px;min-height:120px}.game-card:last-child{min-height:85px;gap:10px}.card-copy strong{font-size:15px;line-height:1.2}.card-copy small{font-size:7px;letter-spacing:.2px}.card-copy>span{font-size:9px}.game-card:last-child .card-illustration{min-width:80px}.sidebar-label{font-size:8px}.quiz-art b{font-size:20px}#solve-stage{padding-left:0;padding-right:0}}
