.lagoon{background:#379da8 url('assets/lagoon.webp') center/cover}.mountains{background:#514a87 url('assets/mountains.webp') center/cover}.island{background:#45adbb url('assets/island.webp') center/cover}.space{background:#14204d url('assets/space.webp') center/cover}.village{background:#538c61 url('assets/village.webp') center/cover}.workshop{background:#ae8c68 url('assets/workshop.webp') center/cover}.stage>.scenery{display:none}[hidden]{display:none!important}
.catalogue-pager{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px;font-size:12px}.catalogue-pager button{background:white;min-width:44px;min-height:40px;font-size:20px}.creative-tools{display:flex;flex-direction:column;gap:6px;margin-top:10px}.creative-tools button{background:#fff4cf;font-size:12px}.place-choice img{object-fit:cover!important;border-radius:9px;padding:0!important}.character[aria-pressed=true]{border:2px solid #0d9186;background:#e4f5ee}#choices{overflow:visible;max-height:none}.stage-wrap{display:flex;align-items:center;justify-content:center;min-height:0;min-width:0}.stage-text{font-size:14px;line-height:1.4;color:#123a62;background:#edf4ef;border-radius:9px;padding:8px 12px;margin:6px 0;max-height:56px;overflow:auto;overflow-wrap:anywhere}#storyMaker{min-width:0}.adult-options,.idea-details{font-size:11px;margin:12px 0}.adult-options summary,.idea-details summary{cursor:pointer;font-weight:bold}.idea-details .inspire{display:block;margin-top:6px;padding:8px}.idea-details .inspire>span,.idea-details h3{display:none}
#cinema[open]{width:min(1400px,98vw);height:96dvh;max-height:96dvh;display:grid;grid-template-rows:44px minmax(0,1fr) auto auto 44px;gap:6px;padding:14px 20px;overflow:hidden;margin:auto}.cinema-head{margin:0;align-items:center;font-size:23px}.cinema-head button{font-size:28px;min-width:44px}#screen{display:flex;align-items:center;justify-content:center;min-height:0;overflow:hidden}#screen .stage{width:min(100%,calc((96dvh - 250px)*16/9));flex-shrink:0;max-height:100%;box-shadow:none}#narration{font-size:clamp(14px,1.5vw,20px);line-height:1.35;margin:2px auto;max-width:1000px;min-height:30px;overflow-wrap:anywhere}.text-pager{grid-row:4;display:flex;justify-content:center;align-items:center;font-size:11px;gap:12px}.text-pager button{padding:3px 15px;background:#ffffff18}.cinema-controls{grid-row:5;gap:12px}.cinema-controls button{padding:8px 16px;min-height:40px;font-size:14px}.cinema-controls #read{background:#f5c842;color:#09205c}
.light-dialog{background:#fafaf7;color:#09205c;width:min(760px,95vw);max-height:94dvh;padding:24px;overflow:auto}.light-dialog p{line-height:1.5}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-top h2{font:700 30px 'Baloo 2';margin:0}.dialog-top button{font-size:28px;min-width:44px}.drawing-layout{display:flex;justify-content:center;align-items:flex-start;gap:20px}#drawingPad{height:min(52dvh,480px);width:auto;max-width:calc(100% - 150px);border:2px solid #dce3df;border-radius:15px;touch-action:none;background:repeating-conic-gradient(#edf0ec 0% 25%,#fff 0% 50%) 0/20px 20px}.drawing-tools{width:130px;display:flex;flex-direction:column;gap:9px;font-size:12px}.drawing-tools button{background:#e6eee8;font-size:12px;padding:8px}#paintColors{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}#paintColors button{width:34px;height:34px;border:2px solid #ddd;border-radius:50%}#paintColors [aria-pressed=true]{outline:3px solid #09205c;outline-offset:2px}#drawAdd{display:block;margin:18px auto 0}.save-options,#musicChoices{display:grid;gap:12px;margin:20px 0}.save-options button,#musicChoices button{background:#e7eee7;text-align:left;padding:17px}#musicChoices [aria-pressed=true]{outline:2px solid #108e86;background:#d9f1e8}.music-volume{display:flex;align-items:center;gap:14px;margin:18px 0}.music-actions{display:flex;gap:15px}.music-actions button{background:#e8e8df}.music-import{display:block;margin-top:20px;background:#fff0c7;border-radius:10px;padding:15px;cursor:pointer}
@media screen and (min-width:1100px) and (min-height:650px){body{height:100dvh;overflow:hidden}header{height:58px;padding:8px 24px}main{max-width:1600px;height:calc(100dvh - 58px);padding:10px 24px;display:grid;grid-template-rows:56px 54px minmax(0,1fr) 38px;gap:8px}.intro{margin:0;align-items:center}.intro .eyebrow,.intro p{display:none}.intro h1{font-size:30px;margin:0}.intro .star{font-size:34px}.age-box{display:flex;align-items:center;gap:12px}.age-box label{margin:0}.guide-bar{margin:0;padding:6px 14px;border-radius:13px;gap:10px}.guide-bar>img{width:43px;height:43px}.guide-bar strong{font-size:16px}.guide-bar p{font-size:12px}.guide-bar button{padding:9px 12px;font-size:12px}.workspace{grid-template-columns:210px minmax(0,1fr) 260px;gap:14px;min-height:0}.palette{padding:9px;min-height:0;overflow:auto}.tabs button{font-size:11px;padding:9px 5px}.palette-help{font-size:11px;margin:8px 0}.character{min-height:76px;font-size:10px;padding:4px}.character img{height:65px}.director{min-width:0;min-height:0;display:grid;grid-template-rows:24px minmax(0,1fr) 40px 32px 47px 43px;gap:4px}.stage-top{margin:0}.stage-top #undo{padding:0 8px}.stage{margin:0}.stage-text{font-size:12px;margin:0;padding:6px 9px}.actor-tools{margin:0}.timeline{margin:0;gap:6px}.scene-card{min-width:0;padding:6px}.scene-card span{font-size:10px;max-width:145px}.scene-card small{font-size:8px}.bottom-actions button{padding:10px 12px;font-size:12px}#storyMaker{margin:0;padding:12px;overflow:auto}#tellTitle{font-size:18px;margin-bottom:8px}.tell-modes{gap:3px}.tell-modes button{font-size:10px;padding:8px 3px}#voiceHint,#cardsHint{font-size:12px}.voice-controls{gap:4px}.voice-controls button{font-size:10px;padding:8px;min-height:38px}#voiceFeedback,#storyPreview{font-size:12px}#sentenceCards{grid-template-columns:1fr}#sentenceCards button{font-size:12px;padding:8px;min-height:42px}footer{margin:0;padding:0;align-items:center}footer>span{display:none}footer button,.file-button{font-size:10px;padding:8px}.adult-options .transcribe-choice{margin-top:8px}}
@media screen and (min-width:601px) and (max-width:1099px){.workspace{grid-template-columns:190px minmax(0,1fr)}#storyMaker{grid-column:1/-1}.character img{height:70px}.character{min-height:95px}}
@media screen and (max-width:600px){.workspace{display:flex;gap:12px}.palette{order:0}.director{order:1}#storyMaker{order:2}.palette-help{margin:6px 0}#choices{grid-template-columns:repeat(3,1fr);gap:5px}#choices .character{min-height:75px;font-size:10px}#choices .character img{height:55px}.creative-tools{flex-direction:row;margin-top:6px}.creative-tools button{flex:1;font-size:11px}.catalogue-pager{margin-top:3px}.catalogue-pager button{min-height:34px;padding:3px 15px}.intro h1{font-size:27px}.intro .eyebrow,.intro p,.age-box label{display:none}.age-box{margin-top:5px}.guide-bar{padding:8px;gap:5px}.guide-bar>div{min-width:140px}.guide-bar>img{height:36px;width:36px}.guide-bar p{font-size:11px}.guide-bar strong{font-size:13px}.guide-bar #guideNext{font-size:11px}.stage-text{font-size:12px}#cinema[open]{padding:8px;gap:4px;height:auto;max-height:98dvh;grid-template-rows:40px auto auto auto 44px}.cinema-head{font-size:19px}#screen .stage{width:min(100%,calc((98dvh - 230px)*16/9))}#narration{font-size:15px;margin:12px auto}.cinema-controls{gap:6px}.cinema-controls button{font-size:12px;padding:6px 10px}#drawingPad{height:min(45dvh,350px);max-width:calc(100% - 100px)}.drawing-tools{width:90px}#paintColors{gap:5px}#paintColors button{width:26px;height:26px}.drawing-layout{gap:8px}.dialog-top h2{font-size:23px}}
@media print{.stage-wrap{display:none!important}#printBook .stage{width:100%!important}}
@media screen and (min-width:1100px) and (min-height:650px){.palette{display:grid;grid-template-rows:42px 24px minmax(0,1fr) 40px 68px;gap:5px;overflow:hidden}.palette-help{margin:3px 0}.catalogue-pager,.creative-tools{margin:0}.creative-tools{gap:4px}.creative-tools button{padding:6px}#choices{min-height:0;grid-template-rows:repeat(3,minmax(0,1fr));gap:5px;padding:0}#choices .character{min-height:0;padding:3px;display:flex;flex-direction:column;align-items:center;justify-content:center}#choices .character img{height:calc(100% - 18px);max-height:90px;min-height:0;width:100%;object-fit:contain;padding:0}#choices .character span{line-height:12px;flex-shrink:0}}
@media screen and (min-width:1100px) and (min-height:650px){.palette{height:100%;align-self:stretch}.palette .tabs{padding-bottom:4px}#choices .character img{margin-bottom:2px}}
