.mp-instruction,.mp-fox,.mp-reading-tabs{display:none}.mp-dialog{border:1px solid #c3d1b5;border-radius:22px;background:#fffbed;color:#304b3b;width:min(540px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:18px;box-sizing:border-box;box-shadow:0 15px 65px #183a3940}.mp-dialog::backdrop{background:#163c385c;backdrop-filter:blur(3px)}.mp-dialog header{display:flex;align-items:center;justify-content:space-between;gap:10px}.mp-dialog h2{font:800 21px/1.2 system-ui;margin:0}.mp-dialog button{font:700 15px system-ui;min-height:46px;min-width:46px;border:1px solid #b8caa6;border-radius:12px;background:#edf2df;color:#304b3b;cursor:pointer}.mp-dialog header button{font-size:27px}.mp-dialog-body{font:16px/1.6 system-ui;white-space:pre-line;margin:16px 0}.mp-dialog .mp-return{display:block;width:100%;background:#376b50;color:#fff9e7;padding:10px}.mp-dialog button:focus-visible{outline:3px solid #c98a35;outline-offset:2px}
@media(max-width:760px),(max-width:1000px) and (pointer:coarse){
 body.mobile-play{padding:0 0 calc(var(--mp-dock-height,70px) + 10px)!important;background:#f4f1df;overflow-x:clip;scroll-padding-bottom:85px}
 .mobile-play>.adv-top,.mobile-play>.pre-top,.mobile-play>.family-links,.mobile-play .rw-nav,.mobile-play>.adv-footer,.mobile-play>.pre-footer{display:none!important}
 .mobile-play #adventure,.mobile-play #preschool{padding:0 8px!important;margin:0 auto;max-width:650px}
 .mobile-play .adv-play-nav,.mobile-play .pre-play-nav{position:relative;top:auto;min-height:44px;margin:0!important;padding:4px 0!important;border:0;background:transparent;gap:6px}
 .mobile-play .adv-play-nav button,.mobile-play .pre-play-nav button{min-height:40px;padding:7px 9px;font-size:12px;border-radius:10px}
 .mobile-play .adv-play-nav>span,.mobile-play .pre-play-nav>span{font-size:11px}
 .mobile-play .pre-play-nav svg{width:22px;height:22px}
 .mobile-play .pre-toolbar{gap:6px;margin:0 0 5px;justify-content:center}
 .mobile-play .pre-toolbar button{min-height:44px!important;border-radius:12px;padding:6px 12px!important;font-size:14px}
 .mobile-play .pre-toolbar svg{width:24px;height:24px}
 .mobile-play .pre-toolbar #pre-sound{min-width:44px;padding:7px!important}
 .mobile-play .adv-play-head,.mobile-play #controls,.mobile-play .pre-adult-hint,.mobile-play .adv-difficulty,.mobile-play #adv-support{display:none!important}
 .mobile-play #adv-mount,.mobile-play #pre-mount{border:0;border-radius:0;padding:0!important;margin:0;box-shadow:none;background:transparent}
 .mobile-play .ng-game,.mobile-play .sj-game,.mobile-play .sx-game{max-width:100%;margin:0;padding:0!important}
 .mobile-play .ng-heading,.mobile-play .mp-heading{position:relative;min-height:40px;padding:0 0 0 47px!important;margin:0 0 4px!important;display:flex;align-items:center;justify-content:flex-start;text-align:left!important;gap:0}
 .mobile-play .ng-heading>span:not(.mp-fox),.mobile-play .am-heading>div>span,.mobile-play .inv-header small,.mobile-play .lab-header small{display:none!important}
 .mobile-play .mp-fox{display:block!important;position:absolute;left:0;top:0;width:40px;height:40px;flex:none;background:url('assets/characters.webp') 0 0/400% 300%;animation:mp-fox-wave 4s ease-in-out infinite}
 .mobile-play .ng-heading h2,.mobile-play .am-heading h2,.mobile-play .inv-header h2,.mobile-play .lab-header h2{font-size:18px!important;line-height:1.15!important;margin:0!important;letter-spacing:-.2px}
 .mobile-play .ng-heading>h2{flex:1}
 .mobile-play .mp-heading>.art{display:none}
 .mobile-play .ng-story,.mobile-play [data-read-task]{display:none!important}
 .mobile-play .mp-instruction{display:block;width:100%;text-align:left;border:1px solid #d7dec7!important;border-radius:11px!important;background:#fffbed!important;padding:6px 9px!important;margin:0 0 7px;min-height:44px!important;min-width:0!important;color:#304b3b!important;font:inherit;box-shadow:none!important}
 .mobile-play .mp-instruction-label{display:block;font-size:10px;line-height:1.2;font-weight:850;color:#638268;margin-bottom:2px}
 .mobile-play .mp-instruction-preview{display:block;font-size:12px;line-height:1.35;font-weight:550}
 .mobile-play .ng-world{border-radius:15px;border-width:1px;box-shadow:none;overflow:hidden}
 .mobile-play .ng-scene{padding:7px!important;min-height:0!important;border-radius:15px}
 .mobile-play .ng-guide,.mobile-play .ng-scene:before{display:none!important}
 .mobile-play .ng-panel{padding:4px 0 0!important;margin:0!important}
 .mobile-play .ng-message{margin:6px 0!important;padding:8px!important;font-size:13px!important;line-height:1.4}
 .mobile-play .ng-game button{font-size:13px;min-height:44px;padding:7px 9px;line-height:1.25}
 .mobile-play .mp-actionbar{position:fixed!important;z-index:30;bottom:0!important;left:0!important;right:0!important;top:auto!important;transform:none!important;width:100%!important;max-width:none!important;box-sizing:border-box;margin:0!important;padding:7px max(8px,calc((100vw - 634px)/2)) calc(7px + env(safe-area-inset-bottom))!important;display:flex!important;justify-content:center;align-items:stretch;gap:6px!important;flex-wrap:nowrap!important;background:#fffdf3f7!important;border:0!important;border-top:1px solid #d4dec8!important;border-radius:0!important;box-shadow:0 -3px 15px #294a3c16!important;backdrop-filter:blur(10px)}
 .mobile-play .mp-actionbar>button{flex:1 1 0!important;min-width:0!important;max-width:180px!important;min-height:46px!important;margin:0!important;padding:7px 5px!important;font-size:12px!important;border-radius:11px!important;line-height:1.2!important}
 .mobile-play .mp-actionbar>button small{font-size:10px!important;margin-top:1px}
 .mobile-play .mp-actionbar>button svg{width:23px!important;height:23px!important;max-width:100%}
 .mobile-play .mp-actionbar>button>span{font-size:20px;line-height:1}
 .mobile-play .mp-actionbar .ng-primary{flex-basis:0!important;min-height:46px!important}
 .mobile-play .mp-actionbar [data-nx=hint],.mobile-play .mp-actionbar [data-sj=hint],.mobile-play .mp-actionbar [data-sx=hint]{background:#f3f5e9!important;color:#385a4b!important}
 .mobile-play #pre-audio-notice{font-size:12px;margin:4px 0}
 .mobile-play.mobile-finished .mp-actionbar{display:none!important}
 .mobile-play.mobile-finished{padding-bottom:12px!important}
 .mobile-play .pre-finish,.mobile-play .adv-success{margin:12px 0;padding:14px;border-radius:17px}
 .mobile-play .pre-finish h2,.mobile-play .adv-success h2{font-size:24px}
 .mobile-play .pre-finish button{min-height:48px;padding:10px;margin:5px 0}
 .mobile-play #adv-completion,.mobile-play #pre-finish{scroll-margin:8px}
}
@keyframes mp-fox-wave{50%{transform:rotate(3deg)}}
@media(prefers-reduced-motion:reduce){.mp-fox{animation:none!important}}

@media(max-width:760px),(max-width:1000px) and (pointer:coarse){
.mobile-play [data-game] .mp-heading{padding-left:64px!important;min-height:45px}
.mobile-play [data-game] .mp-fox{width:56px;height:42px;background-image:var(--game-cover);background-position:center;background-size:cover;border-radius:9px;border:1px solid #d2c39c;animation:none}
.mobile-play[data-mobile-program=p34] .mp-instruction-preview,.mobile-play[data-mobile-program=p45] .mp-instruction-preview{display:none}
.mobile-play[data-mobile-program=p34] .mp-instruction,.mobile-play[data-mobile-program=p45] .mp-instruction{min-height:36px!important;padding:6px 9px!important;text-align:center}
.mobile-play[data-mobile-program=p34] .mp-instruction-label,.mobile-play[data-mobile-program=p45] .mp-instruction-label{font-size:12px;margin:0}
.mobile-play .mp-reading-tabs{display:flex;gap:5px;margin:4px 0 7px}
.mobile-play .mp-reading-tabs button{flex:1;min-width:0;min-height:44px;font-size:13px;padding:7px 4px;background:#f4eed9;border:1px solid #c4d2b6;border-radius:10px}
.mobile-play .mp-reading-tabs button[aria-selected=true]{background:#376b50;color:#fffbed;border-color:#376b50}
.mobile-play .lread-game[data-mobile-tab=story] .lread-activity,.mobile-play .lread-game[data-mobile-tab=story] .lread-question,.mobile-play .lread-game[data-mobile-tab=task] .lread-book,.mobile-play .lread-game[data-mobile-tab=task] .lread-question,.mobile-play .lread-game[data-mobile-tab=answer] .lread-book,.mobile-play .lread-game[data-mobile-tab=answer] .lread-activity{display:none}
.mobile-play .lread-game .lread-landscape{max-height:72px}.mobile-play .lread-game .lread-landscape>svg{height:72px;object-fit:cover}.mobile-play .lread-game .lread-line{font-size:14px;line-height:1.4;padding:7px 8px;min-height:44px}
.mobile-play .lread-game .lread-book,.mobile-play .lread-game .lread-activity,.mobile-play .lread-game .lread-question{padding:9px;margin:4px 0}
.mobile-play .lread-game .lread-small{font-size:12px;line-height:1.35;margin:4px 0 7px}
.mobile-play .lread-game .lread-book h3,.mobile-play .lread-game .lread-activity h3,.mobile-play .lread-game .lread-question h3{font-size:17px;margin:0 0 6px}
.mobile-play .lread-game .lread-tools .lread-primary{flex:1.5 1 0!important}
}
@media(max-width:760px),(max-width:1000px) and (pointer:coarse){.mobile-play .mp-instruction-preview{font-size:13px}}
@media(max-width:760px),(max-width:1000px) and (pointer:coarse){
.mobile-play .am-status:empty,.mobile-play .ng-message:empty,.mobile-play .inv-feedback:empty,.mobile-play .lab-feedback:empty,.mobile-play #adv-completion:empty,.mobile-play #pre-finish:empty{display:none!important}
}

.pre-parent-result{display:block;padding:12px;min-height:44px;text-align:center;font-size:14px;color:#3d6147}
/* Keep game feedback visible when the original status is below the fold. */
.mp-feedback{position:fixed;z-index:32;left:50%;transform:translateX(-50%);bottom:calc(var(--mp-dock-height,70px) + 8px);width:min(634px,calc(100% - 16px));max-height:35dvh;overflow:auto;display:flex;align-items:flex-start;gap:8px;padding:10px 10px 10px 14px;border:1px solid #c5b36f;border-radius:14px;background:#fff7d9;box-shadow:0 5px 22px #243f362b;color:#34513e}.mp-feedback[hidden]{display:none!important}.mp-feedback p{font:600 14px/1.45 system-ui;margin:0;flex:1;align-self:center}.mp-feedback button{flex:0 0 44px;min-height:44px;border:1px solid #d1c695;border-radius:10px;background:#fffbed;color:#365e48;font:24px system-ui}.mp-feedback button:focus-visible{outline:3px solid #c98a35;outline-offset:2px}
[data-game-reload]{min-height:48px;padding:12px 18px;border:1px solid #326746;border-radius:12px;background:#397b52;color:#fff9e8;font:700 16px system-ui;cursor:pointer}
