/* A shared, colorful frame for every child screen. Learning pictures stay unchanged. */
body{background:radial-gradient(ellipse at 6% 5%,#bedfff,transparent 45%),radial-gradient(ellipse at 100% 55%,#e5d2ff,transparent 45%),#eaf3ff!important}.in-child-lesson main{background:transparent}.in-child-lesson .panel,#lesson-entry,#next-preview{background:linear-gradient(155deg,#e2f3ff,#f0e8ff);border:2px solid #b6d1f4;box-shadow:0 7px 0 #173e7326,0 15px 25px -17px #143d6e80;border-radius:24px;color:#173c62}.in-child-lesson #discover,.in-child-lesson #practice{background:linear-gradient(145deg,#d8f3f5,#dcecff)}.in-child-lesson #repeat,.in-child-lesson #rewards{background:linear-gradient(145deg,#ece1ff,#ffe6ef)}.in-child-lesson #learn,.in-child-lesson #activitybook-part{background:linear-gradient(145deg,#fff0c9,#ffe5dd)}.in-child-lesson #play{background:linear-gradient(145deg,#dcf4ee,#dbe8ff)}.section-head h2,.book-part>h2,#lesson-map>h1,#lesson-entry>h2,#next-preview>h2{color:#153d68!important}.section-head{border-bottom:2px solid #487db32b;padding-bottom:8px}.stage-symbol{background:#6b4eac;color:white;box-shadow:0 4px 0 #49347c}.instruction{background:linear-gradient(115deg,#116c89,#1c7993)!important;border:1px solid #ffffff90!important;color:white!important;box-shadow:0 4px 0 #0c486525}.instruction p{color:#fff!important}.instruction-listen,.listen,.map-listen{background:#fff1ac!important;color:#184e70!important;border:1px solid #e7c358!important;box-shadow:0 3px 0 #c99d3e!important}.instruction-icon{color:#ffe28f!important}button.primary,.primary{background:linear-gradient(135deg,#076b86,#137f98);border:1px solid #43a0b4;color:white;box-shadow:0 4px 0 #064b65}.quiet:not(.nav-back):not(.nav-forward):not(:disabled){background:linear-gradient(135deg,#4c51aa,#6a56ba);color:white;border:1px solid #aaa6ee;box-shadow:0 3px 0 #353774}.quiet:disabled{background:#e0d9fa;color:#5b5578;opacity:1}.nav-back,#child-nav #child-back,#prev-word{background:linear-gradient(140deg,#b63868,#922c57)!important;box-shadow:0 4px 0 #67203e!important;border:1px solid #dc7198!important;color:#fff!important}.nav-forward,#child-nav #child-next,#next-word{background:linear-gradient(140deg,#0a7b74,#166957)!important;box-shadow:0 4px 0 #0a4e43!important;border:1px solid #56ad9b!important;color:#fff!important}#child-nav #child-home{background:linear-gradient(140deg,#ffe18b,#ffd25e)!important;color:#18415e!important;border:1px solid #f5c84b;box-shadow:0 4px 0 #b98d29!important}#child-progress{background:linear-gradient(110deg,#203e88,#5650ac);color:white;border-bottom:2px solid #ffffff50;box-shadow:0 3px 12px #182d6150}#child-progress .child-progress-stars{color:#ffe291}#child-nav{background:linear-gradient(100deg,#173a69,#263c80);border-top:2px solid #b4c8ee;box-shadow:0 -4px 18px #1734583d}
/* Unit opening and progress are destinations, not blank white boxes. */
#unit-view .unit-banner{background:linear-gradient(125deg,#086f8a,#174d8c)!important;border:3px solid #fff;border-radius:28px;color:#fff;box-shadow:0 9px 0 #073f65,0 18px 28px -13px #174b7d70;animation:itqan-card-float 6s ease-in-out infinite}#unit-view .unit-banner img{border:3px solid #ffffffc0;box-shadow:0 7px 15px #052b4d35}#unit-view .unit-banner h1,#unit-view .unit-banner h1 span{color:white!important}#unit-view .unit-banner .eyebrow{color:#ffe59b;font-size:15px;letter-spacing:1px}#unit-view .unit-banner h1 span{font:700 36px/1.5 Hand,Arial,sans-serif}#unit-view .unit-banner h1{font-size:35px}#unit-view .completion-box{position:relative;isolation:isolate;background:linear-gradient(125deg,#443b94,#7650ac)!important;color:white!important;border:3px solid #ffffffd0;border-radius:27px;padding:25px;box-shadow:0 8px 0 #332e73,0 16px 24px -13px #51438e70;margin-top:28px;overflow:hidden}#unit-view .completion-box:before{content:'✦';position:absolute;left:20px;top:0;font:110px/1.3 Arial;color:#ffffff12;z-index:-1}#unit-view .completion-box h2{color:#fff;font-size:28px}#unit-view .completion-box p{color:#fff;font-size:18px}#unit-view .completion-track{height:22px;background:#29245999;border:2px solid #b8a5e4;border-radius:24px;box-shadow:inset 0 3px 6px #17154b50;margin:20px 0}#unit-view .completion-track span{background:linear-gradient(90deg,#ffc94e,#ffe9a6);border-radius:20px;box-shadow:0 0 12px #ffda7590}#unit-view #remedial-route{background:#ffe39a!important;color:#253c70!important;box-shadow:0 4px 0 #c99c39!important;border:1px solid #fff1be!important;font-weight:800}#unit-view #back-units,#open-teacher-details{border-radius:16px!important}#unit-view .teacher-gear{background:linear-gradient(135deg,#5158b1,#6f4da7)!important;color:#fff!important;border:1px solid #b7a4dc!important;box-shadow:0 4px 0 #3f3676!important}
/* Lesson doorway and picture map. */
#lesson-entry{background:linear-gradient(140deg,#23619a,#5d54aa)!important;color:#fff;border:3px solid #fff}#lesson-entry>h2{color:#fff!important;font-size:36px}#lesson-entry .lesson-start-picture{border:4px solid #fff;border-radius:23px;box-shadow:0 8px 0 #183b6b6b}#lesson-entry #enter-lesson{background:#ffe092!important;color:#1c416a!important;border:1px solid #ffedaf;box-shadow:0 5px 0 #b38934!important}#lesson-map{background:linear-gradient(145deg,#d9edff,#e6ddff)!important}#lesson-map h1:focus,#lesson-entry h2:focus{outline:none}#lesson-map .picture-card{border:2px solid #ffffffdf!important;box-shadow:0 6px 0 #153b6655!important;color:white!important;overflow:hidden}#lesson-map .picture-card>span{background:linear-gradient(120deg,#0c7287,#18588b)!important;color:#fff!important}#lesson-map .path-activity .picture-card>span{background:linear-gradient(120deg,#a24278,#b44f8a)!important}#lesson-map .path-games .picture-card>span{background:linear-gradient(120deg,#6550ac,#804da6)!important}#lesson-map .picture-card b,#lesson-map .picture-card em{color:white!important}#lesson-map .picture-card small{background:#ffe49b!important;color:#254469!important;border:1px solid #fff0b9}#lesson-map .map-subtitle{color:#304b71}#lesson-map .map-extra{background:#fff0c8;border:1px solid #ecc76b;border-radius:15px;padding:5px 10px;color:#684b20}
/* Learning cards use warm, legible color with untouched lesson photographs. */
.flashcard{background:linear-gradient(145deg,#c7edee,#cfe3ff)!important;border:2px solid #71b6cc;border-radius:22px;box-shadow:0 6px 0 #2e7b9b40}.flashcard>strong,.flashcard>span{color:#164a67!important}.repeat-grid article,.ab-sticker-card{background:linear-gradient(140deg,#e6ddff,#d9eaff)!important;border:2px solid #a699d4!important;box-shadow:0 4px 0 #7367a638!important}.repeat-grid article:nth-child(2n),.ab-sticker-card:nth-child(2n){background:linear-gradient(140deg,#ffe1dc,#ffeebc)!important;border-color:#e7ad82!important}.repeat-grid article strong,.repeat-grid article span,.ab-sticker-target b{color:#183b62!important}.sound-banner{background:linear-gradient(120deg,#4f4799,#7753ad)!important;color:#fff;border:2px solid #b9a5e6;box-shadow:0 5px 0 #4035783b}.sound-banner strong,.sound-banner p{color:white!important}.sound-grid button,.sound-words button{background:linear-gradient(145deg,#fff0b7,#ffd0ba)!important;border-color:#d99d75!important;color:#294b6a!important;box-shadow:0 4px 0 #a6775940!important}.quiz-options button:not(.correct):not(.wrong):not([aria-pressed=true]),#quiz-options button:not(.correct):not(.wrong):not([aria-pressed=true]){background:linear-gradient(135deg,#d3e7ff,#e1d7ff);border:2px solid #8ea8dc;color:#234a74;box-shadow:0 4px 0 #4c6a9a40}.review-list article{background:linear-gradient(120deg,#e0e9ff,#f2dfff)!important;border:1px solid #b5a7d9;border-radius:18px}.reward-hero{background:linear-gradient(135deg,#ffe7a2,#ffd0a9)!important;border:2px solid #efb85a;box-shadow:0 5px 0 #c18e3440;color:#5d3c24}.achievement-grid article{background:linear-gradient(145deg,#e1ddff,#d5eaff)!important;border:1px solid #aba1d8;box-shadow:0 4px 0 #7467aa30}.download-box{background:linear-gradient(130deg,#d7efed,#cce4ff)!important;border:1px solid #8bb9d2;border-radius:18px;padding:15px}.ab-token{background:linear-gradient(135deg,#ffe59c,#ffd06b);border:2px solid #cc9837;border-radius:14px!important;color:#25486a;box-shadow:0 4px 0 #aa7a2f40}.ab-token[aria-pressed=true]{background:#245d8d;color:white}.ab-token:disabled{background:#d9cce5;opacity:.7}.ab-sticker-target{background:transparent!important;border-color:#9a8cc1!important}.ab-sticker-target img{mix-blend-mode:multiply}
/* Each game has its own rich card color; controls and answer states keep their behavior. */
.game-menu article{background:linear-gradient(140deg,#08758a,#135d82)!important;border:2px solid #fff!important;box-shadow:0 5px 0 #0e4b6d70!important;color:white!important}.game-menu article:nth-child(6n+2){background:linear-gradient(140deg,#5550ad,#7354ad)!important}.game-menu article:nth-child(6n+3){background:linear-gradient(140deg,#aa487a,#b25989)!important}.game-menu article:nth-child(6n+4){background:linear-gradient(140deg,#16795f,#247e72)!important}.game-menu article:nth-child(6n+5){background:linear-gradient(140deg,#9c5428,#b06b33)!important}.game-menu article:nth-child(6n){background:linear-gradient(140deg,#7552a8,#8c4c98)!important}.game-menu article h3,.game-menu article p{color:white!important}.game-menu article button.primary{background:#ffe49d!important;border:1px solid #fff0b8!important;color:#234566!important;box-shadow:0 4px 0 #9f7b32!important}.game-menu .game-symbol{background:#ffffff30!important;color:#fff!important}.game-card{background:linear-gradient(140deg,#e0ecff,#e8ddff)!important;border:2px solid #98b3df!important;box-shadow:0 6px 0 #546d9f33!important}.game-card h3{color:#234d77!important}.bubble-grid button{border-color:#846dbd;box-shadow:0 5px 0 #63529b50;color:#213f67}.bubble-grid button:nth-child(4n+1){background:linear-gradient(145deg,#ffe294,#ffd07b)}.bubble-grid button:nth-child(4n+2){background:linear-gradient(145deg,#c4e1ff,#b5ceff)}.bubble-grid button:nth-child(4n+3){background:linear-gradient(145deg,#ffc9df,#f4b5cf)}.bubble-grid button:nth-child(4n){background:linear-gradient(145deg,#b5e5d2,#a7d8d4)}#next-preview{background:linear-gradient(140deg,#e0eaff,#f1dfff)!important}#level-notice{background:linear-gradient(140deg,#ffe8a6,#ffd2c5);border:3px solid #fff;border-radius:28px;color:#54416b;box-shadow:0 10px 0 #42376880,0 25px 80px #152b6660}#level-notice h2{color:#53428b}#level-notice::backdrop{background:#193960b3}#teacher-details-dialog{background:#edf4ff;border:3px solid #8d99ce;border-radius:25px;color:#234766}
@media(max-width:600px){#unit-view .completion-box{padding:21px 20px}#unit-view .completion-box h2{font-size:25px}#unit-view .unit-banner h1{font-size:31px}#unit-view .unit-banner h1 span{font-size:32px}.in-child-lesson .section-head{padding-bottom:5px}.in-child-lesson .panel{border-radius:20px}}@media(prefers-reduced-motion:reduce){#unit-view .unit-banner{animation:none}}@media print{body{background:white!important}.panel,.flashcard,.repeat-grid article{box-shadow:none!important}}

#unit-view .unit-banner:hover,#unit-view .unit-banner:focus-within{animation-play-state:paused}.review-list article .quiet{color:#fff}.game-menu article:hover{filter:brightness(1.04)}
