@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&display=swap');
*{box-sizing:border-box} :root{font-family:'Baloo 2',ui-rounded,'Trebuchet MS',sans-serif;color:#233b50;background:#fff4d5;font-weight:700}body{margin:0;min-height:100dvh;background:radial-gradient(circle at 15% 13%,#fff 0 3px,transparent 4px),radial-gradient(circle at 80% 70%,#fff 0 4px,transparent 5px),#fff4d5;background-size:67px 67px,93px 93px;display:flex;flex-direction:column}header{display:flex;align-items:center;gap:8px;padding:12px max(12px,env(safe-area-inset-right));background:#fffdf4;border-bottom:4px solid #f4dfac;position:sticky;top:0;z-index:3}.brand{margin-right:auto;line-height:1}.brand small{display:block;font:800 10px/1.6 sans-serif;letter-spacing:2px;color:#647a89}.brand strong{font-size:30px;color:#146b88}.brand span{color:#e66b48}button{font:inherit;color:inherit;cursor:pointer;border:3px solid white;border-radius:19px;background:#fff;min-height:52px;padding:8px 13px;box-shadow:0 4px 0 #d6c79f;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:active{transform:translateY(3px);box-shadow:none}button:focus-visible{outline:4px solid #2058a4;outline-offset:3px}button:disabled{cursor:default;opacity:.75}#home{background:#bdebdc}#mute{background:#ffe48c;font-size:22px}main{width:min(100%,680px);margin:0 auto;padding:18px 14px 28px;flex:1}h1,h2,p{margin:0}h1{font-size:clamp(27px,6vw,39px);line-height:1.15}h2{font-size:24px;line-height:1.1}.hero{text-align:center;margin:6px 0 20px}.eyebrow{font-size:13px;letter-spacing:2px;color:#59767e}.hero p{font-size:18px;margin-top:6px}.grid{display:grid;gap:15px}.module{display:flex;align-items:center;gap:15px;text-align:left;padding:16px;min-height:140px;border:5px solid white;box-shadow:0 7px 0 #d8c59a;border-radius:28px}.module.clockmod{background:#a9e5fb}.module.moneymod{background:#bbefb7}.module .art{width:108px;flex:none;font-size:77px;text-align:center;filter:drop-shadow(0 4px 0 #fff)}.module small{font-size:15px;display:block;color:#365b6a}.module b{font-size:25px;display:block}.badge{display:inline-block;background:#fff;border-radius:20px;padding:4px 12px;font-size:14px}.level{display:flex;align-items:center;text-align:left;gap:13px;background:#fff;border:4px solid white;padding:13px;min-height:80px}.level .num{width:48px;height:48px;background:#b7e8ff;display:grid;place-items:center;border-radius:15px;font-size:27px}.level .desc{flex:1}.level small{display:block;color:#52717a}.back{background:#fff0aa;margin-bottom:15px}.progress{display:flex;align-items:center;gap:7px;margin:3px 0 13px}.dot{height:13px;flex:1;border-radius:20px;background:#e4d5ae;border:2px solid white}.dot.done{background:#58c88c}.dot.current{background:#ffaf42}.instruction{background:white;border:4px solid #fff;border-radius:24px;padding:13px;display:flex;gap:12px;align-items:center;box-shadow:0 4px 0 #e2d1a6;margin-bottom:16px}.instruction h1{flex:1;font-size:clamp(21px,5vw,27px)}.speak{background:#ffdf77;font-size:24px;min-width:56px}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.choice{background:#e4f5fb;min-height:82px;font-size:24px;padding:10px;display:grid;place-items:center;border:4px solid white}.choice:nth-child(2n){background:#e5f6c8}.choice:nth-child(3n){background:#ffe3bb}.clock{width:100%;max-width:190px;display:block;margin:auto}.bigclock{width:min(75vw,260px);margin:8px auto}.bigclock .clock{max-width:none}.panel{background:#fffdf4;border:4px solid white;border-radius:25px;padding:14px;text-align:center;margin-bottom:15px}.hands{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.control{display:grid;grid-template-columns:54px 1fr 54px;align-items:center;gap:5px;background:#fff;border-radius:16px;padding:5px;margin-bottom:8px}.control button{font-size:28px;background:#d5edff}.primary{background:#55c88a;border:4px solid white;color:#153d36;font-size:23px;width:100%;margin-top:12px;min-height:60px}.moneyrow{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:9px}.money{display:inline-flex;align-items:center;justify-content:center;position:relative;border:4px solid white;box-shadow:0 3px 0 #a6a096;font-weight:800;line-height:1;overflow:hidden;flex:none}.coin{width:68px;height:68px;border-radius:50%;background:#e6d8ae;color:#654a27;box-shadow:inset 0 0 0 4px #c9ad79,0 3px 0 #a6a096;flex-direction:column;font-size:24px}.coin small{font-size:12px}.note{width:110px;height:62px;border-radius:12px;background:#9cd2ee;color:#165a7b;font-size:25px}.note:before,.note:after{content:'✦';font-size:16px;opacity:.65;margin:4px}.note.v500{background:#a8e5b5;color:#205e45}.note.v1000{background:#ffc1cd;color:#844151}.v50{background:#f9d773}.wallet{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.wallet button{padding:4px;background:#fff9e4;display:grid;place-items:center;min-height:78px}.wallet .note{width:100%;max-width:110px;font-size:20px}.item{font-size:75px;line-height:1.15}.price{display:inline-block;background:#ffe38a;border:3px solid white;border-radius:14px;padding:4px 15px;font-size:25px}.total{font-size:26px}.secondary{background:#ffdb9c;margin:7px}.feedback{min-height:30px;text-align:center;color:#267454;font-size:20px;margin-top:10px}.celebrate{text-align:center;background:#d9f8d5;border:5px solid white;border-radius:28px;padding:22px 15px;margin-top:14px;box-shadow:0 5px 0 #b4d8ad}.celebrate .star{font-size:88px;line-height:1.2}.reveal{font-size:30px;color:#245b80}.shake{animation:shake .35s ease}@keyframes shake{25%,75%{transform:translateX(-5px)}50%{transform:translateX(5px)}}#confetti{pointer-events:none;position:fixed;inset:0;overflow:hidden;z-index:5}#confetti i{position:absolute;top:-20px;font-size:24px;animation:fall 1.2s ease-in forwards}@keyframes fall{to{transform:translateY(110vh) rotate(460deg);opacity:0}}footer{text-align:center;color:#66777c;padding:12px;font-size:13px} @media(min-width:560px){.module{min-height:165px}.choices{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
