/* A sunny garden, with the learning target kept in the foreground. */
:root{color:#314d42;--ink:#314d42;--muted:#637566;--green:#44845c;background:#fffdf5}
.home-screen,.end-screen{background:linear-gradient(180deg,#f1fbfa 0%,#fffdf5 58%,#fff9e8 100%);isolation:isolate}
.garden-scenery{position:absolute;bottom:0;left:0;width:100%;height:170px;z-index:-1;pointer-events:none}
.happy-sun{position:absolute;right:9%;top:115px;color:#f9bc44;font:110px/1 Nunito,sans-serif;transform:rotate(-12deg);z-index:-1}
.home-screen:before,.home-screen:after{content:'';position:absolute;width:110px;height:28px;background:#fff;border-radius:100%;box-shadow:26px -14px 0 1px #fff;z-index:-1;top:175px;left:6%}
.home-screen:after{top:245px;left:auto;right:4%;transform:scale(.7)}
.home-main{padding-bottom:76px}.home-intro h1{line-height:1.13;color:#314d42}.home-intro h1 span{color:#3e9163}
.home-intro p,.home-footer{color:#5e7564}.eyebrow{color:#607c63}.header-caption{color:#6b8370}.wordmark .icon{color:#469160}
.quiet-button{color:#617760;background:#ffffffbd;border-color:#d8e5d3}.header-title{color:#617760}
.topic-grid{max-width:790px;gap:30px;margin-top:32px}.topic-card{min-height:320px;border:2px solid #dbc9fa;background:linear-gradient(150deg,#f1e9ff,#e8d7fc);box-shadow:0 9px 0 #cbb0ee,0 17px 28px #7a629519;overflow:hidden}
.topic-card.numbers{background:linear-gradient(150deg,#fff1ca,#ffe2ac);border-color:#f3d494;box-shadow:0 9px 0 #e7c177,0 17px 28px #a7854217}
.topic-symbol{color:#8257b5;text-shadow:0 4px 0 #ffffffa6}.topic-card.numbers .topic-symbol{color:#b6782b}.topic-symbol small{opacity:.85}
.topic-card h2{color:#604687}.topic-card.numbers h2{color:#916024}.topic-card p{color:#765a92}.topic-card.numbers p{color:#8b692e}
.topic-decoration{position:absolute;left:27px;top:19px;font-size:32px;transform:rotate(-14deg)}.topic-arrow{color:#685881;background:#fff9;width:42px;height:42px}
.topic-card.numbers .topic-arrow{color:#a17b30}.tiny-kiki{width:90px;height:115px;bottom:19px;right:8%;opacity:1}
.home-footer{font-size:12px;position:relative;font-weight:800;padding-bottom:25px}
.picker-screen{background:radial-gradient(ellipse at 50% 37%,var(--tint),#fffdf5 67%)}.picker-subtitle,.game-info p,.picker-position{color:#6b7d63}
.game-card{border:2px solid #e4e7d6;box-shadow:0 8px 0 #e2e9d5,0 16px 40px #6582570d}.game-info h2{color:#405b47}
.carousel-arrow{color:#527849;border-color:#d0dfc5;box-shadow:0 4px 0 #dbe6d0}
.primary{background:#44865b;box-shadow:0 5px 0 #316a43}.primary:hover{background:#39784f}
.play-screen{background:radial-gradient(ellipse at 50% 47%,#fffefb 35%,var(--tint) 160%)}.focus-heading{color:#526d50}.focus-feedback{color:#63785b}.focus-feedback.success{color:#397d48}.focus-feedback.retry{color:#886235}
.choice-button{color:#7952a0}.choice-button:nth-child(2){color:#567d41}.choice-button:nth-child(3){color:#956d2e}
.session-dots{gap:14px;padding:12px 0 22px}.session-dots i{display:grid;place-items:center;font-style:normal;background:transparent!important;width:25px;height:29px;font-size:23px;opacity:.4;filter:grayscale(.6)}
.session-dots .current{opacity:.85;filter:none}.session-dots .done{opacity:1;filter:none}
.focus-main,.end-main{position:relative}.celebration{position:absolute;left:50%;top:44%;width:1px;height:1px;pointer-events:none;z-index:2}
.celebration i{position:absolute;display:block;width:11px;height:19px;background:var(--petal);border-radius:4px;opacity:0;transform:rotate(var(--angle));animation:petal-burst 1.2s ease-out forwards}
@keyframes petal-burst{0%{opacity:0;transform:rotate(var(--angle)) translateY(-60px) scale(.4)}25%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateY(-250px) rotate(110deg)}}
.reward{border:3px solid #f9dfa1;background:#fff2c8;box-shadow:0 8px 0 #f2db9d;margin-top:22px;animation:reward-arrive .6s ease-out}.end-main h1{color:#3b7752}.end-main p{color:#64775e}.end-main .text-link{color:#4c7154}
@keyframes reward-arrive{0%{transform:scale(.5) rotate(-15deg)}65%{transform:scale(1.1) rotate(5deg)}100%{transform:scale(1) rotate(0)}}
.memory-stage{height:auto;min-height:0;flex-direction:column;gap:22px;padding:16px 0}
.memory-board{display:grid;grid-template-columns:repeat(2,minmax(0,175px));gap:22px;width:min(100%,372px)}
.memory-board.six-cards{grid-template-columns:repeat(3,minmax(0,160px));width:min(100%,524px)}
.memory-card{position:relative;aspect-ratio:1.15;border-radius:25px;border:3px solid #e6c16f;background:repeating-linear-gradient(45deg,#ffe4a5 0 13px,#ffebb9 13px 26px);box-shadow:0 6px 0 #d8b562;display:grid;place-items:center;min-width:0}
.memory-card span{font-size:48px;line-height:1;font-weight:900}.memory-card.is-open{background:#fffdf5;border-color:#bc9adf;box-shadow:0 6px 0 #bea5d4;color:#78559c}
.memory-card.is-open span{font-size:75px}.memory-card.is-matched{background:#e3f2d7;border-color:#a5c889;box-shadow:0 6px 0 #a0c384;color:#46733b}
.memory-card small{position:absolute;right:10px;top:8px;font-size:20px}.activity-caption{font-size:14px;font-weight:800;color:#687d55}
.twins-prompt,.twins-reveal{display:flex;align-items:center;justify-content:center;gap:40px;color:#8056a4;font-weight:900}
.twins-prompt{height:min(29cqh,240px);font-size:clamp(125px,23cqh,200px)}.twins-prompt i,.twins-reveal i{font-size:35px;font-style:normal;color:#e69baa}.twin-missing{color:#c9b8d7}
.twins-reveal{font-size:clamp(120px,22cqw,250px)}
.basket-stage{height:auto;min-height:0;flex-direction:column;gap:14px;margin-top:16px;max-width:620px}
.basket-request{display:flex;align-items:center;justify-content:center;gap:18px}.basket-request>span{width:55px;height:72px}.basket-request svg{width:100%;height:100%}.basket-request p{padding:8px 25px;background:#edf5df;border:2px solid #d5e5c2;border-radius:22px;font-size:22px;font-weight:800}.basket-request strong{font-size:45px;color:#51813e}
.fruit-basket{min-height:139px;width:min(100%,480px);border:3px solid #e6bd78;border-bottom-width:12px;border-radius:22px 22px 55px 55px;background:linear-gradient(#fff9e8,#f9e7bf);display:flex;flex-wrap:wrap;justify-content:center;align-content:center;gap:4px;padding:12px 20px}
.fruit-basket>span{font-size:45px;line-height:1.2}.fruit-basket .empty-basket{font-size:70px;opacity:.7}.fruit-basket.full-basket>span{font-size:31px}
.basket-controls{display:flex;align-items:center;justify-content:center;gap:25px}.basket-adjust{height:63px;width:75px;border-radius:18px;font-size:40px;line-height:1;background:#f6ddda;color:#ad685e;box-shadow:0 5px 0 #dfb9b4;border:2px solid #ebccc7}
.basket-adjust.add-fruit{background:#e2efcf;border-color:#cbdfb0;box-shadow:0 5px 0 #b7cf99;color:#517a3c}.basket-adjust:disabled{opacity:.4;box-shadow:none}
.basket-controls output{min-width:63px;font-size:48px;font-weight:900;text-align:center;color:#538341}.basket-check{min-height:51px;font-size:15px;padding:11px 24px}
.memory-preview span{font-size:60px;font-weight:900;background:#fffaf0;color:#8c62b1;border:2px solid #d4b9e7;border-radius:17px;padding:12px 15px;box-shadow:0 5px 0 #d4b9e7;transform:rotate(8deg)}
.memory-preview span:first-child{font-size:37px;background:#ffe5aa;border-color:#e8c575;transform:rotate(-12deg);box-shadow:0 5px 0 #e8c575}
.twins-preview span{font-size:130px;font-weight:900;color:#8861af}.twins-preview i{font-size:30px;color:#de91a5;font-style:normal}
.basket-preview>span{font-size:135px;font-weight:900;color:#648b48}.basket-preview>div{font-size:31px;text-align:center;letter-spacing:-8px}.basket-preview b{display:block;font-size:100px;line-height:1;letter-spacing:0}
@container kp-stage (max-height:730px) and (min-width:701px){.home-main{padding-bottom:35px}.topic-grid{margin-top:22px}.topic-card{min-height:260px}.garden-scenery{height:120px}.happy-sun{top:105px;font-size:85px}.memory-board{grid-template-columns:repeat(2,145px);width:312px;gap:18px}.memory-board.six-cards{grid-template-columns:repeat(3,145px);width:471px}.memory-stage{gap:13px;padding:8px 0}.basket-stage{gap:8px;margin-top:5px}.basket-request>span{height:53px}.basket-request p{font-size:18px}.basket-request strong{font-size:33px}.fruit-basket{min-height:105px}.fruit-basket>span{font-size:36px}.fruit-basket.full-basket>span{font-size:27px}.basket-adjust{height:51px}.basket-controls output{font-size:39px}.basket-check{min-height:46px}.twins-prompt{height:175px;font-size:155px}}
@container kp-stage (max-width:800px){.happy-sun{right:4%;font-size:75px;top:100px}.home-intro h1{font-size:43px}.topic-card{min-height:290px}.topic-decoration{font-size:25px;left:18px;top:15px}}
@container kp-stage (max-width:540px){.home-main{padding:30px 18px 65px}.home-intro h1{font-size:40px}.home-intro p{font-size:13px;max-width:280px;margin:auto}.home-intro .eyebrow{font-size:8px;letter-spacing:1.4px}.happy-sun{top:93px;right:5%;font-size:44px}.topic-grid{gap:17px;margin-top:29px}.topic-card{min-height:245px;padding:37px 8px 22px}.topic-card h2{font-size:20px}.topic-card p{font-size:10px;max-width:110px;line-height:1.5}.topic-decoration{font-size:23px;left:13px;top:12px}.topic-symbol{font-size:87px}.topic-symbol small{font-size:58px}.home-footer{font-size:10px}.garden-scenery{height:120px}.home-screen:before{top:242px;left:-45px;transform:scale(.6)}.home-screen:after{display:none}.home-main+.home-footer{padding-bottom:37px}.memory-board{gap:15px;max-width:320px}.memory-board.six-cards{gap:12px;max-width:340px}.memory-card{border-radius:20px}.memory-card.is-open span{font-size:62px}.six-cards .memory-card.is-open span{font-size:48px}.six-cards .memory-card span{font-size:34px}.memory-card small{font-size:14px;right:7px;top:5px}.memory-stage{padding:15px 7px}.twins-prompt{font-size:155px;gap:24px;height:210px}.twins-reveal{gap:18px;font-size:130px}.twins-reveal i{font-size:22px}.basket-stage{padding:0 10px}.basket-request{gap:12px}.basket-request p{font-size:18px;padding:6px 16px}.basket-request strong{font-size:36px}.fruit-basket{padding:12px;min-height:145px}.fruit-basket>span{font-size:37px}.fruit-basket.full-basket>span{font-size:29px}.basket-adjust{width:70px;height:58px}.memory-preview{gap:11px}.memory-preview span{font-size:41px;padding:10px;border-radius:13px}.memory-preview span:first-child{font-size:24px}.twins-preview span{font-size:94px}.twins-preview i{font-size:20px}.basket-preview>span{font-size:97px}.basket-preview>div{font-size:22px}.basket-preview b{font-size:74px}.end-main .eyebrow{letter-spacing:1.5px}}
@media(prefers-reduced-motion:reduce){.celebration{display:none}.reward{animation:none}}
