.story-cover{width:100%;height:100%;position:relative;overflow:hidden;background:#eee8d7}
.story-cover>img{width:100%;height:100%;object-fit:cover;display:block}
.story-sprite{display:block;background-size:200% 200%;background-position:0 0;background-repeat:no-repeat;aspect-ratio:1;width:125px;pointer-events:none}
.story-cover>.story-sprite{position:absolute;bottom:10%;left:7%;width:110px}
.story-cover-label{position:absolute;left:15px;top:13px;border-radius:7px;padding:5px 9px;background:#fff9eccf;backdrop-filter:blur(5px);font-size:10px;color:#5c6650}
.upcoming-cover{position:relative}.upcoming-cover>.tag{position:absolute;right:14px;top:14px;background:#ffffff70}
.upcoming-course .course-card-body>p{min-height:58px}.coming-soon-button{cursor:default;color:#7f8c75;background:#eff2e9!important}
.story-detail-cover{height:235px;border-radius:20px}.story-detail-cover>.story-sprite{width:155px;bottom:2%;left:14%}
.story-lesson-list .lesson-row{gap:18px;padding:19px 0;align-items:center}.story-lesson-list .lesson-row.selected{padding-inline:12px;background:#eef3e4;border-radius:12px}
.story-lesson-thumbnail{width:100px;height:79px;position:relative;flex-shrink:0;overflow:hidden;border-radius:10px}
.story-lesson-thumbnail>img{width:100%;height:100%;object-fit:cover}.story-lesson-thumbnail .story-sprite{position:absolute;width:62px;left:0;bottom:0}
.story-lesson-list .lesson-info small{font-size:11px;line-height:1.55;max-width:400px;white-space:normal}.story-lesson-meta{display:block;font-size:10px;margin-top:7px;color:#839174}
.story-lesson-list .lesson-row:not(.selected)>.icon{visibility:hidden}.story-lesson-list .lesson-row>.tag{font-size:10px}
.story-course-aside #story-selected-goal{margin:12px 0 23px;font-size:13px;line-height:1.8}
.story-game .game-stage{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(350px,.9fr);column-gap:36px;align-content:center;align-items:center;padding:23px 32px;width:100%;min-height:0;flex:1}
.story-game .game-stage>.story-scene{grid-column:1;grid-row:1/9;align-self:stretch}
.story-game .game-stage>.eyebrow{grid-column:2;grid-row:1;margin:0 0 8px}.story-game .game-stage>#target{grid-column:2;grid-row:2;font-size:30px;line-height:1.5;margin:8px 0 18px;max-width:100%;text-align:center}
.story-game .game-stage>.typing-box{grid-column:2;grid-row:3;max-width:100%;margin:0}
.story-game .game-stage>.game-instruction{grid-column:2;grid-row:4;margin:13px 0 0;line-height:1.6;font-size:10px}
.story-game .game-stage>.auto-advance-note{grid-column:2;grid-row:5;margin:7px auto;font-size:9px}
.story-game .game-stage>.keyboard-guide{grid-column:2;grid-row:6;margin:12px auto 0;width:100%;max-width:540px}
.story-game .game-stage>.speech-player{grid-column:2;grid-row:2;margin:12px auto}.story-game.mode-listen .game-stage>#target{display:none}
.story-game .game-stage>.letter-clues{grid-column:2;grid-row:1;line-height:1.7;font-size:17px;margin:0 0 8px}
.story-game .game-stage>.recall-count{grid-column:2;grid-row:1;margin:0 0 8px}
.story-game.reviewing .game-stage>.learning-review{grid-column:2;grid-row:1/9;min-width:0}
.story-game.reviewing .game-stage>.auto-advance-note{display:none}
.story-game .learning-review{padding:0 13px}.story-game .learning-review .phrase-review{min-width:0;width:100%;padding:23px 20px}.story-game .learning-review .review-tokens>strong{font-size:26px}
.story-game .learning-review .review-success{margin-bottom:12px}.story-game .learning-review .review-explanation{font-size:12px;max-width:430px}
.story-game .guide-row{gap:3px}.story-game .guide-key{height:29px;font-size:9px;min-width:0}
.story-game .game-actions{padding-block:10px}.story-game .game-save-note{margin-block:0 8px}
.story-scene{position:relative;overflow:hidden;min-height:400px;border-radius:23px;background:#ede8d8;margin:0;box-shadow:inset 0 0 0 1px #6b755b15}
.story-background{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center;user-select:none}
.story-stage-layers{position:absolute;inset:0;pointer-events:none}
.story-scene .story-actor{position:absolute;bottom:10%;left:6%;width:clamp(130px,17vw,230px);transform:translateX(var(--hero-travel));transition:transform 220ms ease,background-position 80ms steps(1)}
.story-scene[data-pose="1"] .story-actor{background-position:100% 0}.story-scene[data-pose="2"] .story-actor{background-position:0 100%}.story-scene[data-pose="3"] .story-actor{background-position:100% 100%;animation:story-happy 650ms ease-in-out}
.story-action{position:absolute;right:15%;bottom:22%;width:clamp(70px,8vw,120px);opacity:calc(.25 + var(--story-progress)*.75);transform:translateY(calc((1 - var(--story-progress))*15px));transition:opacity 180ms,transform 180ms;filter:drop-shadow(0 3px 1px #6b755b15)}
.story-action svg{display:block;width:100%;height:auto}.story-scene.word-react .story-action{animation:story-nudge 350ms ease-out}
.story-scene[data-complete="true"] .action-train{animation:story-train 3s ease-in-out forwards}.story-scene[data-complete="true"] .action-sprout{animation:story-grow 900ms ease-out both}
.story-scene[data-complete="true"] .action-water{animation:story-rain 800ms ease-in-out 2}.story-scene[data-complete="true"] .action-notes{animation:story-notes 1400ms ease-out both}
.story-scene[data-complete="true"] .action-book{animation:story-book 800ms ease-in-out both}
.story-spark{position:absolute;color:#f9eec3;font-size:23px;opacity:0;transform:translateY(12px)}.spark-one{left:20%;top:27%}.spark-two{left:37%;top:42%;font-size:15px}.spark-three{right:19%;top:34%}
.story-scene[data-complete="true"] .story-spark{animation:story-sparkle 1200ms ease-out both}.story-scene[data-complete="true"] .spark-two{animation-delay:150ms}.story-scene[data-complete="true"] .spark-three{animation-delay:300ms}
.story-scene figcaption{position:absolute;bottom:0;left:0;right:0;padding:13px 17px;display:flex;align-items:center;justify-content:space-between;background:#faf6e8eb;color:#637052;font-size:10px;gap:15px;backdrop-filter:blur(5px)}
.story-scene figcaption>span:first-child{font-size:12px;font-weight:550}.story-platform{position:absolute;right:28%;top:36%;background:#f7e8ac;border:1px solid #bcae79;border-radius:5px;padding:2px 8px;font:600 15px var(--display);transform:rotate(-3deg)}
.story-paused *{animation-play-state:paused!important}.story-scene.typing-error .story-action{opacity:.25}
@keyframes story-happy{40%{transform:translate(var(--hero-travel),-14px) rotate(-3deg)}75%{transform:translate(var(--hero-travel),-4px) rotate(2deg)}}
@keyframes story-nudge{40%{transform:translateY(-7px) rotate(-4deg)}}
@keyframes story-train{to{transform:translateX(75px)}}
@keyframes story-grow{from{transform:scale(.4);transform-origin:bottom}to{transform:scale(1);transform-origin:bottom}}
@keyframes story-rain{50%{transform:translateY(12px)}}
@keyframes story-notes{to{transform:translateY(-40px) rotate(8deg);opacity:.8}}
@keyframes story-book{to{transform:translate(-55px,25px) rotate(-9deg)}}
@keyframes story-sparkle{30%{opacity:1}to{opacity:0;transform:translateY(-18px)}}
@media(max-width:1000px){.story-game .game-stage{column-gap:22px;padding-inline:20px;grid-template-columns:minmax(0,1fr) minmax(330px,1fr)}.story-scene{min-height:350px}.story-game .game-stage>#target{font-size:26px}.story-scene .story-actor{width:175px}}
@media(max-width:760px){.story-detail-cover{height:190px}.story-lesson-thumbnail{width:76px;height:75px}.story-lesson-list .lesson-row{gap:12px}.story-lesson-list .lesson-info strong{font-size:12px}.story-lesson-list .lesson-info small{font-size:10px}.story-lesson-list .lesson-row>.tag{display:none}.story-game .game-stage{display:flex;padding:13px 0 20px;gap:0;justify-content:flex-start;min-height:0}.story-game .game-stage>.story-scene{width:100%;min-height:210px;height:clamp(210px,30dvh,270px);align-self:auto;margin-bottom:20px;flex-shrink:0}.story-game .game-stage>.eyebrow{font-size:8px;margin:0}.story-game .game-stage>#target{font-size:25px;margin:10px 0 16px}.story-scene .story-actor{width:134px;bottom:10%;left:3%}.story-action{width:75px;right:12%;bottom:24%}.story-scene figcaption{padding:9px 12px;font-size:8px}.story-scene figcaption>span:first-child{font-size:10px}.story-game .game-stage>.keyboard-guide{max-width:100%;margin-top:15px}.story-game .guide-key{height:26px}.story-game.reviewing .game-stage>.story-scene{height:170px;min-height:170px;margin-bottom:15px}.story-game .learning-review .review-tokens>strong{font-size:23px}.story-game .learning-review .phrase-review{padding:17px}.story-game .learning-review .review-explanation{font-size:11px}.story-game .game-actions{gap:10px;padding:9px 0}.story-cover>.story-sprite{width:82px;bottom:5%;left:0}.story-cover-label{display:none}.story-game .game-stage>.speech-player{margin:5px 0 14px}.story-game .game-stage>.letter-clues{font-size:15px;margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){.story-scene *{animation:none!important;transition:none!important}.story-scene .story-actor{transform:none}.story-spark{display:none}}
.less-motion .story-scene *{animation:none!important;transition:none!important}.less-motion .story-scene .story-actor{transform:none}.less-motion .story-spark{display:none}

/* Chapter completion stays with the book and its ordered chapter map. */
.storybook-page .story-map-ending{margin:24px 0 32px}.storybook-page .story-map-ending .story-ending-actions{align-items:center}.storybook-page .story-map-ending .story-ending-actions>.btn{min-height:48px}
@media(max-width:760px){.storybook-page .story-map-ending{margin:16px 0 24px}.storybook-page .story-map-ending .story-ending-actions>.btn{min-height:50px}}

/* Story maps use the same chapter receipts and authored scenes as the player. */
.story-world-main{position:relative;isolation:isolate;min-height:100dvh;width:100%;padding:0;margin:0;overflow:hidden;background:#f4ecd7;background-image:linear-gradient(180deg,#fffdf012 15%,#fff5de35 42%,#fff5de99 100%),var(--story-world-image);background-size:cover;background-position:center;background-attachment:fixed;color:#294437}
.story-world-main .story-world-hud{position:fixed;z-index:20;top:max(18px,env(safe-area-inset-top));left:28px;right:28px;display:flex;align-items:center;gap:15px;padding:12px 16px;border-radius:22px;background:#fffef1ed;box-shadow:0 4px 0 #52704414,0 8px 25px #29443712;backdrop-filter:blur(10px)}
.story-world-back{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;background:#edf1df;border-radius:14px;color:#345b3c}.story-world-back:active{transform:scale(.96)}.story-world-heading{min-width:0}.story-world-heading>span{display:block;font-size:12px;color:#6a785a;margin-bottom:3px}.story-world-main .story-world-heading h1{font-size:clamp(20px,2.2vw,30px);line-height:1.16;letter-spacing:-.7px;margin:0;color:#294437}.story-world-progress{display:flex;gap:8px;align-items:center;white-space:nowrap;margin-left:auto;font-size:15px;font-weight:650;color:#537547}
.story-world-canvas{position:relative;min-height:var(--story-map-height);height:max(var(--story-map-height),100dvh);max-width:1120px;width:100%;margin:0 auto;isolation:isolate}.story-world-trail{position:absolute;inset:0;z-index:-1;width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 5px 0 #63734922)}.story-world-trail path{fill:none;stroke-linecap:round}.story-trail-edge{stroke:#fff7dc;stroke-width:35}.story-trail-road{stroke:var(--story-road);stroke-width:25}.story-trail-stitch{stroke:#fff9e5;stroke-width:3;stroke-dasharray:8 12}.phone-trail{display:none}
.story-world-chapter{position:absolute;left:var(--chapter-x);top:var(--chapter-y);width:140px;height:140px;transform:translate(-50%,-50%);text-align:center;z-index:3}.story-world-chapter-title{position:absolute;bottom:calc(100% + 16px);left:50%;transform:translateX(-50%);width:max-content;max-width:300px;padding:9px 15px 11px;border-radius:14px;background:#fffdf0f0;box-shadow:0 3px 0 #86755220;backdrop-filter:blur(6px)}.story-world-chapter-title>span{display:block;font-size:12px;line-height:1.2;color:#70805c;margin-bottom:5px}.story-world-main .story-world-chapter h2{font-size:22px;line-height:1.15;letter-spacing:-.4px;margin:0;color:#2e4a38}.story-chapter-node{position:relative;width:140px;height:140px;display:block;border:8px solid var(--story-accent);border-bottom-width:11px;border-radius:50%;background:#fff7dc;box-shadow:0 8px 0 #465b35,0 12px 16px #4d673732;overflow:visible;transition:transform 130ms ease,box-shadow 130ms ease;cursor:pointer}.story-world-main .story-chapter-node .story-panel{position:absolute;inset:0;aspect-ratio:auto;width:100%;height:100%;border-radius:50%;outline:0;pointer-events:none}.story-chapter-node:active{transform:translateY(5px) scale(.97);box-shadow:0 3px 0 #465b35,0 5px 10px #4d67372b}.story-chapter-number{position:absolute;bottom:-13px;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:44px;height:44px;border:3px solid #fffdf0;border-radius:50%;background:var(--story-accent);font:700 24px var(--display);color:#fff;box-shadow:0 3px 0 #465b3540}.story-chapter-status{position:absolute;right:-10px;top:-8px;display:grid;place-items:center;width:35px;height:35px;border:3px solid #fffaf0;border-radius:50%;background:#fff5d6;color:#617d47;box-shadow:0 3px 0 #61754c25}.story-chapter-status .icon{width:18px;height:18px}.story-world-chapter.current{z-index:5}.story-world-chapter.current .story-chapter-node{outline:5px solid #fff8d5;outline-offset:7px}.story-world-chapter.blocked .story-chapter-node{filter:saturate(.4);border-color:#b1b69c;opacity:.8;cursor:default;box-shadow:0 8px 0 #888e72,0 12px 16px #4d673718}.story-world-chapter.blocked .story-world-chapter-title{opacity:.88}.story-world-chapter.completed .story-chapter-status{background:#a8d689;color:#345b38}.story-world-chapter.plan-locked:not(.current) .story-chapter-status{background:#ececd5;color:#7d886d}
.story-scene-beads{position:absolute;left:50%;top:calc(100% + 22px);transform:translateX(-50%);display:flex;gap:7px;white-space:nowrap}.story-scene-beads>span{display:grid;place-items:center;width:30px;height:30px;border:2px solid #fff8e8;border-radius:50%;background:#f4ecd5;color:#839174;box-shadow:0 2px 0 #958f6726}.story-scene-beads .icon{width:15px;height:15px}.story-world-chapter.current .story-scene-beads>span{color:var(--story-accent);background:#fff9e8}.story-scene-beads>span.scene-cleared{background:#a8d18b;color:#365b37}
.story-world-main .story-map-play{position:absolute;left:50%;top:calc(100% + 64px);transform:translateX(-50%);white-space:nowrap;min-width:208px;min-height:54px;display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(#467b4c,#2f623e);border:2px solid #6c965d;border-bottom-color:#285537;color:#fff;border-radius:16px;font-size:17px;font-weight:700;box-shadow:0 6px 0 #234a30,0 10px 18px #38553035;transition:transform 130ms ease,box-shadow 130ms ease}.story-world-main .story-map-play:active{transform:translateX(-50%) translateY(4px) scale(.97);box-shadow:0 2px 0 #234a30}.story-map-play .icon{width:18px;height:18px}.story-chapter-prerequisite{position:absolute;left:50%;top:calc(100% + 59px);transform:translateX(-50%);white-space:nowrap;font-size:12px;color:#718064;background:#fff7e0dd;padding:6px 12px;border-radius:8px}
.story-world-companion{position:absolute;left:var(--chapter-x);top:var(--chapter-y);transform:translate(-50%,-50%);z-index:4;pointer-events:none}.story-world-actor{width:clamp(130px,17vw,205px);filter:drop-shadow(0 9px 2px #62774825)}.story-world-finish{position:absolute;bottom:62px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;color:#73825d;font-size:13px;font-weight:600;background:#fff9e4ce;padding:9px 15px;border-radius:12px}.story-world-finish .icon{width:21px;height:21px}.story-world-finish.reached{background:#d3e5b9;color:#3d613d}.story-world-footer{position:fixed;z-index:15;bottom:0;left:0;right:0;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:30px 32px max(14px,env(safe-area-inset-bottom));background:linear-gradient(0deg,#fff8e6f5,#fff8e6a8 60%,#fff8e600);color:#6c7c59;font-size:12px;pointer-events:none}
.story-world-main .story-map-receipt{position:fixed;z-index:10;top:128px;left:50%;transform:translateX(-50%);width:min(470px,calc(100% - 32px));text-align:center;padding:14px 20px 16px;border-radius:18px;background:#fffdf0ed;box-shadow:0 4px 0 #8a9b6a24;backdrop-filter:blur(8px)}.story-map-receipt>span{display:flex;align-items:center;justify-content:center;gap:7px;color:#71824e;font-size:12px;font-weight:650}.story-world-main .story-map-receipt h2{font-size:25px;line-height:1.2;margin:7px 0;color:#2e4a38;letter-spacing:-.5px}.story-map-receipt>p{font-size:14px;line-height:1.5;color:#667653;margin:0}.story-map-receipt>a{display:inline-flex;align-items:center;gap:6px;margin-top:10px;color:#315f3c;font-size:14px;font-weight:650;min-height:44px}
.story-launch-card{overflow:hidden;border-radius:24px;background:#fff;border:1px solid #e3e8d9;box-shadow:0 6px 0 #71905b0e;min-width:0;transition:transform 150ms ease,box-shadow 150ms ease}.story-launch-link{display:block;height:100%;color:inherit}.story-launch-art{position:relative;height:250px;background-size:cover;background-position:center;overflow:hidden}.story-launch-art:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#eae2c62b,#fff0)}.story-launch-chapters{position:absolute;top:15px;left:15px;z-index:3;background:#fff9e8ed;color:#657c4d;font-size:12px;font-weight:600;padding:7px 10px;border-radius:9px}.story-launch-actor{position:absolute;z-index:2;bottom:0;left:50%;transform:translateX(-50%);width:215px;filter:drop-shadow(0 6px 0 #54743c16)}.story-launch-copy{padding:22px 24px 24px}.story-launch-copy h3{font-size:26px;line-height:1.16;letter-spacing:-.7px;color:#294437;min-height:60px;margin:0 0 17px}.story-launch-progress{display:flex;align-items:center;gap:7px;min-height:32px}.story-launch-progress>span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#f1f2e6;color:#80916b;font-size:12px;font-weight:650}.story-launch-progress>span.complete{background:#a9d18e;color:#3e623b}.story-launch-progress .icon{width:14px;height:14px}.story-launch-progress small{margin-left:auto;font-size:12px;color:#7b896a}.story-launch-open{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:49px;margin-top:18px;padding:11px 15px;border-radius:13px;background:#eef3e6;color:#31553b;font-size:15px;font-weight:650}.story-launch-open .icon{width:18px;height:18px}.story-upcoming{padding:25px}.story-upcoming>span{color:#7b896a;font-size:13px}
@media(hover:hover){.story-launch-card:hover{transform:translateY(-3px);box-shadow:0 9px 0 #71905b12}.story-map-play:hover{background:linear-gradient(#508956,#396f47)}}
@media(max-width:760px){.story-world-main{background-position:center top;background-attachment:scroll}.story-world-main .story-world-hud{top:max(10px,env(safe-area-inset-top));left:10px;right:10px;gap:9px;padding:9px;border-radius:18px}.story-world-back{width:44px;height:44px;flex-basis:44px;border-radius:12px}.story-world-heading>span{font-size:10px;margin-bottom:2px}.story-world-main .story-world-heading h1{font-size:17px;line-height:1.2;letter-spacing:-.35px}.story-world-progress{font-size:12px;gap:4px}.story-world-progress .icon{width:15px;height:15px}.story-world-canvas{min-height:max(var(--story-map-height),900px);height:max(var(--story-map-height),900px,100dvh)}.desktop-trail{display:none}.phone-trail{display:block}.story-world-chapter{left:var(--chapter-phone-x);top:var(--chapter-phone-y);width:108px;height:108px}.story-chapter-node{width:108px;height:108px;border-width:6px;border-bottom-width:8px}.story-world-chapter.current .story-chapter-node{outline-width:4px;outline-offset:5px}.story-world-chapter-title{max-width:240px;bottom:calc(100% + 14px);padding:8px 11px 10px;border-radius:12px}.story-world-chapter-title>span{font-size:11px;margin-bottom:4px}.story-world-main .story-world-chapter h2{font-size:18px;line-height:1.2}.story-chapter-number{width:35px;height:35px;font-size:21px;bottom:-13px}.story-chapter-status{width:29px;height:29px;border-width:2px;right:-9px;top:-7px}.story-chapter-status .icon{width:16px;height:16px}.story-scene-beads{top:calc(100% + 19px);gap:5px}.story-scene-beads>span{width:26px;height:26px}.story-scene-beads .icon{width:13px;height:13px}.story-world-main .story-map-play{top:calc(100% + 58px);min-width:185px;min-height:51px;padding:11px 17px;font-size:15px;border-radius:14px}.story-chapter-prerequisite{top:calc(100% + 53px);font-size:11px}.story-world-companion{left:var(--chapter-phone-x);top:var(--chapter-phone-y)}.story-world-actor{width:110px}.story-world-footer{font-size:11px;gap:10px;padding:26px 16px max(12px,env(safe-area-inset-bottom))}.story-world-footer>span:last-child{max-width:50%;text-align:right}.story-world-finish{bottom:59px;font-size:12px}.story-world-main .story-map-receipt{top:101px;padding:10px 15px 12px}.story-world-main .story-map-receipt h2{font-size:21px;margin:5px 0}.story-map-receipt>p{font-size:13px;line-height:1.4}.story-launch-art{height:225px}.story-launch-actor{width:195px}.story-launch-copy{padding:20px}.story-launch-copy h3{font-size:25px;min-height:0;margin-bottom:16px}.story-launch-open{min-height:50px}}
@media(prefers-reduced-motion:reduce){.story-launch-card,.story-chapter-node,.story-map-play{transition:none}.story-launch-card:hover{transform:none}.story-map-play:active{transform:translateX(-50%)}.story-chapter-node:active{transform:none}}.less-motion .story-launch-card,.less-motion .story-chapter-node,.less-motion .story-map-play{transition:none}

/* Keep the book scene readable and give the shared physical keyboard the whole stage. */
.story-game.game-shell .story-scene-v2{border:3px solid #fffdf2;box-shadow:0 5px 0 #d5ddc228,0 10px 26px #39563710}.story-game.game-shell .story-scene-v2 .scene-steps{gap:6px;margin-top:12px}.story-game.game-shell .story-scene-v2 .scene-steps>i{height:6px;border-radius:6px;background:#e6eadf}.story-game.game-shell .story-scene-v2 .scene-steps>i.complete{background:var(--story-accent)}.story-game.game-shell .story-scene-v2 .scene-steps>i.active{background:#c3d7a1;box-shadow:0 0 0 2px #fff,0 0 0 3px #cedcae}
@media(min-width:761px){.story-game.game-shell .game-stage{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr);align-items:center;align-content:center;column-gap:42px;row-gap:9px;padding:16px 0 10px;min-height:0}.story-game.game-shell .story-play-space{display:contents}.story-game.game-shell .game-stage>.story-scene-v2{grid-column:1;grid-row:1/9;align-self:center;justify-self:center;width:min(100%,clamp(225px,31dvh,320px));max-width:320px;min-height:0;height:auto;margin:0;border-radius:23px}.story-game.game-shell .story-play-space>*{grid-column:2;max-width:100%;min-width:0}.story-game.game-shell .story-play-space>.helper-subtitle{justify-self:center;font-size:21px;margin:0 0 6px;text-align:center}.story-game.game-shell .story-play-space>#target,.story-game.game-shell .story-play-space>.reading-prompt{font-size:clamp(32px,3vw,48px);line-height:1.42;letter-spacing:-.8px;text-align:center;width:100%;margin:0 0 16px}.story-game.game-shell .story-play-space>.typing-box{width:100%;max-width:none;margin:0}.story-game.game-shell .story-play-space .word-slots{font-size:clamp(29px,2.8vw,42px);gap:15px 20px;min-height:85px}.story-game.game-shell .story-play-space>.game-instruction{font-size:14px;margin:5px 0 0;min-height:0;justify-self:center}.story-game.game-shell .story-play-space>.keyboard-guide{grid-column:1/-1;grid-row:9;max-width:none;width:100%;margin:0;padding-top:17px}.story-game.game-shell .story-play-space .guide-key,.story-game.game-shell .story-play-space .guide-key.has-legend{height:clamp(28px,4.3dvh,42px);font-size:clamp(11px,1.2vw,15px)}.story-game.game-shell .story-play-space .guide-key.decorative{font-size:10px}.story-game.game-shell .story-play-space .guide-key .key-legend{font-size:8px}.story-game.game-shell .story-play-space .guide-layout{display:block}.story-game.game-shell .story-play-space>.listening-stage,.story-game.game-shell .story-play-space>.recall-ready,.story-game.game-shell .story-play-space>.reading-tools{justify-self:center;width:100%;margin:0 0 10px}.story-game.game-shell .story-play-space>.round-result{grid-column:2;grid-row:1/9;align-self:center;justify-self:center;width:100%}.story-game.game-shell .story-play-space>.word-peek{justify-self:center}.story-game.game-shell .story-play-space>.meaning-check{margin-top:10px}.story-game.game-shell .story-play-space>.meaning-check .meaning-option{min-height:48px;font-size:16px}}
.story-game.game-shell.round-cleared .story-play-space>.target-text,.story-game.game-shell.round-cleared .story-play-space>.typing-box,.story-game.game-shell.round-cleared .story-play-space>.keyboard-guide,.story-game.game-shell.round-cleared .story-play-space>.listening-stage,.story-game.game-shell.round-cleared .story-play-space>.recall-ready,.story-game.game-shell.round-cleared .story-play-space>.game-instruction{display:none!important}
@media(max-width:760px){.story-game.game-shell .story-scene-v2{border-radius:20px}.story-game.game-shell .story-scene-v2 .scene-steps>i{height:5px}.story-game.game-shell .story-scene-v2 figcaption{border-top:1px solid #e8ecd9}.story-game.game-shell .story-play-space>.round-result{width:100%;margin:0}.story-game.game-shell .story-play-space>.round-result .review-advance{width:100%;min-height:53px}}

.story-result-world{width:100%;max-width:1000px;margin:0 auto;display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr);gap:38px;align-items:center;padding:14px 0 24px;color:#294437}.story-result-scene{position:relative;max-width:320px;justify-self:center;width:100%}.story-result-world .story-result-art{width:100%;aspect-ratio:8/9;border:5px solid #fff8df;border-radius:24px;box-shadow:0 6px 0 #8d9e6d25,0 10px 24px #50643a16}.story-result-cleared{position:absolute;bottom:-13px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;background:#d8e9bd;color:#3d683f;font-size:14px;font-weight:650;border:3px solid #fff9e6;border-radius:14px;padding:9px 16px;box-shadow:0 4px 0 #91ad742b}.story-result-cleared .icon{width:19px;height:19px}.story-result-world .story-result-copy h2{font-size:clamp(28px,3vw,40px);line-height:1.13;letter-spacing:-.9px;margin:0 0 15px}.story-result-copy>p{font-size:17px;line-height:1.6;color:#647450;max-width:550px}.story-result-path{display:flex;align-items:center;gap:20px;margin:24px 0;position:relative;width:max-content}.story-result-path:before{content:'';position:absolute;left:0;right:0;top:50%;height:5px;transform:translateY(-50%);background:#e1d7ae;border-radius:6px;z-index:-1}.story-result-path>span{width:44px;height:44px;display:grid;place-items:center;border:3px solid #fff9e6;border-radius:50%;background:#eee7ce;color:#83936b;font-weight:650;box-shadow:0 4px 0 #97a77b29}.story-result-path>span.complete{background:#a9d590;color:#3f673d}.story-result-path .icon{width:21px;height:21px}.story-result-actions{display:flex;flex-wrap:wrap;gap:10px}.story-result-actions .btn{min-height:50px;font-size:15px;gap:9px}
@media(max-width:760px){.story-result-world{grid-template-columns:1fr;gap:34px;padding:8px 0 15px}.story-result-scene{max-width:230px}.story-result-copy{text-align:center}.story-result-world .story-result-copy h2{font-size:29px;margin-bottom:12px}.story-result-copy>p{font-size:16px;line-height:1.55}.story-result-path{margin:22px auto}.story-result-actions{display:grid;grid-template-columns:1fr}.story-result-actions .btn{min-height:52px;width:100%}}

.story-world-finish:not(.reached){display:none}
/* Book scenery stays full bleed and follows the chapter map while scrolling. */
.story-world-main{background-attachment:scroll;background-size:100% 100%;background-image:var(--story-world-image)}
@media(max-width:760px){.story-world-main{background-image:var(--story-world-phone-image,var(--story-world-image))}}
/* Book-map HUD shares the catalogue identity and Campaign's compact surface. */
.story-world-main .story-world-hud{width:min(calc(100% - 32px),940px);left:50%;right:auto;transform:translateX(-50%);gap:14px;padding:10px;border-radius:24px;background:#fffef6f2;box-shadow:0 4px 0 #70895025,0 8px 24px #274a3020}
.story-world-main .story-world-back{width:46px;height:46px;flex-basis:46px;border-radius:14px}
.story-world-emblem{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:15px;background:var(--pink);color:#77444e;box-shadow:inset 0 1px 0 #fff9,0 3px 0 #e8b6bf;transform:rotate(5deg)}
.story-world-emblem .icon{width:25px;height:25px;transform:rotate(-5deg)}
.story-world-main .story-world-heading{flex:1;min-width:0}
.story-world-main .story-world-heading>span{font-size:11px;font-weight:550;color:var(--muted);margin-bottom:4px}
.story-world-main .story-world-heading h1{font-size:24px;line-height:1.16;letter-spacing:-.6px}
.story-world-main .story-world-progress{display:block;flex:0 0 112px;white-space:normal;margin-left:0;padding:0 8px;text-align:right;font-size:14px;font-weight:500;color:var(--muted);font-variant-numeric:tabular-nums}
.story-world-progress b{font-size:19px;color:var(--green)}
.story-world-progress>small{display:block;font-size:10px;line-height:1.3;margin-top:2px}
.story-world-progress-track{height:5px;margin-top:7px;border-radius:4px;background:#e4ebd7;overflow:hidden}
.story-world-progress-track i{display:block;height:100%;border-radius:inherit;background:#84ab58}
@media(max-width:760px){
 .story-world-main .story-world-hud{width:calc(100% - 20px);gap:8px;padding:8px;border-radius:22px}
 .story-world-main .story-world-back{width:44px;height:44px;flex-basis:44px}
 .story-world-emblem{width:36px;height:36px;flex-basis:36px;border-radius:12px}
 .story-world-emblem .icon{width:21px;height:21px}
 .story-world-main .story-world-heading>span{font-size:9px;margin-bottom:3px}
 .story-world-main .story-world-heading h1{font-size:17px;line-height:1.2;letter-spacing:-.35px}
 .story-world-main .story-world-progress{flex-basis:64px;padding:0;font-size:11px}
 .story-world-progress b{font-size:15px}
 .story-world-progress>small{font-size:9px}
 .story-world-progress-track{margin-top:5px}
}
@media(max-width:360px){.story-world-main .story-world-hud{gap:7px}.story-world-emblem{display:none}.story-world-main .story-world-heading h1{font-size:16px}}
