.game{max-width:840px;margin:0 auto}.topbar{align-items:center;gap:14px;max-width:880px;margin:0 auto;padding:14px 16px 4px;display:flex}.topbar .progress{background:var(--parchment);box-shadow:var(--shadow-soft);border-radius:999px;flex:1;justify-content:center;align-items:center;gap:16px;padding:8px 18px;display:flex}.level-pill{font-family:var(--font-display);color:#fff;background:var(--hundreds-berry);box-shadow:0 3px 0 var(--hundreds-berry-deep);border-radius:999px;padding:6px 16px;font-weight:700}.goal-dots{gap:7px;display:flex}.goal-dots .dot{background:var(--cream-deep);width:15px;height:15px;transition:transform .2s var(--ease-bounce);border-radius:50%;box-shadow:inset 0 0 0 2px #7a563840}.goal-dots .dot.done{background:var(--leaf);transform:scale(1.12);box-shadow:0 2px #3f9b73}.stars{font-family:var(--font-display);color:var(--cocoa);align-items:center;gap:6px;font-size:1.3rem;font-weight:700;display:flex}.mute{width:48px;height:48px;min-height:48px;padding:0;font-size:1.25rem}@media (width<=620px){.topbar .progress{gap:10px;padding:8px 12px}}.sizerow-label{font-family:var(--font-display);color:var(--cocoa-soft);text-transform:uppercase;letter-spacing:1.5px;font-size:.82rem;font-weight:600}.pip-row{align-items:center;gap:14px;margin:0;display:flex}.pip-row .pip{width:92px;height:92px}.pip-bubble.pip-bubble{align-items:center;min-height:60px;font-size:1.3rem;display:flex}.pip-bubble.good{background:#eafaf2}.pip-bubble.oops{background:#fff0ec}.equation{font-family:var(--font-display);font-size:2.6rem;font-weight:700;line-height:1}.equation .op,.equation .qm{color:var(--cocoa-soft);margin:0 8px}.equation .qm{color:var(--frosting-deep)}.mat{--col-gap:10px;gap:var(--col-gap);box-sizing:border-box;grid-template-columns:repeat(3,1fr);width:100%;padding:16px 16px 20px;display:grid}.col-head{text-align:center;font-family:var(--font-display);color:#fff;border-radius:12px 12px 0 0;justify-content:center;align-items:center;gap:6px;padding:7px;font-size:1.15rem;font-weight:700;display:flex}.col-head.h{background:var(--hundreds-berry)}.col-head.t{background:var(--tens-mint)}.col-head.o{background:var(--ones-gold)}.cell{background:#ffffff8c;border-radius:12px;flex-wrap:wrap;place-content:flex-end center;gap:5px;min-height:96px;padding:8px;display:flex;position:relative;box-shadow:inset 0 0 0 2px #ffffff80}.cell.h{background:#9a6fd024}.cell.t{background:#4fbf9629}.cell.o{background:#e3a13c29}.cell.empty-look:after{content:"";border:3px dashed #7a56382e;border-radius:10px;position:absolute;inset:10px}.cell.active{box-shadow:0 0 0 4px var(--frosting), 0 0 24px #f2789b99;animation:1.1s ease-in-out infinite cell-pulse}@keyframes cell-pulse{0%,to{box-shadow:0 0 0 4px var(--frosting), 0 0 18px #f2789b73}50%{box-shadow:0 0 0 6px var(--frosting), 0 0 30px #f2789bbf}}.cell.dim{opacity:.4;filter:saturate(.7)}.rowtag{font-family:var(--font-display);color:var(--cocoa-soft);background:#ffffffd9;border-radius:999px;padding:2px 9px;font-size:.8rem;font-weight:700;position:absolute;top:8px;left:8px}.mat-rule{border-top:5px solid var(--wood-deep);opacity:.55;border-radius:4px;grid-column:1/-1;height:0;margin:6px 2px 2px}.total-num{text-align:center;min-height:30px;font-family:var(--font-display);letter-spacing:4px;grid-column:1/-1;font-size:2.4rem;font-weight:700}.fives{grid-template-columns:repeat(5,max-content);place-content:end center;gap:5px;display:grid}.cookie{width:clamp(16px,1.7vh,24px);height:clamp(16px,1.7vh,24px)}.tray{width:clamp(20px,2.2vh,30px)}.tray i{height:clamp(4px,.46vh,7px)}.crate{width:clamp(44px,5vh,66px);height:clamp(44px,5vh,66px)}.cookie,.tray,.crate{animation:block-pop .32s var(--ease-bounce) both}@keyframes block-pop{0%{transform:scale(0)rotate(-20deg)}to{transform:scale(1)rotate(0)}}.cookie{cursor:default}.bundling{animation:.5s ease-in forwards bundle-away!important}@keyframes bundle-away{0%{opacity:1;transform:scale(1)}60%{opacity:1;transform:translateY(-26px)scale(1.15)}to{opacity:0;transform:translateY(-120px)scale(.2)}}.landing{animation:tray-land .5s var(--ease-bounce) both!important}@keyframes tray-land{0%{opacity:0;transform:translateY(-90px)scale(.4)}to{opacity:1;transform:translateY(0)scale(1)}}.actionbar{flex-direction:column;align-items:center;gap:14px;margin:0;display:flex}.choices{flex-wrap:wrap;justify-content:center;gap:16px;display:flex}.choice{font-family:var(--font-display);color:var(--cocoa);border-radius:var(--r-md);min-width:130px;box-shadow:var(--shadow-soft);cursor:pointer;transition:transform .12s var(--ease-bounce);background:#fff;border:none;padding:18px 30px;font-size:2rem;font-weight:700}.choice:hover{transform:translateY(-4px)rotate(-1deg)}.choice:active{transform:translateY(2px)}.choice.wrong{background:#fff0ec;animation:.5s wobble}@keyframes wobble{0%,to{transform:translate(0)}20%{transform:translate(-9px)rotate(-3deg)}40%{transform:translate(9px)rotate(3deg)}60%{transform:translate(-6px)}80%{transform:translate(6px)}}.choice.right{background:var(--leaf);color:#1f6b4e;animation:block-pop .4s var(--ease-bounce)}.choice[disabled]{opacity:.5}@media (width<=540px){.equation{font-size:2rem}.cell{min-height:80px}.crate{width:60px;height:60px}.choice{min-width:100px;font-size:1.6rem}}@media (height<=860px){.mat{gap:7px;padding:7px 10px 9px}.col-head{padding:4px;font-size:.9rem}.cell{min-height:50px;padding:4px}.rowtag{padding:1px 7px;font-size:.66rem;top:4px;left:4px}.cookie{width:14px;height:14px}.cookie:before,.cookie:after{width:3px;height:3px}.tray{gap:1px;width:18px;padding:2px}.tray i{height:2px}.crate{width:40px;height:40px;padding:3px}.fives{gap:2px}.mat-rule{margin:2px 2px 1px}.total-num{letter-spacing:3px;min-height:20px;font-size:1.55rem}.equation{font-size:1.85rem}.ticket{padding:6px 16px}.sizerow-label{font-size:.74rem}.pip-bubble.pip-bubble{font-size:1.02rem}.topbar{padding:8px 16px 2px}.choice{min-width:96px;padding:10px 18px;font-size:1.4rem}.actionbar{gap:7px}}@media (height<=760px){.mat{gap:4px;padding:4px 7px 6px}.cell{min-height:34px;padding:3px}.cookie{width:11px;height:11px}.tray{width:15px}.tray i{height:1.6px}.crate{width:32px;height:32px;padding:2px}.fives{gap:2px}.col-head{padding:2px;font-size:.74rem}.total-num{min-height:18px;font-size:1.3rem}.equation{font-size:1.6rem}.ticket{padding:3px 14px}.sizerow-label{font-size:.7rem}.pip-bubble.pip-bubble{font-size:.98rem}.topbar{padding:6px 16px 2px}.choice{min-width:88px;padding:8px 14px;font-size:1.2rem}}
