body{font-size:18px;background:#faf6e9}.shell{padding:0;max-width:none}#main:focus{outline:0}.art{display:block;aspect-ratio:1;background-repeat:no-repeat;flex:none}.game-header{position:absolute;top:0;left:0;right:0;z-index:20;display:flex;align-items:center;justify-content:space-between;height:72px;padding:14px 27px;pointer-events:none}.game-header>*{pointer-events:auto}.game-brand{font:500 25px/1.1 Fredoka;color:#284f40;background:#fff7e9e8;border-radius:30px;padding:10px 19px;box-shadow:0 3px 12px #23463820}.header-tools,.play-tools,.writer-controls{display:flex;align-items:center;gap:8px}.round-control{display:inline-flex;align-items:center;justify-content:center;height:44px;width:44px;border:1px solid #fff8e8;border-radius:50%;background:#fff8e8ee;box-shadow:0 3px 0 #a3a37c55;flex:none;text-decoration:none}.round-control:hover{background:white;transform:translateY(-2px)}.world-map{height:100svh;min-height:620px;position:relative;overflow:hidden;isolation:isolate;background:#8ccfcc}.map-landscape{position:absolute;inset:0;z-index:-2;background:url('./assets/visual/map.webp') center/cover no-repeat}.world-map:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(#153d4710,transparent 20%,transparent 80%,#153d4745);pointer-events:none}.map-place{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:145px;display:flex;flex-direction:column;align-items:center;filter:drop-shadow(0 6px 4px #193f4340);transition:scale .15s;text-decoration:none}.map-place:hover{scale:1.12;z-index:5}.map-place>.art{width:98px;height:98px;background-color:#fff2d450;border-radius:50%;filter:drop-shadow(0 3px 0 #f1dfb0)}.map-place>span:last-child{margin-top:-5px;background:#fff5da;color:#334f39;padding:4px 13px 6px;border:2px solid #efdcb0;border-radius:12px;box-shadow:0 4px 0 #a5854b99;font:500 19px/1.2 Fredoka;white-space:nowrap;text-align:center}.map-dock{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:8px;background:#fff3d8ed;padding:4px 19px 9px;border:2px solid #efd39d;border-radius:25px;box-shadow:0 8px 20px #25483c30;z-index:10}.map-dock a{min-width:99px;display:flex;align-items:center;flex-direction:column;font:500 18px/1.1 Fredoka;text-decoration:none;transition:transform .15s}.map-dock a:hover{transform:translateY(-5px)}.map-dock .art{width:67px;height:67px}.map-dock a:nth-child(3) .art{width:59px;height:51px;margin:9px 4px 7px;border-radius:11px}.gallery-page,.visual-lesson,.quest-gallery,.picture-play,.choice-board{max-width:1380px;margin:auto;padding:0 40px 35px}.gallery-page{padding-top:95px}.page-line{display:flex;gap:17px;align-items:center;margin-bottom:27px}.page-line h1{font-size:35px;flex:1;margin:0}.text-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.illustrated-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:235px;border-radius:26px;background:radial-gradient(ellipse,#f0e7cb99 10%,transparent 68%);transition:.15s;text-decoration:none}.illustrated-tile:hover{transform:translateY(-6px);background:#eee4c9}.illustrated-tile .art{width:180px;height:180px}.illustrated-tile h2{font-size:27px;margin:0}.lesson-topbar{max-width:1380px;margin:auto;display:flex;gap:17px;align-items:center;padding:90px 40px 25px}.lesson-name{display:flex;gap:8px;align-items:center;flex:1}.lesson-name .art{width:65px;height:65px}.lesson-name h1{font-size:33px;margin:0;line-height:1.1}.lesson-tabs{display:flex;background:#e9e3d3;border-radius:17px;padding:5px;gap:3px}.lesson-tabs a,.lesson-tabs button{background:transparent;border:0;text-decoration:none;border-radius:12px;padding:11px 20px;font:500 19px/1.2 Fredoka}.lesson-tabs .active{background:#286b58;color:#fffdf0;box-shadow:0 3px 0 #164b3b}.one-question{font-size:30px;text-align:center;line-height:1.3;margin:4px 0 26px}.story-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.story-panel{display:flex;flex-direction:column;overflow:hidden;text-align:left;background:#fffcf3;border:1px solid #ded6c2;border-radius:24px;padding:0;box-shadow:0 7px 0 #e9dec5;color:var(--ink)}button.story-panel:hover{transform:translateY(-3px)}.story-panel .art{width:100%}.story-panel>div{padding:17px 21px 21px}.story-panel b{display:block;font:500 25px/1.2 Fredoka;margin-bottom:8px}.story-panel p{font:17px/1.65 Andika;max-width:36ch;margin:0}.picture-button{display:block;padding:0;border:0;background:transparent;width:100%}.lesson-actions{display:flex;justify-content:space-between;align-items:center;margin-top:28px}.action-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:51px;padding:12px 24px;border:1px solid #e4b35d;border-radius:15px;background:#f3c875;color:#59411d;font:500 21px/1.2 Fredoka;box-shadow:0 4px 0 #c49243;text-decoration:none}.action-button:hover{background:#ffda8e;transform:translateY(-1px)}.action-button.small{min-height:42px;padding:9px 17px;font-size:17px}.quiet-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:45px;padding:9px 16px;border:1px solid #d9ddcc;border-radius:14px;background:#fffaf0;font:500 18px/1.2 Fredoka}.fiction-tag{display:inline-block;margin:0 0 13px;padding:4px 10px;border-radius:20px;background:#fff0cf;color:#81673a;font-size:12px}.simple-filter{display:flex;gap:5px;align-items:center;background:#e9e3d3;border-radius:15px;padding:4px}.simple-filter button,.simple-filter a{background:transparent;border:0;border-radius:11px;padding:9px 16px;font:500 18px/1.2 Fredoka;text-decoration:none}.simple-filter .active{background:#fffaf0}.quest-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.gallery-page .quest-gallery{padding:0}.quest-card{display:block;overflow:hidden;position:relative;box-shadow:0 7px 0 #ddd4bb;border:1px solid #e4d9c1;border-radius:24px;background:#fffcf1;text-decoration:none;transition:transform .15s}.quest-card:hover{transform:translateY(-6px)}.quest-card>.art{width:100%}.quest-card h2{font-size:26px;line-height:1.2;padding:18px 55px 20px 20px;margin:0}.quest-play{position:absolute;bottom:17px;right:14px;width:35px;height:35px;border-radius:50%;background:#286b58;color:white;display:grid;place-items:center}.quest-play svg{height:19px;width:19px}.play-topbar{max-width:1380px;margin:auto;display:flex;gap:18px;align-items:center;padding:92px 40px 25px}.play-topbar h1{font-size:34px;line-height:1.2;flex:1;margin:0}.picture-play{display:grid;grid-template-columns:.9fr 1.1fr;gap:30px;align-items:center}.play-cover{position:relative;border-radius:28px;overflow:hidden;box-shadow:0 12px 35px #183e3321;border:5px solid #fffdf2}.play-cover>.art{width:100%}.cover-caption{position:absolute;left:0;right:0;bottom:0;text-align:center;background:linear-gradient(transparent,#102a32ed);color:#fff9e8;padding:60px 24px 23px;font:500 30px/1.2 Fredoka}.picture-generator{min-width:0}.picture-choices{display:flex;align-items:center;justify-content:center;gap:9px}.picture-choice{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;min-width:0;max-width:245px;padding:5px 8px 18px;border:0;background:radial-gradient(ellipse,#f5e3b5 10%,#f7edce77 55%,transparent 72%)}.picture-choice>.art{width:100%;max-width:220px}.picture-choice>span:last-of-type{font:500 25px/1.2 Fredoka;background:#fff6df;border-radius:13px;padding:6px 12px;box-shadow:0 3px 0 #d6c299;max-width:100%;overflow-wrap:anywhere}.picture-choice small{position:absolute;right:9px;top:5px;background:#fff9e5;border-radius:50%;padding:7px;box-shadow:0 2px 0 #dacaa4}.picture-choice small svg{height:17px;width:17px}.picture-choice:hover{transform:rotate(-2deg)}.combine-sign{font:500 30px Fredoka;color:#a08645;flex:none}.picture-choices.single-choice .picture-choice{max-width:340px}.link-words{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:18px 0}.link-words button{border:1px solid #dfd3b4;border-radius:12px;background:#fff8e7;padding:6px 15px;font:500 20px Fredoka}.link-words .active{background:#346e57;color:white;border-color:#346e57}.generator-actions,.game-actions{display:flex;justify-content:center;gap:15px;align-items:center;margin-top:26px;flex-wrap:wrap}.optional-idea{max-width:900px;margin:15px auto 30px;padding:0 30px;font-size:14px;color:#778473}.optional-idea summary{cursor:pointer}.optional-idea textarea{margin-top:12px}.five-lines{max-width:440px;margin:15px auto;display:grid;gap:7px}.five-lines>div{display:flex;gap:10px;align-items:center}.five-lines b{font:500 23px Fredoka;color:#a4884f}.five-lines span{font-size:16px;white-space:nowrap}.five-lines i{height:1px;background:#c9bb98;flex:1}.picture-order{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.picture-order li{background:#fff9e8;border:1px solid #e0d3b4;border-radius:22px;overflow:hidden;box-shadow:0 5px 0 #ded2b2}.picture-order .art{width:100%}.picture-order li>p{font-size:16px;line-height:1.6;padding:15px 18px;margin:0}.picture-order li>div{display:flex;justify-content:center;align-items:center;gap:22px;padding:0 15px 15px}.picture-order li>div>span{font:500 23px Fredoka;color:#a08345}.short-feedback{text-align:center;background:#fff0cf;border-radius:15px;padding:12px 25px;max-width:480px;margin:20px auto;font:500 25px Fredoka}.short-feedback.correct{background:#dcebcf;color:#356348}.choice-board{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.choice-scene .art{width:100%;border-radius:26px;box-shadow:0 12px 35px #183e3321}.choice-scene h2{font-size:26px;line-height:1.35;padding:18px 5px;margin:0}.answer-cards{display:grid;gap:15px}.answer-card{display:flex;gap:15px;align-items:center;text-align:left;padding:20px;border:2px solid #dfd3b8;border-radius:19px;background:#fffaf0;box-shadow:0 4px 0 #e5d9ba;font:18px/1.6 Andika}.answer-card>span{display:grid;place-items:center;flex:none;border-radius:50%;height:36px;width:36px;background:#f2e6c4;color:#8c7846;font:500 22px Fredoka}.answer-card.selected{background:#e9f2de;border-color:#598368}.launch-board{max-width:1100px;margin:0 auto 30px;position:relative;border-radius:26px;overflow:hidden}.launch-picture{width:100%;aspect-ratio:1.5}.launch-overlay{position:absolute;inset:0;background:linear-gradient(transparent 25%,#142b2df0 95%);display:flex;align-items:center;justify-content:end;flex-direction:column;text-align:center;padding:40px;color:#fff7e6;gap:15px}.launch-overlay h2{font-size:55px}.launch-overlay p{font:500 33px/1.3 Fredoka;max-width:90%;margin:0}.launch-overlay .action-button{font-size:16px;min-height:40px;padding:10px 15px}.focus-writer{min-height:100svh;background:#f5f3eb;padding:0 35px 35px}body[data-screen=write] .game-header{display:none}.writer-toolbar{display:flex;gap:15px;align-items:center;max-width:1160px;margin:auto;padding:17px 0}.writer-toolbar>span{font:500 20px Fredoka;color:#657267}.writer-controls{margin-left:auto}.writing-paper{display:flex;flex-direction:column;max-width:1050px;min-height:calc(100svh - 115px);margin:auto;padding:40px 65px 20px;border-radius:7px;background:#fffefa;box-shadow:0 4px 25px #2439310b}.writing-paper>input{border:0;background:transparent;font:500 36px/1.3 Fredoka;padding:0 0 20px;width:100%;outline:0}.writing-paper>textarea{border:0;background:transparent;outline:0;padding:0;resize:vertical;min-height:calc(100svh - 280px);width:100%;flex:1;font:21px/1.95 Andika}.writing-paper>input::placeholder,.writing-paper>textarea::placeholder{color:#a3aaa0}.writing-paper>input:focus-visible,.writing-paper>textarea:focus-visible{outline:0}.paper-status{display:flex;justify-content:space-between;padding-top:25px;font-size:11px;color:#8e978a}.notebook-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.notebook-cover{position:relative;background:#fffaf0;border:1px solid #ded3b9;border-left:11px solid #8aab96;border-radius:8px 23px 23px 8px;box-shadow:3px 6px 0 #ded6bf;padding:20px 25px}.notebook-cover .art{width:110px;height:110px;margin:auto}.notebook-cover h2{font-size:26px;margin:14px 0 8px}.notebook-cover p{font-size:13px;color:#7e8a76}.notebook-cover>div{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.empty-notebook{grid-column:1/-1;display:flex;align-items:center;flex-direction:column;padding:60px;text-decoration:none}.empty-notebook .art{width:200px;height:200px}.dream-workshop{max-width:1380px;margin:auto;padding:90px 40px 25px}.dream-stage{max-width:1050px;margin:auto;position:relative;overflow:hidden;border-radius:25px;border:5px solid #fffaf0;box-shadow:0 12px 35px #183e3321}.dream-stage>.art{width:100%;aspect-ratio:1.5}.dream-arrow{position:absolute;top:43%;display:grid;place-items:center;width:48px;height:48px;border:1px solid #fffbef80;border-radius:50%;background:#fff8e8ed;box-shadow:0 3px 0 #21393a42}.dream-arrow.prev{left:16px}.dream-arrow.next{right:16px}.dream-question{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);width:max-content;max-width:80%;border:0;border-radius:17px;background:#fff7e8eb;padding:12px 22px;font:500 22px/1.35 Fredoka;box-shadow:0 5px 18px #132e3333}.dream-footer{display:flex;gap:16px;justify-content:center;align-items:center;max-width:1050px;margin:20px auto 0}.dream-thumbs{display:flex;gap:7px;margin-right:auto}.dream-thumbs button{padding:0;border:3px solid transparent;border-radius:10px;overflow:hidden;opacity:.6;background:transparent}.dream-thumbs button.active{border-color:#3c725b;opacity:1}.dream-thumbs .art{width:73px;aspect-ratio:1.5}.dream-footer .select{max-width:230px}.zoom-picture>.art{width:100%;border-radius:18px}.zoom-caption{font:500 24px/1.5 Fredoka!important;text-align:center;margin-top:20px!important}.help-picture{max-width:420px;width:100%;margin:auto}.help-picture>.art{width:100%;border-radius:20px}.help-steps{font-size:17px;padding-left:26px}.help-steps li{line-height:1.65;margin-top:16px}.help-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.help-strip .art{width:100%;border-radius:14px}.help-strip b{display:block;font:500 20px Fredoka;text-align:center;margin-top:8px}.modal{max-width:790px;background:#fff9ea}.modal p{font-size:17px}.modal .check{font-size:17px}.modal .textarea{width:100%}.modal .field-label{display:block}.modal .timer-time{font-size:34px}.confetti{display:none}.library-heading{padding:95px 40px 25px}.teacher-grid{max-width:1250px;margin:auto;padding:0 35px 30px}
@media(max-width:1050px){.map-place>.art{width:82px;height:82px}.map-place{width:120px}.map-place>span:last-child{font-size:16px;padding:4px 9px}.map-dock a{min-width:85px;font-size:16px}.map-dock .art{width:57px;height:57px}.map-dock a:nth-child(3) .art{width:50px;height:45px;margin:6px 3px}.lesson-topbar{gap:12px;padding-left:25px;padding-right:25px}.lesson-name h1{font-size:28px}.lesson-name .art{width:50px;height:50px}.lesson-tabs a,.lesson-tabs button{font-size:17px;padding:10px 13px}.story-strip{gap:17px}.story-panel b{font-size:22px}.story-panel p{font-size:15px}.story-panel>div{padding:15px 17px}.visual-lesson,.quest-gallery,.picture-play,.choice-board{padding-left:25px;padding-right:25px}.picture-play{gap:20px}.play-topbar h1{font-size:29px}.cover-caption{font-size:26px}.picture-choice>span:last-of-type{font-size:21px}.dream-thumbs .art{width:55px}.dream-footer{gap:10px}.dream-footer .action-button{font-size:18px;padding:11px 17px}.illustrated-tile .art{width:150px;height:150px}.illustrated-tile{min-height:210px}.illustrated-tile h2{font-size:23px}.text-gallery{gap:13px}}
@media(max-width:800px){.game-header{padding:14px 20px}.game-brand{font-size:21px}.lesson-topbar{flex-wrap:wrap;padding-top:85px}.lesson-tabs{width:100%;justify-content:space-between}.lesson-tabs a,.lesson-tabs button{flex:1;text-align:center;font-size:18px;padding:11px}.quest-gallery{grid-template-columns:repeat(2,1fr)}.picture-play{grid-template-columns:.85fr 1.15fr;gap:15px}.picture-choice>span:last-of-type{font-size:18px;padding:5px 8px}.cover-caption{font-size:22px;padding:50px 15px 18px}.generator-actions .action-button{font-size:18px;padding:11px 17px}.generator-actions .quiet-button{font-size:16px;padding:8px 12px}.choice-board{gap:20px}.answer-card{font-size:15px;padding:15px;gap:10px}.choice-scene h2{font-size:22px}.focus-writer{padding:0 22px 25px}.writing-paper{padding:30px 35px 20px}.notebook-grid{grid-template-columns:repeat(2,1fr)}.dream-footer{flex-wrap:wrap}.dream-thumbs{margin:0}.dream-footer .select{max-width:190px}.gallery-page{padding:90px 25px 25px}.page-line h1{font-size:29px}.simple-filter button,.simple-filter a{font-size:16px;padding:8px 12px}.teacher-grid{grid-template-columns:1fr}}
@media(max-width:600px){.game-header{height:65px;padding:12px 14px}.game-brand{font-size:18px;padding:8px 12px}.header-tools a:first-child{display:none}.round-control{height:38px;width:38px}.round-control svg{width:21px;height:21px}.world-map{min-height:760px}.map-landscape{background-size:auto 100%}.map-place{left:var(--mx);top:var(--my);width:100px}.map-place>.art{width:78px;height:78px}.map-place>span:last-child{font-size:14px;padding:4px 7px;border-width:1px}.map-dock{padding:4px 7px 7px;gap:0;border-radius:20px;bottom:12px}.map-dock a{min-width:78px;font-size:14px}.map-dock .art{width:52px;height:52px}.map-dock a:nth-child(3) .art{width:47px;height:41px}.text-gallery{grid-template-columns:repeat(2,1fr);gap:13px}.illustrated-tile .art{width:140px;height:140px}.illustrated-tile{min-height:185px}.illustrated-tile h2{font-size:23px}.gallery-page{padding:80px 17px 25px}.page-line{gap:12px;flex-wrap:wrap;margin-bottom:18px}.page-line h1{font-size:27px}.page-line .searchbox{width:100%}.page-line .searchbox input{width:100%}.simple-filter{width:100%;justify-content:center}.lesson-topbar{padding:78px 17px 20px;gap:10px}.lesson-name .art{width:44px;height:44px}.lesson-name h1{font-size:27px}.lesson-tabs{padding:4px;border-radius:13px}.lesson-tabs a,.lesson-tabs button{font-size:16px;padding:10px 4px}.visual-lesson{padding:0 17px 30px}.one-question{font-size:25px}.story-strip{grid-template-columns:1fr;gap:24px;max-width:450px;margin:auto}.story-panel b{font-size:25px}.story-panel p{font-size:17px;max-width:none}.story-panel>div{padding:17px 20px 20px}.quest-gallery{padding:0 17px 30px;grid-template-columns:1fr;max-width:450px}.quest-gallery.all-quests{max-width:none;grid-template-columns:repeat(2,1fr);gap:13px}.all-quests .quest-card h2{font-size:20px;padding:13px 13px 45px}.all-quests .quest-play{bottom:10px;right:10px;width:28px;height:28px}.play-topbar{padding:80px 17px 20px;gap:11px;flex-wrap:wrap}.play-topbar h1{font-size:27px}.play-tools{margin-left:auto}.picture-play{grid-template-columns:1fr;padding:0 17px 22px;gap:20px}.play-cover{max-width:400px;width:100%;margin:auto}.cover-caption{font-size:29px}.picture-choice>.art{max-width:165px}.picture-choice>span:last-of-type{font-size:22px}.generator-actions .action-button{font-size:21px}.generator-actions .quiet-button{font-size:19px}.picture-order{grid-template-columns:1fr;max-width:450px;margin:0 auto;gap:24px}.picture-order li>p{font-size:17px}.choice-board{grid-template-columns:1fr;padding:0 17px 30px}.choice-scene h2{font-size:25px}.answer-card{font-size:18px;padding:20px}.launch-board{margin:0 15px 25px}.launch-picture{aspect-ratio:.85}.launch-overlay{padding:22px;gap:12px}.launch-overlay h2{font-size:43px}.launch-overlay p{font-size:27px}.focus-writer{padding:0 10px 15px}.writer-toolbar{gap:9px;flex-wrap:wrap;padding:12px 5px}.writer-toolbar>span{font-size:18px}.writer-controls{gap:5px}.writer-controls .quiet-button{font-size:15px;padding:7px 9px;min-height:38px}.writer-controls .round-control{width:34px;height:34px}.writing-paper{padding:25px 22px 15px;min-height:calc(100svh - 105px)}.writing-paper>input{font-size:30px}.writing-paper>textarea{font-size:19px;min-height:calc(100svh - 260px)}.notebook-grid{grid-template-columns:1fr}.dream-workshop{padding:80px 13px 20px}.dream-stage>.art{aspect-ratio:1}.dream-question{bottom:14px;font-size:19px;max-width:85%;padding:12px 16px}.dream-arrow{height:39px;width:39px;top:37%}.dream-thumbs{width:100%;justify-content:center}.dream-thumbs .art{width:66px}.dream-footer .select{max-width:180px;font-size:15px}.dream-footer .action-button{font-size:18px;padding:11px 16px}.modal{padding:22px 18px}.help-strip{gap:8px}.help-strip b{font-size:17px}.teacher-grid{padding:0 18px 25px}}
@media print{.game-header,.writer-toolbar,.paper-status,.skip,#modal-root,#toast{display:none!important}.focus-writer{padding:0;background:white}.writing-paper{padding:0;min-height:0;box-shadow:none}.writing-paper>input,.writing-paper>textarea{display:none}.print-only{display:block}.print-only h1{font-size:26pt;margin-bottom:20px}.print-text{white-space:pre-wrap;font:12pt/1.8 Andika}}
@media(max-height:700px) and (min-width:601px){.map-place>.art{width:70px;height:70px}.map-place>span:last-child{font-size:16px}.map-dock .art{width:48px;height:48px}.map-dock a:nth-child(3) .art{width:45px;height:39px;margin:5px 3px}.map-dock a{font-size:15px;min-width:85px}}
@media(max-width:600px){.map-place>span:last-child{max-width:100px;white-space:normal;font-size:13px}.game-brand{font-size:17px}.picture-choices:has(.picture-choice:nth-of-type(3)) .picture-choice>span:last-of-type{font-size:16px}}
