/* Rich picture play only within the preschool cohort. */
.p031-picture{display:inline-block;width:140px;max-width:100%;aspect-ratio:1;background-image:url('?asset=assets/art039/picture-cards031.png');background-repeat:no-repeat;background-size:400% 400%;background-position:var(--picture-x) var(--picture-y);vertical-align:middle;flex:none}
.p031-tobi{display:inline-block;width:100px;aspect-ratio:496.5/792;background-image:url('?asset=assets/art039/tobi-poses031.png');background-repeat:no-repeat;background-size:400% 100%;vertical-align:middle;flex:none}
.p031-tobi-listen{background-position:0% 50%}.p031-tobi-point{background-position:33.333333% 50%}.p031-tobi-cheer{background-position:66.666667% 50%}.p031-tobi-wave{background-position:100% 50%}
.p031-preschool{--p031-accent:#407765;--p031-soft:#e8f2de;position:relative;overflow:hidden;background:linear-gradient(165deg,#fffef8,#fff9e9);border:2px solid #e3e8d3;box-shadow:0 14px 42px #798a4924;padding:26px}
.p031-world{position:relative;border-radius:22px;padding:19px 22px 17px;background:linear-gradient(115deg,#e9f1dd,#f8f4d9);border:1px solid #dbe7c8;overflow:hidden;margin-bottom:20px}
.p031-world:after{content:'';position:absolute;width:135px;height:135px;border:20px solid #ffffff50;border-radius:50%;right:-32px;top:-64px;pointer-events:none}
.p031-world-space{background:linear-gradient(115deg,#e4edfb,#eeebfb);border-color:#d8dff2}.p031-world-ocean{background:linear-gradient(115deg,#dff3ef,#e2f1fc);border-color:#cce6e3}.p031-world-festival{background:linear-gradient(115deg,#fff0dc,#fbe9e7);border-color:#efdfcb}.p031-world-rescue{background:linear-gradient(115deg,#e4f2dc,#f3f3d8)}
.p031-story-tag{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;position:relative;z-index:1}.p031-story-tag>span{font-size:11px;font-weight:800;letter-spacing:1px;color:#446c52}.p031-story-tag small{font-size:11px;color:#6b7c68}
.p031-world h3{font-size:21px;line-height:1.5;color:#2d5143;margin:9px 0 14px;letter-spacing:-.5px}
.p031-progress-label{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#71836a;margin-bottom:7px}.p031-progress-label>b{font-size:17px;color:#396a52}.p031-progress-label small{font-size:11px;font-weight:400;color:#7f8d73}
.p031-progress ol{display:flex;list-style:none;padding:0;margin:0;gap:9px}.p031-progress li{position:relative;flex:1;text-align:center;height:25px;border-radius:16px;background:#ffffffa8;border:1px solid #d7e2ca;z-index:1}.p031-progress li span{font-size:11px;font-weight:800;color:#829477;line-height:23px}.p031-progress .p031-passed{background:#5c8b6f;border-color:#5c8b6f}.p031-progress .p031-passed span{color:white}.p031-progress .p031-now{background:#ffdf83;border:2px solid #ddbd5e;box-shadow:0 3px 0 #cdbb7333}.p031-progress .p031-now span{line-height:21px;color:#6d622b}
.p031-preschool .count{display:none}.p031-preschool h2{font-size:27px;line-height:1.5;margin:17px 0 8px;color:#2d5143}.p031-preschool .eyebrow{font-size:11px}.p031-preschool .topline{margin-bottom:7px}.p031-preschool .session-actions button{font-size:12px}
.p031-helper{display:flex;gap:16px;align-items:center;margin:0 0 14px;min-height:132px}.p031-buddy{width:82px;height:132px;position:relative;flex:none}.p031-buddy .p031-tobi{position:absolute;inset:0;display:none;width:82px}.p031-mood-listen .p031-tobi-listen,.p031-mood-point .p031-tobi-point,.p031-mood-cheer .p031-tobi-cheer{display:block}.p031-mood-cheer .p031-tobi{animation:p031-pop .38s ease-out}
.p031-bubble{position:relative;background:#fffdf4;border:1px solid #e6dfbe;border-radius:18px;padding:14px 20px;box-shadow:0 4px 0 #eee7c24d;max-width:480px}.p031-bubble:before{content:'';position:absolute;left:-7px;top:42%;width:12px;height:12px;background:#fffdf4;border-left:1px solid #e6dfbe;border-bottom:1px solid #e6dfbe;transform:rotate(45deg)}.p031-bubble>span{display:flex;align-items:center;gap:10px}.p031-bubble strong{font-size:16px;font-weight:700;color:#4d6447;line-height:1.6}.p031-bubble>small{display:block;font-size:12px;color:#879374;line-height:1.6;margin:5px 0 0 44px}.p031-action-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:none;color:#5b8970}.p031-action-icon svg{width:31px;height:31px}
.p031-preschool .v29-main-scene{margin:8px 0 16px;border:3px solid #fff;border-radius:22px;box-shadow:0 5px 16px #435b3220}.p031-preschool .stimulus{font-size:38px;color:#3a6554;background:#f3f3df;border-radius:18px;letter-spacing:1px;margin:10px 0 22px}
.p031-preschool .v29-gap{background:none;padding:0;margin:10px 0 20px}.p031-pocket{background:radial-gradient(ellipse at 50% 55%,#e7f0db 0,#f1f5e6 52%,#f9f7e8 100%);border-radius:22px;text-align:center;padding:14px 16px 12px;border:1px solid #e0e7cd;position:relative}
.p031-pocket-label{display:block;font-size:12px;line-height:1.5;color:#7a8d68;font-weight:700;letter-spacing:.3px}.p031-pocket-frame{display:flex;align-items:center;justify-content:center;margin:9px auto 7px;width:94px;height:94px;border:2px dashed #bbc9a1;border-radius:22px;background:#fffdf2c9}.p031-pocket-frame .p031-action-icon{width:52px;height:52px;opacity:.6}.p031-pocket-frame svg{width:44px;height:44px}.p031-pocket-frame .p031-picture{width:82px;animation:p031-pop .3s ease-out}.p031-filled .p031-pocket-frame{border-style:solid;border-color:#79a477;box-shadow:0 4px 0 #7e9d5530}.p031-pocket>small{display:block;color:#81906f;font-size:12px;line-height:1.6}
.p031-preschool .options:has(.p031-picture){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:15px!important}.p031-preschool .option:has(.p031-picture){position:relative;min-width:0;min-height:165px;padding:12px!important;border-radius:24px;border:2px solid #e2e3ce;background:linear-gradient(160deg,#fffef8,#faf5de);box-shadow:0 5px 0 #e8e3c6;display:flex;align-items:center;justify-content:center;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.p031-preschool .option:has(.p031-picture):hover{transform:translateY(-3px);border-color:#a7bf88}.p031-preschool .option.selected:has(.p031-picture){border:3px solid #60936c;box-shadow:0 5px 0 #c7d8ae;background:#edf5df;transform:translateY(-3px)}.p031-preschool .option.selected:has(.p031-picture):after{content:'✓';position:absolute;top:7px;right:8px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#5e8c69;color:white;font-size:15px}.p031-preschool .option:has(.p031-picture) .p031-picture{width:min(100%,145px);pointer-events:none}
.p031-preschool .v29-order-answer{padding:0;background:none;border:0;min-height:0}.p031-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:10px 0 22px}.p031-slot{position:relative;min-width:0;min-height:150px;display:flex;align-items:center;justify-content:center;border:2px dashed #bdccad;border-radius:22px;background:linear-gradient(160deg,#edf4e4,#f7f6e6);padding:27px 10px 12px}.p031-slot>b{position:absolute;top:-13px;left:calc(50% - 15px);width:30px;height:30px;border-radius:50%;background:#f3d887;color:#766131;box-shadow:0 2px 0 #d1be82;text-align:center;font-size:14px;line-height:30px}.p031-slot-filled{border:2px solid #8bad7b;box-shadow:0 4px 0 #d8e5c7}.p031-slot .p031-picture{width:110px;max-width:100%;animation:p031-pop .25s ease-out}.p031-slot-blank{font-size:30px;letter-spacing:7px;color:#b2c09f}.p031-slot:not(:has(.p031-picture)).p031-slot-filled{font-size:20px;line-height:1.6;color:#3c644f;text-align:center;word-break:normal;overflow-wrap:break-word}
.p031-preschool .v29-tokens{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.p031-preschool .v29-tokens button:has(.p031-picture){width:100%;padding:10px;border:2px solid #e0e4ce;border-radius:22px;background:#fffdf1;box-shadow:0 5px 0 #e7e3c9;min-width:0}.p031-preschool .v29-tokens button .p031-picture{width:122px;max-width:100%}.p031-preschool .v29-tokens button:disabled{opacity:.25;box-shadow:none}.p031-preschool .v29-tokens button:not(:has(.p031-picture)){font-size:21px;line-height:1.5;padding:18px 10px;min-width:0;word-break:normal;overflow-wrap:break-word;box-shadow:0 5px 0 #e3dfbf}
.p031-preschool .v29-pair{min-height:108px;border:2px solid #dce4cc;background:#fffdf3;font-size:23px;display:flex;gap:8px;align-items:center;justify-content:center;position:relative;padding:18px 10px 24px}.p031-preschool .v29-pair .p031-picture{width:86px}.p031-preschool .v29-pair>b{position:absolute;top:7px;left:10px;font-size:12px;color:#8a9a77}.p031-preschool .v29-pair small{position:absolute;bottom:7px;font-size:11px;color:#65865a}.p031-preschool .v29-linked{border-color:#87aa70;background:#eff5e5}.p031-preschool .v29-active{border-color:#dab349;background:#fff5d1}.p031-preschool .v29-help{font-size:13px;line-height:1.7}
.p031-preschool .audio{display:block;border-radius:22px;background:#ffe394;border:2px solid #e9c65d;box-shadow:0 5px 0 #d4bc6a;min-height:65px;font-size:19px;color:#675925;margin:14px auto 14px;padding:14px 30px}.p031-preschool .audio:disabled{opacity:1;background:#f6e9b5;color:#85773d}.p031-preschool #message{font-size:13px;color:#84916f;line-height:1.6}.p031-preschool #v29-error{font-size:12px;color:#8a947d;border-color:#e4e5d5;padding:8px 13px}.p031-preschool #v29-status{font-size:13px;color:#748a65;min-height:22px;line-height:1.6}.p031-preschool .actions{gap:14px;margin-top:24px}.p031-preschool .actions button{border-radius:18px;min-height:56px;font-size:16px}.p031-preschool #v29-submit{box-shadow:0 5px 0 #2d5946}.p031-preschool #v29-submit:disabled{box-shadow:0 4px 0 #c5d1b9}.p031-preschool .v29-edit-actions{gap:10px;margin-top:18px}.p031-preschool .v29-edit-actions button{min-height:44px;font-size:12px}
.p031-practice-art{display:flex;justify-content:center;align-items:center;gap:4px}.p031-practice-art .p031-picture{width:130px}
.p031-finish{position:relative;display:flex;gap:26px;align-items:center;padding:24px 32px;margin:0 0 24px;background:linear-gradient(115deg,#eaf3df,#fff1cb);border:1px solid #dce7c8;border-radius:26px;overflow:hidden}.p031-finish .p031-tobi{width:100px}.p031-finish>div{position:relative;z-index:1}.p031-finish>div>span{font-size:12px;color:#6e8c59;letter-spacing:1px}.p031-finish h2{font-size:27px;margin:12px 0;line-height:1.5;color:#365c43}.p031-finish p{font-size:14px;line-height:1.8;color:#78896a;margin:0}.p031-finish-dots{position:absolute!important;inset:0;pointer-events:none}.p031-finish-dots i{position:absolute;width:9px;height:9px;background:#e3b864;border-radius:3px;top:15%;right:14%;transform:rotate(20deg)}.p031-finish-dots i:nth-child(2){top:70%;right:5%;background:#91bc8e}.p031-finish-dots i:nth-child(3){top:26%;right:3%;background:#e8b69a}.p031-finish-dots i:nth-child(4){top:10%;right:35%;width:5px;height:5px;background:#91b6bf}.p031-finish-dots i:nth-child(5){top:85%;right:28%;background:#c8c18b}
@keyframes p031-pop{0%{transform:scale(.91) translateY(3px)}60%{transform:scale(1.04) translateY(-3px)}100%{transform:scale(1) translateY(0)}}
@media(max-width:600px){
 .p031-preschool{padding:18px 15px}.p031-world{padding:15px 15px 12px;margin-bottom:15px;border-radius:18px}.p031-world h3{font-size:18px;margin:8px 0 10px}.p031-story-tag{gap:6px}.p031-story-tag>span{font-size:10px}.p031-story-tag small{font-size:10px}.p031-progress-label{font-size:10px}.p031-progress ol{gap:6px}.p031-progress li{height:23px}.p031-progress li span{line-height:21px}.p031-progress .p031-now span{line-height:19px}.p031-preschool h2{font-size:23px;margin:15px 0 3px}.p031-preschool .eyebrow{font-size:10px}.p031-preschool .session-actions button{font-size:11px;padding:8px 9px}.p031-helper{gap:9px;min-height:105px;margin:0 0 8px}.p031-buddy{width:63px;height:101px}.p031-buddy .p031-tobi{width:63px}.p031-bubble{padding:10px 12px;border-radius:15px;flex:1}.p031-bubble strong{font-size:13px;line-height:1.7}.p031-bubble>span{gap:7px}.p031-bubble>small{font-size:10px;margin:3px 0 0 29px}.p031-action-icon{width:23px;height:27px}.p031-action-icon svg{width:24px;height:24px}.p031-preschool .v29-main-scene{border-radius:17px;border-width:2px;margin:4px 0 12px}.p031-preschool .stimulus{font-size:31px;margin:8px 0 15px}.p031-preschool .v29-gap{margin:4px 0 16px}.p031-pocket{padding:12px 10px 10px}.p031-pocket-frame{width:78px;height:78px;margin:6px auto}.p031-pocket-frame .p031-picture{width:70px}.p031-pocket-label{font-size:11px}.p031-pocket>small{font-size:10px}.p031-preschool .options:has(.p031-picture){gap:9px!important}.p031-preschool .option:has(.p031-picture){padding:7px!important;border-radius:18px;min-height:110px}.p031-preschool .option:has(.p031-picture) .p031-picture{width:100%;max-width:105px}.p031-preschool .option.selected:has(.p031-picture):after{width:19px;height:19px;font-size:12px;top:3px;right:3px}.p031-preschool .option:has(.s030-character-option){min-height:135px}.p031-slots{gap:9px;margin:13px 0 18px}.p031-slot{min-height:105px;border-radius:17px;padding:20px 6px 8px}.p031-slot>b{width:25px;height:25px;left:calc(50% - 12.5px);font-size:12px;line-height:25px;top:-12px}.p031-slot .p031-picture{width:80px}.p031-slot:not(:has(.p031-picture)).p031-slot-filled{font-size:16px}.p031-slot-blank{font-size:23px;letter-spacing:3px}.p031-preschool .v29-tokens{gap:9px}.p031-preschool .v29-tokens button:has(.p031-picture){padding:6px;border-radius:17px}.p031-preschool .v29-tokens button .p031-picture{width:90px}.p031-preschool .v29-tokens button:not(:has(.p031-picture)){font-size:17px;padding:14px 7px}.p031-preschool .v29-matches{gap:10px}.p031-preschool .v29-pair{min-height:98px;font-size:19px;padding:18px 6px 23px}.p031-preschool .v29-pair .p031-picture{width:70px}.p031-preschool .v29-help{font-size:12px}.p031-preschool .audio{font-size:17px;min-height:57px;margin:9px auto 12px;padding:12px 23px}.p031-preschool #message{font-size:11px}.p031-preschool #v29-error{font-size:11px;min-height:38px}.p031-preschool #v29-status{font-size:12px}.p031-preschool .actions{margin-top:18px}.p031-preschool .actions button{font-size:14px;min-height:51px}.p031-finish{padding:20px 18px;gap:16px}.p031-finish .p031-tobi{width:72px}.p031-finish h2{font-size:21px;margin:10px 0}.p031-finish p{font-size:12px}.p031-finish>div>span{font-size:10px}.p031-practice-art .p031-picture{width:105px}
}
@media(prefers-reduced-motion:reduce){.p031-preschool *,.p031-finish *{animation:none!important;transition:none!important}}
