/* A playable cartoon stage: the full-body guide and task share the world. */
body[data-view=adventure]{background:#eef9ff}.story-toolbar{display:flex;gap:10px;align-items:center;margin:8px 0 18px;flex-wrap:wrap}.story-toolbar>span{margin-left:auto;font-weight:900;color:#7053bf}.story-cinema{border-radius:34px;overflow:hidden;background:#fff;box-shadow:0 16px 60px #35559716;border:3px solid #fff}.story-cinema-title{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;padding:18px 26px}.story-cinema-title h1{font-size:25px;margin:0;text-align:center}.story-cinema-title>span{font-size:12px;letter-spacing:.07em;font-weight:900;color:#617189}.story-stage{position:relative;height:480px;overflow:hidden;isolation:isolate;background:var(--realm)}.story-scenery{position:absolute;inset:0;width:100%;height:100%;z-index:-2}.story-teacher{position:absolute;left:3%;bottom:22px;width:26%;max-width:290px;z-index:2;animation:story-arrive .8s ease-out}.story-teacher>.animal{width:100%;height:auto;filter:drop-shadow(0 10px 5px #265b5d1a);animation:story-breathe 3s infinite}.story-teacher>span{display:block;background:#ffffffeb;border-radius:20px;padding:8px;text-align:center;font-weight:900;font-size:14px}.story-friend{position:absolute;right:16%;bottom:35px;width:28%;animation:friend-walk 1.8s ease-in-out both}.story-friend>.animal{width:100%;height:auto;animation:story-breathe 2.3s infinite}.story-friend>span{position:absolute;top:0;left:20%;padding:15px;background:white;border-radius:22px;font-weight:900;white-space:nowrap}.story-workspace{position:absolute;left:33%;right:4%;top:28px;bottom:25px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px}.story-choices{display:flex;width:100%;justify-content:center;gap:16px;align-items:center}.story-choice{position:relative;border:3px solid #ffffffcf;border-radius:26px;background:#ffffffdc;box-shadow:0 9px 0 #1e527d20;padding:12px;min-width:0;width:30%;max-width:165px;min-height:145px;transition:scale .18s,background .18s,border-color .18s;cursor:pointer;font-family:inherit;color:#243b58}.story-choice>.animal,.story-choice>.story-object{display:block;width:100%;height:112px}.story-choice>span:not(.story-bush){display:block;font-weight:900;font-size:15px;line-height:1.2;margin-top:4px}.story-choice:hover:not(:disabled){scale:1.04}.story-choice:active:not(:disabled){scale:.94}.story-choice.selected{border-color:#7355ff}.story-choice.correct{background:#c8ffe1;border-color:#03b579;box-shadow:0 7px 0 #019664}.story-choice.correct:after{content:'✓';position:absolute;right:-6px;top:-8px;border-radius:50%;background:#06b87e;color:#fff;font-size:23px;width:34px;height:34px;display:grid;place-items:center}.story-choice.wrong{border-color:#f44b6e;background:#ffe3e9;animation:answer-shake .35s}.story-choice.covered{background:transparent;border:0;box-shadow:none}.story-bush{display:grid;place-items:center;min-height:112px;border-radius:52% 47% 28% 24%;background:radial-gradient(circle at 35% 25%,#62e481 0 28%,transparent 29%),radial-gradient(circle at 70% 38%,#25bb79 0 35%,transparent 36%),#0da16e;color:#d5ff8a;font-size:46px;box-shadow:inset 0 -18px #087d5e;animation:bush-rustle 3s ease-in-out infinite}.story-memory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;width:min(100%,500px)}.memory-tile{border:4px solid #fff;border-radius:24px;background:linear-gradient(135deg,#8661ff,#4d83fa);box-shadow:0 7px 0 #4a40a9;min-height:150px;display:grid;place-items:center;color:#ffe99c;cursor:pointer;transition:transform .25s}.memory-tile>span{font-size:60px}.memory-tile.open{background:#fff8dc;transform:rotateY(0);box-shadow:0 7px 0 #dbbc65}.memory-tile.matched{background:#aff5c8;box-shadow:0 7px 0 #09a775;border-color:#1abb85}.memory-tile .story-object,.memory-tile .animal{height:120px;max-width:100%}.story-fireflies{display:flex;gap:25px;align-items:center;justify-content:center}.story-fireflies button{width:76px;height:76px;border:2px solid #fff6;border-radius:50%;font-size:44px;background:#465ba1;color:#b2bfe6;cursor:pointer;animation:firefly-float 3s infinite}.story-fireflies button.lit{background:#fff5c4;color:#ffc72b;box-shadow:0 0 32px #ffef7c}.story-train{position:relative;width:235px;height:125px;background:var(--paint);border:7px solid #445a86;border-radius:25px 25px 10px 10px;cursor:pointer;box-shadow:inset 0 -22px #21396113;color:#ffcf31;font-size:32px;transition:background .4s;flex-shrink:0}.train-window{display:block;width:55px;height:48px;background:#a4e7ff;border:5px solid #445a86;border-radius:10px;position:absolute;left:14px;top:12px}.story-train i{position:absolute;bottom:-25px;width:35px;height:35px;border-radius:50%;background:#4c5f80;border:7px solid #96abc8;left:20px}.story-train i+i{left:auto;right:20px}.story-train.departing{animation:train-celebrate 1.5s ease-in-out}.story-basket{position:relative;min-width:180px;height:120px;border:7px solid #9f6133;background:repeating-linear-gradient(0deg,#ffc47a 0 14px,#e6a258 15px 20px);border-radius:10px 10px 40px 40px;cursor:pointer;display:grid;place-items:center;color:#814b2e;font-size:52px;flex-shrink:0}.story-basket:before{content:'';position:absolute;width:100px;height:45px;top:-48px;border:8px solid #9f6133;border-bottom:0;border-radius:60px 60px 0 0}.story-basket .story-object{width:100px;height:100px;animation:gift-land .6s ease-out}.story-basket.delivered{box-shadow:0 0 0 7px #64edb5}.story-echo{display:flex;flex-direction:column;align-items:center;background:#ffffffc9;border:3px solid #fff;border-radius:35px;padding:25px 50px;min-width:220px;box-shadow:0 12px 0 #173a6320}.story-echo>.story-object{height:130px;width:130px}.story-echo strong{font:900 40px Nunito,sans-serif;color:#6b42d9}.echo-waves{display:flex;gap:7px;align-items:center;height:40px;margin-top:15px}.echo-waves i{width:8px;height:20px;border-radius:10px;background:#a385f2}.echo-waves i:nth-child(2n){height:34px}.listening .echo-waves i{animation:voice-wave .6s infinite alternate;background:#ef466c}.story-director{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:28px;padding:28px}.story-dialogue>p:first-of-type{font-size:22px;font-weight:750;line-height:1.5;margin:8px 0 15px}.story-dialogue .audio,.story-dialogue .ghost{margin:0 7px 7px 0}.story-controls{display:flex;flex-direction:column;justify-content:center;gap:12px;background:#f1edff;border-radius:24px;padding:22px}.story-controls h2{font-size:22px;margin:0}.story-controls small{font-size:12px;line-height:1.5;color:#69728b}.story-task-tip{font-size:22px;font-weight:900;text-align:center;margin:8px}.story-feedback{min-height:24px;font-weight:800;color:#536987;font-size:16px;margin:5px 0}.story-cinema.correct .story-feedback{color:#048450}.story-cinema.wrong .story-feedback{color:#ca3656}.story-win{font-size:26px;color:#008b65;font-weight:900;text-align:center}.story-local-consent{font-size:13px;line-height:1.4;display:flex;gap:10px}.story-local-consent input{width:23px;height:23px;flex-shrink:0}.story-controls audio{width:100%;max-width:100%}.story-particles{position:absolute;inset:0;pointer-events:none;overflow:hidden}.story-particles i{position:absolute;left:calc(9% + var(--i)*7%);top:calc(12% + var(--i)*3%);font-style:normal;font-size:24px;color:#fff7ba;opacity:.8;animation:story-sparkle 3s calc(var(--i)*-.25s) infinite}.correct .story-particles i{font-size:34px;color:#ffea61;animation:story-confetti 1.5s calc(var(--i)*-.12s) infinite}.story-reward-orb{position:absolute;left:45%;top:18%;font-size:84px;filter:drop-shadow(0 0 20px #ffff9d);animation:firefly-float 3s infinite}.story-cloud{animation:story-cloud 20s infinite alternate}.story-sun{animation:sun-breathe 4s infinite}.lighthouse-beam{transform-origin:935px 150px;animation:beacon-sweep 8s infinite alternate}.story-sidequests{padding:28px;background:#fff4d9;border-radius:28px;margin-top:25px}.story-sidequests>div{display:flex;gap:12px;flex-wrap:wrap}.story-passport{margin:25px 0;padding:30px;background:linear-gradient(130deg,#ecfff7,#e9e5ff);border:3px solid #fff;border-radius:30px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:30px}.story-passport aside{background:#fff;border-radius:22px;padding:24px}.story-passport h2{font-size:27px;margin:8px 0}.story-stamps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.story-stamps>span{text-align:center;font-size:34px;padding:12px;background:#ffffff85;border:2px dashed #a5b6c9;border-radius:20px;filter:grayscale(1);opacity:.65}.story-stamps>span.earned{filter:none;opacity:1;border-style:solid;border-color:#ffcb42;background:#fff8de;animation:reward-pop .5s}.story-stamps small{display:block;font-size:12px;line-height:1.3;font-weight:800}.story-atlas-heading{display:flex;align-items:center;gap:30px;padding:20px}.story-atlas-heading h1{font-size:clamp(32px,5vw,56px);line-height:1.05}.story-atlas-heading p{max-width:600px;font-size:19px}.story-atlas-buddy{width:240px;height:250px;animation:story-breathe 3s infinite}.story-islands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.story-island{text-align:left;background:#fff;border:3px solid #fff;border-radius:32px;overflow:hidden;padding:0 0 24px;cursor:pointer;box-shadow:0 10px 0 #ccddea;font-family:inherit;transition:translate .2s}.story-island:hover{translate:0 -5px}.island-art{height:180px;display:flex;position:relative;background:linear-gradient(145deg,var(--island),#eff7d4);align-items:center;justify-content:center;border-radius:0 0 40% 40%}.island-art>.animal{height:160px;width:160px;animation:story-breathe 3s infinite}.island-art>b{font-size:42px;position:absolute;right:20px;top:20px}.story-island h2{font-size:23px;line-height:1.2;margin:10px 20px}.story-island>small,.story-island>span:last-child{display:block;margin:14px 20px 0;font-weight:800;font-size:14px}.story-transparency{font-size:12px;color:#687991;text-align:center;max-width:760px;margin:24px auto}.story-map-banner{display:flex;justify-content:space-between;align-items:center;gap:18px;background:linear-gradient(115deg,#9ce9f4,#e5ceff);padding:25px;border-radius:25px;margin-bottom:24px}.story-map-banner b{font-size:24px}.story-map-banner p{margin:6px 0}.story-stage .paw-left{animation:paw-step 1s infinite alternate}.story-stage .paw-right{animation:paw-step 1s -.5s infinite alternate}.speaking .story-teacher .animal-mouth{transform-box:fill-box;transform-origin:center;animation:mouth-talk .2s infinite alternate}
@keyframes story-arrive{from{translate:-170px 0;opacity:0}to{translate:0 0;opacity:1}}@keyframes friend-walk{from{translate:180px 0;opacity:0}to{translate:0 0;opacity:1}}@keyframes story-breathe{50%{scale:1.025;rotate:1deg}}@keyframes bush-rustle{45%,55%{rotate:0deg}49%{rotate:-3deg}52%{rotate:3deg}}@keyframes firefly-float{50%{translate:0 -10px}}@keyframes story-cloud{to{translate:300px 0}}@keyframes story-sparkle{50%{opacity:.15;scale:.6}}@keyframes story-confetti{from{translate:0 -80px;rotate:0deg;opacity:1}to{translate:0 400px;rotate:150deg;opacity:0}}@keyframes train-celebrate{50%{translate:40px -8px;rotate:3deg}}@keyframes gift-land{from{translate:0 -70px;scale:.6}to{translate:0 0;scale:1}}@keyframes voice-wave{to{scale:1 .4}}@keyframes beacon-sweep{to{rotate:28deg}}
@media(min-width:1500px){body[data-view=adventure] .shell{max-width:1400px}.story-stage{height:540px}}@media(max-width:900px){.story-director{grid-template-columns:1fr;gap:15px}.story-controls{padding:18px}.story-islands{grid-template-columns:repeat(2,minmax(0,1fr))}.story-passport{grid-template-columns:1fr}.story-stage{height:400px}.memory-tile{min-height:120px}.memory-tile .animal,.memory-tile .story-object{height:90px}.story-choice{padding:8px;min-height:130px}.story-choice>.animal,.story-choice>.story-object{height:90px}.story-workspace{left:30%;right:3%;gap:14px}.story-cinema-title h1{font-size:22px}}
@media(max-width:600px){body[data-view=adventure] .shell{padding:12px}.story-toolbar{gap:6px;margin:0 0 10px}.story-toolbar button{font-size:12px;padding:9px 10px;min-height:40px}.story-toolbar>span{font-size:13px}.story-cinema{border-radius:24px}.story-cinema-title{padding:14px;display:grid;grid-template-columns:1fr auto;gap:6px}.story-cinema-title h1{grid-column:1/-1;grid-row:2;text-align:left;font-size:23px}.story-cinema-title>span{font-size:10px}.story-stage{height:340px}.story-teacher{left:1%;bottom:12px;width:29%;}.story-teacher>span{font-size:10px;line-height:1.2;padding:6px}.story-workspace{left:30%;right:3%;top:20px;bottom:15px;gap:16px}.story-choices{gap:7px;flex-wrap:wrap}.story-choice{width:calc(50% - 8px);max-width:110px;min-height:100px;border-radius:18px;padding:5px;box-shadow:0 5px 0 #1e527d20}.story-choice>.animal,.story-choice>.story-object{height:65px}.story-choice>span:not(.story-bush){font-size:11px}.story-choice.covered{width:calc(50% - 8px)}.story-bush{min-height:70px;font-size:30px}.story-memory{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.memory-tile{min-height:87px;border-radius:16px;border-width:3px;box-shadow:0 4px 0 #4a40a9}.memory-tile>.animal,.memory-tile>.story-object{height:67px}.memory-tile>span{font-size:36px}.story-train{width:130px;height:75px;border-width:5px;font-size:20px}.train-window{width:30px;height:30px;border-width:3px;left:10px;top:8px}.story-train i{width:24px;height:24px;border-width:5px;bottom:-17px;left:10px}.story-train i+i{right:10px}.story-basket{min-width:125px;height:75px;border-width:5px;border-radius:8px 8px 24px 24px;font-size:35px}.story-basket:before{width:60px;height:25px;top:-29px;border-width:5px}.story-basket .story-object{height:68px;width:68px}.story-fireflies{gap:10px}.story-fireflies button{width:43px;height:43px;font-size:27px}.story-director{padding:18px}.story-dialogue>p:first-of-type{font-size:18px;line-height:1.45}.story-director .eyebrow{font-size:10px;letter-spacing:.08em}.story-echo{min-width:0;width:100%;padding:20px 8px;border-radius:24px}.story-echo>.story-object{width:90px;height:90px}.story-echo strong{font-size:30px}.story-echo>span{font-size:13px}.story-friend{width:43%;right:12%;bottom:40px}.story-friend>span{font-size:13px;padding:10px;top:-25px;left:0;white-space:normal;min-width:120px}.story-reward-orb{font-size:55px;top:12%;left:42%}.story-islands{gap:14px}.island-art{height:130px}.island-art>.animal{height:120px;width:120px}.island-art>b{font-size:25px;right:9px;top:9px}.story-island{border-radius:23px;padding-bottom:18px}.story-island h2{font-size:18px;margin:10px 12px}.story-island>small,.story-island>span:last-child{font-size:12px;margin:10px 12px 0}.story-atlas-heading{padding:12px 0;gap:5px;align-items:end}.story-atlas-heading h1{font-size:30px}.story-atlas-heading p{font-size:15px}.story-atlas-buddy{width:100px;height:130px;flex-shrink:0}.story-atlas-heading .eyebrow{font-size:10px}.story-passport{padding:18px;gap:16px}.story-passport h2{font-size:24px}.story-passport aside{padding:18px}.story-stamps{gap:7px}.story-stamps>span{padding:8px;font-size:29px}.story-stamps small{font-size:10px}.story-sidequests{padding:20px}.story-map-banner{flex-direction:column;align-items:stretch}.story-feedback{font-size:14px}.story-controls .primary{font-size:17px}.story-cinema.correct .story-teacher{animation:happy-hop .8s}}
@media(prefers-reduced-motion:reduce){#story-root *,#story-root *::before,#story-root *::after{animation:none!important;transition:none!important}}.reduced #story-root *,.reduced #story-root *::before,.reduced #story-root *::after{animation:none!important;transition:none!important}
.story-cinema:has(.story-workspace) .story-teacher{animation:none}.story-greeting-friend{position:relative;width:140px;height:160px;animation:friend-walk .8s ease-out}.story-greeting-friend>.animal{width:100%;height:100%}.story-greeting-friend>span{position:absolute;right:-45px;top:10px;padding:8px 15px;background:white;border-radius:18px;font-weight:900;color:#0a9e7b}@media(max-width:600px){.story-greeting-friend{width:85px;height:100px}.story-greeting-friend>span{right:-35px;font-size:12px}}
.story-preview{position:relative;isolation:isolate;border-radius:36px;overflow:hidden;min-height:440px;padding:44px;display:flex;gap:40px;align-items:center;margin:50px 0;border:4px solid #fff;box-shadow:0 15px 50px #554ead1a}.story-preview-buddy{width:32%;flex-shrink:0;align-self:end;animation:story-breathe 3s infinite}.story-preview-buddy>.animal{width:100%;height:auto}.story-preview-copy{background:#fffffff0;padding:30px;border-radius:30px;max-width:620px}.story-preview h2{font-size:clamp(30px,4vw,50px);line-height:1.1;margin:12px 0}.story-preview p{font-size:19px;line-height:1.5}.story-preview small{display:block;margin-top:15px;font-size:13px;color:#52627c}@media(max-width:600px){.story-preview{padding:20px;gap:10px;flex-direction:column;margin:30px 0}.story-preview-buddy{width:130px;align-self:center}.story-preview-copy{padding:22px}.story-preview h2{font-size:30px}.story-preview p{font-size:16px}.story-preview .eyebrow{font-size:10px}.story-cinema.correct .story-controls:has(.story-win)>.primary{position:fixed;bottom:max(14px,env(safe-area-inset-bottom));left:16px;width:calc(100% - 32px);z-index:20;box-shadow:0 6px 0 #472ba7,0 -5px 25px #faf9ff}.story-cinema.correct{margin-bottom:90px}}@media(prefers-reduced-motion:reduce){.story-preview *{animation:none!important}}.reduced .story-preview *{animation:none!important}
.story-choice:disabled,.memory-tile:disabled{opacity:1}.story-choice.correct:disabled{color:#12543c}
.story-train.story-lantern{width:120px;height:130px;border-radius:12px;background:var(--paint);border-color:#7552ad;box-shadow:0 0 35px var(--paint)}.story-lantern .train-window,.story-lantern i{display:none}.story-lantern:before{content:'';position:absolute;left:-17px;right:-17px;top:-35px;height:35px;background:#7552ad;clip-path:polygon(50% 0,100% 100%,0 100%)}.story-lantern:after{content:'';position:absolute;left:18px;right:18px;bottom:-20px;height:18px;background:#7552ad}.story-basket.story-gift{border-radius:14px;background:linear-gradient(90deg,#b48aff 40%,#ffdc60 40% 60%,#b48aff 60%);border-color:#8861cc}.story-gift:before{border-color:#ffdc60;border-radius:50% 50% 0 0}@media(max-width:600px){.story-train.story-lantern{height:80px;width:85px}.story-lantern:before{top:-25px;height:25px}}
