@font-face{font-family:Inter;src:url(fonts/Inter-Regular.ttf) format('truetype');font-display:swap}@font-face{font-family:Inter;src:url(fonts/Inter-SemiBold.ttf) format('truetype');font-weight:600 900;font-display:swap}
:root{font-family:Inter,Arial,sans-serif;color:#344626;background:#ecf3da;font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100svh;background:radial-gradient(ellipse at 50% 42%,#ffffee,transparent 65%),linear-gradient(#edf4df,#e1edc2);overflow-x:hidden}button,a,input,select{-webkit-tap-highlight-color:transparent}button,input,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #287cad;outline-offset:4px}header{display:flex;justify-content:flex-end;padding:18px 24px;max-width:1060px;margin:auto}.language-label{display:flex;align-items:center;gap:8px;font-size:12px;color:#617449}select,.soft{border:0;border-radius:15px;background:#fff9;box-shadow:0 4px #435b2417;padding:10px 15px;color:inherit;min-height:42px}.primary{display:inline-block;text-align:center;border:0;border-radius:16px;padding:14px 25px;background:#6d8e42;box-shadow:0 4px #4e6b2e;color:white;font-weight:600;text-decoration:none;min-height:48px}.primary:active,.soft:active{transform:translateY(2px)}main{max-width:1060px;margin:auto;padding:22px 22px 50px}h1,h2,p{margin:0}#home{text-align:center}.welcome-row{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:12px}.welcome-row h1{font-size:clamp(18px,4vw,24px);max-width:90%;line-height:1.45}.icon-button{width:38px;min-height:38px;padding:9px;flex:none}.icon-button svg{width:100%;height:100%;display:block}#today{font-size:18px;font-weight:400;margin:15px 0 35px;color:#63774c}.game-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:24px;justify-items:center}.game-card{display:block;width:100%;max-width:390px;text-decoration:none;text-align:left;border:0;background:#ffffffeb;padding:16px;border-radius:27px;box-shadow:0 8px #6c853512,0 15px 28px #5b722c0b;color:inherit;transition:transform .18s}.game-card:hover{transform:translateY(-4px)}.card-art{height:205px;border-radius:19px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:#f2dfbb}.card-art .mini-board{display:grid;grid-template-columns:repeat(3,46px);gap:5px;padding:7px;background:#aa7846;border-radius:9px;transform:rotate(-7deg);box-shadow:5px 8px #0000000b}.mini-board span{width:46px;height:46px;background:#e7b77d;border-radius:6px;display:grid;place-items:center;box-shadow:inset 3px 3px #ffdfa3,inset -3px -3px #b9824a;font-size:23px;font-weight:600}.mini-board svg{width:34px;height:34px}.card-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:23px 5px 8px}.card-meta strong{font-size:21px;line-height:1.25;display:block}.card-meta small{font-size:12px;color:#7c886b;line-height:1.5;display:block;margin-top:9px}.card-arrow{display:grid;place-items:center;border-radius:50%;background:#6d8e42;color:white;font-size:26px;width:39px;height:39px;flex:none}.pro-badge{position:absolute;right:10px;top:10px;padding:8px 12px;display:flex;align-items:center;gap:9px;border-radius:13px;background:#3b572a;color:white;font-size:14px;font-weight:600}.crown{width:29px;height:25px;fill:#ffd136}.more-games{margin:32px auto 8px}.card-art .picture{width:135px;height:135px}.counting-art{display:flex;gap:4px;padding:20px}.counting-art .picture{width:82px;height:90px}
body.playing header,body.playing #home{display:none}body.playing main{padding:0;max-width:none}#game{min-height:100svh;padding:90px 18px 35px}.game-nav{position:absolute;top:max(15px,env(safe-area-inset-top));left:16px;right:16px;display:flex;justify-content:space-between;align-items:center;gap:8px;max-width:640px;margin:auto;z-index:2;font-size:13px}.levels{display:flex;align-items:center;gap:9px;white-space:nowrap}.levels .soft{padding:8px 12px;font-size:20px}#level-lock[aria-pressed=true]{background:#a8bf7f}.game-content{max-width:510px;min-height:650px;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:15px}#game-title{font-size:clamp(23px,5vw,31px);line-height:1.25;overflow-wrap:anywhere}#status{font-size:15px;line-height:1.55;color:#758263;min-height:24px;width:100%;overflow-wrap:anywhere}#progress{display:flex;gap:8px;min-height:6px}.dot{width:7px;height:7px;border-radius:50%;background:#c0d1a2}.dot.found{background:#639342}#guide{width:100px;height:100px;padding:8px;background:#e4dfed;border-radius:17px;flex:none}#guide svg{width:100%;height:100%}#guide.slide-guide{width:176px;height:auto;padding:12px}#board-frame{background:linear-gradient(135deg,#be945e,#956b40);padding:9px;border:2px solid #9f7c4f;border-radius:19px;box-shadow:0 7px #816039,inset 0 2px #ebcba1;width:100%;flex:none}#board{display:grid;gap:5px}.tile{aspect-ratio:1;min-width:0;border:0;position:relative;border-radius:8px;background:linear-gradient(135deg,#eabf88,#ce9b63);box-shadow:inset 4px 4px #f8d39d,inset -4px -4px #b38049;display:grid;place-items:center;padding:8px;font-size:clamp(20px,6vw,34px);font-weight:600;line-height:1.1;color:#70491f;transition:background .18s,opacity .18s}.tile svg{width:100%;height:100%;max-height:110px}.tile.correct{background:#dcebc4;box-shadow:inset 0 0 0 3px #88ac5d}.tile.inactive{opacity:.35;filter:grayscale(.5)}.tile.wrong,.choice.wrong{background:#ec9c94!important;animation:shake .25s infinite}.tile.vanish>*{visibility:hidden}.tile .monkey{font-size:clamp(25px,7vw,47px)}.tile.blank{background:transparent;box-shadow:none;pointer-events:none}.tile.slide-tile{background:var(--piece);box-shadow:inset 3px 3px #fff5,inset -3px -3px #0002}.target-grid{display:grid;gap:4px}.target-grid span{aspect-ratio:1;border-radius:4px;background:var(--piece)}.target-grid .blank{background:transparent}.tile.question{font-size:clamp(26px,8vw,50px)}#choices{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;width:100%}.choice{border:0;border-radius:13px;background:#fff5df;box-shadow:0 4px #b59361;padding:9px;width:70px;height:70px}.choice svg{width:100%;height:100%}.choice.correct{background:#a8d77b}.game-actions{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:6px}.game-actions .soft{min-width:105px}#help-button{font-size:25px;font-weight:600;min-width:48px}#timer{font-size:42px;color:#6c8843;font-weight:600;font-variant-numeric:tabular-nums}#best{font-size:12px;color:#7a886a}#board-frame.word-frame{background:transparent;border:0;box-shadow:none;max-width:225px;padding:0}#board.word-board{display:block}.picture{display:block;overflow:visible}.picture svg{width:100%;height:100%;display:block}#board.word-board .picture{width:210px;height:210px}.word-slots,.word-bank{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;width:100%}.letter{display:grid;place-items:center;width:clamp(30px,9vw,46px);height:48px;border:0;border-radius:8px;background:#e9bd82;box-shadow:inset 3px 3px #ffe0af,inset -3px -3px #bc874f;font-size:23px;font-weight:600;color:#70491f}.letter.slot{background:#fff4de;border:2px solid #d3b184;box-shadow:none}.letter:disabled{opacity:.38}.word-slots.wrong .slot{background:#edaba1;animation:shake .3s infinite}.flying-letter{position:fixed;z-index:30;pointer-events:none;margin:0}#game.words .game-content{gap:13px}#game.hours #board-frame{max-width:475px}.hour-picture{display:block;width:100%;height:100%;aspect-ratio:1;background-image:url(assets/hourglass.png);background-repeat:no-repeat;background-size:2000% 100%}.tile.hour-cell{padding:3px}.tile.hour-empty{opacity:.48}.hour-picture.turning{animation:hour-turn .4s ease-in-out}.particle{position:fixed;width:10px;height:10px;border-radius:3px;background:var(--color);pointer-events:none;z-index:50;animation:particle .65s ease-out forwards}.selected-pop{animation:chosen .8s ease-in-out forwards}
dialog{border:0;border-radius:24px;padding:26px;width:min(90vw,420px);background:#f7faed;color:#344626;box-shadow:0 20px 80px #25361340}dialog::backdrop{background:#293c2766}dialog form{display:grid;gap:18px}dialog input{width:100%;padding:13px;border:2px solid #a5bb84;border-radius:10px;font-size:21px;text-transform:uppercase}dialog p{font-size:12px;line-height:1.5;color:#738363}#load-error{text-align:center;padding:25px;color:#8c3434}
#reward{position:fixed;inset:0;overflow:hidden;z-index:20;background:linear-gradient(#7bc8f2,#c2ebff);touch-action:manipulation}#skip-reward{position:absolute;right:max(20px,env(safe-area-inset-right));top:max(20px,env(safe-area-inset-top));z-index:24}#reward-count{position:absolute;inset:0;display:grid;place-items:center;color:#2775af;font-size:114px;font-weight:600;pointer-events:none;z-index:21}.cloud{position:absolute;width:160px;height:50px;border-radius:80px;background:#ffffffeb}.cloud:before,.cloud:after{content:'';position:absolute;border-radius:50%;background:inherit;width:80px;height:80px;bottom:8px;left:23px}.cloud:after{width:100px;height:100px;left:65px;bottom:1px}.c1{top:16%;left:-35px}.c2{top:40%;right:-35px;transform:scale(1.3)}.c3{bottom:13%;left:13%;transform:scale(.8)}#balloons{position:absolute;inset:0;pointer-events:none;z-index:22}.balloon{position:absolute;left:0;top:0;width:100px;height:132px;border:0;background:transparent;padding:0;pointer-events:auto;will-change:transform;touch-action:manipulation}.balloon-body{position:absolute;left:8px;top:0;width:84px;height:102px;border-radius:49% 49% 47% 47%;background:radial-gradient(circle at 30% 24%,#fff8 0,transparent 26%),var(--balloon);box-shadow:inset -7px -9px #0002,inset 2px 1px #fff4;pointer-events:none}.balloon-body:before{content:'';position:absolute;left:18px;top:14px;width:13px;height:26px;border-radius:50%;background:#fffc;transform:rotate(35deg)}.balloon-body:after{content:'';position:absolute;bottom:-7px;left:35px;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:9px solid var(--balloon)}.balloon-string{position:absolute;width:18px;height:26px;top:109px;left:49px;border-left:2px solid #658390;border-radius:40%;pointer-events:none}.balloon.popped{pointer-events:none}.balloon.popped .balloon-body,.balloon.popped .balloon-string{display:none}#loss{position:fixed;inset:0;background:#eef3e2ed;z-index:25;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:25px}#sad-face{font-size:150px;color:#e5ad35;line-height:1}#loss-count{font-size:100px;font-weight:600;color:#658741}
.hour-picture{background:none!important;display:block;width:100%!important;height:100%!important;box-shadow:none!important}.hour-picture svg{display:block;width:100%;height:100%;max-height:none}
@keyframes shake{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@keyframes particle{to{transform:translate(var(--dx),var(--dy)) rotate(170deg);opacity:0}}@keyframes hour-turn{from{transform:rotate(180deg)}to{transform:rotate(0)}}@keyframes chosen{20%{transform:translateY(-18px) scale(1.18) rotate(-7deg)}50%{transform:translateY(-5px) scale(1.28) rotate(8deg)}80%{transform:translateY(-16px) scale(1.3) rotate(-5deg)}100%{transform:scale(1.4)}}
@media(min-height:850px){#game{padding-top:120px}.game-content{min-height:calc(100svh - 170px)}}@media(max-width:380px){.game-nav{left:8px;right:8px;gap:4px;font-size:11px}.game-nav .soft{padding:8px}.levels{gap:4px}#game{padding-left:12px;padding-right:12px}.choice{width:56px;height:56px}#timer{font-size:35px}}@media(max-height:700px){#game{padding-top:77px}.game-content{min-height:0;gap:10px}#board-frame{max-width:330px}#guide{width:75px;height:75px}#board.word-board .picture{width:160px;height:160px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.toy-discovery{margin:30px auto 0;padding-top:22px;border-top:1px solid #a9ba8d55}.toy-discovery p{font-size:12px;color:#758568;margin-bottom:12px}.toy-discovery a{display:inline-block;text-decoration:none;font-size:14px;line-height:1.5}

.kidslearn-mascot{display:block;width:clamp(140px,30vw,220px);height:auto;aspect-ratio:1;object-fit:contain;margin:-5px auto 8px;filter:drop-shadow(0 8px 10px #52633b18)}
