@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Nunito:wght@600;700;800;900&display=swap";:root{color:#263448;font-synthesis:none;letter-spacing:0;background:#f7f9fc;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{min-width:280px;margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}a{color:inherit;text-decoration:none}svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:24px;height:24px}.icon-definitions{width:0;height:0;position:absolute;overflow:hidden}[hidden]{display:none!important}:focus-visible{outline-offset:5px;outline:3px solid #2675cc}.game-header{justify-content:space-between;align-items:center;gap:20px;max-width:1280px;height:92px;margin:0 auto;padding:0 40px;display:flex}.brand{align-items:center;gap:24px;display:flex}.brand img{width:165px;height:auto}.brand>span{color:#778293;border-left:1px solid #dce2eb;padding-left:24px;font-size:10px;font-weight:700}.header-tools{gap:12px;display:flex}.icon-button{color:#526075;background:#fff;border:1px solid #dfe5ec;border-radius:8px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:inline-flex}.icon-button:hover{background:#edf2f8}.icon-button[aria-pressed=true]{background:#e6edf7}.game{max-width:880px;margin:0 auto;padding:22px 40px 0}.game-topline{justify-content:space-between;align-items:center;gap:16px;display:flex}.range-label{color:#7a8494;font-size:13px}.range-label strong{color:#4f5d72;margin-left:7px;font-weight:700}.score{color:#687387;background:#fff;border:1px solid #e3e8ef;border-radius:8px;align-items:center;gap:9px;padding:10px 16px;font-size:13px;display:flex}.score svg{fill:#ffd45b;color:#d49b22;width:23px;height:23px}.score strong{color:#263448;text-align:right;font-variant-numeric:tabular-nums;min-width:24px;margin-left:10px;font-size:20px;font-weight:700;display:inline-block}.play-area{text-align:center;margin-top:24px}.number-art{align-items:center;gap:5px;height:52px;margin-bottom:10px;font:900 29px/1 Nunito,sans-serif;display:inline-flex}.number-art span{color:#477fc5;background:#dcecfb;border-radius:7px;place-items:center;width:38px;height:42px;display:grid;transform:rotate(-12deg)}.number-art span:nth-child(2){color:#d47459;background:#fae5dd;transform:translateY(-5px)rotate(5deg)}.number-art span:nth-child(3){color:#658950;background:#e4efdb;transform:rotate(12deg)}h1{margin:0;font-family:Nunito,sans-serif;font-size:44px;font-weight:900;line-height:1.2}.title-dot{color:#ea906d}.prompt{color:#7a8494;min-height:25px;margin:12px 0 20px;font-size:15px;line-height:1.6}.listen-button{color:#3a65a1;background:#eaf0fb;border:1px solid #d7e4f6;border-radius:8px;justify-content:center;align-items:center;gap:12px;min-height:48px;padding:10px 20px;font-size:14px;font-weight:600;display:inline-flex}.listen-button:hover{background:#dfe9f9}.sound-bars{align-items:center;gap:3px;height:17px;margin-left:8px;display:flex}.sound-bars i{background:#7e9dcd;border-radius:2px;width:3px;height:7px}.sound-bars i:nth-child(2){height:15px}.sound-bars i:nth-child(3){height:10px}.is-speaking .sound-bars i{animation:.6s ease-in-out infinite alternate equalizer}.is-speaking .sound-bars i:nth-child(2){animation-delay:.2s}.is-speaking .sound-bars i:nth-child(3){animation-delay:.4s}.choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:580px;margin:28px auto 0;display:grid}.number-tile{--tile:#e6edff;--edge:#c2d1f5;--ink:#446ab3;border:2px solid #0000;border-bottom:7px solid var(--edge);background:var(--tile);min-width:0;height:165px;color:var(--ink);font-variant-numeric:lining-nums tabular-nums;border-radius:8px;font:900 76px/1 Nunito,sans-serif;transition:transform .12s,border-color .12s;position:relative}.number-tile:nth-child(2){--tile:#fde7da;--edge:#efc7ae;--ink:#b76840}.number-tile:nth-child(3){--tile:#e2f1e5;--edge:#badcc3;--ink:#47815b}.number-tile:nth-child(4){--tile:#fae3ee;--edge:#eac0d3;--ink:#ab5b81}@media (hover:hover){.number-tile:not(:disabled):hover{transform:translateY(-3px)}}.number-tile:not(:disabled):active{transform:translateY(3px)}.number-tile.is-correct{color:#247c44;background:#d7f1df;border-color:#3f9c62;animation:.65s cubic-bezier(.2,.85,.3,1) celebrate}.number-tile.is-correct:after{content:"✓";font:700 22px/1 sans-serif;position:absolute;top:10px;right:12px}.number-tile.is-wrong{background:#fcedee;border-color:#c46e73;animation:.42s wobble}.feedback{color:#8b94a2;justify-content:center;align-items:center;height:53px;margin-top:8px;font-size:14px;font-weight:500;display:flex}.feedback.success{color:#247c44}.feedback.try-again{color:#a3565c}.celebration{pointer-events:none;z-index:10;position:fixed;inset:0;overflow:hidden}.celebration i{--x:0px;--r:0deg;--delay:0s;opacity:0;background:var(--confetti-color,#f3b742);border-radius:3px;width:11px;height:17px;position:absolute;top:46%;left:50%;transform:translate(-50%,-50%)}.celebration i:nth-child(4n+1){--confetti-color:#e86d89}.celebration i:nth-child(4n+2){--confetti-color:#5a9fe8}.celebration i:nth-child(4n+3){--confetti-color:#57b982}.celebration.is-celebrating i{animation:confetti-pop .9s cubic-bezier(.1,.75,.25,1) var(--delay) both}.game-bottom{color:#8590a0;border-top:1px solid #e3e8ef;justify-content:space-between;align-items:center;gap:14px;margin-top:6px;padding:18px 0;font-size:12px;display:flex}.text-button{color:#68758a;background:0 0;border:0;align-items:center;gap:7px;min-height:40px;padding:0 4px;font-size:12px;display:inline-flex}.text-button svg{width:16px;height:16px}.game-footer{color:#96a0ad;flex-wrap:wrap;justify-content:space-between;gap:12px;max-width:1200px;margin:20px auto 0;padding:20px 40px;font-size:11px;display:flex}.game-footer a:hover{color:#3a65a1}dialog{color:#263448;border:1px solid #e0e5ed;border-radius:8px;width:min(440px,100% - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:30px;box-shadow:0 20px 90px #1b2a4030}dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#e7edf2d9}.dialog-heading{justify-content:space-between;align-items:center;min-height:44px;display:flex}.dialog-icon{color:#4b74aa;background:#edf3fc;border-radius:8px;place-items:center;width:44px;height:44px;display:grid}.eyebrow{color:#7f8da0;margin:22px 0 8px;font-size:10px;font-weight:700}h2{margin:0;font:900 32px/1.2 Nunito,sans-serif}.settings-intro{color:#7b8797;margin:14px 0 24px;font-size:14px;line-height:1.6}fieldset{border:0;min-width:0;margin:0;padding:0}legend{margin-bottom:10px;font-size:12px;font-weight:600}.preset-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.preset-options label{min-width:0;position:relative}.preset-options input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute}.preset-options span{color:#718095;border:1px solid #e0e5ed;border-radius:6px;place-items:center;height:40px;font-size:12px;display:grid}.preset-options input:checked+span{color:#3a65a1;background:#edf3ff;border-color:#8aa6d5;font-weight:700}.preset-options input:focus-visible+span{outline-offset:2px;outline:3px solid #2675cc}.custom-range{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);align-items:end;gap:10px;margin:20px 0;display:grid}.custom-range label{color:#657489;font-size:12px;font-weight:500}.custom-range input{color:#263448;background:#fff;border:1px solid #d7dfe9;border-radius:6px;width:100%;height:44px;margin-top:8px;padding:0 12px;display:block}.custom-range>span{text-align:center;color:#8d99a9;font-size:12px;line-height:44px}.range-error{color:#a04550;font-size:12px;line-height:1.6}.scoring-note{color:#8590a0;border-top:1px solid #edf0f5;flex-wrap:wrap;gap:20px;padding-top:16px;font-size:11px;display:flex}.scoring-note b{color:#458361;margin-right:4px}.scoring-note span:last-child b{color:#b76a74}.start-button{color:#fff;background:#456fb2;border:0;border-radius:8px;justify-content:center;align-items:center;gap:14px;width:100%;min-height:49px;margin-top:25px;font-size:14px;font-weight:600;display:flex}.start-button:hover{background:#355b99}.no-script{color:#a04550;background:#fff;width:100%;padding:20px;position:fixed;bottom:0}.game--color .number-tile{background:#fff;border-bottom-color:#dde5ef}.game--color .number-tile svg{stroke:none;width:105px;height:130px;margin:auto;display:block}.game--color .number-tile.is-correct{background:#eff9f2;border-color:#3f9c62}.game--color .number-tile.is-wrong{border-color:#c46e73}.color-art span:first-child{background:#4293de}.color-art span:nth-child(2){background:#f2c63e}.color-art span:nth-child(3){background:#e34444}.counting-objects{flex-wrap:wrap;place-content:center;align-items:center;gap:16px;max-width:480px;min-height:180px;margin:18px auto 0;padding:16px 12px;display:flex}.counting-object{flex:0 0 70px;place-items:center;width:70px;height:70px;display:grid}.counting-object svg{stroke:none;width:100%;height:100%;display:block}.game--counting .play-area{margin-top:28px}.game--counting h1{font-size:38px}.game--counting .choices{margin-top:18px}.game--counting .number-tile{height:112px;font-size:56px}@keyframes equalizer{to{transform:scaleY(.5)}}@keyframes celebrate{35%{transform:translateY(-9px)scale(1.08)rotate(-2deg)}65%{transform:translateY(0)scale(.97)rotate(2deg)}}@keyframes wobble{25%,75%{transform:translate(-4px)}50%{transform:translate(4px)}}@keyframes confetti-pop{12%{opacity:1}to{opacity:0;transform:translate(calc(-50% + var(--x)), 180px) rotate(var(--r))}}@media (width<=600px){.game-header{height:78px;padding:0 20px}.brand img{width:135px}.brand>span{display:none}.header-tools{gap:8px}.game{padding:14px 20px 0}h1{font-size:32px}.play-area{margin-top:20px}.prompt{margin-bottom:16px;font-size:13px}.number-art{margin-bottom:12px}.choices{gap:14px;margin-top:24px}.number-tile{height:145px;font-size:56px}.game-footer{margin-top:4px;padding:16px 20px}dialog{padding:24px}.game--counting h1{font-size:28px}.game--counting .play-area{margin-top:24px}.counting-objects{gap:10px;max-width:340px;min-height:150px;padding:12px 0}.counting-object{flex-basis:50px;width:50px;height:50px}.game--counting .number-tile{height:100px;font-size:46px}.game--color .number-tile svg{width:85px;height:110px}}@media (width<=360px){.game{padding-left:14px;padding-right:14px}.number-tile{height:125px;font-size:44px}.score{padding:8px 10px}.range-label{font-size:11px}.range-label strong{margin-left:3px}.counting-object{flex-basis:44px;width:44px;height:44px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
