@font-face{font-family:Andika;src:url('../assets/fonts/Andika.ttf')}@font-face{font-family:Fredoka;src:url('../assets/fonts/Fredoka.ttf')}*{box-sizing:border-box}body{margin:0;background:#eff5e8;color:#233c35;font-family:Andika,system-ui,sans-serif;min-height:100svh}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:4px solid #cf773e;outline-offset:4px}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}.skip{position:absolute;top:-80px;z-index:30}.skip:focus{top:10px;background:white;padding:15px}.top{height:84px;display:flex;align-items:center;justify-content:space-between;padding:0 3vw;border-bottom:1px solid #244b3315;background:#fffcef;gap:12px}.brand{font-family:Fredoka,sans-serif;font-size:28px;display:flex;gap:6px;align-items:center;font-weight:600}.brand>span:not(.brand-cube){font-size:22px;color:#6e8b77}.brand-cube{display:grid;place-items:center;margin-right:6px;width:38px;height:38px;border-radius:7px;background:#7aa675;border:3px solid #3f7359;box-shadow:3px 3px 0 #284d3b;color:#fff5bb;font-size:29px}.worlds{display:flex;gap:9px;align-items:center;font-size:16px;font-weight:bold}.worlds:first-letter{font-size:26px}.top-actions{display:flex;align-items:center;gap:10px}.icon{border:1px solid #284c3320;border-radius:13px;min-width:50px;min-height:50px;background:#fffef3d9;box-shadow:0 3px 0 #355a3320;font-size:27px}.parent-button{border:0;background:none;font-size:14px;padding:12px}.game-layout{max-width:1580px;min-height:calc(100svh - 118px);margin:auto;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(330px,.85fr);align-items:stretch;gap:20px;padding:24px}.world-wrap{min-height:580px;position:relative;border-radius:25px;background:linear-gradient(#badfe2,#e4f4de 75%);overflow:hidden;box-shadow:inset 0 0 0 2px #82ad941c}#world{width:100%;height:100%;display:block;position:absolute;inset:0;touch-action:none}.world-label{position:absolute;top:22px;left:22px;border:1px solid #fff8;background:#ffffff85;border-radius:30px;padding:9px 16px;display:flex;align-items:center;gap:9px;font-size:14px;pointer-events:none}.world-dot{width:8px;height:8px;background:#5d9471;border-radius:50%}.view-controls{position:absolute;bottom:20px;left:20px;display:flex;gap:8px}.view-controls .icon{background:#fffdf0bd}.task{align-self:center;min-width:0;background:#fffcf0;border:1px solid #dbdfc9;border-radius:24px;padding:28px;box-shadow:0 8px 0 #dce5d3;position:relative}.eyebrow{font-size:13px;font-weight:bold;color:#78907a;letter-spacing:1.6px;text-transform:uppercase;margin:0 0 16px}.task h1,.task h2{font-family:Fredoka,sans-serif;font-weight:500;font-size:clamp(32px,3.6vw,49px);line-height:1.1;letter-spacing:-.7px;margin:0 0 18px}.task p{font-size:18px;line-height:1.5;margin:12px 0}.task .subtle{font-size:14px;color:#6d7d70}.big-letter{font-size:108px;line-height:1.1;background:#f6d47e;border:3px solid #d8ae57;border-radius:20px;box-shadow:0 6px 0 #b6934e;min-width:142px;min-height:150px;padding:0 24px;margin:5px 0 12px}.example{display:flex;align-items:center;gap:15px;font-size:28px}.example button{border:0;background:#e9efdc;border-radius:13px;padding:6px 18px;font-size:27px}.sun-picture{font-size:49px;line-height:1;color:#d39336}.apple-picture{display:inline-block;width:43px;height:40px;background:#e47a64;border-radius:40% 45% 44% 48%;position:relative}.apple-picture:before{content:'';position:absolute;top:-10px;left:24px;width:17px;height:12px;border-radius:0 90%;background:#689253}.primary{background:#efc46d;border:2px solid #c49a45;border-radius:13px;box-shadow:0 5px 0 #aa8545;padding:13px 22px;font-family:Fredoka,sans-serif;font-size:25px;font-weight:500;min-height:60px;display:flex;gap:14px;align-items:center;justify-content:center;transition:transform .1s;width:100%}.primary:active,.block-button:active{transform:translateY(3px);box-shadow:0 1px 0 #aa8545}.primary .arrow{font-size:29px}.actions{display:flex;gap:12px;align-items:center;margin-top:24px}.actions .primary{flex:1}.actions .icon{flex-shrink:0}.progress{display:flex;gap:7px;margin-bottom:22px}.progress i{width:23px;height:7px;border-radius:5px;background:#e1e6d5}.progress i.past{background:#75a883}.progress i.current{background:#d4a04c;width:37px}.instruction{display:flex;align-items:center;justify-content:space-between;gap:12px}.instruction h2{margin-bottom:0}.instruction .icon{flex-shrink:0}.letter-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}.block-button{font-family:Andika,sans-serif;font-size:44px;line-height:1.2;min-height:78px;border:3px solid #93a68a;border-radius:10px;background:#d1ddba;box-shadow:0 5px 0 #718969;position:relative}.block-button.found{background:#e3eddb;color:#73917a;box-shadow:none;border-color:#d4dec9}.block-button.hint{outline:4px solid #d39a3c;outline-offset:3px}.inventory{display:flex;gap:10px;align-items:center;margin:24px 0 10px}.inventory span{width:40px;height:40px;border:2px dashed #c1ccb7;border-radius:7px}.inventory span.full{background:linear-gradient(#9caf7a 22%,#a48261 22%);border:2px solid #7f7856;box-shadow:3px 3px 0 #b3bca6}.inventory small{color:#758771;font-size:16px;margin-left:4px}.feedback{min-height:30px;color:#4a7858;font-size:18px!important;margin:15px 0 4px!important}.help{border:0;background:none;text-decoration:underline;text-underline-offset:4px;font-size:15px;color:#687c68;padding:10px 0}.block-token{width:96px;height:90px;background:linear-gradient(#8fa969 25%,#b88f66 25%);border:3px solid #796f4b;border-radius:8px;box-shadow:5px 5px 0 #d3d8bd;font-size:42px;font-family:Fredoka;cursor:grab;touch-action:none;position:relative}.block-token.selected{outline:4px solid #dda845;outline-offset:5px}.slot-row{display:flex;gap:10px;margin-top:25px}.slot{flex:1;min-height:80px;border:3px dashed #c5ccb4;background:#f0f2df;border-radius:10px;font-size:30px}.slot.active{border-color:#ca9b45;background:#fce7ad}.slot.placed{border-style:solid;border-color:#89996e;background:#b8c99c}.word-token{font-size:40px;padding:12px 27px;min-height:85px;background:#f2d07b;border:2px solid #cea34b;border-radius:12px;box-shadow:0 5px 0 #b18d42;touch-action:none;cursor:grab}.word-token.selected{outline:4px solid #7fa78a;outline-offset:4px}.name-slot{margin:24px 0 0;width:100%;height:100px;border:3px dashed #94aa8b;color:#73906c;border-radius:15px;background:#e9efdc;font-size:38px}.name-slot.matched{background:#c4dfb5;color:#2d5c38;border-style:solid}.drag-ghost{position:fixed;z-index:100;pointer-events:none;transform:translate(-50%,-50%) rotate(-4deg);background:#f2d07b;border:3px solid #c29b4a;padding:12px 20px;border-radius:12px;font-size:34px;box-shadow:5px 8px 0 #24412630}.dragging{opacity:.45}.sentence{font-size:40px;line-height:1.6;padding:18px 0}.sentence button{font-size:inherit;background:none;border:0;border-bottom:5px solid #d5e1c7;border-radius:10px;padding:0 6px}.sentence.playing{background:#fff0bf;border-radius:12px}.sentence button.speaking{background:#f3d37b;border-color:#cda245}.theme-choices{display:grid;gap:12px}.theme-choice{display:flex;align-items:center;gap:15px;border:2px solid #c8d6b9;background:#edf3e2;border-radius:13px;padding:14px 17px;font-size:24px;font-family:Fredoka}.theme-choice span{font-size:35px}.theme-choice small{font-size:22px;margin-left:auto}.secondary{padding:12px 15px;min-height:48px;border:1px solid #c5d2bc;background:#f2f4e5;border-radius:11px;font-size:17px}.free-tools{display:flex;gap:10px}.material{flex:1;min-height:55px;border:2px solid #bdcbb2;border-radius:9px;background:#e3ecd7;font-size:15px}.material[aria-pressed=true]{border-color:#b08935;box-shadow:0 0 0 3px #f2d68d}.free-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:16px}.free-grid button{min-height:46px;border:2px dashed #b4c4ac;border-radius:7px;background:#f0f4e3;font-size:19px}.free-grid button.filled{border-style:solid;background:#b7cba0}.rest-icon{font-size:56px;color:#789b85}footer{padding:4px 25px 12px;display:flex;justify-content:space-between;font-size:13px;color:#6f7e70;gap:20px}dialog{max-width:560px;width:calc(100% - 32px);border:0;border-radius:24px;padding:28px;background:#fffdf3;color:#294234;max-height:88svh;overflow:auto}dialog::backdrop{background:#102d27aa;backdrop-filter:blur(4px)}dialog h2{font-family:Fredoka;font-size:28px;margin:0}dialog p{font-size:16px;line-height:1.7}dialog select{font:inherit;padding:10px 14px;border:1px solid #b1c4a8;border-radius:10px;background:#f0f5e6}dialog .dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}dialog hr{border:0;border-top:1px solid #e0e6d5;margin:22px 0}#world-fallback{position:absolute;inset:25%;display:grid;place-items:center;text-align:center;background:#f9fbeacc;border-radius:20px;padding:24px}#world-fallback[hidden]{display:none}@media(max-width:900px){.game-layout{grid-template-columns:minmax(0,1.2fr) minmax(290px,.9fr);padding:14px;gap:14px}.world-wrap{min-height:520px}.task{padding:20px}.brand{font-size:24px}.worlds span{display:none}}@media(max-width:680px){.top{height:66px;padding:0 14px}.brand{font-size:22px}.brand-cube{width:30px;height:30px;font-size:24px;margin:0}.parent-button{font-size:11px;padding:5px}.top-actions{gap:6px}.top .icon{min-width:43px;min-height:43px;font-size:24px}.game-layout{display:flex;flex-direction:column;padding:12px;gap:14px;min-height:auto}.world-wrap{height:42svh;min-height:280px;max-height:420px;border-radius:20px}.world-label{top:14px;left:14px;font-size:12px}.view-controls{left:14px;bottom:12px}.view-controls .icon{min-width:42px;min-height:42px;font-size:23px}.task{width:100%;padding:22px;box-shadow:0 5px 0 #dce5d3;border-radius:20px}.task h1,.task h2{font-size:34px}.big-letter{font-size:82px;min-height:112px;min-width:114px}.letter-grid{margin-top:15px}.block-button{min-height:67px;font-size:37px}.progress{margin-bottom:16px}.actions{margin-top:18px}.sentence{font-size:33px}.eyebrow{margin-bottom:9px}footer{font-size:11px;padding:10px 18px}.slot{min-height:65px}.theme-choices{grid-template-columns:1fr 1fr}.theme-choice{font-size:21px;padding:12px;gap:7px}.theme-choice span{font-size:25px}.theme-choice small{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Original block tools, connected destinations, and a scaffolded word bench. */
.game-layout{position:relative}.top{border-bottom:3px solid #c2d5b0}.world-wrap{border-radius:10px;border:3px solid #afc9ae;box-shadow:0 7px 0 #879f7c}.task{border-radius:9px;border:3px solid #becbae;box-shadow:7px 7px 0 #d4ddc5}.primary,.secondary,.theme-choice,.word-token,.big-letter,.block-button{border-radius:6px}.brand-cube{border-radius:3px}.intro-tool{width:84px;height:84px;background:#e0edca;border:3px solid #9db587;box-shadow:5px 5px 0 #b5c7a3;margin-bottom:20px}.intro-tool svg,.mini-tool svg,.block-token svg,.build-status svg,.card-art svg,.mission-art svg,.sam-face svg,.build-tool svg,.world-target svg{width:100%;height:100%;display:block}.mini-tool{display:block;width:66px;height:66px;flex-shrink:0;transform-origin:30% 78%}.mine-cue{display:flex;align-items:center;gap:14px;margin-top:18px}.mine-cue .inventory{margin:0}.letter-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:16px}.block-button{font-size:54px;background:#f6df9d;border-color:#c19b54;box-shadow:0 7px 0 #997f47;min-height:94px}.block-button:before{content:'';position:absolute;inset:5px;border:3px solid #fff4ca;pointer-events:none}.build-status{display:flex;gap:9px;margin:20px 0}.build-status>span{width:48px;height:48px;opacity:.25;filter:grayscale(1)}.build-status>span.built{opacity:1;filter:none}.block-token{padding:4px;width:114px;height:114px;background:#e8edce;box-shadow:5px 6px 0 #bcc9a0;position:relative;z-index:4;border-radius:5px}.build-tool{max-width:260px;min-height:105px;justify-content:flex-start;padding:7px 18px;margin:12px 0}.build-tool svg{width:92px;height:92px;transform-origin:30% 78%}.world-target{position:absolute;width:76px;height:76px;transform:translate(-50%,-50%);z-index:7;border:4px dashed #9b6a24;border-radius:7px;background:#fff2b6cc;box-shadow:0 0 0 5px #fff9;font-size:44px;color:#6a4b25;display:grid;place-items:center;touch-action:manipulation}.world-target[hidden]{display:none}.world-target.ready{background:#f6db90;border-style:solid;box-shadow:0 0 0 5px #fff9,0 7px 0 #b08c43}.world-target svg{width:64px;height:64px}.assistance{display:flex;align-items:center;gap:18px;margin-top:18px}.show-me{font-size:18px;position:relative;z-index:4}.help{font-size:16px}.feedback{font-size:17px!important;min-height:25px}.library-link{margin-top:18px;width:100%}.story-library{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.story-card{border:3px solid #b3c79e;background:#edf3d9;padding:10px;border-radius:6px;min-height:145px;font-family:Fredoka;font-size:23px;display:grid;grid-template-columns:1fr;justify-items:center;gap:6px;box-shadow:0 4px 0 #9dab8a;text-align:center;position:relative}.story-card.cave{background:#e8e3f2;border-color:#c2b5d9;box-shadow:0 4px 0 #a99abf}.story-card.snow{background:#e2f0f1;border-color:#a6c6ce;box-shadow:0 4px 0 #8daab2}.card-art{display:block;width:66px;height:66px}.card-arrow{position:absolute;right:8px;top:5px;font-size:22px}.theme-choices{grid-template-columns:1fr 1fr;gap:13px}.theme-choices .story-card{font-size:22px}.mission-art{width:110px;height:110px;margin:10px 0 20px}.task .story-caption{font-size:37px;line-height:1.25;font-weight:700}.task .mission-line{font-size:24px;color:#5a7859;margin-bottom:23px}.playing{background:#fff0be;border-radius:7px}.name-picture{display:flex;flex-direction:column;align-items:center;margin:18px 0 0}.sam-face{width:90px;height:90px}.name-slot{margin:0;height:73px;max-width:175px;font-size:38px;border-radius:5px}.name-tray{margin-top:70px;display:flex;justify-content:center}.word-token{font-size:34px;padding:10px 16px;min-height:72px;position:relative;z-index:4}.order-cue{font-size:21px!important;color:#597345;margin:22px 0 9px!important}.word-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch}.order-slot{border:3px dashed #afbd9d;border-radius:5px;background:#eef1df;color:#718265;font-size:clamp(25px,2.3vw,38px);min-width:0;padding:10px 2px;min-height:90px;display:flex;flex-direction:column;justify-content:center;gap:4px;position:relative;z-index:3}.order-slot small{font-size:13px;color:#7c8768}.order-slot.active{border-color:#a4782e;background:#fff0bd;color:#5a633f}.order-slot.filled{background:#cae1ac;color:#2e5036;border-style:solid;border-color:#83a567}.word-bank{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:90px}.word-bank .word-token{min-width:0;padding:10px 1px;font-size:clamp(25px,2.3vw,38px)}.word-token.used{visibility:hidden}.word-token.selected{outline-color:#c99032}.placement-guide{position:absolute;inset:0;pointer-events:none;z-index:6;overflow:visible}.placement-guide svg{width:100%;height:100%;overflow:visible}.arrow-halo,.arrow-line,.arrow-tip{fill:none;stroke-linecap:round;stroke-linejoin:round}.arrow-halo{stroke:#fffdf0;stroke-width:10}.arrow-line,.arrow-tip{stroke:#956029;stroke-width:4}.arrow-line{stroke-dasharray:6 10}.guide-source{outline:4px solid #d0a444;outline-offset:5px}.guide-target{box-shadow:0 0 0 5px #ffe499}.demo-tile{position:absolute;transform:translate(-50%,-50%);background:#f5d68b;border:3px solid #b78b38;border-radius:6px;padding:8px 15px;font-size:32px;box-shadow:4px 6px 0 #735c3030;white-space:nowrap}.demo-tile[hidden]{display:none}.demo-tile b{position:absolute;font-size:38px;right:-18px;bottom:-28px;line-height:1}.drag-ghost svg{width:75px;height:75px}.primary>svg{width:40px;height:40px}.sentence{display:flex;gap:4px;flex-wrap:wrap}.sentence button{font-size:clamp(30px,3vw,43px)}.tool-hit svg{animation:tool-swing .65s ease-in-out}@keyframes tool-swing{0%{transform:rotate(-15deg)}35%{transform:rotate(40deg)}62%{transform:rotate(-40deg)}100%{transform:rotate(0)}}
@media(max-width:1100px) and (min-width:681px){.game-layout{grid-template-columns:minmax(0,1.1fr) minmax(360px,1fr)}.task{padding:19px}.world-wrap{min-height:560px}}
@media(max-width:680px){.task{padding:18px;border-radius:7px}.world-wrap{min-height:215px;height:30svh;max-height:290px;border-radius:7px}.game-layout{gap:17px}.world-target{width:60px;height:60px;font-size:36px}.world-target svg{width:50px;height:50px}.task h2{font-size:31px}.block-button{min-height:86px;font-size:49px}.build-status{margin:13px 0}.build-status>span{width:35px;height:35px}.block-token{width:91px;height:91px}.build-tool{min-height:80px}.build-tool svg{width:72px;height:72px}.feedback{margin-top:10px!important}.assistance{margin-top:8px}.word-bank{margin-top:70px;gap:7px}.word-bank .word-token,.order-slot{font-size:29px}.word-token{min-height:69px}.order-slot{min-height:80px}.task .story-caption{font-size:34px}.story-library{gap:13px}.story-card{min-height:139px;font-size:23px}.mission-art{width:80px;height:80px;margin:0 0 13px}.view-controls .icon{min-width:39px;min-height:39px}.world-label{font-size:12px;padding:6px 11px}.name-tray{margin-top:64px}.progress{margin-bottom:15px}.build-tool{margin:0}.mine-cue{margin-top:10px}.theme-choices .story-card{font-size:21px}.parent-button{font-size:0;min-width:40px;min-height:44px}.parent-button:after{content:'⚙';font-size:23px}}
@media(prefers-reduced-motion:reduce){.tool-hit,.tool-hit svg{animation:none!important}}
.order-slot.speaking,.name-slot.speaking{background:#f5d67e;outline:4px solid #b28a38;outline-offset:3px}.word-slots.playing{outline:4px solid #e8bd57;outline-offset:6px}

.completed-mark{position:absolute;left:8px;top:8px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#33664a;color:#fffdf0;font:700 23px Andika;border:2px solid #fffdf0;box-shadow:0 2px 0 #284c3430}.opening-controls{display:flex;align-items:center;gap:12px}.opening-controls .secondary{font-size:19px;min-height:54px}.opening-controls .icon{min-width:54px;min-height:54px}body[data-phase=story] .view-controls{display:none}
@media(max-width:680px){body[data-phase=story] .world-wrap{height:39svh;min-height:270px;max-height:360px}body[data-phase=story] .mission-art{display:none}body[data-phase=story] .task .story-caption{font-size:34px;margin-top:0}body[data-phase=story] .task .mission-line{margin-bottom:16px}body[data-phase=story] .task{padding:16px}}

/* A collected object leaves a hole; the next piece has its own position. */
.quarry .block-button.skin-0{background:repeating-linear-gradient(90deg,#e8bc70 0 17px,#ddb066 17px 20px);border-color:#ad793c;box-shadow:0 7px 0 #825522}.quarry .block-button.skin-1{background:repeating-linear-gradient(#d58c75 0 17px,#cc816b 17px 20px);border-color:#99573f;box-shadow:0 7px 0 #784333}.quarry .block-button.skin-2{background:#d5dfc9;border-color:#8d9d8c;box-shadow:0 7px 0 #637764}.quarry .block-button:before{border-color:#fff9df70}.quarry .block-button{color:#263d35;text-shadow:0 1px #fff9df}.mined-space{display:grid;place-items:center;min-height:94px;border:3px dashed #afbea4;border-radius:7px;background:#e5ebd6;color:#6a8265;font-size:32px}.inventory>span{width:46px;height:46px;flex-shrink:0}.inventory>span.full{background:none;border:0;box-shadow:none}.inventory svg{width:100%;height:100%}.block-tray{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:17px 0}.block-tray .block-token{width:100%;height:auto;aspect-ratio:1;min-width:0;padding:2px;background:#f9f2d8}.block-tray .block-token:disabled{opacity:.65}.spent-block{display:grid;place-items:center;border:3px dashed #acbca1;border-radius:6px;font-size:32px;color:#64845d;background:#e5ebd6}.build-status svg{width:100%;height:100%}.block-tray .block-token.selected{outline-offset:3px}@media(max-width:680px){.quarry .block-button,.mined-space{min-height:76px;font-size:45px}.quarry{gap:13px}.block-tray{gap:12px}.inventory>span{width:42px;height:42px}.mine-cue{gap:10px}.inventory{gap:7px}.mine-cue .mini-tool{width:48px;height:48px}}

.demo-tile.block-demo{padding:3px;width:76px;height:76px}.block-demo span,.block-demo span svg{display:block;width:100%;height:100%}

/* Separate listening and opening controls: both are real, non-nested buttons. */
.story-card{padding:0;display:block;min-height:176px;font-family:Andika;overflow:visible}
.story-open{width:100%;min-height:176px;border:0;border-radius:3px;background:transparent;box-shadow:none;color:inherit;font:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:12px 8px 28px;position:relative}
.story-open .card-art{margin-right:32px;flex-shrink:0}
.card-title{line-height:1.4;font-size:23px;font-weight:700}
.title-word{border-radius:5px;padding:0 2px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.title-word.speaking{background:#ffe08b;box-shadow:0 3px 0 #98651f;color:#263d30}
.story-card .card-arrow{top:auto;bottom:2px;right:12px}
.title-speaker{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:48px;height:48px;min-height:48px;padding:9px;border:2px solid #90aa79;border-radius:50%;background:#fffdf1;color:#335b41;box-shadow:0 3px 0 #344c3426;touch-action:manipulation}
.title-speaker svg{width:28px;height:28px;display:block}
.title-speaker[aria-pressed=true]{background:#ffe08b;border-color:#98651f;color:#263d30}
.story-card .completed-mark{width:24px;height:24px;font-size:17px;left:5px;top:5px}
.story-open:focus-visible,.title-speaker:focus-visible{outline:4px solid #795728;outline-offset:4px}
@media(max-width:680px){.story-open,.story-card{min-height:174px}.card-title{font-size:21px}.story-open{padding-left:5px;padding-right:5px}.story-open .card-art{width:60px;height:60px;margin-right:37px}}

/* A single clear handoff: settle the story, then light the next arrow. */
.opening-caption{min-height:94px;margin-bottom:18px!important;display:flex;align-items:center}
.story-next{display:flex;align-items:center;justify-content:center;gap:18px;min-height:102px;flex:1;padding:12px 22px;border:3px solid #a7b4a1;border-radius:12px;background:#e0e6da;color:#758671;box-shadow:0 5px 0 #aab6a2;font:600 31px Fredoka}
.story-next svg{width:88px;height:64px;flex:none}.story-next:disabled{opacity:1}
.story-next.ready{background:#2d7945;border-color:#226038;color:#fffef0;box-shadow:0 6px 0 #164b2c,0 0 0 5px #d7edab;animation:next-ready .85s ease-out 1}
.story-next.ready:active{transform:translateY(3px);box-shadow:0 3px 0 #164b2c,0 0 0 5px #d7edab}
.opening-controls{min-height:54px}.skip-opening{margin-left:auto!important;font-size:20px!important;min-width:54px;min-height:48px}.skip-opening[hidden]{display:none}
@keyframes next-ready{0%{box-shadow:0 6px 0 #164b2c,0 0 0 0 #9dd86d}50%{box-shadow:0 6px 0 #164b2c,0 0 0 10px #c1e998}100%{box-shadow:0 6px 0 #164b2c,0 0 0 5px #d7edab}}
@media(max-width:680px){.story-next{min-height:92px;padding:10px 17px}.story-next svg{width:78px;height:57px}.opening-caption{min-height:80px}.story-actions{margin-top:17px}}
@media(prefers-reduced-motion:reduce){.story-next.ready{animation:none}}

/* Generous placement target; readiness changes color, never hit geometry. */
.world-target{width:88px;height:88px}
.world-target.drop-ready,.slot.drop-ready,.name-slot.drop-ready,.order-slot.drop-ready{border-color:#32734d;border-style:solid;background:#d6edac;box-shadow:0 0 0 7px #78b76666}
.drag-ghost.drop-ready{border-color:#32734d;box-shadow:0 0 0 5px #78b76666,5px 8px 0 #24412630}
@media(max-width:680px){.world-target{width:76px;height:76px}}
