@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/fredoka-hebrew-wght-normal-DdnsCkLr.woff2)format("woff2-variations");unicode-range:U+307-308,U+590-5FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/fredoka-latin-ext-wght-normal-CYrqKuxd.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fredoka Variable;font-style:normal;font-display:swap;font-weight:300 700;src:url(/assets/fredoka-latin-wght-normal-DM6njrJ3.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--sky:#8ed6f8;--grass:#9bd873;--grass-shadow:#86c75f;--purple:#7255d6;--purple-ink:#5a3fbf;--lavender:#e7e0ff;--dot:#dcd6ee;--white:#fff;--ink:#3b2e5a;--yellow:#ffd447;--radius:28px;--gutter:16px}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}html{overscroll-behavior:none;touch-action:manipulation}html.no-page-scroll{overflow:hidden}body{background:var(--grass);color:var(--ink);-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;overscroll-behavior:none;font-family:Fredoka Variable,Fredoka,system-ui,sans-serif}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}a:focus-visible,button:focus-visible{outline:4px solid var(--purple);outline-offset:4px;border-radius:20px}svg{display:block}.visually-hidden:where(:not(:focus-within,:active)){clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.screen{height:100dvh;background:var(--sky);flex-direction:column;block-size:100dvh;inline-size:100%;display:flex}.page>.screen{height:auto;block-size:auto;min-height:100dvh;min-block-size:100dvh}.header{background:var(--white);border-radius:0 0 var(--radius) var(--radius);padding:max(env(safe-area-inset-top), 8px) var(--gutter) 8px;z-index:2;flex:none;position:relative}@media (width>=640px){.header{padding:max(env(safe-area-inset-top), 12px) clamp(16px, 3vw, 40px) 12px}}.header-inner{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;width:100%;margin:0 auto;display:grid}.header-inner>:first-child{justify-self:start}.header-right{justify-content:flex-end;align-items:center;gap:10px;display:flex}.icon-btn,.icon-btn-spacer{width:clamp(44px,6.5dvh,56px);height:clamp(44px,6.5dvh,56px)}.icon-btn{background:var(--lavender);color:var(--purple);border-radius:18px;place-items:center;transition:transform .15s;display:grid}.icon-btn svg{width:30px;height:30px}.icon-btn:active{transform:scale(.92)}.logo{-webkit-user-drag:none;justify-self:center;margin:0;line-height:0}.logo img{width:auto;height:clamp(52px,9dvh,84px);display:block}.dots{flex-wrap:wrap;justify-content:flex-end;justify-self:end;gap:4px;display:flex}@media (width>=640px){.dots{gap:6px}.dot{width:14px;height:14px}}.dot{background:var(--dot);border-radius:50%;width:10px;height:10px;transition:background .3s,transform .3s}.dot.on{background:var(--purple);transform:scale(1.1)}@media (width<=639px) and (orientation:portrait){.header-inner{row-gap:6px}.header-inner>:first-child{grid-area:1/1}.logo{grid-area:1/2}.header-right{display:contents}.header-right>.icon-btn,.header-right>.icon-btn-spacer{grid-area:1/3;justify-self:end}.header .time-badge{grid-area:2/1;justify-self:start;gap:5px;font-size:22px}.header .time-badge svg{width:22px;height:22px}.header .dots{flex-wrap:nowrap;grid-area:2/2/3/4;justify-self:end}.header-inner>.icon-btn-spacer:first-child:has(~.header-right>.time-badge){display:none}.header-inner>.icon-btn-spacer:first-child~.header-right>.time-badge{grid-area:1/1}}@media (orientation:landscape){.header--game{padding:max(env(safe-area-inset-top), 12px) max(env(safe-area-inset-right), clamp(12px, 2vw, 28px)) 0 max(env(safe-area-inset-left), clamp(12px, 2vw, 28px));pointer-events:none;background:0 0;border-radius:0;position:absolute;inset:0 0 auto}.header--game .header-inner{align-items:center;gap:10px;display:flex}.header--game .header-right{display:contents}.header--game .dots,.header--game .header-right>.icon-btn:not(.dots~*){margin-left:auto}.header--game .dot{width:10px;height:10px}.header--game .time-badge{background:var(--white);border-radius:999px;padding:6px 14px 6px 8px;font-size:clamp(22px,3.6dvh,28px)}.header--game .logo{display:none}.header--game .icon-btn,.header--game .header-right>*{pointer-events:auto}.header--game .icon-btn{background:var(--white);box-shadow:0 4px #3b2e5a24}.header--game .dots{background:var(--white);border-radius:999px;flex-wrap:nowrap;gap:4px;padding:8px 12px}.header--game~.sky{padding-top:max(env(safe-area-inset-top), 12px)}.header--game~.sky .prompt-text{font-size:clamp(22px,2.75vw,34px)}.header--game~.sky .cloud-b{display:none}.header--game~.sky--empty .sky-content{min-height:clamp(44px,6.5dvh,56px)}}@media (orientation:landscape) and (width<=899px){.header--game~.sky:not(.sky--empty){padding-top:calc(max(env(safe-area-inset-top), 12px) + clamp(44px, 6.5dvh, 56px) + 8px)}}.sky{padding:clamp(10px, 2dvh, 24px) var(--gutter) clamp(24px, 4.5dvh, 40px);flex:none;position:relative;overflow:clip}:root{--empty-sky:clamp(14px, 2.2dvh, 24px)}.sky--empty{min-height:var(--empty-sky);padding-top:0;padding-bottom:0}.sky--empty+.ground .hills{height:var(--empty-sky)}.sky-content{z-index:1;justify-content:center;display:flex;position:relative}.cloud{height:auto;position:absolute}.cloud-a{width:110px;animation:14s ease-in-out infinite alternate drift;top:70%;right:6%}.cloud-b{width:70px;animation:18s ease-in-out infinite alternate-reverse drift;top:8%;left:4%}.ground{background:var(--grass);min-height:0;padding:8px var(--gutter) max(env(safe-area-inset-bottom), 12px);flex-direction:column;flex:1;display:flex;position:relative}@media (width>=640px){.ground{padding:12px clamp(16px, 3vw, 40px) max(env(safe-area-inset-bottom), 20px)}}.hills{width:100%;height:clamp(28px,4.5dvh,56px);position:absolute;bottom:calc(100% - 1px);left:0;right:0}.ground-content{flex-direction:column;flex:1;width:100%;min-height:0;display:flex;position:relative}.prompt{background:var(--white);border-radius:999px;align-items:center;gap:clamp(10px,2.5vw,16px);max-width:100%;padding:6px clamp(18px,4vw,28px) 6px 6px;display:flex}.prompt--text-only{padding:clamp(10px,1.8dvh,14px) clamp(22px,4.5vw,34px)}.speaker-btn{background:var(--purple);width:clamp(44px,7dvh,60px);height:clamp(44px,7dvh,60px);color:var(--white);border-radius:50%;flex:none;place-items:center;transition:transform .15s;display:grid}.speaker-btn svg{width:32px;height:32px}.speaker-btn:active{transform:scale(.9)}.prompt-divider{background:var(--dot);border-radius:2px;align-self:stretch;width:3px;margin:6px 0}.prompt-text{color:var(--purple-ink);white-space:nowrap;font-size:clamp(24px,6vw,34px);font-weight:600}.hello{color:var(--white);-webkit-text-stroke:0;text-shadow:0 3px 0 var(--purple-ink);margin:8px 0 0;font-size:clamp(32px,8vw,48px);font-weight:650}.field{flex:1;grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;min-height:0;display:grid}@media (width>=640px){.field{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 32px}}.animal{place-items:center;width:100%;min-width:0;height:100%;min-height:0;animation:3s ease-in-out infinite bob;display:grid;position:relative}.animal:after{content:"";background:var(--grass-shadow);z-index:0;border-radius:50%;width:56%;height:10%;position:absolute;bottom:4%;left:50%;transform:translate(-50%)}.animal>svg,.animal>img{z-index:1;object-fit:contain;-webkit-user-select:none;user-select:none;width:100%;min-width:0;height:100%;min-height:0;transition:transform .15s;position:relative}.animal:active>svg,.animal:active>img{transform:scale(.94)}.animal.wiggle{animation:.5s ease-in-out wiggle}.animal.found{animation:none}.animal.found>svg:first-child,.animal.found>img:first-child{animation:.5s ease-out 3 hop}.animal.cleared{cursor:default;animation:none}.animal.cleared:after{display:none}.animal.cleared>svg{max-width:clamp(72px,14vmin,140px);max-height:clamp(72px,14vmin,140px);animation:.4s cubic-bezier(.3,1.6,.6,1) pop}.animal>.sparkles{z-index:2;pointer-events:none;width:100%;max-width:none;height:100%;max-height:none;margin:auto;animation:.6s ease-out both sparkle;position:absolute;inset:0}.home{--home-bleed:var(--gutter);flex-direction:column;gap:clamp(20px,3dvh,32px);width:100%;min-width:0;max-width:1200px;margin:0 auto;display:flex}@media (width>=640px){.home{--home-bleed:clamp(16px, 3vw, 40px)}}.home-card{color:inherit;-webkit-user-drag:none;text-decoration:none;transition:transform .15s}.home-card:active{transform:scale(.97)}.home-hero{border-radius:var(--radius);background:var(--purple);color:var(--white);box-shadow:0 6px 0 var(--purple-ink);align-items:center;gap:clamp(12px,2.5vw,20px);padding:clamp(14px,2.5vw,20px);display:flex}.home-hero .game-card-art{background:var(--white);border-radius:22px;width:clamp(96px,22vw,132px);height:clamp(96px,22vw,132px);padding:10px}.home-hero-text{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.home-hero-label{letter-spacing:.04em;text-transform:uppercase;color:var(--lavender);font-size:clamp(13px,2vw,16px);font-weight:600}.home-hero-title{font-size:clamp(22px,4vw,32px);font-weight:650;line-height:1.1}.home-hero-sub{color:var(--lavender);font-size:clamp(15px,2vw,17px)}.home-hero-play{background:var(--yellow);width:clamp(52px,9vw,72px);height:clamp(52px,9vw,72px);color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.home-hero-play svg{width:45%;height:45%;margin-left:3px}.home-filters{scrollbar-width:none;margin:-6px calc(-1 * var(--home-bleed)) calc(-1 * clamp(6px, 1dvh, 14px));padding:4px var(--home-bleed) 10px;gap:10px;display:flex;overflow-x:auto}.home-filters::-webkit-scrollbar{display:none}@media (width>=768px){.home-filters{flex-wrap:wrap}}.home-chip{min-height:48px;font:inherit;background:var(--white);color:var(--ink);box-shadow:0 4px 0 var(--grass-shadow);cursor:pointer;border:0;border-radius:999px;flex:none;align-items:center;gap:8px;padding:4px 18px 4px 6px;font-size:clamp(16px,2vw,18px);font-weight:600;transition:transform .15s,background .15s;display:flex}.home-chip:active{transform:translateY(2px)}.home-chip[aria-pressed=true]{background:var(--purple);color:var(--white);box-shadow:0 4px 0 var(--purple-ink)}.home-chip-icon{background:var(--white);border-radius:50%;flex:none;width:38px;height:38px;padding:4px}.home-chip-icon svg,.home-chip-icon img{object-fit:contain;width:100%;height:100%;display:block}.home-grid{grid-template-columns:repeat(auto-fill,minmax(clamp(140px,18vw,190px),1fr));gap:clamp(12px,1.6vw,16px);display:grid}.game-tile{border-radius:var(--radius);background:var(--white);text-align:center;box-shadow:0 5px 0 var(--grass-shadow);flex-direction:column;gap:8px;padding:8px 8px 12px;display:flex}.game-tile-media{flex-direction:column;display:flex;position:relative}.game-tile .game-card-art{aspect-ratio:6/5;border-radius:20px;width:100%;height:auto;padding:14%}.game-tile--catch .game-card-art{background:#fff1d6}.game-tile--think .game-card-art{background:#dcf5ef}.game-tile--paint .game-card-art{background:#ffe9d1}.game-tile-title{color:var(--purple-ink);font-size:clamp(16px,2vw,20px);font-weight:650;line-height:1.15}.mode-badge{z-index:2;color:var(--white);background:#6a4fd0;border-radius:999px;align-items:center;gap:4px;padding:3px 9px 3px 7px;font-size:13px;font-weight:600;line-height:1.2;display:flex;position:absolute;top:8px;left:8px}.mode-badge svg{width:13px;height:13px}.mode-badge--catch{background:#a84506}.mode-badge--think{background:#0e6f68}.mode-badge--paint{background:#b0185a}.game-card-art{background:var(--lavender);border-radius:20px;flex:none;width:clamp(52px,8.5dvh,80px);height:clamp(52px,8.5dvh,80px);padding:6px}.game-card-art svg,.game-card-art img{object-fit:contain;width:100%;height:100%}.cp{flex-direction:column;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden;container-type:size}.game-tile .game-card-art.cp{padding:32px 10px 10px}.home-hero .game-card-art.cp{background:#ede8ff;padding:8px}.cp-sparkles{pointer-events:none;z-index:4;opacity:0;width:124%;height:124%;position:absolute;inset:-12%}.game-tile .cp--find,.home-hero .cp--find{background:linear-gradient(#b8e7ff 0% 28%,#9bd873 28% 100%)}.cp-find-grid{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:5%;width:100%;height:100%;display:grid}.cp-find-cell{place-items:center;min-width:0;min-height:0;display:grid;position:relative}.cp-find-cell:after{content:"";background:var(--grass-shadow);z-index:0;border-radius:50%;width:62%;height:14%;position:absolute;bottom:2%;left:50%;transform:translate(-50%)}.cp-find-pic{z-index:1;place-items:center;width:90%;height:90%;display:grid;position:relative}.cp-find-pic>img,.cp-find-pic>svg{object-fit:contain;width:100%;height:100%}.cp-find-star{z-index:2;opacity:0;place-items:center;display:grid;position:absolute;inset:14%;transform:scale(.4)}.cp-find-star>svg{width:100%;height:100%}@media (prefers-reduced-motion:no-preference){.cp-find-cell--target .cp-find-pic{animation:3.4s ease-in-out infinite cp-find-pic}.cp-find-sparkles{animation:3.4s ease-out infinite cp-find-sparkle}.cp-find-star{animation:3.4s ease-in-out infinite cp-find-star}}@keyframes cp-find-pic{0%,24%{opacity:1;transform:translateY(0)scale(1)}32%{opacity:1;transform:translateY(-16%)scale(1.12)}40%{opacity:1;transform:translateY(0)scale(1)}48%{opacity:1;transform:translateY(-12%)scale(1.06)}56%,86%{opacity:0;transform:scale(.4)}94%,to{opacity:1;transform:translateY(0)scale(1)}}@keyframes cp-find-sparkle{0%,26%{opacity:0;transform:scale(.5)}36%{opacity:1;transform:scale(1.1)}52%,to{opacity:0;transform:scale(1.25)}}@keyframes cp-find-star{0%,52%{opacity:0;transform:scale(.35)}62%,84%{opacity:1;transform:scale(1)}92%,to{opacity:0;transform:scale(.35)}}.game-tile .game-card-art.cp--falling,.home-hero .game-card-art.cp--falling{background:linear-gradient(#b8e7ff 0%,#d8f2ff 78%,#9bd873 78% 100%);padding:0}.cp-fall-lane{aspect-ratio:1;width:34%;position:absolute;top:0}.cp-fall-lane--left{left:4%;transform:translateY(25%)}.cp-fall-lane--center{left:33%;transform:translateY(85%)}.cp-fall-lane--right{right:4%;transform:translateY(135%)}.cp-fall-pop-wrap,.cp-fall-body{place-items:center;width:100%;height:100%;display:grid;position:relative}.cp-fall-body>img,.cp-fall-body>svg{object-fit:contain;filter:drop-shadow(0 2px 3px #3b2e5a2e);width:100%;height:100%}@media (prefers-reduced-motion:no-preference){.cp-fall-lane--left{animation:3.4s linear -.6s infinite cp-fall-down}.cp-fall-lane--right{animation:3.8s linear -2.1s infinite cp-fall-down}.cp-fall-lane--center{animation:3.2s linear infinite cp-fall-center}.cp-fall-body{animation:1.8s ease-in-out infinite alternate cp-fall-sway}.cp-fall-body--pop{animation:3.2s ease-out infinite cp-fall-pop}.cp-fall-sparkles{animation:3.2s ease-out infinite cp-fall-sparkle}}@keyframes cp-fall-down{0%{transform:translateY(-105%)}to{transform:translateY(310%)}}@keyframes cp-fall-center{0%{transform:translateY(-100%)}52%{transform:translateY(105%)}to{transform:translateY(105%)}}@keyframes cp-fall-sway{0%{transform:translate(-6%)rotate(-5deg)}to{transform:translate(6%)rotate(5deg)}}@keyframes cp-fall-pop{0%,48%{opacity:1;transform:scale(1)}58%{opacity:1;transform:scale(1.28)}72%,to{opacity:0;transform:scale(.3)}}@keyframes cp-fall-sparkle{0%,50%{opacity:0;transform:scale(.4)}60%{opacity:1;transform:scale(1.15)}76%,to{opacity:0;transform:scale(1.3)}}.cp--paint{flex-direction:row;gap:6%}.cp-paint-canvas{background:var(--white);border:2px solid #7255d638;border-radius:12px;flex:1;place-items:center;min-width:0;height:100%;padding:5%;display:grid;box-shadow:0 3px #5a3fbf24}.cp-paint-svg{width:100%;height:100%}.cp-paint-fill--1{fill:#f778b8}.cp-paint-fill--2{fill:#ffd43b}.cp-paint-fill--3{fill:#3d94ff}.cp-paint-fill--4{fill:#4ccb5a}.cp-paint-swatches{flex-direction:column;flex:none;justify-content:space-between;align-items:center;width:18%;height:92%;display:flex}.cp-paint-dot{aspect-ratio:1;border:2px solid var(--white);border-radius:50%;width:100%;box-shadow:0 1px 2px #3b2e5a33}.cp-paint-dot--1{background:#f778b8}.cp-paint-dot--2{background:#ffd43b}.cp-paint-dot--3{background:#3d94ff}.cp-paint-dot--4{background:#4ccb5a}@media (prefers-reduced-motion:no-preference){.cp-paint-fill--1{animation:4s ease-out infinite cp-paint-fill-1}.cp-paint-fill--2{animation:4s ease-out infinite cp-paint-fill-2}.cp-paint-fill--3{animation:4s ease-out infinite cp-paint-fill-3}.cp-paint-fill--4{animation:4s ease-out infinite cp-paint-fill-4}.cp-paint-dot--1{animation:4s ease-in-out infinite cp-paint-dot-1}.cp-paint-dot--2{animation:4s ease-in-out infinite cp-paint-dot-2}.cp-paint-dot--3{animation:4s ease-in-out infinite cp-paint-dot-3}.cp-paint-dot--4{animation:4s ease-in-out infinite cp-paint-dot-4}}@keyframes cp-paint-fill-1{0%,10%{opacity:0}16%,86%{opacity:1}94%,to{opacity:0}}@keyframes cp-paint-fill-2{0%,26%{opacity:0}32%,86%{opacity:1}94%,to{opacity:0}}@keyframes cp-paint-fill-3{0%,42%{opacity:0}48%,86%{opacity:1}94%,to{opacity:0}}@keyframes cp-paint-fill-4{0%,58%{opacity:0}64%,86%{opacity:1}94%,to{opacity:0}}@keyframes cp-paint-dot-1{0%,8%,24%,to{transform:scale(1)}15%{transform:scale(1.28)}}@keyframes cp-paint-dot-2{0%,24%,40%,to{transform:scale(1)}31%{transform:scale(1.28)}}@keyframes cp-paint-dot-3{0%,40%,56%,to{transform:scale(1)}47%{transform:scale(1.28)}}@keyframes cp-paint-dot-4{0%,56%,72%,to{transform:scale(1)}63%{transform:scale(1.28)}}.play-btn{background:var(--purple);width:clamp(44px,7dvh,60px);height:clamp(44px,7dvh,60px);color:var(--white);border-radius:50%;flex:none;place-items:center;display:grid}.play-btn svg{width:28px;height:28px;margin-left:3px}.notice{background:var(--white);text-align:center;border-radius:16px;max-width:480px;margin:16px auto 0;padding:12px 16px;font-size:16px}h1.hello{text-align:center;line-height:1.15}.page>.screen--hub{min-height:0;min-block-size:0}.hub-grid{grid-template-columns:repeat(auto-fit,minmax(clamp(140px,18vw,190px),220px));justify-content:center;padding-bottom:clamp(16px,3dvh,32px)}h1.hello--hub{max-width:900px;padding:0 var(--gutter);font-size:clamp(26px,5.5vw,40px)}.landing-hero{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:clamp(10px,2dvh,20px);min-height:0;display:flex}.landing-art.animal{aspect-ratio:1;flex:0 auto;width:auto;height:clamp(120px,32dvh,280px)}.btn.btn-play{justify-content:center;align-items:center;gap:12px;min-height:72px;padding:0 44px;font-size:28px;text-decoration:none;display:inline-flex}.btn-play svg{width:26px;height:26px}.landing-sub{color:var(--purple-ink);margin:0;font-size:20px;font-weight:600}.info{background:var(--white);padding:32px var(--gutter) max(40px, env(safe-area-inset-bottom));-webkit-user-select:text;user-select:text}.info-inner{max-width:720px;margin:0 auto}.info h1{color:var(--purple-ink);margin:0 0 12px;font-size:clamp(26px,5vw,36px);line-height:1.2}.info h2{color:var(--purple-ink);margin:28px 0 10px;font-size:22px}.info h3{color:var(--purple-ink);margin:18px 0 6px;font-size:18px}.info p,.info li{color:#5b5378;margin:0 0 10px;font-size:17px;line-height:1.55}.info .info-lead{color:var(--ink);font-size:19px}.info ol{margin:0;padding-left:1.4em}.link-list{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.info .link-list li{margin:0}.link-list a{background:var(--lavender);color:var(--purple-ink);border-radius:999px;padding:8px 16px;font-weight:600;text-decoration:none;display:inline-block}.link-list a[aria-current=page]{background:var(--purple);color:var(--white)}.landing-hero .link-list{justify-content:center}.win{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:12px;display:flex}.win>svg{animation:.5s cubic-bezier(.3,1.6,.6,1) pop,3s ease-in-out .5s infinite bob}.win-title{color:var(--purple-ink);margin:0;font-size:clamp(28px,7vw,40px);font-weight:650}.win-actions{gap:12px;margin-top:8px;display:flex}.btn{background:var(--white);min-height:60px;color:var(--purple-ink);border-radius:999px;padding:0 28px;font-size:22px;font-weight:600;transition:transform .15s}.btn-primary{background:var(--purple);color:var(--white)}.btn:active{transform:scale(.95)}.confetti{pointer-events:none;z-index:30;width:100%;height:100%;position:fixed;inset:0}.modal-backdrop{z-index:50;padding:var(--gutter);background:#3b2e5a73;place-items:center;display:grid;position:fixed;inset:0}.modal{background:var(--white);border-radius:var(--radius);text-align:center;width:100%;max-width:420px;padding:24px 20px 20px;animation:.25s cubic-bezier(.3,1.4,.6,1) pop}.modal-title{color:var(--purple-ink);margin:0 0 16px;font-size:28px;font-weight:650}.age-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.age-btn{aspect-ratio:1;background:var(--lavender);color:var(--purple-ink);border-radius:16px;place-items:center;font-size:20px;font-weight:650;transition:transform .15s,background .15s,color .15s;display:grid}.age-btn:active{transform:scale(.92)}.age-btn.active{background:var(--purple);color:var(--white)}.modal{max-height:calc(100dvh - 32px);overflow-y:auto}.sound-check-btn{background:var(--white);min-height:44px;color:var(--purple-ink);border-radius:999px;align-items:center;gap:6px;padding:0 16px;font-size:16px;font-weight:600;transition:transform .15s;display:inline-flex}.sound-check-btn:active{transform:scale(.95)}.sound-check-result{background:var(--white);text-align:left;border-radius:18px;flex-basis:100%;margin:2px 0 6px;padding:12px 14px}.sound-check-result.bad{background:#ffe3e3}.sound-check-result.good{background:#e3f7e6}.sound-check-title{color:var(--purple-ink);margin:0 0 6px;font-size:16px;font-weight:650}.sound-check-tip{color:#5b5378;margin:0 0 6px;font-size:14px;line-height:1.4}.sound-check-meta{color:#7b7396;margin:8px 0 0;font-size:12px}.settings-modal{text-align:left;padding:22px 16px 16px}.settings-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.settings-header .modal-title{margin:0;font-size:26px}.settings-done{background:var(--purple);min-height:44px;color:var(--white);border-radius:999px;flex-shrink:0;padding:0 20px;font-size:17px;font-weight:600;transition:transform .15s}.settings-done:active{transform:scale(.95)}.settings-list{background:#f5f2ff;border-radius:22px;overflow:hidden}.settings-section+.settings-section{border-top:1px solid #e2dcf5}.settings-row{width:100%;min-height:64px;color:var(--ink);text-align:left;align-items:center;gap:8px;padding:8px 12px;display:flex}button.settings-row:focus-visible{outline-offset:-4px}.settings-row-sound{flex-wrap:wrap}.settings-icon{background:var(--purple);width:32px;height:32px;color:var(--white);border-radius:50%;flex-shrink:0;place-items:center;margin-right:2px;display:grid}.settings-row-label{flex-direction:column;flex:1;min-width:0;font-size:17px;font-weight:600;line-height:1.25;display:flex}.settings-row-sub{color:#5e5478;font-size:13px;font-weight:500}.settings-row-value{white-space:nowrap;color:var(--purple-ink);text-align:right;font-size:15px;font-weight:600}.settings-chevron{color:var(--purple-ink);flex-shrink:0;transition:transform .2s}.settings-chevron.open{transform:rotate(180deg)}.settings-panel{padding:0 12px 14px;animation:.2s ease-out settings-reveal}.settings-panel .age-btn,.settings-panel .time-btn,.settings-panel .lang-btn:not(.active){background:var(--white)}.settings-panel .age-btn.active,.settings-panel .time-btn.active{background:var(--purple)}.settings-panel .age-grid,.settings-panel .time-grid{gap:6px}.settings-panel .age-btn{aspect-ratio:auto;border-radius:14px;height:44px}.settings-panel .time-btn{padding:4px 2px;font-size:14px}.settings-note{color:#5e5478;margin:12px 0 0;font-size:14px;line-height:1.4}.settings-note strong{color:var(--ink);font-weight:600}@keyframes settings-reveal{0%{opacity:0;transform:translateY(-6px)}}.in-app-banner{left:0;right:0;bottom:max(16px, env(safe-area-inset-bottom));z-index:60;width:min(460px, calc(100% - 2 * var(--gutter)));border-radius:var(--radius);background:var(--white);color:var(--ink);text-align:center;margin:0 auto;padding:18px 18px 14px;animation:.35s cubic-bezier(.3,1.4,.6,1) pop;position:fixed;box-shadow:0 10px 32px #3b2e5a4d}.in-app-banner-close{width:40px;height:40px;color:var(--purple-ink);border-radius:50%;font-size:28px;line-height:1;position:absolute;top:6px;right:8px}.in-app-banner-title{color:var(--purple-ink);margin:0 32px 6px;font-size:20px;font-weight:650}.in-app-banner-text,.in-app-banner-hint{margin:0;font-size:15px;line-height:1.35}.in-app-banner-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin:14px 0 10px;display:flex}.in-app-banner .btn{min-height:48px;padding:0 20px;font-size:17px}.in-app-banner .btn:not(.btn-primary){background:var(--lavender)}.in-app-banner-hint{opacity:.75;font-size:13px}.sound-hint{left:50%;bottom:max(16px, env(safe-area-inset-bottom));z-index:40;background:var(--white);width:max-content;max-width:calc(100% - 32px);color:var(--purple-ink);border-radius:999px;padding:12px 18px;font-size:15px;font-weight:600;position:fixed;transform:translate(-50%);box-shadow:0 6px 20px #3b2e5a40}.modal-done{width:100%}.lang-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.lang-btn{background:var(--lavender);min-height:48px;color:var(--purple-ink);border-radius:16px;place-items:center;padding:4px 8px;font-size:16px;font-weight:600;text-decoration:none;display:grid}.lang-btn.active{background:var(--purple);color:var(--white)}.tap-to-start{z-index:60;padding:var(--gutter);font:inherit;color:var(--white);cursor:pointer;background:#3b2e5a73;border:0;flex-direction:column;justify-content:center;align-items:center;gap:20px;display:flex;position:fixed;inset:0}.tap-to-start-btn{background:var(--purple);border:6px solid var(--white);width:128px;height:128px;box-shadow:0 8px 0 var(--purple-ink);border-radius:50%;place-items:center;animation:.25s cubic-bezier(.3,1.4,.6,1) pop,1.4s ease-in-out .25s infinite tap-pulse;display:grid}.tap-to-start-btn svg{width:60px;height:60px;margin-left:8px}.tap-to-start-label{text-shadow:0 2px 0 var(--purple-ink);font-size:32px;font-weight:600}.tap-to-start:focus-visible .tap-to-start-btn{outline:4px solid var(--yellow);outline-offset:4px}.start-gate-wrap{display:contents}.start-gate{z-index:60;padding:var(--gutter);font:inherit;color:var(--white);cursor:progress;background:#3b2e5a73;border:0;flex-direction:column;justify-content:center;align-items:center;gap:20px;display:flex;position:fixed;inset:0}.start-gate.ready{cursor:pointer}.start-gate:focus-visible .tap-to-start-btn{outline:4px solid var(--yellow);outline-offset:4px}.start-gate-spinner{border:8px solid #ffffff59;border-top-color:var(--white);border-radius:50%;width:72px;height:72px;animation:.9s linear infinite start-gate-spin}.start-gate-bar{background:#ffffff59;border-radius:999px;width:min(260px,70vw);height:14px;overflow:hidden}.start-gate-bar>span{border-radius:inherit;background:var(--yellow);height:100%;transition:width .2s ease-out;display:block}@keyframes start-gate-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.start-gate-spinner{animation-duration:2.5s}}@keyframes tap-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}@keyframes bob{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes wiggle{0%,to{transform:rotate(0)}20%{transform:rotate(-10deg)}40%{transform:rotate(9deg)}60%{transform:rotate(-6deg)}80%{transform:rotate(4deg)}}@keyframes hop{0%,to{transform:translateY(0)scale(1)}40%{transform:translateY(-18%)scale(1.1)}}@keyframes pop{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes sparkle{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1.05)}}@keyframes drift{0%{transform:translate(0)}to{transform:translate(-24px)}}@keyframes fall-down{0%{transform:translateY(-115%)}to{transform:translateY(calc(100cqh + 15%))}}@keyframes falling-sway{0%{transform:translate(-8px)rotate(-4deg)}to{transform:translate(8px)rotate(4deg)}}@keyframes falling-pop{0%{opacity:1;transform:scale(1)}45%{opacity:1;transform:scale(1.28)}to{opacity:0;transform:scale(.4)}}.falling-hud{background:var(--white);border-radius:999px;align-items:center;gap:10px;padding:6px 10px;display:inline-flex}.falling-stat{font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;align-items:center;gap:4px;min-height:clamp(36px,5.5dvh,46px);padding:0 12px;font-size:clamp(17px,4vw,22px);font-weight:700;display:inline-flex}.falling-score{background:var(--lavender);color:var(--purple-ink)}.falling-stage{flex:1;width:100%;height:100%;min-height:0;position:relative;overflow:hidden;container-type:size}.falling-item{--fall-size:min(3 * clamp(82px, 18vmin, 136px), 60cqw, 40cqh);top:0;left:calc((100cqw - var(--fall-size)) * var(--lane-x,.5));width:var(--fall-size);height:var(--fall-size);touch-action:manipulation;-webkit-user-select:none;user-select:none;will-change:transform;animation:5.83s linear forwards fall-down;position:absolute}.falling-item:active,.falling-item.popped{animation-play-state:paused}.falling-item.popped{pointer-events:none;z-index:5}.falling-item.hidden-item{pointer-events:none}.falling-item.hidden-item .falling-item-body{filter:brightness(0)opacity(.25)drop-shadow(0 6px 10px #3b2e5a00)}.falling-item-body{filter:brightness()opacity()drop-shadow(0 6px 10px #3b2e5a2e);place-items:center;width:100%;height:100%;transition:filter .25s ease-out;animation:2.6s ease-in-out infinite alternate falling-sway;display:grid;position:relative}.falling-item-body>svg,.falling-item-body>img{object-fit:contain;pointer-events:none;width:100%;height:100%}.falling-item-body>.sparkles{z-index:2;pointer-events:none;width:100%;height:100%;margin:auto;animation:.6s ease-out both sparkle;position:absolute;inset:0}.falling-item.popped .falling-item-body{animation:.55s cubic-bezier(.3,1.6,.6,1) forwards falling-pop}.paint-screen{background:linear-gradient(#8fd3fb 0%,#bce7ff 62%,#d4f1ff 100%);position:relative;overflow:hidden}.paint-cloud{z-index:0;pointer-events:none;opacity:.72;position:absolute}.paint-cloud-a{width:clamp(100px,12vw,160px);animation:16s ease-in-out infinite alternate drift;top:12px;left:28%}.paint-cloud-b{width:clamp(76px,9vw,120px);animation:20s ease-in-out infinite alternate-reverse drift;top:38px;right:32%}.paint-backdrop-hills{z-index:0;pointer-events:none;height:clamp(96px,20dvh,190px);position:absolute;bottom:0;left:0;right:0}.paint-backdrop-hills svg{width:100%;height:100%}.paint-topbar{z-index:2;padding:max(env(safe-area-inset-top), 10px) clamp(12px, 2.5vw, 28px) 6px;flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex;position:relative}.paint-brand{border-radius:18px;align-items:center;line-height:0;transition:transform .15s;display:inline-flex}.paint-brand:active{transform:scale(.95)}.paint-brand img{width:auto;height:clamp(44px,7.5dvh,68px);display:block}.paint-topbar-actions{align-items:center;gap:clamp(8px,1.2vw,14px);display:flex}.paint-circle-btn{color:#7c7394;background:#fffffff0;border-radius:50%;place-items:center;width:clamp(42px,6dvh,52px);height:clamp(42px,6dvh,52px);transition:transform .15s,opacity .15s,box-shadow .15s;display:grid;box-shadow:0 4px 12px #3b2e5a1f}.paint-circle-btn svg{width:24px;height:24px}.paint-circle-btn:hover:not(:disabled){box-shadow:0 6px 16px #3b2e5a2e}.paint-circle-btn:active:not(:disabled){transform:scale(.92)}.paint-circle-btn:disabled{opacity:.45;cursor:default}.paint-clear-btn{color:#e55b66}.paint-done-btn{min-height:clamp(42px,6dvh,52px);color:var(--white);background:linear-gradient(#7b5ce8 0%,#6545d1 100%);border-radius:999px;align-items:center;gap:8px;padding:0 clamp(16px,2.2vw,24px);font-size:clamp(17px,2.2vw,21px);font-weight:650;transition:transform .15s,box-shadow .15s;display:inline-flex;box-shadow:0 4px #4d31b0,0 8px 16px #5a3fbf40}.paint-done-btn svg{width:20px;height:20px}.paint-done-btn:active{transform:translateY(2px)scale(.97);box-shadow:0 2px #4d31b0,0 4px 10px #5a3fbf33}.paint-workspace{z-index:2;min-height:0;padding:6px clamp(12px, 2.5vw, 28px) max(env(safe-area-inset-bottom), 18px);flex:1;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(12px,2vw,24px);display:grid;position:relative}.paint-sidebar{background:var(--white);border-radius:26px;flex-direction:column;align-items:center;gap:6px;min-height:0;max-height:100%;padding:8px;display:flex;box-shadow:0 10px 28px #3b2e5a1f}.paint-scroll-btn{color:#7b7396;border-radius:12px;flex:none;place-items:center;width:100%;height:28px;transition:background .15s,transform .15s;display:grid}.paint-scroll-btn svg{width:20px;height:20px}.paint-scroll-btn:hover{background:var(--lavender)}.paint-scroll-btn:active{transform:scale(.92)}.paint-template-list{scrollbar-width:none;flex-direction:column;flex:1;gap:8px;min-height:0;padding:3px;display:flex;overflow-y:auto}.paint-template-list::-webkit-scrollbar{display:none}.paint-template-btn{background:var(--white);border:2px solid #e4e8f4;border-radius:18px;flex:none;place-items:center;width:clamp(64px,10dvh,88px);height:clamp(64px,10dvh,88px);padding:6px;transition:transform .15s,border-color .15s,box-shadow .15s;display:grid}.paint-template-btn svg{width:100%;height:100%}.paint-template-btn:active{transform:scale(.94)}.paint-template-btn.active{background:#faf8ff;border:3px solid #966df6;box-shadow:0 0 0 3px #ede5ff}.paint-stage{place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid;container-type:size}.paint-canvas-card{aspect-ratio:1;background:var(--white);border-radius:28px;width:min(100cqw,100cqh);max-width:100%;height:min(100cqw,100cqh);max-height:100%;position:relative;overflow:hidden;box-shadow:0 14px 36px #3b2e5a24}.paint-canvas{touch-action:none;cursor:crosshair;width:100%;height:100%;display:block}.paint-outline-overlay{pointer-events:none;mix-blend-mode:multiply;width:100%;height:100%;position:absolute;inset:0}.paint-tools-panel{background:var(--white);border-radius:28px;flex-direction:column;align-self:center;gap:clamp(12px,2dvh,18px);width:clamp(224px,23vw,272px);padding:clamp(12px,1.8vw,18px);display:flex;box-shadow:0 10px 28px #3b2e5a1f}.paint-tool-row{border-bottom:2px solid #eef1f8;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-bottom:12px;display:grid}.paint-tool-btn{aspect-ratio:1;color:#5b5378;background:#f4f5fa;border:2.5px solid #0000;border-radius:18px;place-items:center;padding:12px;transition:transform .15s,background .15s,border-color .15s,box-shadow .15s;display:grid}.paint-tool-btn svg{width:100%;height:100%}.paint-tool-btn:active{transform:scale(.94)}.paint-tool-btn.active{background:var(--white);border-color:#7d5ae8;box-shadow:0 4px 12px #7255d62e}.paint-palette{grid-template-columns:repeat(4,minmax(0,1fr));justify-items:center;gap:10px;display:grid}.paint-swatch{cursor:pointer;border-radius:50%;width:clamp(38px,4.3vw,48px);height:clamp(38px,4.3vw,48px);transition:transform .15s,box-shadow .15s;position:relative}.paint-swatch:active{transform:scale(.9)}.paint-swatch.is-white{border:2px solid #d9dfec}.paint-swatch.active{box-shadow:0 0 0 3px var(--white), 0 0 0 6px #7d5ae8;transform:scale(1.06)}.paint-swatch-rainbow{background:conic-gradient(#ff4d4d,#ffa24c,#ffd447,#4ccb5a,#3d94ff,#7255d6,#ff77b4,#ff4d4d)}.paint-swatch-rainbow:focus-within{outline:4px solid var(--purple);outline-offset:4px}.paint-color-input{opacity:0;cursor:pointer;border-radius:50%;width:100%;height:100%;position:absolute;inset:0}.paint-size-group{flex-direction:column;gap:8px;display:flex}.paint-size-header{justify-content:space-between;align-items:center;min-height:28px;display:flex}.paint-size-label{color:var(--ink);font-size:16px;font-weight:650}.paint-size-preview{border:2px solid #d9dfec;border-radius:50%;flex:none;transition:width .1s,height .1s}.paint-slider{appearance:none;background:linear-gradient(to right, #8a63f6 0%, #8a63f6 var(--slider-pct,35%), #e5e8f5 var(--slider-pct,35%), #e5e8f5 100%);cursor:pointer;border-radius:999px;width:100%;height:12px}.paint-slider:focus-visible{outline:4px solid var(--purple);outline-offset:4px}.paint-slider::-webkit-slider-thumb{appearance:none;border:3px solid var(--white);background:#8a63f6;border-radius:50%;width:26px;height:26px;transition:transform .12s;box-shadow:0 3px 8px #3b2e5a40}.paint-slider::-webkit-slider-thumb:active{transform:scale(1.12)}.paint-slider::-moz-range-thumb{border:3px solid var(--white);background:#8a63f6;border-radius:50%;width:26px;height:26px;box-shadow:0 3px 8px #3b2e5a40}.paint-done-modal{max-width:440px}.paint-preview-frame{aspect-ratio:1;border:3px solid var(--lavender);background:var(--white);border-radius:22px;width:min(240px,60vw);margin:0 auto 18px;overflow:hidden}.paint-preview-frame img{object-fit:contain;width:100%;height:100%;display:block}.paint-done-actions{flex-direction:column;gap:10px;display:flex}.paint-btn-soft{background:var(--lavender);color:var(--purple-ink)}@media (width<=767px){.paint-brand img{height:clamp(36px,5.5dvh,46px)}.paint-topbar{padding:max(env(safe-area-inset-top), 8px) 10px 4px;gap:8px}.paint-topbar-actions{gap:6px}.paint-circle-btn{width:38px;height:38px}.paint-circle-btn svg{width:20px;height:20px}.paint-done-btn{gap:6px;min-height:38px;padding:0 14px;font-size:16px}.paint-done-btn svg{width:16px;height:16px}.paint-workspace{padding:4px 10px max(env(safe-area-inset-bottom), 10px);grid-template-rows:auto minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:8px}.paint-sidebar{border-radius:20px;flex-direction:row;width:100%;padding:6px}.paint-scroll-btn{width:28px;height:52px}.paint-scroll-btn svg{transform:rotate(-90deg)}.paint-template-list{flex-direction:row;gap:8px;overflow:auto hidden}.paint-template-btn{border-radius:14px;width:54px;height:54px;padding:4px}.paint-canvas-card{border-radius:22px}.paint-tools-panel{border-radius:22px;gap:10px;width:100%;margin-top:0;padding:10px 12px}.paint-tool-row{gap:8px;padding-bottom:8px}.paint-tool-btn{aspect-ratio:auto;border-radius:14px;height:44px;padding:6px}.paint-palette{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.paint-swatch{width:34px;height:34px}.paint-size-group{gap:4px}.paint-size-label{font-size:14px}}@media (prefers-reduced-motion:reduce){:not(.falling-item),:not(.falling-item):before,:not(.falling-item):after{transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.time-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.time-btn{background:var(--lavender);min-height:48px;color:var(--purple-ink);border-radius:16px;padding:4px 6px;font-size:15px;font-weight:650;line-height:1.15;transition:transform .15s,background .15s,color .15s}.time-btn:active{transform:scale(.94)}.time-btn.active{background:var(--purple);color:var(--white)}.time-reset{background:var(--white);color:var(--purple-ink);border-radius:999px;margin-top:10px;padding:6px 14px;font-size:14px;font-weight:600}.gate-intro{color:#7b7396;margin:-6px 0 16px;font-size:16px}.gate-question{color:var(--ink);margin:0 0 16px;font-size:22px;font-weight:650}.gate-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.gate-btn{background:var(--lavender);min-height:60px;color:var(--purple-ink);border-radius:18px;font-size:24px;font-weight:650;transition:transform .15s}.gate-btn:active{transform:scale(.94)}.gate-status{color:var(--purple-ink);border-radius:16px;margin:14px 0 0;padding:10px 14px;font-size:15px;font-weight:600}.gate-status.bad{background:#ffe3e3}.gate-cancel{background:var(--lavender);margin-top:18px}.time-up{--night:#2b2768;z-index:45;padding:max(env(safe-area-inset-top), 24px) var(--gutter) calc(max(env(safe-area-inset-bottom), 16px) + 64px);background:var(--night);color:var(--white);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:clamp(8px,3dvh,28px);display:flex;position:fixed;inset:0;overflow:hidden}.time-up-sky{width:100%;height:min(60dvh,520px);position:absolute;top:0;left:0}.time-up-star{fill:#fff6c9}.time-up-sparkle{fill:var(--yellow)}.time-up-hills{width:100%;height:min(22dvh,200px);position:absolute;bottom:0;left:0}.time-up-copy{flex-direction:column;gap:10px;max-width:420px;animation:.25s cubic-bezier(.3,1.4,.6,1) pop;display:flex;position:relative}.time-up-title{text-wrap:balance;margin:0;font-size:clamp(28px,4.4dvh,38px);font-weight:700;line-height:1.25}.time-up-text{color:var(--lavender);text-wrap:balance;margin:0;font-size:clamp(17px,2.5dvh,21px);font-weight:500;line-height:1.5}.time-up-art{width:min(340px,86vw);height:auto;max-height:34dvh;position:relative;overflow:visible}.time-up-zzz{font-family:Fredoka Variable,Fredoka,system-ui,sans-serif}.time-up-parent{left:50%;bottom:max(env(safe-area-inset-bottom), 20px);min-height:44px;color:var(--lavender);background:#ffffff24;border-radius:999px;align-items:center;gap:8px;padding:0 18px;font-size:15px;font-weight:600;display:inline-flex;position:absolute;transform:translate(-50%)}.time-up-parent svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}@media (prefers-reduced-motion:no-preference){.time-up-star{animation:2.6s ease-in-out infinite time-up-twinkle}.time-up-owl{transform-box:fill-box;transform-origin:50% 100%;animation:3.2s ease-in-out infinite time-up-breathe}.time-up-zzz text{animation:3.2s ease-in-out infinite time-up-zzz}.time-up-zzz text:nth-child(2){animation-delay:.4s}.time-up-zzz text:nth-child(3){animation-delay:.8s}}@keyframes time-up-twinkle{50%{opacity:.35}}@keyframes time-up-breathe{50%{transform:scale(1.03,.98)}}@keyframes time-up-zzz{50%{transform:translateY(-6px)}}.time-badge{color:var(--purple-ink);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none;align-items:center;gap:6px;font-size:clamp(28px,4.6dvh,36px);font-weight:650;line-height:1;display:inline-flex}.time-badge svg{width:32px;height:32px}.time-badge-track{fill:none;stroke:var(--lavender);stroke-width:4px}.time-badge-fill{fill:none;stroke:var(--purple);stroke-width:4px;stroke-linecap:round;transition:stroke-dashoffset .6s}.time-badge-digit{text-align:center;width:.64em;display:inline-block}.time-badge.low{color:#b35900}.time-badge.low .time-badge-fill{stroke:#f08a00}@media (width<=380px){.time-badge{gap:4px;font-size:24px}.time-badge svg{width:24px;height:24px}}.cp-shadow-stage{flex-direction:column;justify-content:space-between;align-items:center;gap:6%;width:100%;height:100%;display:flex}.cp-shadow-target{aspect-ratio:1;background:#ffffffe0;border-radius:12px;place-items:center;height:54%;padding:8%;display:grid;position:relative;overflow:hidden}.cp-shadow-sil,.cp-shadow-color{place-items:center;display:grid;position:absolute;inset:8%}.cp-shadow-sil>img,.cp-shadow-sil>svg,.cp-shadow-color>img,.cp-shadow-color>svg{object-fit:contain;width:100%;height:100%}.cp-shadow-sil{filter:brightness(0);opacity:.78}.cp-shadow-color{opacity:0}.cp-shadow-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:5%;width:100%;height:38%;display:grid}.cp-shadow-opt{place-items:center;min-width:0;height:100%;min-height:0;display:grid}.cp-shadow-opt>img,.cp-shadow-opt>svg{object-fit:contain;width:100%;height:100%}@media (prefers-reduced-motion:no-preference){.cp-shadow-opt--match{animation:3.4s ease-in-out infinite cp-shadow-tap}.cp-shadow-sil{animation:3.4s ease-in-out infinite cp-shadow-sil-out}.cp-shadow-color{animation:3.4s ease-in-out infinite cp-shadow-reveal}.cp-shadow-sparkles{animation:3.4s ease-out infinite cp-shadow-sparkle}}@keyframes cp-shadow-tap{0%,30%,50%,to{transform:scale(1)}38%{transform:scale(1.18)}}@keyframes cp-shadow-sil-out{0%,40%{opacity:.78}50%,84%{opacity:0}94%,to{opacity:.78}}@keyframes cp-shadow-reveal{0%,40%{opacity:0;transform:scale(.92)}50%{opacity:1;transform:translateY(-8%)scale(1.06)}62%,84%{opacity:1;transform:translateY(0)scale(1)}94%,to{opacity:0;transform:scale(.92)}}@keyframes cp-shadow-sparkle{0%,42%{opacity:0;transform:scale(.5)}54%{opacity:1;transform:scale(1.1)}70%,to{opacity:0;transform:scale(1.25)}}.cp-memory-grid{grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:8%;width:88%;height:100%;display:grid}.cp-mem-card{perspective:400px;min-width:0;min-height:0;position:relative}.cp-mem-inner{width:100%;height:100%;transform-style:preserve-3d;display:block;position:relative;transform:rotateY(180deg)}.cp-mem-face{backface-visibility:hidden;border-radius:9px;place-items:center;display:grid;position:absolute;inset:0;box-shadow:0 2px #5a3fbf3d}.cp-mem-back{background:var(--purple);background-image:radial-gradient(#ffffff38 1.5px,#0000 2px);background-size:9px 9px}.cp-mem-back>svg{width:50%;height:50%}.cp-mem-front{background:#eafbef;padding:10%;transform:rotateY(180deg);box-shadow:0 0 0 2px #3ccf6e}.cp-mem-front>img,.cp-mem-front>svg{object-fit:contain;width:100%;height:100%}@media (prefers-reduced-motion:no-preference){.cp-mem-card--flip1 .cp-mem-inner{animation:3.8s ease-in-out infinite cp-mem-flip1}.cp-mem-card--flip2 .cp-mem-inner{animation:3.8s ease-in-out infinite cp-mem-flip2}.cp-mem-front{animation:3.8s ease-in-out infinite cp-mem-match}}@keyframes cp-mem-flip1{0%,10%{transform:rotateY(0)}22%,82%{transform:rotateY(180deg)}94%,to{transform:rotateY(0)}}@keyframes cp-mem-flip2{0%,28%{transform:rotateY(0)}40%,82%{transform:rotateY(180deg)}94%,to{transform:rotateY(0)}}@keyframes cp-mem-match{0%,44%{background:var(--white);box-shadow:0 2px #5a3fbf3d}50%,80%{background:#eafbef;box-shadow:0 0 0 2.5px #3ccf6e}88%,to{background:var(--white);box-shadow:0 2px #5a3fbf3d}}.cp--counting{justify-content:space-between;gap:8%}.cp-count-items{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:5%;width:100%;height:52%;display:grid}.cp-count-tile{background:#ffffffa6;border-radius:10px;place-items:center;min-width:0;height:100%;min-height:0;padding:8%;display:grid;position:relative}.cp-count-tile>img,.cp-count-tile>svg{object-fit:contain;width:100%;height:100%}.cp-count-badge{background:var(--purple);min-width:18px;height:18px;color:var(--white);border-radius:999px;place-items:center;padding:0 3px;font-size:11px;font-weight:700;line-height:1;display:grid;position:absolute;top:-10%;right:-8%}.cp-count-nums{justify-content:center;align-items:center;gap:10%;width:92%;height:40%;display:flex}.cp-count-num{aspect-ratio:1;background:var(--white);height:100%;color:var(--purple-ink);border-radius:50%;place-items:center;font-size:clamp(13px,18cqh,22px);font-weight:700;display:grid;box-shadow:0 2px #5a3fbf38}.cp-count-num--answer{color:var(--white);background:#3ccf6e}@media (prefers-reduced-motion:no-preference){.cp-count-badge--1{animation:3.8s ease-out infinite cp-count-b1}.cp-count-badge--2{animation:3.8s ease-out infinite cp-count-b2}.cp-count-badge--3{animation:3.8s ease-out infinite cp-count-b3}.cp-count-num--answer{animation:3.8s ease-in-out infinite cp-count-ans}}@keyframes cp-count-b1{0%,8%{opacity:0;transform:scale(.3)}14%,86%{opacity:1;transform:scale(1)}94%,to{opacity:0;transform:scale(.3)}}@keyframes cp-count-b2{0%,22%{opacity:0;transform:scale(.3)}28%,86%{opacity:1;transform:scale(1)}94%,to{opacity:0;transform:scale(.3)}}@keyframes cp-count-b3{0%,36%{opacity:0;transform:scale(.3)}42%,86%{opacity:1;transform:scale(1)}94%,to{opacity:0;transform:scale(.3)}}@keyframes cp-count-ans{0%,50%{background:var(--white);color:var(--purple-ink);transform:scale(1)}58%{color:var(--white);background:#3ccf6e;transform:translateY(-14%)scale(1.12)}66%,86%{color:var(--white);background:#3ccf6e;transform:translateY(0)scale(1)}94%,to{background:var(--white);color:var(--purple-ink);transform:scale(1)}}.cp--letters{justify-content:space-between;gap:6%}.cp-letter-card{background:var(--white);border-radius:12px;flex:none;align-items:baseline;gap:.08em;padding:2% 14%;font-size:clamp(18px,28cqh,34px);font-weight:700;line-height:1.1;display:inline-flex;box-shadow:0 3px #5a3fbf33}.cp-letter-upper{color:var(--purple-ink)}.cp-letter-lower{color:#ff5a7a;font-size:.72em}.cp-letter-row{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:5%;width:100%;height:46%;display:grid}.cp-letter-opt{place-items:center;min-width:0;height:100%;min-height:0;display:grid;position:relative}.cp-letter-opt>img,.cp-letter-opt>svg{object-fit:contain;width:100%;height:100%}@media (prefers-reduced-motion:no-preference){.cp-letter-opt--match{animation:3.2s ease-in-out infinite cp-letter-hop}.cp-letter-sparkles{animation:3.2s ease-out infinite cp-letter-sparkle}}@keyframes cp-letter-hop{0%,34%,72%,to{transform:translateY(0)scale(1)}46%{transform:translateY(-18%)scale(1.14)}56%{transform:translateY(0)scale(1)}64%{transform:translateY(-10%)scale(1.06)}}@keyframes cp-letter-sparkle{0%,36%{opacity:0;transform:scale(.5)}48%{opacity:1;transform:scale(1.1)}66%,to{opacity:0;transform:scale(1.25)}}.cp--sorting{justify-content:space-between;gap:6%}.cp-sort-top{place-items:center;width:100%;height:50%;display:grid}.cp-sort-card{z-index:3;aspect-ratio:1;background:#ffffffd9;border-radius:12px;place-items:center;height:100%;padding:8%;display:grid;position:relative;box-shadow:0 2px 6px #3b2e5a29}.cp-sort-card>img,.cp-sort-card>svg{object-fit:contain;width:100%;height:100%}.cp-sort-baskets{grid-template-columns:repeat(2,minmax(0,1fr));gap:8%;width:100%;height:42%;display:grid}.cp-sort-basket{background:var(--white);border:2px dashed var(--dot);border-radius:11px;place-items:center;min-width:0;height:100%;min-height:0;padding:10%;display:grid}.cp-sort-basket>img,.cp-sort-basket>svg{object-fit:contain;width:100%;height:100%}.cp-sort-basket--hit{background:#eafbef;border-style:solid;border-color:#3ccf6e}@media (prefers-reduced-motion:no-preference){.cp-sort-card{animation:3.2s ease-in-out infinite cp-sort-glide}.cp-sort-basket--hit{animation:3.2s ease-in-out infinite cp-sort-hit}}@keyframes cp-sort-glide{0%,16%{opacity:1;transform:translate(0)scale(1)}54%{opacity:1;transform:translate(52%,68%)scale(.55)}66%,88%{opacity:0;transform:translate(52%,68%)scale(.4)}94%{opacity:0;transform:translate(0)scale(.85)}to{opacity:1;transform:translate(0)scale(1)}}@keyframes cp-sort-hit{0%,50%{border-style:dashed;border-color:var(--dot);background:var(--white);transform:scale(1)}58%{background:#eafbef;border-style:solid;border-color:#3ccf6e;transform:scale(1.08)}68%,84%{background:#eafbef;border-style:solid;border-color:#3ccf6e;transform:scale(1)}92%,to{border-style:dashed;border-color:var(--dot);background:var(--white);transform:scale(1)}}.cp--matching{flex-direction:row;justify-content:space-between;align-items:center;gap:6%}.cp-match-grid{flex:1;grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));gap:6%;min-width:0;height:100%;display:grid}.cp-match-cell{background:var(--white);border:1.5px solid #0000;border-radius:8px;place-items:center;min-width:0;min-height:0;padding:8%;display:grid;position:relative;box-shadow:0 2px #5a3fbf24}.cp-match-cell--target{background:#eafbef;border-color:#3ccf6e}.cp-match-cell>img,.cp-match-cell>svg,.cp-match-drag>img,.cp-match-drag>svg{object-fit:contain;width:100%;height:100%}.cp-match-star{aspect-ratio:1;place-items:center;width:34%;display:grid;position:absolute;top:2px;right:2px}.cp-match-star>svg{width:100%;height:100%}.cp-match-tray{background:#e7e0ffeb;border:1.5px solid #ffffffd9;border-radius:10px;flex:none;place-items:center;width:34%;height:86%;padding:5%;display:grid}.cp-match-drag{z-index:3;aspect-ratio:1;background:var(--white);border:2px solid var(--purple);border-radius:8px;place-items:center;width:100%;padding:10%;display:grid;position:relative;box-shadow:0 2px 5px #3b2e5a38}@media (prefers-reduced-motion:no-preference){.cp-match-drag{animation:3.2s ease-in-out infinite cp-match-glide}.cp-match-cell--target{animation:3.2s ease-in-out infinite cp-match-slot}.cp-match-star{animation:3.2s ease-out infinite cp-match-star}}@keyframes cp-match-glide{0%,16%{opacity:1;transform:translate(0)scale(1)}52%{opacity:1;transform:translate(-138%,-56%)scale(.9)}62%,88%{opacity:0;transform:translate(-138%,-56%)scale(.8)}94%{opacity:0;transform:translate(0)scale(.9)}to{opacity:1;transform:translate(0)scale(1)}}@keyframes cp-match-slot{0%,50%{background:var(--white);border-color:#0000}58%,84%{background:#eafbef;border-color:#3ccf6e}92%,to{background:var(--white);border-color:#0000}}@keyframes cp-match-star{0%,52%{opacity:0;transform:scale(.3)}60%,84%{opacity:1;transform:scale(1)}92%,to{opacity:0;transform:scale(.3)}}.game-tile .game-card-art--forest,.home-hero .game-card-art--forest,.game-card-art--forest{background:#b8e8ff;flex-direction:column;justify-content:space-between;padding:28px 8px 6px;display:flex}.home-hero .game-card-art--forest{padding:8px}.game-card-art img.card-forest-bg{object-fit:cover;object-position:center bottom;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.cp-forest-sample{z-index:2;aspect-ratio:1;background:var(--white);border:2px solid var(--lavender);border-radius:9px;place-items:center;height:38%;margin:0 auto;padding:4%;display:grid;position:relative;box-shadow:0 2px 5px #3b2e5a38}.cp-forest-sample>img,.cp-forest-sample>svg{object-fit:contain;width:100%;height:100%}.cp-forest-meadow{z-index:2;width:100%;height:54%;position:relative}.cp-forest-critter{aspect-ratio:1;filter:drop-shadow(0 1px 2px #18341259);place-items:center;width:26%;display:grid;position:absolute}.cp-forest-critter>img,.cp-forest-critter>svg{object-fit:contain;width:100%;height:100%}.cp-forest-critter--1{bottom:4%;left:2%}.cp-forest-critter--2{width:22%;top:2%;left:18%}.cp-forest-critter--3{width:28%;bottom:6%;left:37%}.cp-forest-critter--4{width:22%;top:4%;right:16%}.cp-forest-critter--5{bottom:4%;right:2%}.cp-forest-critter--target{z-index:3;filter:drop-shadow(0 0 4px #ffd447)drop-shadow(0 1px 2px #18341259)}@media (prefers-reduced-motion:no-preference){.cp-forest-critter--target{animation:3.2s ease-in-out infinite cp-forest-find}.cp-forest-sparkles{animation:3.2s ease-out infinite cp-forest-sparkle}}@keyframes cp-forest-find{0%,28%{opacity:1;transform:translateY(0)scale(1)}38%{opacity:1;transform:translateY(-22%)scale(1.16)}48%{opacity:1;transform:translateY(0)scale(1)}58%,82%{opacity:0;transform:scale(.4)}92%,to{opacity:1;transform:translateY(0)scale(1)}}@keyframes cp-forest-sparkle{0%,30%{opacity:0;transform:scale(.5)}42%{opacity:1;transform:scale(1.15)}58%,to{opacity:0;transform:scale(1.3)}}.option-row{grid-template-columns:repeat(var(--cols,3), minmax(0, 1fr));flex:1;gap:8px clamp(8px,2.5vw,28px);min-height:0;display:grid}.option-row[data-count="4"]{--cols:4}@media (width<=480px){.option-row[data-count="4"]{--cols:2;grid-template-rows:repeat(2,minmax(0,1fr))}}.option-row{align-items:center}.animal.option{height:min(100%,clamp(110px,30dvh,300px))}.option-word{z-index:3;background:var(--white);color:var(--purple-ink);white-space:nowrap;border-radius:999px;padding:2px 14px;font-size:clamp(18px,4vw,26px);font-weight:600;animation:.4s cubic-bezier(.3,1.6,.6,1) pop;position:absolute;bottom:10%;left:50%;transform:translate(-50%)}.option-word b{color:#ff5a7a;font-weight:700}.shadow-stage,.letter-stage,.count-stage,.sort-stage{flex-direction:column;flex:1;gap:clamp(8px,2dvh,20px);min-height:0;display:flex}.shadow-target{aspect-ratio:1;border-radius:var(--radius);background:#ffffff73;flex:1.2;align-self:center;place-items:center;max-width:100%;min-height:0;padding:clamp(6px,1.5dvh,16px);animation:.4s cubic-bezier(.3,1.6,.6,1) pop;display:grid;position:relative}.shadow-img,.shadow-img>svg{object-fit:contain;filter:brightness(0)opacity(.78);width:100%;height:100%;min-height:0;transition:filter .5s ease-out}.shadow-target.revealed .shadow-img,.shadow-target.revealed .shadow-img>svg{filter:none;animation:.5s ease-out 2 hop}.shadow-target>.sparkles{pointer-events:none;width:100%;height:100%;animation:.6s ease-out both sparkle;position:absolute;inset:0}.letter-card{border-radius:var(--radius);background:var(--white);color:var(--purple-ink);flex:none;align-self:center;align-items:baseline;gap:.08em;padding:0 .45em;font-size:clamp(56px,13dvh,120px);font-weight:700;line-height:1.15;animation:.4s cubic-bezier(.3,1.6,.6,1) pop;display:flex;box-shadow:0 6px #5a3fbf33}.letter-lower{color:#ff5a7a;font-size:.7em}.count-field{--size:clamp(110px, 34vmin, 200px);flex-wrap:wrap;flex:1;place-content:center;gap:clamp(6px,1.5vmin,16px);min-height:0;display:flex}.count-field[data-count="4"],.count-field[data-count="5"],.count-field[data-count="6"]{--size:clamp(90px, 27vmin, 160px)}.count-field[data-count="7"],.count-field[data-count="8"],.count-field[data-count="9"],.count-field[data-count="10"]{--size:clamp(70px, 20vmin, 124px)}.count-item{width:var(--size);height:var(--size);padding:calc(var(--size) * .06);background:#ffffff59;border-radius:24px;transition:background .2s;animation:.4s cubic-bezier(.3,1.6,.6,1) both pop;position:relative}.count-item>img,.count-item>svg{object-fit:contain;width:100%;height:100%;transition:transform .15s}.count-item:active>img,.count-item:active>svg{transform:scale(.92)}.count-item.counted{background:#ffffffbf}.count-badge{background:var(--purple);min-width:34px;height:34px;color:var(--white);border-radius:999px;place-items:center;padding:0 6px;font-size:20px;font-weight:700;animation:.3s cubic-bezier(.3,1.6,.6,1) pop;display:grid;position:absolute;top:-6px;right:-6px}.number-row{flex:none;justify-content:center;gap:clamp(12px,4vw,32px);display:flex}.number-btn{background:var(--white);width:clamp(68px,11dvh,96px);height:clamp(68px,11dvh,96px);color:var(--purple-ink);border-radius:50%;font-size:clamp(36px,6dvh,52px);font-weight:700;transition:transform .15s,background .2s,color .2s;box-shadow:0 5px #5a3fbf40}.number-btn:active{transform:scale(.92)}.number-btn.wiggle{animation:.5s ease-in-out wiggle}.number-btn.correct{color:var(--white);background:#3ccf6e;animation:.5s ease-out 2 hop}.sort-current{flex:1;place-items:center;min-height:0;display:grid}.sort-card{border-radius:var(--radius);touch-action:none;cursor:grab;background:#ffffff8c;width:clamp(150px,42vmin,260px);height:clamp(150px,42vmin,260px);max-height:100%;padding:clamp(10px,3vmin,20px);transition:transform .6s ease-in,opacity .6s ease-in;animation:.4s cubic-bezier(.3,1.6,.6,1) pop}.sort-card>img,.sort-card>svg{object-fit:contain;pointer-events:none;width:100%;height:100%}.sort-card.dragging{cursor:grabbing;will-change:transform;z-index:5;transition:none;position:relative;box-shadow:0 12px 24px #3c1e7840}.sort-card.wiggle{animation:.5s ease-in-out wiggle}.sort-card.dragging{animation:none}.sort-card.landed--a{opacity:0;transform:translate(-45%,90%)scale(.25)}.sort-card.landed--b{opacity:0;transform:translate(45%,90%)scale(.25)}.basket-row{flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,3vw,32px);width:100%;max-width:760px;margin:0 auto;display:grid}.basket{border-radius:var(--radius);background:var(--white);border:4px dashed var(--dot);text-align:left;grid-template-rows:auto auto;grid-template-columns:auto 1fr;align-items:center;gap:2px 10px;min-height:clamp(96px,17dvh,150px);padding:10px 12px;transition:transform .15s,border-color .2s,background .2s;display:grid}.basket:active{transform:scale(.97)}.basket--hit{background:#eafbef;border-style:solid;border-color:#3ccf6e;animation:.5s ease-out hop}.basket-icon{grid-row:1/span 2;width:clamp(48px,9dvh,76px);height:clamp(48px,9dvh,76px)}.basket-icon>img,.basket-icon>svg{object-fit:contain;width:100%;height:100%}.basket-label{color:var(--purple-ink);font-size:clamp(20px,4vw,28px);font-weight:650}.basket-items{flex-wrap:wrap;gap:2px;min-height:28px;display:flex}.basket-item{width:clamp(24px,4dvh,34px);height:clamp(24px,4dvh,34px);animation:.3s cubic-bezier(.3,1.6,.6,1) pop}.basket-item>img,.basket-item>svg{object-fit:contain;width:100%;height:100%}.memory-grid{--cols:3;--rows:2;grid-template-columns:repeat(var(--cols), minmax(0, 1fr));grid-template-rows:repeat(var(--rows), minmax(0, 1fr));flex:1;gap:clamp(8px,1.8vmin,18px);width:100%;max-width:900px;min-height:0;margin:0 auto;display:grid}.memory-grid[data-count="8"]{--cols:4}.memory-grid[data-count="12"]{--cols:4;--rows:3}@media (width<=640px){.memory-grid{--cols:2;--rows:3}.memory-grid[data-count="8"]{--cols:2;--rows:4}.memory-grid[data-count="12"]{--cols:3;--rows:4}}.memory-card{perspective:800px;min-width:0;min-height:0}.memory-inner{width:100%;height:100%;transform-style:preserve-3d;transition:transform .4s;display:block;position:relative}.memory-card.flipped .memory-inner{transform:rotateY(180deg)}.memory-face{backface-visibility:hidden;border-radius:20px;place-items:center;display:grid;position:absolute;inset:0;box-shadow:0 4px #5a3fbf40}.memory-back{background:var(--purple);background-image:radial-gradient(#ffffff2e 2px,#0000 2.5px);background-size:16px 16px}.memory-front{background:var(--white);padding:clamp(6px,1.5vmin,14px);transform:rotateY(180deg)}.memory-front>img,.memory-front>svg{object-fit:contain;width:100%;height:100%;min-height:0}.memory-card.matched .memory-front{background:#eafbef;box-shadow:0 0 0 4px #3ccf6e}.memory-card.matched{cursor:default}.memory-front>.sparkles{pointer-events:none;width:100%;height:100%;animation:.6s ease-out both sparkle;position:absolute;inset:0}.match-stage{flex-direction:column;flex:1;width:100%;max-width:1080px;min-height:0;margin:0 auto;display:flex;container:match-stage/inline-size}.match-layout{flex:1;grid-template-columns:minmax(0,1fr) clamp(104px,32cqi,152px);align-items:stretch;gap:clamp(8px,2.4cqi,16px);min-height:0;display:grid}.match-board{z-index:1;border-radius:var(--radius);background:#ffffff6b;border:3px solid #ffffffa6;flex-direction:column;min-width:0;min-height:0;padding:clamp(8px,1.8cqi,18px);display:flex;position:relative}.match-grid{--cols:2;--rows:2;grid-template-columns:repeat(var(--cols), minmax(0, 1fr));grid-template-rows:repeat(var(--rows), minmax(0, 1fr));flex:1;gap:clamp(8px,1.8cqi,16px);min-height:0;display:grid}.match-grid[data-count="6"]{--cols:2;--rows:3}.match-grid[data-count="8"]{--cols:2;--rows:4}@container match-stage (inline-size>=600px){.match-layout{grid-template-columns:minmax(0,1fr) clamp(180px,26cqi,260px);gap:clamp(14px,2.5cqi,28px)}.match-grid[data-count="6"]{--cols:3;--rows:2}.match-grid[data-count="8"]{--cols:4;--rows:2}}.match-slot{min-width:0;min-height:0;background:var(--white);border:4px solid #0000;border-radius:clamp(16px,2.4vmin,24px);place-items:center;min-block-size:44px;min-inline-size:44px;padding:clamp(6px,1.6vmin,14px);transition:border-color .18s,background-color .18s;display:grid;position:relative;box-shadow:0 4px #5a3fbf29}.match-slot>img,.match-slot>svg{object-fit:contain;pointer-events:none;-webkit-user-drag:none;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;max-height:100%}.match-slot--over{border:4px dashed var(--purple);background:#f5f2ff}.match-slot--matched{box-shadow:none;cursor:default;background:#eafbef;border:4px solid #3ccf6e}.match-slot--matched>img,.match-slot--matched>svg{opacity:.78}.match-slot--wrong{background:#fff1f4;border-color:#ff6b8a}.match-slot-badge{pointer-events:none;width:clamp(24px,4vmin,36px);height:clamp(24px,4vmin,36px);position:absolute;top:6px;right:6px}.match-slot-badge>svg{width:100%;height:100%}.match-slot>.sparkles{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.match-tray{z-index:2;border-radius:var(--radius);background:#e7e0ffeb;border:3px solid #fffc;flex-direction:column;justify-content:space-between;align-items:center;gap:clamp(8px,1.6dvh,16px);min-width:0;min-height:0;padding:clamp(10px,2cqi,18px) clamp(8px,1.8cqi,16px);display:flex;position:relative;box-shadow:0 5px #5a3fbf29}.match-tray-label{background:var(--purple);color:var(--white);text-align:center;border-radius:999px;padding:clamp(5px,1dvh,8px) clamp(10px,2cqi,18px);font-size:clamp(13px,2.2cqi,18px);font-weight:650;line-height:1.15}.match-tray-body{flex:1;place-items:center;width:100%;min-height:0;display:grid}.match-tray-well{aspect-ratio:1;place-items:center;width:min(100%,28dvh,210px);display:grid;position:relative}.match-tray-well:before{content:"";pointer-events:none;background:#ffffff73;border:3px dashed #7255d659;border-radius:clamp(14px,2.2vmin,22px);position:absolute;inset:4px}.match-card{z-index:3;width:100%;height:100%;background:var(--white);border:4px solid var(--purple);cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;border-radius:clamp(16px,2.4vmin,24px);place-items:center;min-block-size:44px;min-inline-size:44px;padding:clamp(8px,2vmin,18px);display:grid;position:relative;box-shadow:0 6px #5a3fbf38}.match-card-inner{pointer-events:none;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.match-card-inner>img,.match-card-inner>svg{object-fit:contain;pointer-events:none;-webkit-user-drag:none;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;max-height:100%}.match-card.dragging{cursor:grabbing;will-change:transform;z-index:10;box-shadow:0 16px 30px #3b2e5a47}.match-card--landed{opacity:0;pointer-events:none}.match-tray-arrow{color:var(--purple);opacity:.7}@media (prefers-reduced-motion:no-preference){.match-slot{transition:transform .18s,border-color .18s,background-color .18s}.match-slot--over{transform:scale(1.03)}.match-slot--just-matched{animation:.5s ease-out 2 hop}.match-slot--wrong{animation:.5s ease-in-out wiggle}.match-slot-badge{animation:.35s cubic-bezier(.3,1.6,.6,1) pop}.match-slot>.sparkles{animation:.6s ease-out both sparkle}.match-card{transition:transform .32s cubic-bezier(.3,1.3,.5,1),opacity .28s ease-out,box-shadow .2s}.match-card-inner{animation:.38s cubic-bezier(.3,1.6,.6,1) pop}.match-tray-arrow{animation:1.8s ease-in-out infinite match-arrow-nudge}}@media (orientation:portrait){@container match-stage (inline-size<600px){.match-layout{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:clamp(8px,1.6dvh,14px)}.match-tray{box-shadow:none;background:0 0;border:none;border-radius:0;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:clamp(8px,3cqi,16px);padding:0 0 clamp(6px,1.4dvh,14px);display:grid}.match-tray-label{max-width:150px;box-shadow:0 3px 0 var(--purple-ink);justify-self:end;font-size:clamp(12px,3.6cqi,17px)}.match-tray-body{width:auto}.match-tray-well{width:clamp(86px,17dvh,136px)}.match-tray-well:before{background:#ffffff4d;border-color:#ffffffd9}.match-card{border-color:var(--lavender);box-shadow:0 6px #5a3fbf2e,0 10px 20px #3b2e5a1f}.match-tray-arrow{opacity:1;justify-self:start;display:flex;rotate:90deg}}}@keyframes match-arrow-nudge{0%,to{transform:translate(0)}50%{transform:translate(-6px)}}.forest-stage{flex-direction:column;flex:1;width:100%;max-width:1120px;min-height:0;margin:0 auto;display:flex;container:forest-stage/inline-size}.forest-sample-bar{z-index:3;flex:none;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:clamp(6px,2cqi,16px);margin-bottom:-10px;display:grid;position:relative}.forest-sample-callout{flex-direction:column;justify-self:end;align-items:flex-end;gap:2px;display:flex}.forest-sample-badge{background:var(--purple);color:var(--white);text-align:center;box-shadow:0 3px 0 var(--purple-ink);border-radius:999px;max-width:150px;padding:clamp(5px,1dvh,8px) clamp(10px,2.2cqi,16px);font-size:clamp(12px,2.4cqi,17px);font-weight:650;line-height:1.15}.forest-sample-arrow{width:clamp(28px,6cqi,46px);height:auto;color:var(--purple)}.forest-sample-card{width:clamp(86px,16.5dvh,136px);height:clamp(86px,16.5dvh,136px);background:var(--white);border:4px solid var(--lavender);border-radius:clamp(20px,3vmin,28px);place-items:center;min-block-size:44px;min-inline-size:44px;padding:clamp(8px,1.5vmin,14px);transition:transform .15s;display:grid;position:relative;box-shadow:0 6px #5a3fbf2e,0 10px 20px #3b2e5a1f}.forest-sample-card:active{transform:scale(.95)}.forest-sample-inner{pointer-events:none;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.forest-sample-inner>img,.forest-sample-inner>svg{object-fit:contain;pointer-events:none;-webkit-user-drag:none;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;max-height:100%}.forest-sample-rays{pointer-events:none;width:clamp(24px,4.5vmin,34px);height:clamp(24px,4.5vmin,34px);position:absolute;top:-12px;right:-18px}.forest-scene{z-index:1;border-radius:var(--radius);min-height:0;box-shadow:0 8px 0 var(--grass-shadow), 0 12px 24px #22441c24;background:#9bd873;border:4px solid #ffffffeb;flex-direction:column;flex:1;display:flex;position:relative}.forest-bg{border-radius:calc(var(--radius) - 4px);pointer-events:none;z-index:0;position:absolute;inset:0;overflow:hidden}.forest-bg img{object-fit:cover;object-position:center bottom;width:100%;height:100%;display:block}.forest-animals{z-index:1;flex:1;gap:clamp(4px,1.1vmin,12px);min-height:0;padding:clamp(18px,3dvh,28px) clamp(8px,2cqi,24px) clamp(8px,1.6dvh,18px);display:grid;position:relative}.forest-animals[data-count="10"]{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(12,minmax(0,1fr))}.forest-animals[data-count="10"]>:nth-child(-n+3),.forest-animals[data-count="10"]>:nth-child(n+8){grid-column:span 4}.forest-animals[data-count="10"]>:nth-child(n+4):nth-child(-n+7){grid-column:span 3}.forest-animals[data-count="12"]{grid-template-rows:repeat(4,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr))}.forest-animals[data-count="14"]{grid-template-rows:repeat(4,minmax(0,1fr));grid-template-columns:repeat(12,minmax(0,1fr))}.forest-animals[data-count="14"]>:nth-child(-n+3),.forest-animals[data-count="14"]>:nth-child(n+12){grid-column:span 4}.forest-animals[data-count="14"]>:nth-child(n+4):nth-child(-n+11){grid-column:span 3}@container forest-stage (inline-size>=520px){.forest-animals[data-count="12"]{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(4,minmax(0,1fr))}.forest-animals[data-count="14"]{grid-template-rows:repeat(3,minmax(0,1fr));grid-template-columns:repeat(20,minmax(0,1fr))}.forest-animals[data-count="14"]>:nth-child(-n+4){grid-column:span 5}.forest-animals[data-count="14"]>:nth-child(n+5){grid-column:span 4}}.forest-animal{width:100%;min-width:0;height:100%;min-height:0;border-radius:20px;place-items:center;min-block-size:44px;min-inline-size:44px;padding:clamp(2px,.7vmin,6px);display:grid;position:relative}.forest-animal-art{z-index:1;pointer-events:none;width:100%;min-width:0;height:100%;min-height:0;translate:var(--ox,0) var(--oy,0);place-items:center;transition:transform .15s;display:grid;position:relative}.forest-animal:active .forest-animal-art{transform:scale(.92)}.forest-animal-art>img,.forest-animal-art>svg{object-fit:contain;pointer-events:none;-webkit-user-drag:none;filter:drop-shadow(0 0 2px #ffffffe6)drop-shadow(0 5px 5px #18341247);width:100%;min-width:0;max-width:100%;height:100%;min-height:0;max-height:100%}.forest-animal--just-matched{z-index:3;background:radial-gradient(circle,#ffe875cc 0%,#ffd4474d 48%,#ffd44700 72%)}.forest-animal--just-matched .forest-animal-art>img,.forest-animal--just-matched .forest-animal-art>svg{filter:drop-shadow(0 0 10px #ffd447f2)drop-shadow(0 5px 6px #18341240)}.forest-animal--gone{pointer-events:none;visibility:hidden}.forest-animal--gone .forest-animal-art{opacity:0}.forest-animal--wrong{background:radial-gradient(circle,#ff6b8a5c 0%,#ff6b8a00 70%)}.forest-animal>.sparkles{z-index:3;pointer-events:none;width:112%;height:112%;margin:auto;position:absolute;inset:-6%}@media (prefers-reduced-motion:no-preference){.forest-animal:not(.forest-animal--gone):not(.forest-animal--just-matched):not(.forest-animal--wrong) .forest-animal-art{animation:bob 3.2s ease-in-out var(--bob-delay,0s) infinite}.forest-animal--just-matched .forest-animal-art{animation:.45s ease-out 2 hop}.forest-animal--gone{transition:visibility 0s linear .28s}.forest-animal--gone .forest-animal-art{opacity:0;transition:opacity .28s ease-out,transform .28s ease-out;transform:scale(.35)}.forest-animal--wrong .forest-animal-art{animation:.5s ease-in-out wiggle}.forest-sample-inner{animation:.35s cubic-bezier(.3,1.5,.6,1) pop}.forest-animal>.sparkles{animation:.6s ease-out both sparkle}}.rotate-hint{display:none}@media (orientation:landscape) and (height<=500px) and (pointer:coarse){.rotate-hint{z-index:1000;padding:24px max(env(safe-area-inset-right), 24px) 24px max(env(safe-area-inset-left), 24px);background:var(--sky);color:var(--purple);text-align:center;touch-action:none;flex-direction:column;justify-content:center;align-items:center;gap:20px;display:flex;position:fixed;inset:0}.rotate-hint-phone{width:64px;height:100px;animation:2.4s ease-in-out infinite rotate-upright;transform:rotate(-90deg)}.rotate-hint-text{text-wrap:balance;max-width:22ch;color:var(--white);text-shadow:0 3px 0 var(--purple-ink);margin:0;font-size:clamp(24px,7dvh,34px);font-weight:650;line-height:1.2}}@keyframes rotate-upright{0%,20%{transform:rotate(-90deg)}55%,to{transform:rotate(0)}}.jigsaw-stage,.patterns-stage{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:clamp(10px,3dvh,28px);min-height:0;display:flex}.puzzle-prompt{background:var(--white);color:var(--purple-ink);text-align:center;border-radius:1.4em;margin:0;padding:.35em .85em;font-size:clamp(1.1rem,3.5vmin,1.8rem);font-weight:600}.jigsaw-layout{place-items:center;gap:clamp(10px,2.4vmin,22px);width:100%;display:grid}.jigsaw-board,.jigsaw-tray{grid-template-columns:repeat(var(--columns), minmax(0, 1fr));grid-template-rows:repeat(var(--rows), minmax(0, 1fr));aspect-ratio:1;display:grid}.jigsaw-board{border-radius:var(--radius);outline:3px solid var(--white);background:#f6f2ff;width:min(100%,42dvh,340px);overflow:hidden}.jigsaw-tray{gap:clamp(5px,1.5vmin,10px);width:min(100%,27dvh,240px)}.screen:has(.jigsaw-stage)>.sound-hint{margin-bottom:max(8px, env(safe-area-inset-bottom));flex:none;align-self:center;padding:6px 12px;font-size:13px;position:static;transform:none}@media (orientation:portrait) and (height<=680px){.screen:has(.sound-hint) .jigsaw-board{width:min(100%,37dvh)}}@media (orientation:landscape){.jigsaw-layout{grid-template-columns:auto auto;justify-content:center}.jigsaw-board{width:min(46vw,65dvh,340px)}.jigsaw-tray{width:min(36vw,54dvh,260px)}}.jigsaw-slot,.jigsaw-piece{touch-action:manipulation;min-height:0;position:relative;overflow:hidden}.jigsaw-slot{background:#f6f2ff}.jigsaw-slot:after{pointer-events:none;content:"";border:1px dashed #9e8ed2;position:absolute;inset:0}.jigsaw-slot[data-filled=true]{background:var(--white)}.jigsaw-slot:focus-visible{z-index:1;outline-offset:-5px;border-radius:0}.jigsaw-board[data-solved=true] .jigsaw-slot:after{border-color:#0000}.jigsaw-image{width:calc(var(--columns) * 100%);height:calc(var(--rows) * 100%);object-fit:contain;pointer-events:none;max-width:none;position:absolute}.jigsaw-slot[data-filled=false] .jigsaw-image{opacity:.25}.jigsaw-piece{background:var(--white);touch-action:none;cursor:grab;border-radius:12px;box-shadow:0 3px #7960b552}.jigsaw-piece.dragging{z-index:10;cursor:grabbing;will-change:transform;box-shadow:0 12px 24px #3c1e7840}.jigsaw-piece:disabled{visibility:hidden}.jigsaw-piece[aria-pressed=true]{outline:3px solid var(--purple);outline-offset:2px}.jigsaw-slot[data-wrong=true],.patterns-choice[data-wrong=true]{background:#ffe0e0}.patterns-sequence,.patterns-choices{justify-content:center;align-items:center;gap:clamp(3px,1.5vw,12px);max-width:760px;display:flex}.patterns-sequence{border-radius:var(--radius);background:#ffffff8c;width:100%;margin:0;padding:clamp(6px,1.8vmin,16px);list-style:none}.patterns-cell,.patterns-choice{aspect-ratio:1;background:var(--white);border-radius:clamp(6px,2vmin,16px);place-items:center;min-width:0;display:grid}.patterns-cell{max-width:min(74px,19dvh);color:var(--purple-ink);flex:1 1 0;font-size:clamp(.95rem,4vmin,2.2rem);font-weight:700}.patterns-cell svg,.patterns-choice svg{pointer-events:none;width:86%;height:86%}.patterns-missing{outline:2px dashed var(--purple);outline-offset:-2px;background:#eee7ff}.patterns-missing[data-solved=true],.patterns-choice[data-correct=true]{outline-offset:-3px;background:#eafbef;outline:3px solid #2a8e47}.patterns-choice{touch-action:manipulation;width:clamp(52px,17vmin,96px);box-shadow:0 4px #7960b552}.patterns-choices{gap:clamp(8px,3vw,26px)}.game-tile .cp--jigsaw{background:#fff0d6}.cp-jigsaw-board{aspect-ratio:1;gap:7px;width:min(82cqi,102cqb,116px);display:flex}.cp-jigsaw-board>span{background:var(--white);border-radius:9px;width:50%;position:relative;overflow:hidden}.cp-jigsaw-board>span:last-child{transform:translateY(6%)}.cp-jigsaw-board img{width:200%;max-width:none;position:absolute;left:0}.cp-jigsaw-board>span:last-child img{left:-100%}.game-tile .cp--patterns{background:#e9f4ff}.cp-pattern-row{gap:3px;width:min(100%,220px);display:flex}.cp-pattern-row>span{aspect-ratio:1;background:var(--white);border-radius:5px;flex:1;place-items:center;min-width:0;display:grid}.cp-pattern-row .cp-pattern-missing{outline:1px dashed var(--purple);outline-offset:-2px;color:var(--purple-ink);font-size:clamp(.8rem,10cqi,1.3rem);font-weight:700}
