@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Nunito:wght@400;600;700;800&display=swap');
:root{--navy:#09205c;--gold:#f5c842;--teal:#0abfbc;--ink:#25335e;--paper:#fafaf7}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px 'Nunito',sans-serif}button,select,textarea{font:inherit}button,.file-button{cursor:pointer;border:0;background:transparent;color:inherit;font-weight:800;border-radius:12px;padding:10px 14px;transition:background .2s,transform .2s}button:hover,.file-button:hover{background:#e5eeee;transform:translateY(-1px)}button:focus-visible,select:focus-visible,textarea:focus-visible,.actor:focus-visible{outline:3px solid #0abfbc;outline-offset:3px}button:disabled{opacity:.35;cursor:default}header{height:90px;max-width:1440px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:15px 44px;border-bottom:1px solid #e2e5e8}.brand{color:var(--navy);text-decoration:none;display:flex;align-items:center;gap:7px;font-size:15px}.brand strong{font:800 24px 'Baloo 2',sans-serif}.brand img{width:55px;height:60px;object-fit:contain}.head-actions{display:flex;gap:12px;align-items:center}.head-actions span{font-size:12px;color:#647084}.head-actions button{border:1px solid #dce2e4;font-size:13px}main{max-width:1360px;margin:auto;padding:30px 44px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2.4px;font-weight:900;color:#558080}h1{font-family:'Baloo 2',sans-serif;font-size:46px;line-height:1.15;margin:10px 0 8px;letter-spacing:-1.5px;color:var(--navy)}h1 em{font-style:normal;color:#148b88}.star{color:#dcae26;font-size:36px;display:inline-block;transform:translate(13px,-8px)}.intro p{margin:0;color:#687084;font-size:14px}.age-box{display:grid;gap:7px}.age-box label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:1px}.age-box select{border:1px solid #dce2e4;border-radius:12px;background:white;color:var(--navy);padding:12px 16px;font-weight:700}.workspace{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px}.palette{background:#f0f3ef;border-radius:22px;padding:15px;align-self:start}.tabs{display:flex;gap:2px;border-bottom:1px solid #dde5df;padding-bottom:12px}.tabs button{padding:9px 8px;flex:1;font-size:12px;border-radius:9px}.tabs button[aria-selected=true]{background:white;box-shadow:0 3px 9px #183d4020;color:#087a78}.palette-help{font-size:12px;text-align:center;color:#66716f;margin:17px 0}#choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.character{background:#fff;border:1px solid #e5e8df;border-radius:15px;font-size:12px;padding:8px 4px 10px}.character img{width:100%;height:90px;object-fit:contain;display:block;margin-bottom:5px}.character:hover{background:#fff8df;box-shadow:0 3px 12px #b4a46a26}.inspire{position:relative;background:#e4e9dc;border-radius:14px;padding:16px;margin-top:20px}.inspire>span{position:absolute;right:13px;top:10px;color:#a58a27;font-size:28px}.inspire h3{font-family:'Baloo 2';font-size:21px;margin:0}.inspire p{font-size:13px;line-height:1.5;min-height:40px;margin:5px 0 10px}.inspire button{background:#fff9;padding:7px 10px;font-size:11px}.stage-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:10px;font-weight:900;letter-spacing:1.3px}.stage-top button{padding:2px 10px;font-size:22px}.stage-hint{font-size:11px;font-weight:600;letter-spacing:0;color:#7a8191}.stage{position:relative;isolation:isolate;aspect-ratio:16/9;overflow:hidden;border-radius:20px;background:linear-gradient(#0b283c,#275453 60%,#49775a);box-shadow:0 15px 30px #1839341a;touch-action:none}.scenery,.scenery>div,#actors,#effects{position:absolute;inset:0;pointer-events:none}.moon{inset:8% 15% auto auto!important;width:10%;aspect-ratio:1;background:#ffeab1;border-radius:100%;box-shadow:0 0 65px #ffedbba0}.hill{background:#3c6857;border-radius:50% 50% 0 0}.hill.one{inset:64% -15% -35% 22%}.hill.two{inset:72% 20% -40% -15%;background:#294d42}.tree{background:linear-gradient(90deg,#142c32,#2d483c,#142c32);width:6%;border-radius:50% 50% 0 0;inset:-10% auto 10% 4%!important;transform:rotate(-7deg)}.tree:before{content:'';position:absolute;width:500%;height:60%;background:#203e36;left:-200%;top:-15%;border-radius:50%;box-shadow:30px 25px 0 #1b3835,-45px 55px 0 #25483d}.tree.t2{left:90%!important;width:8%;transform:rotate(8deg)}.tree.t3{left:20%!important;width:3%;opacity:.45}.tree.t4{left:76%!important;width:3%;opacity:.45}.path{inset:65% 0 -50% 25%!important;background:linear-gradient(#c8b17880,#b6a579);border-radius:80% 10% 0 0;transform:rotate(-25deg);width:36%}.stars{background-image:radial-gradient(#fff8c5 1px,transparent 2px),radial-gradient(#fcffcf 1px,transparent 2px);background-size:91px 69px,131px 113px;opacity:.5}.mountain{display:none}.lagoon{background:linear-gradient(#64c4d8,#c7e7e0 58%,#1b9eac 59%,#5dd4c1)}.lagoon .tree,.lagoon .path{display:none}.lagoon .hill{background:#eeddb5;inset:84% -10% -35% -30%}.lagoon .hill.two{background:#309584;inset:47% -30% 36% 70%}.lagoon .stars{opacity:.15}.mountains{background:linear-gradient(#343c6d,#b385a0 60%,#d2aa8b)}.mountains .tree,.mountains .path{display:none}.mountains .mountain{display:block;inset:22% auto 10% 10%;width:60%;background:linear-gradient(145deg,#e1d7df 0 30%,#70688f 31%);clip-path:polygon(50% 0,100% 100%,0 100%)}.mountains .mountain.two{left:45%;top:35%;background:linear-gradient(145deg,#ecdcdb 0 30%,#535c81 31%)}.mountains .hill{background:#434968}.mountains .hill.two{background:#303c5c}.actor{position:absolute;transform:translate(-50%,-100%);padding:0;border:2px solid transparent;border-radius:12px;pointer-events:auto;touch-action:none;background:none!important;user-select:none;display:block}.actor img{display:block;width:100%;pointer-events:none;filter:drop-shadow(0 8px 5px #061e2844)}.actor.selected{border-color:#f5c842aa;background:#fff1!important}.actor:hover{transform:translate(-50%,-100%)}.scene-caption{position:absolute;bottom:4%;left:10%;right:10%;background:#09205cd9;border-radius:12px;text-align:center;color:#fff;padding:10px;font-size:15px;pointer-events:none;display:none}.actor-tools{display:flex;justify-content:space-between;align-items:center;margin:12px 0;color:#7a8191;font-size:11px}.actor-tools button{font-size:20px;padding:4px 10px;color:var(--navy);background:#eef1ed;margin-left:4px}.story-label{font-size:12px;font-weight:800;display:block;margin-bottom:7px}textarea{resize:vertical;width:100%;background:white;border:1px solid #dfe4e3;border-radius:12px;padding:12px;color:var(--ink);font-size:14px;min-height:68px}.timeline{display:flex;gap:10px;margin:14px 0;overflow-x:auto;padding:3px}.scene-card{min-width:110px;flex:1;background:#eff1eb;padding:10px;text-align:left;border:2px solid transparent}.scene-card.active{border-color:#13a39e;background:#e4f2ed}.scene-card small{display:block;font-size:9px;letter-spacing:1px;color:#7a8191}.scene-card span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:130px;font-size:12px;margin-top:5px}.bottom-actions{display:flex;justify-content:space-between;gap:8px}.primary{background:var(--navy);color:#fff;padding:15px 22px;box-shadow:0 5px 12px #09205c22}.primary:hover{background:#143b7b}.bottom-actions>button:first-child{border:1px dashed #b3bfc1;font-size:12px}footer{margin-top:28px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#7a8191;border-top:1px solid #e0e6e2;padding-top:16px}footer>div{display:flex;flex-wrap:wrap}footer button,.file-button{font-size:11px;padding:9px}dialog{border:0;background:#091a39;color:white;width:min(1100px,96vw);max-height:96vh;border-radius:22px;padding:22px;box-shadow:0 0 100px #0008}dialog::backdrop{background:#020b25e8;backdrop-filter:blur(10px)}.cinema-head{display:flex;justify-content:space-between;font:600 23px 'Baloo 2';margin-bottom:15px}.cinema-head button{color:white}.cinema-controls{display:flex;justify-content:center;align-items:center;gap:22px}.cinema-controls button{background:#ffffff17}#screen .stage{border-radius:12px}#screen .actor{animation:float 4s ease-in-out infinite}#screen .actor:nth-child(even){animation-delay:-2s}#narration{text-align:center;min-height:25px;font-size:20px;line-height:1.5;margin:16px 10px}.spark{position:absolute;color:#fff2a7;animation:twinkle 3s infinite;pointer-events:none}.effect-flower{color:#ffd197;font-size:32px;animation:float 4s infinite}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#09205c;color:white;padding:12px 25px;border-radius:30px;z-index:9;display:none;text-align:center}#printBook{display:none}@keyframes float{50%{translate:0 -8px}}@keyframes twinkle{50%{opacity:.2;scale:.6}}@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important}}@media(max-width:850px){header{padding:12px 18px;height:75px}.head-actions span{display:none}main{padding:24px 18px}h1{font-size:34px}.workspace{grid-template-columns:190px 1fr;gap:16px}.palette{padding:10px}.tabs button{font-size:10px;padding:8px 4px}.character img{height:70px}.stage-hint{display:none}.intro{gap:10px}.age-box select{max-width:175px;font-size:12px}footer{display:block}footer>div{margin-top:8px}}@media(max-width:600px){.brand{font-size:0}.brand strong{font-size:23px}.head-actions{gap:5px}.intro{display:block}.age-box{margin-top:17px;display:flex;align-items:center;gap:12px}.age-box select{max-width:none}h1{font-size:35px}.workspace{display:flex;flex-direction:column}.palette{width:100%;order:2}.director{order:1}#choices{grid-template-columns:repeat(3,1fr)}.character img{height:90px}.inspire{margin-top:12px}.inspire p{min-height:0}.stage{border-radius:14px}.actor-tools{font-size:10px}.bottom-actions .primary{padding:12px;font-size:13px}.scene-card{min-width:95px}.tabs button{font-size:14px}.scene-caption{font-size:11px}#narration{font-size:16px}}@media print{body>*{display:none!important}#printBook{display:block!important}#printBook article{break-inside:avoid;margin:0 0 20px}#printBook .stage{width:100%;height:auto;aspect-ratio:16/9;print-color-adjust:exact;-webkit-print-color-adjust:exact}#printBook h1{font-size:28px}#printBook p{font-size:16px}#printBook .actor{border:0}#printBook article:nth-of-type(2n){break-after:page}}
/* Guided workshop • November 2026 */
.brand{font-family:'Baloo 2',sans-serif;font-weight:500;font-size:17px}.brand strong{font-family:inherit;font-weight:800;font-size:27px}.head-actions{gap:7px}.head-actions #helpOpen{background:#e3f3ed;color:#08625e;border-color:#badbd0}.head-actions #saved{max-width:170px}.forest{background:#13274b url('assets/forest-v2.webp') center/cover no-repeat}.forest>.scenery{display:none}.guide-bar{display:flex;align-items:center;gap:15px;background:linear-gradient(110deg,#0b2354,#233462);color:#fff;border-radius:18px;padding:14px 20px;margin:0 0 24px;box-shadow:0 8px 25px #09205c13}.guide-bar>img{width:70px;height:75px;object-fit:contain;filter:drop-shadow(0 0 15px #f5c84255)}.guide-bar>div{flex:1}.guide-bar strong{font:700 19px 'Baloo 2';color:#f5d46e}.guide-bar p{margin:2px 0;font-size:14px;line-height:1.5}.guide-bar button{color:#fff;background:#ffffff16;flex-shrink:0}.guide-bar button:hover{background:#ffffff29}.guide-highlight{outline:3px solid #e9b52e!important;outline-offset:5px;box-shadow:0 0 0 9px #f5c84220}.character img{height:100px;padding:4px}.actor{max-height:90%;aspect-ratio:3/4}.actor img{height:100%;object-fit:contain}.actor[aria-label=Mikenam]{aspect-ratio:1}.inspire{background:linear-gradient(130deg,#f5e7bb,#f3eedc)}#helpDialog{width:min(880px,95vw);padding:0;background:#fafaf7;color:#25335e;max-height:92vh;overflow:auto}#helpDialog .dialog-close{position:absolute;right:12px;top:12px;z-index:1;color:white;background:#09205c88;font-size:24px;width:44px;height:44px;padding:0}.welcome-hero{position:relative;text-align:center;background:linear-gradient(#09205c44,#09205cea),url('assets/forest-v2.webp') center 40%/cover;padding:25px 60px 25px;color:white}.welcome-hero>img{display:block;height:110px;width:140px;object-fit:contain;margin:0 auto 8px;filter:drop-shadow(0 0 20px #ffd65a66)}.welcome-hero .eyebrow{color:#f5d46e;font-size:10px}.welcome-hero h2{font:700 34px/1.15 'Baloo 2';max-width:580px;margin:10px auto}.welcome-hero p{font-size:15px;margin:10px auto 0}.welcome-body{padding:26px 32px}.help-steps{display:grid;grid-template-columns:1fr 1fr;gap:22px}.help-step{display:flex;gap:13px;align-items:flex-start}.help-step>span{display:grid;place-items:center;font-size:25px;background:#e9eee5;border-radius:14px;min-width:47px;height:47px}.help-step strong{font:700 18px 'Baloo 2';color:#09205c}.help-step p{font-size:13px;line-height:1.5;margin:4px 0;color:#586278}#helpReassure{text-align:center;font-size:14px;background:#fff1c9;border-radius:10px;padding:12px;margin:23px 0 13px}.help-actions,.welcome-actions{display:flex;justify-content:center;gap:12px;align-items:center}.help-actions button{background:#e5efea;font-size:14px}.welcome-actions{border-top:1px solid #e3e6dc;padding-top:18px}.welcome-actions button{font-size:15px}#voiceStatus{min-height:18px;font-size:12px;text-align:center;color:#66706e;margin:8px 0}.intro h1 em{color:#148b88}#helpDialog::backdrop{background:#07152cd9}.palette{background:#f1f2ec}.stage{border:3px solid #fff;box-shadow:0 9px 30px #09205c20}@media(max-width:850px){.guide-bar{padding:12px;gap:10px}.guide-bar strong{font-size:16px}.guide-bar p{font-size:12px}.guide-bar button{font-size:12px;padding:9px}.guide-bar>img{width:52px;height:60px}}@media(max-width:600px){header{height:auto;min-height:75px;flex-wrap:wrap;gap:8px}.brand{font-size:13px}.brand strong{font-size:24px}.head-actions{width:100%;justify-content:flex-end}.head-actions #helpOpen{margin-right:auto}.guide-bar{flex-wrap:wrap}.guide-bar>div{min-width:180px}.guide-bar>img{width:45px}.guide-bar #guideNext{margin-left:auto}.welcome-hero{padding:22px 35px}.welcome-hero h2{font-size:27px}.welcome-hero>img{height:85px}.welcome-body{padding:20px}.help-steps{grid-template-columns:1fr;gap:16px}.welcome-actions{flex-direction:column}.welcome-actions button{width:100%}.brand img{width:42px;height:47px}.actor{min-width:0}}@media print{.guide-bar{display:none!important}.stage{border:0;box-shadow:none}}
#storyMaker{margin:16px 0;background:#eff4ef;border-radius:17px;padding:18px}#tellTitle{font:700 22px 'Baloo 2';margin:0 0 12px;color:#09205c}.tell-modes{display:flex;gap:8px;margin-bottom:12px}.tell-modes button{background:white;flex:1;font-size:14px;border:2px solid transparent}.tell-modes [aria-pressed=true]{border-color:#0a8e88;background:#def3eb}.voice-controls{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.voice-controls button{min-height:46px}.voice-controls .primary{background:#087d79}#voiceHint,#cardsHint{font-size:14px;line-height:1.5}.transcribe-choice{display:flex;gap:10px;align-items:center;font-size:13px;margin-top:17px}.transcribe-choice input{width:20px;height:20px;accent-color:#087d79}.small-note{font-size:11px;line-height:1.5;color:#5a6479;max-width:700px}#voiceFeedback{font-size:12px;color:#39615a;min-height:18px}#sentenceCards{display:grid;grid-template-columns:1fr 1fr;gap:8px}#sentenceCards button{background:white;font-size:13px;font-weight:700;text-align:left;min-height:55px;padding:12px}#storyPreview{font-size:15px;line-height:1.5;color:#09205c}#reviewText{font-size:12px;text-decoration:underline}#recordDialog{text-align:center;width:min(500px,94vw);background:#09205c;color:white;padding:30px}#recordDialog h2{font:700 30px 'Baloo 2'}.mic-orb{display:grid;place-items:center;font-size:48px;margin:25px auto;width:110px;height:110px;border-radius:50%;background:#ffffff15;border:2px solid #f5c842;animation:twinkle 2s infinite}#stopRecording{background:#f5c842;color:#09205c}#recordTranscript{font-size:16px;min-height:45px}#recordStatus{font-size:17px}.ocean{background:#22a5b9 url('assets/ocean.webp') center/cover}.snow{background:#728ea4 url('assets/snow.webp') center/cover}.garden{background:#d4a06a url('assets/garden.webp') center/cover}.ocean>.scenery,.snow>.scenery,.garden>.scenery{display:none}#choices{max-height:590px;overflow-y:auto;padding:3px;scrollbar-width:thin}.character{min-height:125px}.character img{height:100px}@media(max-width:600px){#storyMaker{padding:12px}.tell-modes{gap:4px}.tell-modes button{font-size:12px;padding:9px 4px}#sentenceCards{grid-template-columns:1fr}#choices{max-height:360px}.voice-controls button{font-size:13px}}

.sky{background:#8dd6ed url('assets/sky.webp') center/cover}.cave{background:#aa8ac2 url('assets/cave.webp') center/cover}.sky>.scenery,.cave>.scenery{display:none}
