/* Chosen Armor Junior — bright glass storybook. No neon; readable at all ages. */
#caa2-root{--jr-navy:#0b2250;--jr-blue:#147bd2;--jr-gold:#f0b84b;--jr-reading:#0c9761;--jr-math:#176ecb;--jr-science:#7553c9;--jr-history:#e48635;--jr-bible:#cc6256;--jr-art:#e7af29;}
#caa2-root .caa2-world-shell{background:linear-gradient(148deg,#c9e6ff 0%,#dceeff 37%,#fff1d9 77%,#e8daff 100%)}
#caa2-root .caa2-glass{border:2px solid #fff9;box-shadow:0 13px 27px #25477926,inset 0 2px 0 #fffc;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
#caa2-root .caa2-nav{box-shadow:0 -8px 29px #14336424,inset 0 2px 0 #ffffff65}
#caa2-root .caa2-nav button{min-height:55px}
#caa2-root .caa2-nav button.active{background:linear-gradient(145deg,#1c78d4,#0b4eab)!important;color:#fff!important;border:1px solid #ffffff8a!important;box-shadow:0 6px 16px #123c8a64!important}
#caa2-root .caa2-hero-greeting h1{color:#103877;text-shadow:0 2px 0 #fff9}
#caa2-root .caa2-glow-button.start{background:linear-gradient(115deg,#118cde,#1268d2 55%,#3e9ce8)!important;box-shadow:0 11px 25px #136bcc66,inset 0 3px 1px #ffffff9e!important}
#caa2-root .caa2-subject-card{border:2px solid #fff8;box-shadow:0 9px 22px #21467530,inset 0 2px 0 #fffa}
#caa2-root .caa2-kingdom-card{border:2px solid #fff9;box-shadow:0 11px 22px #294b8d31,inset 0 2px 0 #fffa}
#caa2-root button:focus-visible{outline:4px solid #ffce54!important;outline-offset:2px!important}
#caa2-root .caa2-arcade-play{background:linear-gradient(135deg,#fefeffed,#d6efffea 48%,#e6ddffeb);border:2px solid #fff!important}
#caa2-root .caa2-jr-hero-picker{display:flex;gap:7px;align-items:center;justify-content:center;flex:0 0 auto;min-height:46px}
#caa2-root .caa2-jr-hero-picker>span{color:#153c7f;font-weight:900;font-size:14px}
#caa2-root .caa2-jr-hero-picker button{display:inline-flex;align-items:center;gap:6px;border:2px solid #a9c9f7;background:#fff;border-radius:15px;color:#17417f;min-height:44px;padding:3px 15px;font-size:14px;font-weight:900;cursor:pointer}
#caa2-root .caa2-jr-hero-picker button.is-selected{border-color:#1d7fdb;background:linear-gradient(135deg,#c9eaff,#fff4d3);box-shadow:0 4px 13px #126abb36}
#caa2-root .caa2-jr-hero-picker img{height:37px!important;width:31px!important;object-fit:contain}
#caa2-root .caa2-jr-reader{padding:14px;background:linear-gradient(145deg,#eef9ff,#fff9e9);border-radius:22px}
#caa2-root .caa2-jr-reader h3{margin:3px 0 5px;color:#153d80}
#caa2-root .caa2-reader-note{font-weight:700;font-size:13px;color:#48668f}
#caa2-root .caa2-reader-controls{display:flex;flex-wrap:wrap;gap:9px;margin:13px 0}
#caa2-root .caa2-reader-controls button{min-height:49px;padding:10px 16px;border-radius:15px;border:2px solid #b8d7f7;background:#fff;color:#183e7e;font-weight:900;font-size:15px}
#caa2-root .caa2-reader-controls .caa2-primary-action{background:linear-gradient(145deg,#178cdc,#145cb8);color:white;border-color:#fff}
#caa2-root .caa2-reading-lines{display:grid;gap:10px;margin:12px 0;max-height:400px;overflow:auto;overscroll-behavior:contain}
#caa2-root .caa2-reading-line{display:flex;align-items:center;gap:11px;min-height:58px;width:100%;text-align:left;border:2px solid #fff;background:#fffef8;border-radius:15px;padding:11px 15px;color:#143a71;font-weight:800;font-size:clamp(17px,2.2vw,23px);line-height:1.5;box-shadow:0 3px 9px #416c9f20}
#caa2-root .caa2-reading-line.is-speaking{background:#fff1b6;border-color:#e8b842;color:#1c335e;box-shadow:0 4px 18px #e3b95f52}
#caa2-root .caa2-reader-line-num{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#cae9ff;color:#18468c;font-size:14px}
#caa2-root .caa2-reader-line-play{margin-left:auto;font-size:19px}
#caa2-root #caa2-reader-status{color:#41618e;font-weight:800;font-size:13px}
#caa2-root .caa2-jr-story-cover{display:flex;justify-content:center;align-items:center;gap:12px;min-height:115px;background:linear-gradient(110deg,#cbe8ff,#ffe7ba,#dacdff);border-radius:24px;overflow:hidden}
#caa2-root .caa2-jr-story-cover img{max-height:125px;max-width:150px;width:auto;object-fit:contain}
#caa2-root .caa2-jr-lesson-audio{display:flex;flex-wrap:wrap;gap:8px;padding:9px 0}
#caa2-root .caa2-jr-lesson-audio button{border:2px solid #fff;border-radius:15px;background:linear-gradient(145deg,#c6e9ff,#f7e5ff);padding:12px 17px;color:#164178;font-weight:900;min-height:48px}
#caa2-root .caa2-parent-sidebar{background:linear-gradient(157deg,#061b40,#0c2d64 61%,#164c84)}
#caa2-root .caa2-parent-shell{background:linear-gradient(140deg,#f0f7ff,#f9faff,#fff8e8)}
#caa2-root .caa2-parent-card,#caa2-root .caa2-parent-section{border:1.5px solid #ffffffdb;box-shadow:0 10px 22px #19396716}
body.caa2-playing #caa2-root .caa2-jr-hero-picker{min-height:36px!important}
body.caa2-playing #caa2-root .caa2-jr-hero-picker button{min-height:36px!important;padding:0 9px!important}
@media(max-width:600px){#caa2-root .caa2-reader-controls{display:grid;grid-template-columns:1fr 1fr}#caa2-root .caa2-reader-controls button:first-child{grid-column:1/-1}#caa2-root .caa2-reading-line{font-size:18px;padding:8px 10px}#caa2-root .caa2-jr-hero-picker>span{display:none}#caa2-root .caa2-jr-hero-picker img{height:28px!important;width:25px!important}#caa2-root .caa2-jr-hero-picker button{font-size:12px;min-height:35px;padding:2px 7px}body.caa2-playing #caa2-root .caa2-arcade-touch-controls .caa2-arcade-move-actions button{font-size:clamp(11px,3vw,19px)!important}}
@media(max-height:650px){body.caa2-playing #caa2-root .caa2-jr-hero-picker{min-height:29px!important}body.caa2-playing #caa2-root .caa2-jr-hero-picker img{height:23px!important}body.caa2-playing #caa2-root .caa2-jr-hero-picker button{min-height:27px!important}}
@media(prefers-reduced-motion:reduce){#caa2-root *,#caa2-root *:before,#caa2-root *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

#caa2-root .caa2-jr-library-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 18px}
#caa2-root .caa2-jr-library-links .caa2-lg-home-link{margin:0!important;display:flex!important;min-width:0}
@media(max-width:640px){#caa2-root .caa2-jr-library-links{grid-template-columns:1fr}}


/* v5.2 Child polish — force consistent Poppins rendering and sweeter Junior glass */
#caa2-root,#caa2-root *{font-family:'Poppins','Montserrat',system-ui,sans-serif!important}
#caa2-root .caa2-world{box-shadow:0 28px 70px rgba(23,71,151,.24),inset 0 2px 8px rgba(255,255,255,.95)!important}
#caa2-root .caa2-glass{background:linear-gradient(155deg,rgba(255,255,255,.80),rgba(245,250,255,.52))!important;backdrop-filter:blur(18px) saturate(135%)!important;-webkit-backdrop-filter:blur(18px) saturate(135%)!important}
#caa2-root .caa2-story-feature,#caa2-root .caa2-progress,#caa2-root .caa2-star-card{border-radius:24px!important;border:1.5px solid rgba(255,255,255,.92)!important;box-shadow:0 10px 24px rgba(39,77,140,.18),inset 0 1px 0 rgba(255,255,255,.96)!important}
