@charset "UTF-8";html,body{height:100%;margin:0;min-width:320px;overflow:hidden;overscroll-behavior:none;background:#101828}body{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}app-root{display:block;height:100%;overscroll-behavior:none}app-counting-game .counting-game,app-target-game .target-game,app-world-map .map{width:min(100%,720px);margin-inline:auto}app-target-game .target-game{position:relative;overflow:hidden}@media(min-width:721px){app-counting-game .counting-game,app-target-game .target-game,app-world-map .map{box-shadow:0 0 40px #08152f99}}app-counting-game,app-target-game,app-world-map{position:relative;isolation:isolate;background:transparent!important}app-counting-game:before,app-target-game:before,app-world-map:before{content:"";position:fixed;z-index:-1;inset:0;background:#102552 center/cover no-repeat;filter:none;transform:none;pointer-events:none}app-counting-game:before,app-target-game:before{background-image:url(/assets/game/backgrounds/background-castle.png)}app-counting-game .moving-item.knight{bottom:calc(10% + var(--lane) * 6%)!important;animation-name:varied-knight-run!important}app-counting-game .moving-item.raven{top:calc(12% + var(--lane) * 7%)!important}app-counting-game .moving-item.shield{bottom:calc(9% + var(--lane) * 7%)!important}app-counting-game .moving-item.key{top:calc(14% + var(--lane) * 8%)!important}@keyframes varied-knight-run{0%{transform:translate(0) translateY(0)}18%,22%,48%,52%,78%,82%{transform:translate(calc(22vw + var(--lane) * 14vw)) translateY(-9px)}to{transform:translate(145vw) translateY(0)}}app-world-map:before{background-image:url(/assets/game/ui/loading-worlds-v2.png)}button,input{font:inherit}button{cursor:pointer}app-world-map header button{width:36px!important;height:36px!important;font:900 22px/1 system-ui!important;text-align:center!important}app-world-hub header a{box-sizing:border-box!important;font-size:0!important;text-align:center!important;padding:0!important}app-world-hub header a:before{content:"\2190";display:block;font:900 23px/1 system-ui;transform:translateY(3px)}app-world-hub .game-gate{width:clamp(84px,24vw,125px)!important;animation:hub-gate-pulse 1.5s ease-in-out infinite alternate}app-world-hub .game-gate>span:first-child{inset:5%!important}app-world-hub .game-gate>span:last-child,app-world-hub .coming small{display:none!important}app-world-hub .coming{width:clamp(84px,24vw,125px)!important;aspect-ratio:1;gap:0!important}app-world-hub .coming:before{content:"";position:absolute;left:-13%;top:-13%;display:block;width:126%;height:126%;background:url(/assets/game/ui/game-gate-golden-ring.png) center/contain no-repeat}app-world-hub .coming>span{display:none!important}app-world-hub .targets{left:20%!important;top:44%!important}app-world-hub .counting{left:65%!important;top:28%!important}app-world-hub .yard[style*=world-castle-training-yard] .game-gate{top:63%!important}app-world-hub .yard[style*=world-forest-training-camp] .game-gate{top:70%!important}app-world-hub .yard[style*=world-forest-training-camp] .targets{top:50%!important}app-world-hub .yard[style*=world-forest-training-camp] .coming:before{background-image:url(/assets/game/ui/game-gate-apple-basket.png)}app-world-hub .yard[style*=world-ladybug-burrow] .coming:before{background-image:url(/assets/game/ui/game-gate-ladybug-tree.png)}app-world-hub .yard[style*=world-ladybug-burrow] .counting{left:76%!important;top:18%!important}app-world-hub .yard[style*=world-ladybug-burrow] .targets{left:56%!important;top:76%!important}app-world-hub .yard[style*=world-mushroom-forest] .coming:before{background-image:url(/assets/game/ui/game-gate-mushroom-wreath.png)}app-world-hub .yard[style*=world-mushroom-forest] .counting{left:75%!important;top:24%!important}app-world-hub .yard[style*=world-mushroom-forest] .targets{left:68%!important;top:78%!important}@keyframes hub-gate-pulse{to{filter:drop-shadow(0 0 7px #fff0a0) drop-shadow(0 0 15px #ffcf4f);transform:translate(-50%,-50%) scale(1.06)}}app-target-game .target.hit{position:relative;animation:target-break .65s cubic-bezier(.16,.82,.3,1) forwards;box-shadow:0 6px #7c2e38,0 0 22px #dfff78!important}app-target-game .target.hit:after{content:"";position:absolute;inset:-35%;background:repeating-conic-gradient(from 0deg,transparent 0 13deg,#fff2a4 14deg 18deg,transparent 19deg 35deg);animation:target-sparks .48s ease-out both;pointer-events:none}app-target-game .target.wrong{filter:none!important;opacity:1!important;animation:target-wrong .58s ease-in-out both}@keyframes target-wrong{0%,to{filter:none;transform:translate(0)}15%,48%,76%{filter:brightness(1.35) saturate(1.8) drop-shadow(0 0 9px #ff3e3e);background-color:#ff3434;transform:translate(-5px)}30%,62%,88%{filter:brightness(.75) saturate(2) drop-shadow(0 0 4px #e50028);background-color:#9c1028;transform:translate(5px)}}@keyframes target-break{0%{opacity:1;transform:scale(1) rotate(0);filter:brightness(1.2)}35%{opacity:1;transform:scale(1.14) rotate(-5deg);filter:brightness(1.8) drop-shadow(0 0 14px #fff49b)}to{opacity:0;transform:scale(.35) rotate(24deg);filter:brightness(1.4)}}@keyframes target-sparks{0%{opacity:1;transform:scale(.2) rotate(0)}to{opacity:0;transform:scale(1.25) rotate(45deg)}}app-target-game .cannon{left:50%!important;bottom:3%!important;width:clamp(145px,42vw,240px)!important;height:clamp(145px,42vw,240px)!important;background:transparent!important;box-shadow:none!important;rotate:0deg!important;transform:translate(-50%) rotate(var(--ballista-angle, 0deg))!important;transform-origin:50% 68%!important;pointer-events:none}app-target-game .cannon:before{content:"";position:absolute;inset:0;background:url(/assets/game/ui/castle-ballista-topdown.png) center/contain no-repeat}app-target-game .question{top:43%!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff7c8;background:none;-webkit-background-clip:border-box;background-clip:border-box;-webkit-text-stroke:0;opacity:.98;font-size:clamp(38px,10.5vw,58px)!important;text-shadow:none;transform:translate(-50%) perspective(360px) rotateX(48deg) scaleX(.9)!important;transform-origin:top center}app-target-game .targets{top:15%!important}app-target-game .cannon:after{content:"";position:absolute;z-index:2;top:-16%;bottom:0;left:25%;width:50%;background:url(/assets/game/ui/castle-ballista-bolt.png) center/contain no-repeat;filter:drop-shadow(0 2px 1px rgba(53,33,19,.6));pointer-events:none}app-target-game .ball{display:none!important;width:60px;height:300px;margin:-150px 0 0 -30px;background:transparent;color:transparent!important;font-size:0!important;animation:ballista-bolt-flight .6s cubic-bezier(.18,.72,.3,1) both;transform-origin:50% 50%}app-target-game .ball-arrow{position:absolute;inset:0;display:block;background:url(/assets/game/ui/castle-ballista-bolt.png) center/contain no-repeat;filter:drop-shadow(0 2px 1px rgba(53,33,19,.6));transform-origin:50% 50%}app-target-game .cannon.shooting:after{animation:loaded-bolt-flight var(--bolt-duration, .6s) cubic-bezier(.18,.72,.3,1) both}@keyframes loaded-bolt-flight{0%{transform:translateY(0)}to{transform:translateY(calc(-1 * var(--bolt-distance, 0px)))}}@keyframes ballista-bolt-flight{0%{transform:translate(calc(-50% + var(--flight-x, 0px)),calc(-50% + var(--flight-y, 0px))) scale(.68)}to{transform:translate(-50%,-50%) scale(1)}}app-target-game .cannon .barrel,app-target-game .cannon .wheel,app-target-game .cannon span{display:none}app-target-game .aim-line{left:50%!important;bottom:20%!important}app-target-game .touch-controls{position:absolute;z-index:30!important;right:max(30px,env(safe-area-inset-right) + 12px);bottom:max(30px,env(safe-area-inset-bottom) + 12px);left:auto!important;width:clamp(82px,23vw,116px);display:block!important;align-items:end;justify-content:space-between;pointer-events:none;visibility:visible!important;opacity:1!important}app-target-game .joystick,app-target-game .fire-button{display:grid!important;place-items:center;padding:0!important;width:clamp(82px,23vw,116px);aspect-ratio:1;border:3px solid #fff8c7;border-radius:50%;background:#18355ab8;box-shadow:inset 0 0 0 4px #09213c88,0 4px #102444;pointer-events:auto;touch-action:none}app-target-game .joystick{position:relative}app-target-game .joystick{background:transparent!important;box-shadow:none!important}app-target-game .joystick:before{content:"";position:absolute;inset:18%;border:2px solid rgba(255,255,255,.4666666667);border-radius:50%}app-target-game .joystick i{position:absolute;top:50%;left:50%;width:36%;aspect-ratio:1;border:3px solid #fff9cb;border-radius:50%;background:radial-gradient(circle at 35% 30%,#d8f7ff,#4f9fd3 70%);box-shadow:0 3px #286392;transform:translate(-50%,-50%);margin:0}app-target-game .fire-button{display:none!important}app-target-game .fire-button{position:relative;font-size:0!important;color:#fff;background:radial-gradient(circle at 35% 28%,#ffdb7d,#e76636 68%,#96333b);line-height:1;text-indent:4px}app-target-game .fire-button:after{content:"";position:absolute;top:50%;left:50%;width:46%;aspect-ratio:1;border:3px solid #fff8d2;border-radius:50%;background:linear-gradient(90deg,transparent 46%,#fff8d2 46% 54%,transparent 54%),linear-gradient(transparent 46%,#fff8d2 46% 54%,transparent 54%);box-sizing:border-box;transform:translate(-50%,-50%);filter:drop-shadow(0 2px 1px #7c2e2f)}
