/* v1.5.1: lower-choice navigation, atmospheric Bible reader, intentional mascots */
:root{--ca-navy:#132e65;--ca-gold:#ddb65c;--ca-paper:#fffdf9}
/* Keep the child classroom simple: no adult navigation strip full of unrelated buttons. */
.topbar .nav,.mobile-nav{display:none!important}
.topbar{height:76px!important;min-height:76px}
.academy-quickbar{position:sticky;top:76px;z-index:26;max-width:1600px;margin:0 auto;padding:10px clamp(18px,4vw,54px);display:flex;align-items:center;gap:10px;background:rgba(255,253,248,.96);border-bottom:1px solid #e7e7e4;backdrop-filter:blur(16px)}
.academy-quickbar button{border:1px solid #dce3ef;border-radius:13px;color:#163368;background:#fff;padding:12px 18px;min-height:45px;min-width:85px;font-size:13px;font-weight:900;box-shadow:0 3px 7px #263e5709;cursor:pointer}
.academy-quickbar button:hover{background:#eaf3ff;box-shadow:0 4px 9px #263e571b}
.academy-quickbar .academy-quick-logout{background:#fff4f1;border-color:#f0d7d1;color:#9c3445}
.academy-quickbar button[hidden]{display:none!important}.academy-quick-spacer{flex:1}
.kid-welcome{min-height:292px!important;background:linear-gradient(90deg,#eef5ff 0%,#e7f2ffa3 57%,#c6def27a 100%),url('assets/learning-landscape.webp') center 48% / cover!important}
.kid-welcome:after{background:linear-gradient(90deg,#f8fbffee 0%,#edf6ff93 60%,transparent 88%)!important}
.kid-hero-copy{max-width:61%}
.kid-hero-art{width:36%!important;right:3%!important;z-index:2}
.kid-hero-avatar{width:95%!important}
.kid-hero-avatar .avatar-photo{max-height:290px!important}
.kid-hero-cheer{position:relative!important;display:inline-flex!important;align-items:center;gap:10px;max-width:315px;border-radius:18px!important;padding:6px 15px 6px 5px!important;background:#fffdf3f5!important;border:1px solid #eadcae!important;font-size:13px!important;line-height:1.35!important;color:#614825!important;box-shadow:0 8px 16px #4c446522!important}
.kid-hero-cheer img{width:55px;height:63px;object-fit:contain;flex:none;filter:drop-shadow(0 3px 4px #1c39522b)}
.kid-hero-cheer b{display:block;color:#16356a}
.kid-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:17px!important}
.kid-room-card{min-height:148px!important;border:1px solid #ffffffa9;border-radius:24px!important}
.kid-card-icon{font-size:40px!important;background:#ffffff9e!important;width:65px!important;height:65px!important}
.kid-footer-note{border:1px solid #dce8f2;border-radius:19px;background:#f6fbff;padding:11px 17px;display:flex;gap:16px;align-items:center;max-width:430px;margin:20px auto 0}
.kid-footer-note img{height:76px;width:70px;object-fit:contain;filter:drop-shadow(0 2px 3px #1d32662a)}
/* Parent: clear single-purpose actions in a more adult, quiet layout. */
.parent-simple-welcome{min-height:190px!important;background:linear-gradient(90deg,#fffdf7fa 0%,#f7fbfff0 52%,#dfeefe91 100%),url('assets/learning-landscape.webp') center 55%/cover!important;border-radius:26px!important}
.parent-simple-welcome .parent-welcome-mascot{height:150px!important;width:145px!important;margin-right:16px;object-fit:contain;filter:drop-shadow(0 6px 8px #25477342)}
.parent-simple-grid button{min-height:168px!important;border:1px solid #e4eaf3!important;background:#ffffffeb!important}
.parent-simple-grid button:focus-visible,.kid-room-card:focus-visible,.academy-quickbar button:focus-visible,.story-return:focus-visible{outline:3px solid #d99d26;outline-offset:2px}
/* Storybook, not kindergarten slide deck. */
.story-return-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.story-return-row>span{font-size:11px;font-weight:800;letter-spacing:1.4px;color:#a27838}
.story-return{padding:12px 18px;background:#fff;border:1px solid #d9e3ed;border-radius:15px;box-shadow:0 4px 13px #162d5a10;color:#173765;font-size:13px;font-weight:900;cursor:pointer}
.story-header{background:linear-gradient(110deg,#ecf4ff,#fff7e8);border:1px solid #e3e7eb;border-radius:21px;padding:23px 25px;margin-bottom:18px}
.story-header h2{font-size:clamp(28px,3.5vw,39px)!important}.story-header p{font-size:14px!important;color:#4a6582!important}
.story-day-picker{display:none!important} /* Day is selected by today's learning path, not the child. */
.storybook{grid-template-columns:minmax(0,1.36fr) minmax(300px,.72fr)!important;gap:20px!important}
.story-main,.story-activity{border:1px solid #eae3d8!important;border-radius:24px!important;overflow:hidden;box-shadow:0 10px 27px #243e5510!important;background:#fffdfafc!important}
.story-main{padding:13px!important}
.story-scene.story-illustrated-landscape{display:block;width:100%!important;aspect-ratio:1100/540!important;object-fit:cover!important;max-height:430px;height:auto!important;border-radius:19px;background:#355a89}
.scene-wrap{border-radius:19px!important;box-shadow:inset 0 -16px 24px #21356e21}
.scene-wrap::after{position:absolute;content:'';inset:auto 0 0;height:65px;background:linear-gradient(transparent,#08255642);pointer-events:none}
.scene-sticker{z-index:1;background:#fff8e8ee!important;color:#25466d!important;border:1px solid #fff8!important;font-size:11px!important}
.story-copy{min-height:145px!important;padding:25px clamp(14px,2.5vw,37px) 5px!important}
.story-copy h3{font-size:clamp(27px,3vw,37px)!important;margin:10px 0!important}
.story-copy p{font-size:clamp(15px,1.6vw,17px)!important;line-height:1.67!important;color:#40587c!important}
.story-pips{padding:16px!important}.story-pips button{height:11px!important;width:11px!important;cursor:pointer}.story-pips button.active{width:29px!important}
.story-controls{gap:12px!important;flex-wrap:wrap}
.story-controls button{min-height:46px;border-radius:15px!important;font-size:13px!important;padding:12px 15px!important;cursor:pointer}
.story-controls .page-nav.primary{background:#132e65!important;color:#fff!important}
.story-controls .sound-button{background:#fff0cd!important;color:#7c531a!important}
.story-activity{padding:clamp(17px,2.3vw,29px)!important}
.story-activity h3{font-size:26px!important}
.story-answer{min-height:44px!important;font-size:13px!important;padding:12px 14px!important;border-radius:12px!important}
.story-return:hover,.page-nav:hover{filter:brightness(.96)}
@media(max-width:900px){.storybook{grid-template-columns:1fr!important}.story-activity{order:2}.kid-hero-copy{max-width:62%}}
@media(max-width:650px){.topbar{padding:0 16px!important}.topbar .brand-title{font-size:12px!important}.academy-quickbar{padding:8px 13px;gap:7px;top:76px}.academy-quickbar button{min-width:0;padding:10px 13px;min-height:43px;font-size:12px}.screen{padding-top:17px!important}.kid-welcome{min-height:252px!important}.kid-hero-copy{max-width:66%}.kid-hero-art{width:43%!important;right:-1%!important}.kid-hero-avatar .avatar-photo{max-height:260px!important}.kid-welcome h2{font-size:clamp(26px,6vw,35px)!important}.kid-hero-cheer{max-width:215px;font-size:10px!important;padding:5px 8px 5px 1px!important;gap:4px!important}.kid-hero-cheer img{width:35px;height:45px}.kid-room-grid{gap:11px!important}.kid-room-card{min-height:125px!important;padding:15px 13px!important}.kid-card-icon{width:49px!important;height:49px!important;font-size:27px!important}.parent-simple-welcome .parent-welcome-mascot{width:95px!important;height:118px!important;margin-right:-8px!important}.story-return-row>span{display:none}.story-controls button{flex:1;font-size:12px!important}.story-controls .sound-button{order:3;flex-basis:100%}.story-header{padding:16px 18px}.story-copy{min-height:126px!important}.story-activity{padding:17px!important}}
@media(max-width:380px){.kid-hero-art{opacity:.88}.kid-welcome h2{font-size:26px!important}.kid-hero-cheer{max-width:180px}.kid-room-card strong{font-size:17px!important}.story-return{font-size:12px}}
@media(prefers-reduced-motion:reduce){.kid-room-card,.academy-quickbar button,.story-return{transition:none!important}}

.kid-hero-cheer img{mask-image:radial-gradient(ellipse 72% 70% at 51% 53%,#000 64%,transparent 100%)}
