/* Storybook artwork stays in atlases; the game owns text, state, and motion. */
.art-sprite{display:inline-block;width:100%;aspect-ratio:1;background-repeat:no-repeat;background-size:400% 300%;background-position:var(--sprite-x,0%) var(--sprite-y,0%);vertical-align:middle;flex-shrink:0}
.art-bunny,.art-chapters{background-size:300% 100%}
.art-bunny{background-image:url('assets/bunny.webp')}
.art-chapters{background-image:url('assets/chapters.webp')}
.art-stickers{background-image:url('assets/stickers.webp')}
.art-words{background-image:url('assets/words.webp')}
.chapter-art{position:relative;width:108px;flex-shrink:0;line-height:0}
.chapter-letter{position:absolute;bottom:2px;right:-2px;display:grid;place-items:center;width:36px;height:36px;font-size:23px;font-weight:900;line-height:1;background:#fffcf2;color:#64533d;border-radius:9px;transform:rotate(-7deg);box-shadow:0 4px 9px -6px #5b573e55;letter-spacing:-.04em}
.track-card{padding:16px 16px 16px 10px;gap:14px;min-height:141px}
.track-card.lilac .chapter-letter{font-size:17px;color:#685085}
.track-card.mint .chapter-letter{font-size:14px;color:#3c674e}
.track-caption{font-size:11px}
.track-arrow{display:none}
.gift-seal{background:transparent;width:72px;height:72px;border-radius:0}
.gift-seal>.art-sprite{width:100%;height:100%}
.trail-art{position:relative;width:115px;flex-shrink:0;line-height:0}
.trail-art .chapter-letter{width:39px;height:39px;font-size:17px}
.lesson-prize{width:57px;height:57px;flex-shrink:0;margin-left:auto}
.mystery-gift{position:relative;display:grid;place-items:center;width:100%;height:100%;border:1.5px dashed #b5b7a0;border-radius:28%;background:#f1eddf;color:#7a805e;line-height:1}
.mystery-gift>.icon,.sticker-slot .mystery-gift>.icon{width:55%;height:55%;stroke-width:1.4}
.mystery-gift>b{position:absolute;right:4%;bottom:1%;display:grid;place-items:center;width:32%;height:32%;border-radius:50%;background:#fffaf0;font-size:clamp(12px,2vw,20px);font-weight:850}
.lesson-prize .mystery-gift>b{font-size:12px}
.lesson-end{margin-left:0;min-width:78px;justify-content:flex-end}
.illustrated-board.reading-board{display:grid;grid-template-columns:minmax(0,1fr) 170px;align-items:center;gap:4px;padding:18px 24px 18px 22px;min-height:256px;isolation:isolate}
.reading-page{position:relative;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:43px}
.reading-page .reading-target{font-size:148px;line-height:1.12;letter-spacing:0}
.reading-page .reading-target.word{font-size:94px;letter-spacing:-.025em}
.reading-page .listen-button{left:50%;bottom:0;transform:translateX(-50%);white-space:nowrap}
.reading-page .syllable-hint{font-size:19px;letter-spacing:.06em;margin-top:1px}
.reading-page .spark-one{left:0;top:8%}
.reading-page .spark-one .icon{width:25px;height:25px}
.reading-art{min-width:0;width:170px;align-self:center}
.reading-friend{width:100%;padding:0;display:flex;align-items:center;flex-direction:column;border-radius:15px;min-height:190px}
.reading-friend>.bunny-character{width:170px}
.friend-caption{color:#536344;font-size:11px;font-weight:750;line-height:1.4;margin-top:4px;white-space:nowrap}
.reading-friend[data-pose='celebrate']>.bunny-character{animation:bunny-cheer .54s cubic-bezier(.16,1,.3,1) both}
.reading-friend:hover>.bunny-character{filter:drop-shadow(0 5px 4px #7b714d22)}
.word-picture-panel{display:flex;flex-direction:column;align-items:center;gap:8px}
.picture-window{position:relative;width:156px;aspect-ratio:1}
.picture-window>.art-sprite{opacity:0;transform:scale(.91);transition:opacity .2s,transform .3s cubic-bezier(.16,1,.3,1)}
.picture-window.revealed>.art-sprite{opacity:1;transform:scale(1)}
.picture-cover{position:absolute;inset:15px;border:2px dashed #9baf8b;display:grid;place-items:center;border-radius:42% 45% 38% 47%;font-size:52px;font-weight:850;color:#6c845a;background:#fffdf44d;transition:opacity .16s}
.picture-window.revealed>.picture-cover{opacity:0;pointer-events:none}
.picture-toggle{padding:5px 8px;min-height:36px;font-size:10px;line-height:1.35;font-weight:800;background:#fffdf480;border-radius:8px;color:#425b47}
.picture-toggle:hover{background:#fffdf4}
.word-board .reading-target{font-size:105px}
.word-board .reading-page .reading-target.word{font-size:94px}
.word-board .reading-page .spark-one{display:none}
.reward-main{padding-top:28px}
.reward-stage{display:flex;justify-content:center;align-items:flex-end;gap:20px;width:390px;max-width:100%;min-height:218px}
.reward-buddy{width:154px;margin-bottom:5px;flex-shrink:0}
.reward-buddy .art-sprite{width:154px}
.present-stage{position:relative;display:grid;place-items:center;width:210px;height:215px;flex-shrink:0}
.gift-package{position:relative;width:204px;height:204px;padding:0;border-radius:28px;transition:transform .18s cubic-bezier(.16,1,.3,1)}
.gift-package:hover{transform:rotate(-5deg) scale(1.05)}
.gift-package>.art-sprite{width:100%;height:100%}
.gift-tag{position:absolute;bottom:11px;left:50%;transform:translateX(-50%) rotate(-7deg);background:#fffaf0;border-radius:5px;padding:6px 14px;font-size:13px;font-weight:850;white-space:nowrap;color:#6e563a;box-shadow:0 4px 12px -8px #7f664c55}
.present-stage .reward-sticker{position:relative;z-index:2;width:182px;height:182px;border:7px solid #fffdf5;outline:1px solid #e6d9ba;background:#fff7d9;border-radius:28%;animation:sticker-arrive .75s cubic-bezier(.16,1,.3,1) both;box-shadow:0 13px 23px -15px #79633f66}
.present-stage .reward-sticker>.art-sprite{width:100%;height:100%}
.paper-flap{position:absolute;width:158px;height:163px;top:25px;left:26px;background:#d9cbe5;border-radius:14px;z-index:1;pointer-events:none}
.paper-flap.flap-left{animation:paper-left .65s cubic-bezier(.16,1,.3,1) both}
.paper-flap.flap-right{background:#e6d9ee;animation:paper-right .65s cubic-bezier(.16,1,.3,1) both}
.gift-opened .reward-buddy>.art-sprite{animation:bunny-cheer .6s cubic-bezier(.16,1,.3,1) both}
.reward-main h1{margin-top:23px;font-size:36px}
.reward-main>.primary{margin-top:22px}
.reward-main>.text-button{margin-top:8px}
.album-welcome{display:flex;align-items:center;justify-content:center;gap:18px;min-height:100px;margin:-10px 0 11px}
.album-welcome>.bunny-character{width:91px;height:91px}
.album-welcome>p{font-size:14px;max-width:430px;line-height:1.6}
.sticker-slot{border-radius:14px;transition:background .15s,transform .15s;cursor:pointer}
.sticker-slot:hover{background:#f0eddf;transform:translateY(-2px)}
.sticker-slot:active{transform:translateY(0)}
.sticker-figure{position:relative;width:106px;height:106px;line-height:0}
.sticker-figure>.art-sprite{width:100%;height:100%}
.sticker-slot.unearned .sticker-figure{background:transparent;border:0}
.illustrated-field.star-field{background:#d8dfd5 url('assets/night.webp') center 54%/cover no-repeat;overflow:hidden;height:390px;border-radius:22px}
.illustrated-field.star-field:before,.illustrated-field.star-field:after{display:none}
.mini-buddy{position:absolute;left:19px;bottom:4px;width:125px;z-index:2;pointer-events:none}
.mini-buddy>.art-sprite{width:100%;height:100%}
.complete .mini-buddy>.art-sprite{animation:bunny-cheer .55s cubic-bezier(.16,1,.3,1) both}
.illustrated-field .catch-star{width:83px;height:83px;z-index:3;border-radius:50%}
.illustrated-field .catch-star>.art-sprite{width:83px;height:83px;filter:drop-shadow(0 4px 4px #606b4222)}
.star-jar{position:absolute;right:32px;bottom:20px;width:83px;height:102px;border:3px solid #837c54;border-radius:12px 12px 21px 21px;background:#fff9dfaa;z-index:2;transition:background .4s,box-shadow .4s}
.star-jar:before{content:'';position:absolute;left:-6px;right:-6px;height:12px;top:-10px;background:#8a825a;border-radius:5px}
.jar-handle{position:absolute;width:57px;height:39px;border:3px solid #8a825a;border-bottom:0;border-radius:50% 50% 0 0;left:10px;top:-43px}
.jar-base{position:absolute;bottom:-6px;left:-6px;right:-6px;height:12px;background:#8a825a;border-radius:5px}
.jar-stars{position:absolute;inset:12px 10px;display:flex;flex-wrap:wrap;gap:7px;justify-content:center;align-content:center}
.jar-star{width:20px;height:20px;color:#8c8f70;opacity:.4;transition:opacity .18s,color .18s}
.jar-star>.icon{width:20px;height:20px;stroke-width:1.5}
.jar-star.filled{opacity:1;color:#9e7219}
.jar-star.filled>.icon{fill:#f2cf68}
.star-jar.complete{background:#fff3b3;box-shadow:0 7px 40px 10px #ffe6a175}
.meadow-caption{position:absolute;left:50%;bottom:13px;transform:translateX(-50%) rotate(-2deg);white-space:nowrap;padding:4px 11px;background:#fbf5dcd9;border-radius:4px;font-size:10px;font-weight:750;color:#5c6248}
.paper-confetti{position:fixed;z-index:10000;width:10px;height:14px;pointer-events:none}
.flying-star{position:fixed;z-index:10000;width:48px;height:48px;pointer-events:none}
@keyframes bunny-cheer{0%{transform:translateY(0) rotate(0)}30%{transform:translateY(-12px) rotate(-5deg)}65%{transform:translateY(0) rotate(4deg)}100%{transform:translateY(0) rotate(0)}}
@keyframes sticker-arrive{0%{transform:translateY(13px) rotate(-17deg) scale(.55);opacity:0}25%{opacity:1}100%{transform:translateY(0) rotate(-7deg) scale(1);opacity:1}}
@keyframes paper-left{0%{transform:translate(0,0) rotate(0);opacity:1}100%{transform:translate(-105px,65px) rotate(-47deg);opacity:0}}
@keyframes paper-right{0%{transform:translate(0,0) rotate(0);opacity:1}100%{transform:translate(104px,65px) rotate(43deg);opacity:0}}
@media(min-width:1440px){.track-card{padding:19px 19px 19px 12px;gap:15px}.chapter-art{width:120px}}
@media(max-width:1050px){.track-card{gap:9px;padding:14px 12px 14px 7px}.chapter-art{width:87px}.track-caption{font-size:10px}.track-copy{gap:4px}.track-progress i{width:12px}}
@media(max-width:760px){.tracks{gap:12px}.track-card{flex-direction:column;align-items:flex-start;padding:14px 15px 19px;gap:12px}.chapter-art{width:100%;max-width:125px;align-self:center}.chapter-letter{right:2px}.track-copy{gap:5px}.track-title{font-size:20px}.track-caption{font-size:10px}.track-progress i{width:16px}.lesson-prize{width:48px;height:48px}.lesson-end{min-width:65px}.illustrated-board.reading-board{grid-template-columns:minmax(0,1fr) 148px;padding:16px 19px 16px 16px}.reading-art{width:148px}.reading-friend>.bunny-character{width:148px}.reading-friend{min-height:170px}.picture-window{width:142px}.reading-page .reading-target{font-size:135px}.reading-page .reading-target.word,.word-board .reading-page .reading-target.word{font-size:86px}.reward-main h1{font-size:32px}.sticker-figure{width:91px;height:91px}}
@media(max-width:540px){.track-card{flex-direction:row;align-items:center;gap:20px;padding:10px 18px 10px 11px;min-height:123px}.chapter-art{width:98px;max-width:none;align-self:center}.chapter-letter{right:0;width:34px;height:34px}.track-title{font-size:21px}.track-caption{font-size:12px}.track-progress i{width:18px}.gift-seal{width:61px;height:61px}.gift-teaser .text-button{margin-left:74px}.trail-art{width:88px}.trail-art .chapter-letter{width:31px;height:31px;font-size:15px}.lesson-prize{width:45px;height:45px}.lesson-end{min-width:20px}.lesson-row{gap:10px}.lesson-text strong{font-size:14px}.illustrated-board.reading-board{grid-template-columns:minmax(0,1fr) 92px;gap:0;padding:13px 10px 14px 12px;min-height:226px}.reading-page{min-height:197px;padding-bottom:42px}.reading-art{width:92px}.reading-friend{min-height:139px}.reading-friend>.bunny-character{width:99px}.friend-caption{font-size:9px;margin-top:8px;white-space:normal;max-width:95px;text-align:center}.reading-page .reading-target{font-size:113px}.reading-page .reading-target.word,.word-board .reading-page .reading-target.word{font-size:65px}.word-board .reading-target{font-size:80px}.reading-page .syllable-hint{font-size:15px;margin-top:3px}.reading-page .listen-button{font-size:12px;bottom:2px;min-height:36px;padding:6px 10px}.reading-page .spark-one{left:0;top:3px}.reading-page .spark-one .icon{width:20px;height:20px}.picture-window{width:91px}.picture-cover{inset:5px;font-size:35px;border-width:1.5px}.picture-toggle{font-size:9px;max-width:95px;padding:6px 5px;min-height:39px}.word-picture-panel{gap:7px}.reward-main{padding-top:24px}.reward-stage{width:310px;min-height:185px;gap:7px}.reward-buddy,.reward-buddy .art-sprite{width:118px}.present-stage{width:177px;height:185px}.gift-package{width:177px;height:177px}.gift-tag{font-size:11px;padding:5px 11px;bottom:7px}.present-stage .reward-sticker{width:160px;height:160px;border-width:6px}.paper-flap{width:137px;height:139px;top:22px;left:20px}.reward-main h1{font-size:29px;margin-top:20px}.reward-main>p{font-size:13px}.reward-main>.primary{margin-top:20px}.reward-main>small{font-size:10px}.album-welcome{gap:13px;margin:-4px 0 6px;min-height:92px}.album-welcome>.bunny-character{width:77px;height:77px}.album-welcome>p{font-size:12px;line-height:1.55;max-width:230px}.sticker-figure{width:86px;height:86px}.sticker-grid{gap:16px 6px}.sticker-slot strong{font-size:11px}.illustrated-field.star-field{height:360px;background-position:50% 55%}.illustrated-field .catch-star,.illustrated-field .catch-star>.art-sprite{width:70px;height:70px}.mini-buddy{width:94px;left:9px;bottom:3px}.star-jar{right:18px;bottom:15px;width:62px;height:81px;border-width:2px;border-radius:10px 10px 15px 15px}.star-jar:before{height:10px;top:-8px;left:-5px;right:-5px}.jar-handle{width:43px;height:31px;left:8px;top:-34px;border-width:2px}.jar-base{height:9px;bottom:-5px;left:-5px;right:-5px}.jar-stars{inset:8px 6px;gap:5px}.jar-star,.jar-star>.icon{width:16px;height:16px}.meadow-caption{font-size:8px;bottom:10px;padding:3px 7px;left:49%}.mini-main h1{font-size:27px}}
@media(max-width:365px){.chapter-art{width:86px}.track-card{gap:16px}.track-caption{font-size:11px}.reading-page .reading-target{font-size:101px}.reading-page .reading-target.word,.word-board .reading-page .reading-target.word{font-size:57px}.illustrated-board.reading-board{grid-template-columns:minmax(0,1fr) 81px}.reading-art{width:81px}.reading-friend>.bunny-character{width:87px}.picture-window{width:82px}.picture-toggle{font-size:8px}.sticker-figure{width:77px;height:77px}}
@media(prefers-reduced-motion:reduce){.paper-flap{display:none}.present-stage .reward-sticker{opacity:1;transform:rotate(-7deg)}.picture-window>.art-sprite{transform:none}.sticker-slot:hover{transform:none}}
.calm-motion *,.calm-motion *:before,.calm-motion *:after{animation:none!important;transition:none!important}
.calm-motion .paper-flap{display:none}
.calm-motion .present-stage .reward-sticker{opacity:1;transform:rotate(-7deg)}
.calm-motion .picture-window>.art-sprite{transform:none}
.calm-motion .gift-package:hover,.calm-motion .sticker-slot:hover{transform:none}

.studio-return{display:inline-flex;align-items:center;gap:6px;min-height:36px;color:inherit;text-decoration:none;font-weight:750}.studio-return:hover{text-decoration:underline}.studio-return .icon{width:16px;height:16px}
