@font-face{font-family:Nunito;src:url('./fonts/nunito-latin.woff2') format('woff2-variations');font-weight:200 1000;font-style:normal;font-display:swap}
:root{color-scheme:light;--ink:#664c60;--muted:#70545f;--paper:#fff8ec;--pink:#93435f;--line:#e6cec0;--mint:#dceade}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:#fbf2e7;color:var(--ink);font-family:Nunito,ui-rounded,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select{font:inherit;color:inherit}
button,a,summary,select{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:default}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #6758a1;outline-offset:4px}
svg{display:block}
.game{max-width:1510px;margin:auto;min-height:100svh}
.topbar{height:78px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #e8d9cb;position:relative}
.back-link{display:flex;align-items:center;gap:7px;min-height:44px;min-width:130px;text-decoration:none;color:#806775;font-weight:850;font-size:13px}
.back-link span{font-size:28px;line-height:1}
.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:1000;letter-spacing:-.8px;position:absolute;left:50%;transform:translateX(-50%);white-space:nowrap}
.brand img{transform:rotate(-7deg)}
.game-toolbar{display:flex;align-items:center;gap:8px}
.quiet-button{display:flex;align-items:center;gap:8px;min-height:44px;min-width:95px;padding:0 15px;border:1px solid #dbc5bb;border-radius:30px;background:transparent;font-size:12px;font-weight:850}
.quiet-button svg,.erase-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bakery-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:36px;align-items:center;padding:38px 5% 35px;min-height:calc(100svh - 78px)}
.bakery-world{position:relative;min-width:0;align-self:center}
.world-heading{text-align:center;position:relative;z-index:1}
.eyebrow{font-size:10px;letter-spacing:1.9px;font-weight:950;color:#74505c;margin:0}
.world-heading h1{font-size:42px;line-height:1.08;font-weight:1000;letter-spacing:-1.9px;margin:12px 0 0}
em{font-style:normal;color:var(--pink)}
.bakery-art{position:relative;background:radial-gradient(ellipse at 50% 60%,#dcebdd 5%,#e9f0df 47%,transparent 72%);margin-top:-30px}
.bakery-picture{width:100%;height:auto;overflow:visible}
.shop-caption{display:flex;align-items:center;justify-content:center;gap:12px;margin:-1px 14px 0}
.caption-mark{display:grid;place-items:center;width:30px;height:30px;background:#e9d9be;color:#a37b67;border-radius:50%;font-size:24px;font-weight:700;flex-shrink:0}
.shop-caption p{font-size:12px;line-height:1.5;color:#745751;max-width:310px;margin:0;font-weight:700}
.welcome-card,.workbench{position:relative;background:var(--paper);border:1.5px solid #e0caba;border-radius:27px;box-shadow:0 7px 0 #e9d8c655,0 18px 50px #85585809}
.welcome-card{padding:43px 35px 29px;text-align:center;border-radius:27px 27px 65px 27px}
.welcome-card h2{font-size:47px;font-weight:1000;line-height:1.08;letter-spacing:-2px;margin:17px 0 21px}
.welcome-card>p:not(.eyebrow){font-size:15px;color:#72545b;line-height:1.75;margin:0 auto 20px;max-width:350px}
.welcome-example{display:flex;align-items:center;justify-content:center;gap:12px;margin:25px 0 30px;color:#705a56}
.welcome-example span{display:grid;place-items:center;min-width:54px;min-height:58px;border-radius:15px;background:#f8e0da;color:#aa6278;font-size:29px;font-weight:950;transform:rotate(-5deg)}
.welcome-example span:nth-of-type(2){background:#dcebdd;color:#578679;transform:rotate(5deg)}
.welcome-example .example-answer{background:#eee1ae;color:#957646;transform:rotate(-4deg)}
.primary-button{min-height:51px;min-width:172px;padding:10px 25px;background:var(--pink);color:#fff7e9;border:1px solid #7f354f;border-radius:15px;box-shadow:0 4px 0 #6f2f474a;font-weight:950;font-size:17px;letter-spacing:-.2px}
.primary-button span{margin-left:15px}
.primary-button:hover:not(:disabled){background:#80354f}
.primary-button:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px 0 #8c48674a}
.primary-button:disabled{background:#dbc7c9;border-color:#ccb4bc;box-shadow:0 3px 0 #e6d5d2;color:#856a78}
.welcome-card .welcome-note{font-size:11px!important;margin-top:18px!important;line-height:1.6!important}
.grown-ups{border-top:1px dashed #ddcbbf;padding-top:10px;text-align:left;font-size:12px;color:#6f5662}
.grown-ups summary{cursor:pointer;min-height:44px;display:list-item;padding:12px 0;font-weight:850;margin-left:14px}
.grown-ups label{display:block;margin:5px 0;font-weight:800}
.grown-ups select{display:block;height:44px;min-height:44px;width:100%;-webkit-appearance:none;appearance:none;background:#fffdf7;border:1px solid #c8adaf;border-radius:9px;padding:7px 32px 7px 10px;font-size:14px}
.grown-ups p{line-height:1.6;margin-bottom:0}
.workbench{padding:25px 27px 28px;max-width:620px;width:100%;justify-self:center}
.order-header{display:flex;justify-content:space-between;gap:10px;padding-bottom:16px;border-bottom:1px dashed #deceba;align-items:center}
.order-header .eyebrow{font-size:9px;letter-spacing:1.5px}
.order-header p{margin:4px 0 0;font-size:13px;font-weight:850;color:#654d4a}
.batch-progress{font-size:10px;font-weight:850;text-align:right;color:#674f4c;white-space:nowrap}
.batch-dots{display:flex;gap:5px;margin-top:7px;justify-content:flex-end}
.batch-dots span{width:14px;height:14px;border:1.5px solid #d0b5a0;border-radius:50%;background:#f7eede}
.batch-dots .filled{background:#d79f6d;border-color:#b8805b;box-shadow:inset 0 0 0 3px #efd2a8}
.order-copy{margin:18px 0 13px}
.order-copy h2{font-size:24px;font-weight:1000;line-height:1.15;letter-spacing:-.65px;margin:0 0 7px}
.order-copy p{font-size:13px;line-height:1.5;margin:0;color:#674d59}
.operation-choice{margin:12px 0 8px;padding:11px;border:1px solid #d8c8e2;border-radius:15px;background:#faf4fc}
.operation-choice h3{margin:0;color:#5f4a6d;font-size:14px;font-weight:1000}
.operation-choice p{margin:5px 0 8px;color:#6b556c;font-size:11px;line-height:1.4}
.operation-choice>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.operation-button{min-height:48px;padding:8px;border:1px solid #baa7ca;border-radius:12px;background:#fffaff;color:#594568;font-size:12px;font-weight:950}
.operation-button[aria-pressed=true]{background:#e5d8ed;border-color:#8d74a1}
.story-model{margin:12px 0 8px;padding:10px;border:1px solid #dfc7ad;border-radius:15px;background:#fff8e8}
.story-model-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.story-model h3{margin:0;color:#6d4c42;font-size:14px;font-weight:1000}
#model-label{border-radius:99px;background:#eee3f5;color:#684f7e;padding:4px 7px;font-size:9px;font-weight:900;white-space:nowrap;text-transform:uppercase;letter-spacing:.6px}
#story-model-copy{margin:5px 0 8px;color:#6b5549;font-size:11px;line-height:1.4}
.story-tray{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}
.story-frame{display:grid;grid-template-columns:repeat(5,30px);gap:3px;padding:4px;border:1px solid #dcc39f;border-radius:9px;background:#fffdf4}
.story-cookie{width:30px;height:30px;border:1px solid #e8d7bc;border-radius:7px;background:#f9f0df;position:relative}
.story-cookie.base:before,.story-cookie.added:before,.story-cookie.removed:before{content:"";position:absolute;inset:4px;border-radius:50%;background:#deaa79;border:2px solid #bd8859;box-shadow:inset 0 0 0 3px #f0c89c}
.story-cookie.added:before{background:#e8c98b;border-style:dashed;border-color:#9d8059;box-shadow:inset 0 0 0 3px #f9e6b9}
.story-cookie.removed:before{background:#d4c6b3;border-color:#b9aa96;box-shadow:none;opacity:.52}
.story-cookie.removed:after{content:"";position:absolute;top:4px;bottom:4px;left:14px;width:2px;border-radius:2px;transform:rotate(43deg);background:#917778}
.story-side-group{display:grid;grid-template-columns:repeat(5,16px);gap:3px;justify-content:center;align-content:center;min-width:104px;max-width:116px;min-height:54px;padding:7px;border:1px dashed #b8a6c7;border-radius:11px;background:#f8f1fb;color:#594568}
.story-side-cookie{width:16px;height:16px;border:2px solid #a77b58;border-radius:50%;background:#e9bf8c;box-shadow:inset 0 0 0 2px #f7d9ae}
.story-side-group small{grid-column:1 / -1;margin-top:2px;font-size:9px;line-height:1.2;font-weight:900;text-align:center}
.story-side-group.request-card{display:flex;align-items:center;justify-content:center;gap:7px;border-style:solid;background:#fffaf0;color:#6d4c42}
.story-side-number{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:50%;background:#775988;color:#fff;font-size:18px;line-height:1}
.story-side-group.request-card small{max-width:58px;margin:0;text-align:left}
.story-action{display:block;min-height:48px;margin:9px auto 0;padding:7px 13px;border:1px solid #b5ccb2;border-radius:12px;background:#e3efdf;color:#3f6855;font-size:12px;font-weight:900}
.story-status{min-height:16px;margin:6px 2px 0;text-align:center;color:#6b5549;font-size:10px;line-height:1.4;font-weight:750}
.equation{display:flex;justify-content:center;align-items:center;gap:14px;font-size:44px;font-weight:900;line-height:1;padding:16px 0 9px;letter-spacing:-1px}
.operand-a{color:#ae627a}.operand-b{color:#5e9286}
.equation>span:nth-child(even){color:#b8a097;font-size:33px;font-weight:650}
.answer{width:89px;min-width:0;height:77px;border:2px dashed #c99d87;border-radius:16px;text-align:center;background:#fff0cf;font-weight:950;font-size:42px;letter-spacing:-1px;caret-color:transparent;color:#7d5e53;padding:0}
.answer::placeholder{color:#c4a889;opacity:1}
.feedback{min-height:40px;margin:10px 0 12px;font-size:12px;line-height:1.5;color:#684e55;text-align:center;display:flex;align-items:center;justify-content:center}
.feedback.success{color:#365d4b;font-weight:850;background:#e8efda;border-radius:12px;padding:12px;min-height:62px}
.help-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0 auto 15px;border:0;background:transparent;border-radius:10px;color:#58466d;font-size:13px;font-weight:850}
.help-button:hover{background:#f0e7ed}
.help-button svg{width:18px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.keypad{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.number-key{min-height:54px;border:1px solid #dbbba9;border-radius:13px;background:#fffdf3;color:#795d64;box-shadow:0 3px 0 #e9d8c6;font-size:24px;font-weight:950}
.number-key:hover{background:#f5e6d8}
.number-key:active{transform:translateY(2px);box-shadow:0 1px 0 #e9d8c6}
.answer-actions{display:flex;gap:11px;margin-top:14px}
.erase-button{width:70px;min-height:51px;border:1px solid #d8b7b4;border-radius:13px;background:#f4e1df;display:grid;place-items:center;color:#aa7183}
.erase-button svg{width:26px;height:24px}
.answer-actions .primary-button{flex:1;min-width:0}
.next-button{display:block;width:100%;margin-top:22px;min-height:58px}
.counting-help{padding:12px 10px 10px;background:#f4ecdc;border:1px solid #e2d1b9;border-radius:14px;margin-bottom:14px}
.hint-stage+.hint-stage{border-top:1px dashed #ddcbbf;margin-top:11px;padding-top:10px}
.hint-stage h3{margin:0 3px 4px;color:#654d40;font-size:13px;font-weight:1000}
.hint-stage>p{font-size:12px;line-height:1.5;font-weight:800;margin:0 3px 10px;color:#654d40;text-align:center}
.part-whole{position:relative;width:min(100%,320px);height:150px;margin:0 auto;isolation:isolate}
.part-whole-connectors{position:absolute;inset:0;width:100%;height:100%;z-index:0;fill:none;stroke:#96726c;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.part-whole-connectors circle{fill:#96726c;stroke:none}
.part-node{position:absolute;z-index:1;display:grid;place-items:center;align-content:center;width:88px;min-height:62px;padding:6px;border:2px solid #d5b2a2;border-radius:17px;background:#fffaf0;color:#6c4b56;box-shadow:0 3px 0 #e8d6c5;font-weight:950;text-align:center}
.part-node strong{font-size:24px;line-height:1}.part-node small{display:block;margin-top:4px;font-size:10px;line-height:1.1;font-weight:900}
.addition .start-part{left:10px;top:18px;background:#f8e1d8;color:#8a5165}.addition .joining-part{right:10px;top:18px;background:#dcebdd;color:#365d4b}.addition .whole-node{left:calc(50% - 44px);bottom:4px;background:#f0e4aa;color:#694f2a}
.subtraction .whole-node{left:calc(50% - 44px);top:9px;background:#f0e4aa;color:#694f2a}.subtraction .away-part{left:10px;bottom:3px;background:#f1ddd8;color:#8a5165}.subtraction .left-part{right:10px;bottom:3px;background:#dcebdd;color:#365d4b}
.number-line{width:100%;overflow-x:auto;padding:4px 1px 0}
.number-line-svg{display:block;min-width:280px;width:100%;height:auto;overflow:visible}
.number-line-track{fill:none;stroke:#b6907b;stroke-width:4;stroke-linecap:round}.number-line-tick{stroke:#9c7c6e;stroke-width:2}.number-line-label{fill:#71554c;font-size:11px;font-weight:850}.number-line-start{stroke:#ad5f78;stroke-width:4;fill:#8a5165}.number-line-end{stroke:#5a917f;stroke-width:4;fill:#4e7669}.number-line-hop{fill:none;stroke:#87566b;stroke-width:4;stroke-linecap:round}.number-line-hop-label{fill:#754a60;font-size:13px;font-weight:950}
.counting-help>p:first-child{font-size:12px;line-height:1.5;font-weight:800;margin:0 3px 10px;color:#654d40;text-align:center}
.ten-frames{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
.ten-frame{display:grid;grid-template-columns:repeat(5,44px);gap:3px;border:1px solid #d4bfa4;padding:5px;border-radius:10px;background:#fff8e8}
.counter-cell{width:44px;height:44px;position:relative;border:1px solid #e4d4ba;border-radius:6px;background:#f6edda;display:grid;place-items:center;font-size:19px;font-weight:950;color:#6d4a44;isolation:isolate;padding:0}
.counter-cell.base:before,.counter-cell.added:before,.counter-cell.removed:before{content:"";position:absolute;inset:4px;border-radius:50%;background:#deaa79;border:2px solid #bd8859;box-shadow:inset 0 0 0 3px #f0c89c;z-index:-1}
.counter-cell.added:before{background:#e8c98b;border-style:dashed;border-color:#9d8059;box-shadow:inset 0 0 0 3px #f9e6b9}
.counter-cell.removed:before{background:#d4c6b3;border-color:#b9aa96;box-shadow:none;opacity:.5}
.counter-cell:not([aria-pressed=true]).base:after,.counter-cell:not([aria-pressed=true]).added:after{content:"";width:4px;height:4px;border-radius:50%;background:#a77756;box-shadow:9px -6px #a77756,-8px -8px #a77756,1px 10px #a77756}
.counter-cell.removed:after{content:"";position:absolute;top:7px;bottom:7px;width:3px;transform:rotate(43deg);background:#917778;border-radius:3px}
.counter-cell[aria-pressed=true]{border:2px solid #6c8b7c;box-shadow:0 0 0 1px #6c8b7c}
.count-status{font-size:11px;line-height:1.4;text-align:center;color:#614c43;margin:9px 2px 0;min-height:16px;font-weight:750}
.overlay{position:fixed;inset:0;background:#72586650;backdrop-filter:blur(4px);z-index:10;display:flex;align-items:center;justify-content:center;padding:62px 22px 28px;overflow:auto}
.overlay-paper{position:relative;text-align:center;background:#fff8e9;border:2px solid #e3c3b7;border-radius:28px 28px 60px 28px;box-shadow:0 15px 70px #4e354c25;padding:71px 30px 23px;width:100%;max-width:520px;max-height:100%;overflow:auto}
.overlay-bunny{height:118px;margin-top:-43px;margin-bottom:15px}.overlay-bunny svg{height:100%;width:auto;margin:auto}
.overlay-paper h2{font-size:34px;font-weight:1000;letter-spacing:-1.1px;line-height:1.1;margin:11px 0 15px}
.overlay-paper>p:not(.eyebrow){font-size:14px;line-height:1.65;color:#6f545c;margin:0 auto 20px;max-width:385px}
.overlay-paper .primary-button{display:block;margin:20px auto 4px;min-width:225px;max-width:100%}
.text-button{display:block;border:0;background:transparent;min-height:44px;margin:6px auto 0;padding:8px 14px;border-radius:10px;color:#8b697a;font-size:13px;font-weight:850;text-decoration:underline;text-decoration-color:#ceb9c0;text-underline-offset:4px}
.text-button:hover{background:#f6e9df}
.completion-link{width:max-content;max-width:100%}
.overlay-paper .overlay-note{font-size:11px!important;margin:13px auto 0!important;line-height:1.5!important}
.reward-options{display:flex;gap:10px;justify-content:center;margin:15px 0 17px}
.reward-choice{width:130px;min-height:153px;padding:11px 9px;background:#fcf1df;border:1.5px solid #dabb9e;border-radius:17px;box-shadow:0 4px 0 #ead7c4;font-size:11px;line-height:1.4;font-weight:900}
.reward-choice svg{width:85px;height:85px;max-width:100%;margin:auto auto 8px}
.reward-choice:hover:not(:disabled){background:#f3e5ed;border-color:#c18ca9;transform:translateY(-3px)}
.reward-choice[aria-pressed=true]{outline:3px solid #73997c;outline-offset:2px;background:#e9eed9}
.noscript{position:fixed;left:10%;right:10%;top:20%;padding:30px;background:#fff2d4;border:2px solid #c39290;border-radius:15px;z-index:20;text-align:center}
@media(min-width:1350px){.workbench{padding:28px 34px}.bakery-layout{gap:48px}.ten-frames{gap:8px}.ten-frame{gap:4px}}
@media(max-width:1000px) and (min-width:701px){.bakery-layout{padding:30px 3%;gap:20px}.topbar{padding:0 25px}.world-heading h1{font-size:35px}.workbench{padding:23px 18px}.equation{font-size:36px;gap:10px}.answer{width:74px;height:68px;font-size:36px}.order-copy h2{font-size:22px}.welcome-card{padding:32px 20px}.welcome-card h2{font-size:39px}.welcome-example{gap:8px}.welcome-example span{min-width:43px}.shop-caption{margin-top:10px}.bakery-art{margin-top:-10px}}
@media(max-width:700px){.topbar{height:62px;padding:0 18px;gap:8px}.back-link{min-width:0;font-size:11px;gap:3px}.brand{font-size:19px;gap:6px}.brand img{width:29px;height:29px}.quiet-button{min-width:44px;width:44px;padding:0;justify-content:center;border:0}.quiet-button span{display:none}.bakery-layout{display:flex;flex-direction:column;padding:24px 20px 28px;gap:20px;min-height:calc(100svh - 62px)}.welcome-card{order:-1;width:100%;padding:25px 20px 18px;max-width:450px}.welcome-card h2{font-size:37px;margin:12px 0 17px}.welcome-card .eyebrow{font-size:8px}.welcome-card>p:not(.eyebrow){font-size:13px;line-height:1.65;margin-bottom:15px}.welcome-example{margin:18px 0 24px}.welcome-example span{min-width:48px;min-height:50px;font-size:25px}.welcome-card .welcome-note{font-size:10px!important}.world-heading{display:none}.bakery-world{width:100%;max-width:430px}.bakery-art{margin-top:-25px}.shop-caption{margin-top:-3px}.started .bakery-layout{padding:0 16px 22px;gap:0;justify-content:flex-start}.started .bakery-world{height:182px;overflow:hidden;flex-shrink:0;max-width:430px}.started .bakery-art{position:absolute;left:50%;width:250px;top:-36px;margin:0;transform:translateX(-50%)}.started .shop-caption{display:none}.workbench{border-radius:22px;padding:18px 19px 20px;max-width:470px}.order-header{padding-bottom:11px}.order-header .eyebrow{font-size:8px;letter-spacing:1.2px}.order-header p{font-size:11px;margin-top:3px}.batch-progress{font-size:9px}.batch-dots span{width:12px;height:12px}.order-copy{margin:13px 0 7px}.order-copy h2{font-size:23px;margin-bottom:5px}.order-copy p{font-size:12px;line-height:1.4}.equation{font-size:38px;gap:12px;padding:10px 0 6px}.equation>span:nth-child(even){font-size:27px}.answer{width:77px;height:66px;font-size:37px;border-radius:14px}.feedback{font-size:11px;min-height:34px;margin:8px 0 7px}.help-button{font-size:12px;margin-bottom:8px}.keypad{gap:7px}.number-key{min-height:48px;font-size:23px;border-radius:10px}.answer-actions{margin-top:11px;gap:10px}.answer-actions .primary-button{min-height:48px;font-size:16px}.erase-button{min-height:48px;width:60px}.counting-help{padding:10px 8px 8px;margin-bottom:11px}.counting-help>p:first-child{font-size:11px;margin-bottom:8px}.ten-frames{gap:7px}.ten-frame{padding:4px;gap:2px}.count-status{font-size:10px;margin-top:7px}.game[data-help=true] .bakery-world{height:135px}.game[data-help=true] .bakery-art{width:205px;top:-44px}.overlay{padding:16px}.overlay-paper{padding:46px 20px 19px;border-radius:24px 24px 44px 24px}.overlay-bunny{height:90px;margin-top:-27px;margin-bottom:10px}.overlay-paper h2{font-size:29px;margin:10px 0 12px}.overlay-paper .eyebrow{font-size:8px;letter-spacing:1.3px}.overlay-paper>p:not(.eyebrow){font-size:12px;margin-bottom:16px}.reward-options{gap:7px}.reward-choice{width:31%;min-height:125px;padding:9px 5px;font-size:10px;line-height:1.4}.reward-choice svg{width:70px;height:70px}.overlay-paper .primary-button{font-size:15px;min-width:210px;margin-top:17px}.overlay-paper .overlay-note{font-size:10px!important}.next-button{margin:17px 0 0;min-height:54px}}
@media(max-width:360px){.topbar{padding:0 12px}.brand{font-size:17px}.brand img{display:none}.started .bakery-layout{padding-left:12px;padding-right:12px}.started .bakery-world{height:160px}.started .bakery-art{width:230px;top:-39px}.workbench{padding:16px 14px}.equation{font-size:34px;gap:8px}.answer{width:68px;height:62px;font-size:34px}.equation>span:nth-child(even){font-size:26px}.order-copy h2{font-size:21px}.number-key{min-height:46px;font-size:21px}.game[data-help=true] .bakery-art{width:205px;top:-44px}.overlay-paper{padding-left:14px;padding-right:14px}.reward-choice{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* The order becomes a little baking activity after the sum is solved. */
.game-toolbar{display:flex;align-items:center;gap:8px;margin-left:auto}
.sound-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.dialog-sound{display:flex;align-items:center;justify-content:center;gap:8px;min-width:120px;min-height:44px;margin:8px auto 0;border:0;background:transparent;border-radius:12px;font-size:12px;font-weight:850}
.sound-toggle[aria-pressed=false]{color:#7c7187}
.customer{display:flex;gap:14px;align-items:center;background:#e4efdf;border:1px solid #bfd5bd;border-radius:17px;padding:9px 16px;margin:17px 0 12px;min-height:105px}
#customer-art{width:79px;height:84px;flex-shrink:0;transform-origin:50% 90%}
#customer-art svg{width:100%;height:100%}
#customer-name{font-weight:1000;font-size:17px;color:#365d4b;margin:0 0 5px;line-height:1.2}
#customer-wish{font-size:12px;line-height:1.4;margin:0;color:#405e4d}
.customer.happy{background:#fff0b9;border-color:#ddbd70}
.customer.happy #customer-art{animation:customer-dance .7s ease-in-out 3}
.is-cooking .order-copy,.is-cooking .story-model,.is-cooking .equation,.is-cooking #counting-help,.is-cooking #help{display:none!important}
.is-cooking .feedback{display:flex!important;margin:8px 0 10px}
.kitchen{position:relative;text-align:center;padding:4px 0 0}
.kitchen h2{font-size:27px;letter-spacing:-.8px;margin:9px 0 7px;font-weight:1000;line-height:1.12}
.kitchen-fact{display:inline-block;border-radius:20px;padding:6px 13px;background:#eee3f5;color:#795987;font-size:13px;font-weight:850;margin:2px 0 0}
#kitchen-copy{font-size:13px;line-height:1.45;margin:0 auto 10px;max-width:330px;color:#856571;min-height:36px}
.bake-button{display:block;margin:10px auto 0;max-width:290px;width:100%;padding:8px 15px 15px;border-radius:22px;border:2px solid #85b5a7;background:#e2f2e3;box-shadow:0 5px 0 #c2d9c7}
.bake-button svg{max-width:240px;width:100%;margin:auto;animation:oven-warmth 2s ease-in-out infinite}
.bake-button strong{font-size:18px;color:#3d6859}
.icing-choices{display:flex;gap:8px;justify-content:center;margin:12px 0 0}
.icing-choice{min-height:44px;flex:1;max-width:145px;border:2px solid #d4b29a;border-radius:14px;background:#fff1cf;font-size:12px;font-weight:900;padding:7px}
.icing-choice:first-child{background:#f7cadb;color:#85415e}.icing-choice:last-child{background:#e0c1aa;color:#654236}
.icing-choice[aria-pressed=true]{outline:3px solid #795b95;outline-offset:2px}
.cookie-button{width:220px;height:220px;display:block;margin:7px auto 0;border:0;border-radius:50%;padding:0;background:transparent;touch-action:manipulation;position:relative}
.cookie-button svg{width:100%;height:100%;pointer-events:none}
.cookie-button:active{transform:scale(.96)}
.fresh-cookie{animation:cookie-pop .7s cubic-bezier(.25,.9,.35,1.3)}
.sprinkle-progress{font-size:12px;font-weight:850;color:#82607d;margin:3px 0 0;min-height:18px}
.order-party{height:117px;display:flex;align-items:center;justify-content:center;gap:7px;overflow:hidden;margin:10px 0 0;pointer-events:none}
.order-party span{color:#be6486;font-size:32px;animation:party-pop 1s ease-out 3}
.order-party span:nth-child(2n){color:#7daaa3;animation-delay:.15s}.order-party span:nth-child(3n){color:#d2a43d;animation-delay:.3s}
.game[data-kitchen=served] .bakery-picture{animation:customer-dance .8s ease-in-out 2}
.game[data-phase=reward] .overlay-bunny{animation:customer-dance .7s ease-in-out 3}
@keyframes customer-dance{0%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-10px) rotate(-5deg)}70%{transform:translateY(-5px) rotate(5deg)}}
@keyframes oven-warmth{50%{filter:drop-shadow(0 0 12px #ffd878);transform:scale(1.025)}}
@keyframes cookie-pop{0%{transform:scale(.2) rotate(-20deg);opacity:.2}65%{transform:scale(1.12) rotate(8deg)}100%{transform:scale(1);opacity:1}}
@keyframes party-pop{0%{transform:translateY(50px) rotate(0);opacity:0}25%{opacity:1}100%{transform:translateY(-45px) rotate(160deg);opacity:0}}
@media(max-width:700px){.game-toolbar{gap:0}.sound-toggle span{display:none}.dialog-sound span{display:inline}.customer{margin:12px 0 8px;min-height:86px;padding:7px 12px;gap:11px}#customer-art{width:62px;height:70px}#customer-name{font-size:16px}#customer-wish{font-size:11px}.started .bakery-world{height:120px}.started .bakery-art{width:205px;top:-56px}.game[data-help=true] .bakery-world{height:100px}.game[data-help=true] .bakery-art{width:185px;top:-60px}.kitchen h2{font-size:24px}.kitchen-fact{font-size:12px}#kitchen-copy{font-size:12px;min-height:32px}.cookie-button{width:190px;height:190px}.bake-button{max-width:238px}.bake-button svg{max-height:157px}.icing-choice{font-size:11px;padding:6px}.order-party{height:94px}.is-cooking .next-button{margin-top:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.order-party span{opacity:1}.game[data-kitchen=served] .bakery-picture{transform:none}}

@media(max-width:700px){.story-model{margin:9px 0 6px;padding:8px}.story-frame{grid-template-columns:repeat(5,27px);gap:2px;padding:3px}.story-cookie{width:27px;height:27px}.story-status{font-size:9px}.story-action{margin-top:7px;font-size:11px}}
@media(max-width:360px){.story-frame{grid-template-columns:repeat(5,25px)}.story-cookie{width:25px;height:25px}}

@media(orientation:landscape) and (max-height:800px) and (max-width:1200px) and (min-width:701px){
  .started .bakery-layout{display:block;padding:10px 16px}
  .started .bakery-world{display:none}
  .started .workbench{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(460px,1.3fr);grid-template-rows:repeat(6,auto);column-gap:18px;align-content:center;max-width:100%;min-height:calc(100svh - 98px);padding:13px 18px}
  .started .order-header{grid-column:1;grid-row:1;padding-bottom:9px}
  .started .customer{display:flex;grid-column:2;grid-row:2;align-self:start;margin:5px 0}
  .game.started:not([data-help="0"]) .customer{display:none}
  .started .order-copy{display:block;grid-column:2;grid-row:1;margin:0;align-self:center}
  .started .order-copy h2{font-size:19px;margin-bottom:4px}.started .order-copy p{font-size:12px;line-height:1.35}
  .started .operation-choice{grid-column:1;grid-row:2;margin:5px 0}
  .started .story-model{grid-column:1;grid-row:3;margin:5px 0;padding:7px}
  .started .story-frame{grid-template-columns:repeat(5,27px);gap:2px;padding:3px}.started .story-cookie{width:27px;height:27px}
  .started .equation{grid-column:1;grid-row:4;padding:8px 0 4px;font-size:38px;gap:10px}
  .started .answer{width:70px;height:58px;font-size:33px}
  .started .feedback{grid-column:1;grid-row:5;min-height:30px;margin:5px 0;font-size:11px}
  .started .help-button{grid-column:1;grid-row:6;margin:0 auto;min-height:44px}
  .started .counting-help{grid-column:2;grid-row:2 / span 3;margin:0;padding:8px}
  .started .counting-help>p:first-child{margin-bottom:6px;font-size:11px}
  .started .ten-frames{gap:7px}.started .ten-frame{padding:4px;gap:2px}
  .started .counter-cell{width:44px;height:44px;font-size:17px}
  .started .count-status{margin-top:5px}
  .started .answer-controls{grid-column:2;grid-row:5 / span 2;align-self:end}
  .started .keypad{gap:7px}.started .number-key{min-height:46px;font-size:21px}
  .started .answer-actions{margin-top:8px}.started .answer-actions .primary-button,.started .erase-button{min-height:46px}
}

@media(orientation:landscape) and (max-height:420px) and (min-width:701px){
  .topbar{height:52px;padding:0 18px}
  .brand{font-size:20px}.brand img{width:30px;height:30px}
  .quiet-button{min-width:44px;min-height:44px;padding:0 12px}.quiet-button span{display:none}
  .bakery-layout{min-height:calc(100svh - 52px);padding:8px 2%;gap:14px;align-items:stretch}
  .bakery-world{display:grid;place-items:center}.bakery-art,.shop-caption{display:none}
  .world-heading h1{font-size:30px;margin-top:7px}.world-heading .eyebrow{font-size:8px}
  .welcome-card{align-self:center;padding:13px 22px 12px;border-radius:20px 20px 38px 20px}
  .welcome-card h2{font-size:30px;line-height:1;margin:7px 0 8px}
  .welcome-card>p:not(.eyebrow){font-size:11px;line-height:1.35;margin-bottom:8px}
  .welcome-example,.welcome-note{display:none!important}
  .welcome-card .primary-button{min-height:48px;font-size:15px}
  .grown-ups{padding-top:2px;margin-top:3px}.grown-ups summary{min-height:44px;padding:11px 0}
  .started .bakery-layout{display:block;padding:6px 12px}
  .started .bakery-world{display:none}
  .started .workbench{display:grid;grid-template-columns:minmax(230px,.78fr) minmax(410px,1.35fr);grid-template-rows:repeat(6,auto);column-gap:16px;align-content:center;max-width:100%;min-height:calc(100svh - 64px);padding:8px 14px 10px}
  .started .order-header{grid-column:1;grid-row:1;padding-bottom:7px}
  .started .customer{display:none}
  .started .order-copy{display:block;grid-column:2;grid-row:1;margin:0;align-self:center}
  .started .order-copy h2{font-size:15px;margin:0 0 2px}.started .order-copy p{font-size:10px;line-height:1.25}
  .started .operation-choice{grid-column:1;grid-row:2;margin:3px 0;padding:6px}.started .operation-choice h3{font-size:11px}.started .operation-choice p{font-size:9px;margin:2px 0 4px}.started .operation-button{min-height:44px;font-size:10px}
  .started .story-model{grid-column:2;grid-row:2;margin:3px 0;padding:5px;align-self:start}
  .game.started:not([data-help="0"]) .story-model{grid-column:1;grid-row:3}
  .started .story-model h3{font-size:12px}.started #story-model-copy{font-size:9px;margin:3px 0 4px}.started .story-frame{grid-template-columns:repeat(5,24px);gap:2px;padding:2px}.started .story-cookie{width:24px;height:24px}.started .story-action{min-height:48px;margin-top:4px;font-size:10px}.started .story-status{font-size:8px;margin-top:3px}
  .started .equation{grid-column:1;grid-row:4;padding:7px 0 3px;font-size:35px;gap:9px}
  .started .answer{width:66px;height:54px;font-size:31px}
  .started .feedback{grid-column:1;grid-row:5;min-height:28px;margin:4px 0;font-size:10px}
  .started .help-button{grid-column:1;grid-row:6;margin:0 auto;min-height:44px}
  .started .counting-help{grid-column:2;grid-row:2 / span 4;margin:0;padding:7px 8px 6px}
  .started .counting-help>p:first-child{margin-bottom:5px;font-size:10px}
  .started .ten-frames{gap:6px}.started .ten-frame{padding:3px;gap:2px}
  .started .counter-cell{width:44px;height:44px;font-size:16px}
  .started .count-status{margin-top:4px}
  .started .answer-controls{grid-column:2;grid-row:5 / span 2;align-self:end}
  .started .keypad{gap:6px}.started .number-key{min-height:44px;font-size:20px}
  .started .answer-actions{margin-top:7px}.started .answer-actions .primary-button,.started .erase-button{min-height:44px}
}

.playhouse-footer{width:min(calc(100% - 24px),1040px);margin:0 auto;padding:14px 0 28px;color:#70545f;font-size:13px;line-height:1.5;text-align:center}
.playhouse-footer p{margin:0}
.playhouse-footer a{display:inline-flex;align-items:center;min-height:44px;padding:5px 7px;border-radius:10px;color:#6f3150;font-weight:900;text-underline-offset:3px}
