@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fredoka:wght@400;500;600&display=swap');
:root{--ink:#30294d;--muted:#766d8b;--purple:#7960c9;--lavender:#eee8fc;--mint:#e1f3e9;--peach:#fff0dd;--border:#e8e1f2;--bg:#faf8ff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:17px;min-width:320px}button,input,select{font:inherit}button{cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s}button:disabled{cursor:not-allowed;opacity:.45}a,button,input,summary,select{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #edac51;outline-offset:4px}h1,h2,h3{font-family:Fredoka,'Trebuchet MS',sans-serif;font-weight:500;margin:0}p{line-height:1.7}a{color:var(--purple)}.sky{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 8% 50%,#eee7fa66,transparent 40%),radial-gradient(ellipse at 98% 80%,#dff4e960,transparent 40%)}.sky i{position:absolute;font-style:normal;color:#d5c9ec;font-size:32px;animation:drift 12s ease-in-out infinite}.sky i:nth-child(1){left:4%;top:24%}.sky i:nth-child(2){left:94%;top:21%;color:#d3e9dc;animation-delay:-3s}.sky i:nth-child(3){left:8%;top:77%;color:#eecdad;animation-delay:-8s}.sky i:nth-child(4){left:91%;top:63%;animation-delay:-4s}.sky i:nth-child(5){left:55%;top:93%;color:#ebd3ae;animation-delay:-2s}.sky i:nth-child(6){left:47%;top:9%;animation-delay:-6s}.sky i:nth-child(7){left:80%;top:45%;color:#d8e9d8;animation-delay:-10s}.topbar{height:106px;max-width:1320px;margin:auto;padding:0 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font-family:Fredoka,sans-serif;font-size:28px;font-weight:500}.brand-mark{width:49px;height:49px;border-radius:17px;display:grid;place-items:center;background:var(--purple);color:white;font-size:32px;position:relative;transform:rotate(-5deg)}.brand-mark>span{position:absolute;top:-9px;right:-7px;font-size:24px;color:#efb45e}.brand small{display:block;font:700 8px 'DM Sans',sans-serif;letter-spacing:2.2px;margin-top:5px}.top-actions{display:flex;gap:20px;align-items:center}.teacher-badge{font-size:12px;color:#8c7aa7}.sound-button{border:1px solid var(--border);border-radius:30px;background:white;padding:10px 16px;color:var(--purple);font-size:13px;display:flex;gap:8px;align-items:center}.sound-button:hover{background:var(--lavender)}main{max-width:1120px;margin:auto;padding:24px 36px 35px;min-height:calc(100vh - 170px)}footer{max-width:1240px;margin:auto;padding:15px 40px 27px;display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#9a8eae}footer b{color:#b39bd9}.eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#8c75ae;display:flex;gap:9px;align-items:center}.eyebrow:before{content:'';width:7px;height:7px;background:#bea5de;border-radius:50%}.intro{text-align:center;padding:10px 0 29px}.intro .eyebrow{justify-content:center}.intro h1{font-size:48px;line-height:1.2;letter-spacing:-1px;margin:12px 0}.intro p{font-size:17px;color:var(--muted);margin:0}.welcome-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:25px}.welcome-story{position:relative;border:1px solid #ded2f5;background:#eee7fc;border-radius:30px;padding:30px 35px;overflow:hidden;min-height:425px}.pill{display:inline-flex;gap:6px;align-items:center;font-size:10px;letter-spacing:1px;font-weight:700;border-radius:8px;background:#ffffffa8;color:#8c74b3;padding:9px 11px}.welcome-story h2{font-size:46px;line-height:1.1;margin:23px 0 12px;position:relative;z-index:1}.welcome-story h2 span{color:var(--purple)}.welcome-story p{font-size:15px;color:#88759f;max-width:260px;position:relative;z-index:1}.book-friend{position:absolute;width:270px;height:220px;bottom:-2px;right:-3px;animation:float 5s ease-in-out infinite}.orbit-star{position:absolute;font-size:38px;color:#b59bd7;top:29px;right:32px;animation:twinkle 4s infinite}.little-sticker{position:absolute;bottom:29px;left:31px;transform:rotate(-7deg);background:#fff9ee;padding:10px 14px;border-radius:10px;color:#ba8e56;font-family:Fredoka;font-size:17px;box-shadow:0 5px 12px #b5a1d119}.start-card{background:white;border:1px solid var(--border);border-radius:30px;padding:32px}.card-icon{display:grid;place-items:center;background:var(--peach);font-size:25px;width:49px;height:49px;border-radius:16px;margin-bottom:19px}.start-card h2{font-size:28px}.start-card p{font-size:15px;color:var(--muted);margin:10px 0 22px}.start-card label{display:block;font-size:14px;font-weight:700;margin-bottom:9px}.text-input{width:100%;border:2px solid #e9e1f2;background:#fcfaff;border-radius:13px;font-size:18px;padding:16px 17px;color:var(--ink);outline:0;transition:border-color .2s,box-shadow .2s}.text-input:focus{border-color:var(--purple);box-shadow:0 0 0 4px #7960c914}.text-input::placeholder{color:#b4a6c7;font-size:16px}.primary{border:0;border-radius:14px;background:var(--purple);color:white;padding:16px 23px;font-size:17px;font-weight:700;box-shadow:0 5px 0 #6048ad,0 9px 18px #7960c920;display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:53px}.primary:hover:not(:disabled){transform:translateY(-3px);background:#856bd2;box-shadow:0 8px 0 #6048ad,0 13px 25px #7960c92b}.primary:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px 0 #6048ad}.start-card .primary{width:100%;margin-top:19px}.caption{font-size:12px;color:#9788aa;line-height:1.7}.start-card .caption{text-align:center;margin:18px 0 0}.quick-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:25px}.fact{background:#fff;border:1px solid var(--border);border-radius:17px;padding:17px 20px;display:flex;gap:13px;align-items:center}.fact>span{font-size:24px}.fact strong{font-size:14px;display:block}.fact small{display:block;color:#9787ac;font-size:12px;margin-top:4px}.teacher-tip{display:flex;gap:11px;align-items:flex-start;font-size:13px;color:#8a799c;line-height:1.9;margin-top:23px;padding:15px 20px;border:1px dashed #dcd1eb;border-radius:15px;background:#ffffff66}.teacher-tip b{color:#78638f}.screen-enter{animation:screenIn .3s ease both}.quiz-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.quiz-heading h1{font-size:32px;margin-top:9px}.timer{background:white;border:1px solid var(--border);border-radius:17px;padding:12px 20px;min-width:132px;font-family:Fredoka;font-size:27px;color:var(--purple);text-align:center;font-variant-numeric:tabular-nums}.timer small{font:700 9px 'DM Sans';letter-spacing:1.4px;display:block;margin-bottom:5px;color:#9b8aad}.timer.low{background:#fff1e9;color:#b46a48;border-color:#f0d0bd}.question-progress{display:flex;align-items:center;gap:7px;margin-bottom:22px}.progress-step{height:7px;background:#e7e0f1;flex:1;border:0;border-radius:5px;padding:0}.progress-step.done{background:#b3d7c3}.progress-step.here{background:var(--purple);height:10px}.progress-step:hover{background:#b5a0d7;transform:scaleY(1.5)}.question-shell{background:white;border:1px solid var(--border);border-radius:27px;box-shadow:0 10px 45px #6e528a05;overflow:hidden;position:relative;animation:screenIn .3s ease}.question-bar{display:flex;align-items:center;justify-content:space-between;padding:20px 29px;background:#fdfbff;border-bottom:1px solid #f0eaf7;gap:12px}.question-counter{display:flex;align-items:center;gap:11px;font-size:14px;font-weight:600}.question-number{background:var(--lavender);color:var(--purple);display:grid;place-items:center;width:36px;height:36px;border-radius:12px;font-family:Fredoka;font-size:21px}.question-meta{display:flex;align-items:center;gap:10px}.category{font-size:11px;border-radius:8px;background:var(--mint);color:#5d8b74;padding:7px 10px}.points{font-size:12px;color:#a187bd;background:#f4eefb;padding:7px 10px;border-radius:8px}.question-body{padding:29px 34px 24px}.prompt-line{display:flex;align-items:flex-start;gap:18px;justify-content:space-between}.question-title{font-size:34px;line-height:1.25;outline:0}.translate{display:flex;gap:6px;align-items:center;white-space:nowrap;border:1px solid #e6ddf1;background:#f9f5ff;border-radius:11px;padding:9px 11px;color:#8f73af;font-size:13px;min-height:39px}.translate:hover{background:#eee5fc;transform:rotate(-3deg)}.question-hint{color:#9885aa;font-size:15px;margin:10px 0 0}.translation{font-family:Arial,sans-serif;background:#f7f2fd;border-right:4px solid #baa1dd;color:#705c88;border-radius:12px;padding:15px 19px;margin-top:18px;font-size:21px;line-height:1.9;animation:translationIn .25s ease;text-align:right;direction:rtl}.translation p{margin:0}.translation .arabic-passage{margin-top:10px;color:#8b779e;font-size:18px}.question-stage{display:flex;align-items:center;justify-content:center;gap:15px;min-height:135px;position:relative;margin:20px 0;border-radius:21px;background:#faf7fe;border:1px solid #f2edf8;overflow:hidden}.question-stage:before,.question-stage:after{content:'✦';position:absolute;color:#e2d5ef;left:10%;top:20%;font-size:23px;pointer-events:none}.question-stage:after{left:auto;top:auto;right:10%;bottom:17%;font-size:16px}.big-glyph{font-family:Fredoka;font-size:75px;color:var(--purple);animation:float 5s ease-in-out infinite;letter-spacing:6px}.emoji-cue{font-size:70px;animation:float 4s ease-in-out infinite}.red-dot{background:#f17578;width:85px;height:85px;border-radius:50%;box-shadow:inset -8px -8px 0 #db626850,0 9px 0 #edd8e1;animation:float 4s infinite}.video-mark{width:120px;height:80px;background:#ef5f66;border-radius:23px;display:grid;place-items:center;transform:rotate(-7deg);box-shadow:0 8px 0 #d95160;animation:float 5s infinite}.video-mark:after{content:'';display:block;border-left:27px solid #fff;border-top:17px solid transparent;border-bottom:17px solid transparent;margin-left:8px}.block-art{width:111px;height:111px;box-shadow:8px 8px 0 #49302020;transform:rotate(-6deg);animation:blockBob 4s infinite;image-rendering:pixelated;position:relative;background:repeating-conic-gradient(#93623d 0 25%,#7e4f32 0 50%) 0 0/28px 28px;border:5px solid #70462f}.block-art:before{content:'';position:absolute;left:-5px;right:-5px;top:-5px;height:32px;background:repeating-conic-gradient(#83bd5b 0 25%,#69a647 0 50%) 0 0/24px 24px;border:5px solid #5e8e3e;clip-path:polygon(0 0,100% 0,100% 75%,83% 75%,83% 100%,60% 100%,60% 75%,40% 75%,40% 100%,19% 100%,19% 75%,0 75%)}.game-sticker{position:absolute;bottom:12px;right:18px;color:#9782ad;font-size:10px;letter-spacing:1px}.listen-word{border:0;border-radius:16px;background:#e9e0fb;padding:18px 23px;color:var(--purple);font-size:21px;font-weight:600;box-shadow:0 5px 0 #d6c7f0;display:flex;gap:10px;align-items:center;z-index:1}.listen-word:hover{transform:scale(1.04) rotate(-2deg)}.teacher-word{font-size:11px;color:#8e7e9e;margin-top:10px}.teacher-word summary{cursor:pointer}.teacher-word p{font-size:12px;margin:4px}.blank-sentence{font-family:Fredoka;font-size:31px;line-height:1.55;text-align:center;padding:18px 25px;color:#79608f}.story-passage{background:#f0f7ed;border:1px solid #e4eedd;padding:22px 26px;border-radius:19px;font-size:21px;line-height:1.85;color:#5c775e;margin:21px 0}.story-passage:before{content:'A LITTLE STORY';font-size:10px;letter-spacing:1.6px;display:block;color:#8ca487;font-weight:700;margin-bottom:8px}.options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.option{border:2px solid #e9e1f3;border-radius:17px;background:#fff;text-align:left;padding:17px 19px;color:var(--ink);display:flex;align-items:center;gap:15px;min-height:78px;font-size:25px;position:relative}.option:hover:not(:disabled){animation:wiggle .36s ease;box-shadow:0 8px 18px #9272b214;transform:translateY(-3px);background:#fcfaff}.option.selected{border-color:var(--purple);background:#f0e9fc;box-shadow:0 0 0 3px #7960c910}.option.selected:after{content:'✓';color:var(--purple);margin-left:auto;font-size:21px}.long-options .option{font-size:19px;line-height:1.45}.question-controls{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:21px 30px;border-top:1px solid #f0eaf7;background:#fff}.controls-left{display:flex;align-items:center;gap:16px}.secondary{border:1px solid #dfd3ed;border-radius:12px;background:white;padding:13px 17px;font-size:14px;color:#9073ac;min-height:47px}.secondary:hover:not(:disabled){background:#f6f0fc;transform:translateY(-2px)}.skip{border:0;background:none;color:#9d8bad;padding:10px 4px;font-size:13px}.skip:hover{color:var(--purple);text-decoration:underline}.under-card{display:flex;justify-content:space-between;gap:15px;align-items:center;color:#a390b2;font-size:12px;padding:19px 4px}.under-card b{font-weight:500;color:#9980ae}.no-rush{display:flex;gap:8px}.review-intro{text-align:center;max-width:710px;margin:30px auto;background:#fff;border:1px solid var(--border);border-radius:30px;padding:44px 40px}.review-intro .emoji{font-size:76px;display:block;animation:float 4s infinite}.review-intro h1{font-size:43px;margin:23px 0 12px}.review-intro p{color:#8c759d;font-size:18px}.review-intro .primary{margin:12px 0}.review-intro .eyebrow{justify-content:center;margin-top:20px}.review-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 20px}.review-heading h1{font-size:32px}.review-heading p{font-size:13px;color:#9984aa;margin:7px 0 0}.review-counter{font-family:Fredoka;color:#9879b5;font-size:22px;white-space:nowrap}.review-shell{border:2px solid #e7ddf2;border-radius:27px;background:white;overflow:hidden;transition:background .5s,border-color .5s;position:relative}.review-shell.right{border-color:#a2d5b7;background:#f8fff9}.review-shell.wrong{border-color:#edb2af;background:#fff8f6}.review-shell.unknown{border-color:#e5c18c;background:#fffdf4}.review-person{padding:18px 28px;background:#f6f0fc;display:flex;justify-content:space-between;color:#997da9;font-size:13px}.review-main{padding:25px 32px}.review-main h2{font-size:30px}.review-main .question-stage{min-height:112px;margin:17px 0}.review-main .big-glyph{font-size:62px}.review-main .emoji-cue{font-size:56px}.review-main .story-passage{font-size:18px;padding:16px 22px;margin:17px 0}.review-main .options{margin-top:17px;gap:10px}.review-main .option{font-size:22px;min-height:61px;padding:13px 17px;cursor:default;animation:none!important}.review-main .long-options .option{font-size:17px}.review-main .option:hover{transform:none;box-shadow:none}.review-main .option.chosen{border-color:#b698d1;background:#f1e9fc}.review-shell.revealed .option.correct{border-color:#8fc4a0;background:#e3f6e7;color:#4c855c}.review-shell.revealed .option.chosen.incorrect{border-color:#e1a29c;background:#fbe9e7;color:#b26963}.review-mark{margin-left:auto;font-size:22px;font-weight:bold}.reveal-panel{display:flex;gap:15px;align-items:center;justify-content:space-between;min-height:100px;border-top:1px solid #eee5f4;padding:20px 29px;background:#f9f5ff;color:#a38bb6}.revealed.right .reveal-panel{background:#e8f7ed;color:#578668;border-color:#d0e9d8}.revealed.wrong .reveal-panel{background:#fce9e7;color:#b17670;border-color:#f0d2ce}.revealed.unknown .reveal-panel{background:#fff3da;color:#b39561}.reveal-copy strong{display:block;font-family:Fredoka;font-size:26px}.reveal-copy small{display:block;font-size:14px;margin-top:5px;line-height:1.5}.reveal-points{font-family:Fredoka;font-size:26px;white-space:nowrap}.review-shell.right.revealed{animation:successPop .4s ease}.review-shell.wrong.revealed{animation:gentleNudge .4s ease}.review-toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:19px 2px;flex-wrap:wrap}.review-navigation{display:flex;gap:10px;align-items:center}.review-toolbar select{font-size:13px;padding:11px;border:1px solid var(--border);border-radius:10px;background:#fff;color:#967cae}.review-timeline{display:flex;gap:5px;margin-top:5px}.review-timeline span{height:5px;background:#e6deee;flex:1;border-radius:4px;position:relative;overflow:hidden}.review-timeline span.seen{background:#b4d9c1}.review-timeline span.active{background:var(--purple)}.review-timeline span.active:after{content:'';position:absolute;inset:0;background:#b7a2dc;animation:reviewSweep var(--review-duration,4200ms) linear both}.review-paused .review-timeline span.active:after{animation-play-state:paused}.effects{position:fixed;inset:0;pointer-events:none;z-index:100;overflow:hidden}.confetti{position:absolute;top:-25px;width:10px;height:16px;border-radius:3px;animation:fall 1.9s linear forwards}.soft-tint{position:absolute;inset:0;background:#e29b9630;animation:tint .7s ease forwards}.result-celebration{text-align:center;border:1px solid #dfd0f1;border-radius:30px;background:#eee6fa;padding:28px 30px 32px;position:relative;overflow:hidden}.result-celebration .eyebrow{justify-content:center}.result-celebration h1{font-size:42px;margin:12px 0}.result-celebration>p{color:#8e74a2;font-size:16px;margin:10px 0}.result-crown{font-size:53px;display:block;margin-bottom:12px;animation:float 5s infinite}.score-circle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:180px;height:180px;border:10px solid transparent;border-radius:50%;margin:24px auto;background:linear-gradient(#fcfaff,#fcfaff) padding-box,conic-gradient(var(--purple) var(--score,0%),#d8c9ed 0) border-box;box-shadow:0 9px 0 #d7c7eb3b;font-family:Fredoka}.score-circle strong{font-size:58px;font-weight:500;color:var(--purple);line-height:1}.score-circle span{font-size:18px;line-height:1.15;color:#786291}.level-pill{display:inline-flex;border-radius:30px;padding:10px 19px;background:#ffffffa6;color:#826099;font-family:Fredoka;font-size:21px;gap:8px;align-items:center}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0}.stat{background:#fff;border:1px solid var(--border);border-radius:18px;padding:21px;text-align:center}.stat strong{font-family:Fredoka;font-size:30px;display:block;color:#9071ab}.stat span{font-size:12px;color:#9f8bac;display:block;margin-top:6px}.result-panel{background:white;border:1px solid var(--border);border-radius:21px;padding:25px 28px;margin:18px 0}.result-panel h2{font-size:25px;margin:0 0 12px}.result-panel p{font-size:15px;color:#8e799e;margin:9px 0;line-height:1.9}.skill-row{display:grid;grid-template-columns:150px 1fr 55px;align-items:center;gap:16px;font-size:13px;margin:18px 0;color:#8d799b}.skill-track{height:9px;border-radius:20px;background:#f0e9f7;overflow:hidden}.skill-fill{height:100%;background:#b39ad2;border-radius:20px}.skill-row:nth-child(even) .skill-fill{background:#aed1bb}.result-panel summary{cursor:pointer;color:#9274ac;font-size:15px;font-weight:600}.answer-row{padding:18px 0;border-bottom:1px solid #f0e9f5;font-size:14px;line-height:1.8}.answer-row strong{color:#766080}.answer-row p{font-size:13px;margin:3px 0}.result-actions{display:flex;gap:12px;flex-wrap:wrap;margin:23px 0}.teacher-note{font-size:12px;color:#a18aaf;line-height:1.8;margin-top:15px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);z-index:200;background:#4f3a64;color:white;border-radius:14px;padding:14px 23px;font-size:14px;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.cat-box{width:180px;height:112px;position:relative}.cat-box .table-top{position:absolute;top:14px;left:0;width:180px;height:16px;border-radius:5px;background:#c5abdb}.cat-box:before,.cat-box:after{content:'';position:absolute;top:29px;width:12px;height:76px;background:#c5abdb;border-radius:0 0 5px 5px;left:12px}.cat-box:after{left:auto;right:12px}.cat-box .cat{position:absolute;bottom:4px;left:56px;font-size:55px}.rings{display:flex;gap:15px;align-items:center}.ring{width:53px;height:68px;border:9px solid #edc568;border-radius:50%;box-shadow:inset 3px 2px 0 #ffeb9f,3px 3px 0 #d7ab48;animation:float 3s infinite}.ring:nth-child(2){animation-delay:-1s}.ring:nth-child(3){animation-delay:-2s}.resume-card{margin:22px auto;border:1px solid var(--border);border-radius:21px;background:#fff;padding:30px;text-align:center}.resume-card h2{font-size:28px}.resume-card p{font-size:15px;color:#927ca1}.resume-actions{display:flex;justify-content:center;gap:13px;flex-wrap:wrap;margin-top:19px}
@keyframes float{50%{transform:translateY(-8px) rotate(3deg)}}@keyframes drift{50%{transform:translate(15px,-25px) rotate(30deg)}}@keyframes twinkle{50%{transform:scale(.8) rotate(20deg);opacity:.6}}@keyframes blockBob{50%{transform:translateY(-7px) rotate(2deg)}}@keyframes screenIn{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes translationIn{from{opacity:0;transform:translateX(12px)}}@keyframes wiggle{25%{transform:translateY(-3px) rotate(-1deg)}75%{transform:translateY(-3px) rotate(1deg)}}@keyframes successPop{50%{transform:scale(1.01)}}@keyframes gentleNudge{25%{transform:translateX(-3px)}75%{transform:translateX(3px)}}@keyframes fall{to{transform:translate(var(--drift,40px),110vh) rotate(500deg);opacity:.4}}@keyframes tint{from{opacity:1}to{opacity:0}}@keyframes reviewSweep{from{transform:translateX(-100%)}to{transform:translateX(0)}}
@media(min-width:1500px){main{padding-top:35px}.question-stage{min-height:160px}.question-body{padding:35px 40px}.welcome-layout{margin-top:13px}.welcome-story{min-height:450px}.book-friend{width:295px;height:240px}.welcome-story h2{font-size:49px}}@media(max-width:800px){.topbar{padding:0 25px;height:90px}.brand{font-size:25px}.teacher-badge{display:none}main{padding:20px 24px 30px}.intro h1{font-size:39px}.welcome-layout{gap:17px}.welcome-story{padding:25px}.welcome-story h2{font-size:39px}.start-card{padding:25px}.start-card h2{font-size:25px}.book-friend{width:230px}.little-sticker{left:20px;bottom:21px;font-size:14px}.quick-facts{gap:10px}.fact{padding:14px 12px;gap:8px}.fact>span{font-size:20px}.fact strong{font-size:12px}.fact small{font-size:10px}.question-title{font-size:30px}.question-body{padding:25px}.option{font-size:23px}.long-options .option{font-size:18px}.quiz-heading h1{font-size:28px}footer{padding-inline:25px}}@media(max-width:600px){body{font-size:16px}.topbar{height:83px;padding:0 19px}.brand{font-size:23px;gap:10px}.brand-mark{height:41px;width:41px;border-radius:14px;font-size:28px}.brand small{font-size:6px;letter-spacing:1.7px}.sound-button{padding:9px 11px;font-size:11px}.top-actions{gap:0}main{padding:15px 16px 24px}.intro{padding:10px 4px 24px}.intro .eyebrow{font-size:9px;letter-spacing:1.6px}.intro h1{font-size:36px;letter-spacing:-.6px}.intro p{font-size:15px}.welcome-layout{grid-template-columns:1fr;gap:18px}.welcome-story{min-height:300px;padding:26px 25px;border-radius:24px}.welcome-story h2{font-size:39px;margin-top:21px}.welcome-story p{max-width:190px;font-size:13px}.book-friend{width:190px;height:160px;bottom:-4px;right:-13px}.little-sticker{font-size:13px;bottom:20px;left:23px}.orbit-star{font-size:26px;right:25px}.pill{font-size:8px;letter-spacing:.8px}.start-card{padding:27px;border-radius:24px}.quick-facts{grid-template-columns:1fr;gap:9px;margin-top:18px}.fact{padding:14px 19px;gap:16px}.fact>span{font-size:23px}.fact strong{font-size:14px}.fact small{font-size:12px}.teacher-tip{font-size:12px;padding:15px;gap:8px}.quiz-heading{gap:13px;margin:4px 0 22px}.quiz-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.quiz-heading h1{font-size:25px}.timer{font-size:22px;min-width:95px;padding:10px 13px}.timer small{font-size:8px}.question-progress{gap:4px;margin-bottom:18px}.question-shell{border-radius:22px}.question-bar{padding:13px 16px;gap:6px}.question-counter{font-size:12px;gap:7px}.question-number{width:31px;height:31px;font-size:18px;border-radius:10px}.category{font-size:8px;padding:6px 7px}.points{font-size:10px;padding:6px 7px}.question-meta{gap:5px}.question-body{padding:23px 18px 20px}.question-title{font-size:28px}.prompt-line{gap:10px;flex-direction:column;align-items:flex-start}.translate{font-size:12px;padding:8px 10px;min-height:34px}.question-hint{font-size:13px;line-height:1.6;margin-top:9px}.question-stage{min-height:123px;margin:18px 0}.big-glyph{font-size:65px}.emoji-cue{font-size:60px}.options{gap:10px;margin-top:18px}.option{font-size:22px;gap:10px;min-height:73px;padding:15px 10px;border-radius:14px}.option.selected:after{font-size:16px}.long-options .option{font-size:16px;gap:8px}.long-options{grid-template-columns:1fr}.question-controls{padding:18px 17px;gap:9px}.controls-left{gap:10px}.question-controls .primary{padding:14px 16px;font-size:14px;gap:7px;min-height:48px}.secondary{font-size:12px;padding:11px 13px;min-height:44px}.skip{font-size:11px;max-width:75px;line-height:1.5}.under-card{font-size:10px;gap:8px;line-height:1.6;align-items:start}.no-rush{max-width:210px}.story-passage{font-size:19px;padding:19px 20px}.blank-sentence{font-size:27px;padding:18px 14px}.translation{font-size:19px;padding:12px 15px}.translation .arabic-passage{font-size:17px}.review-intro{padding:30px 24px;margin:20px 0}.review-intro h1{font-size:34px}.review-intro p{font-size:16px}.review-intro .emoji{font-size:65px}.review-heading h1{font-size:27px}.review-heading p{font-size:11px}.review-counter{font-size:18px}.review-person{padding:14px 18px;font-size:11px}.review-main{padding:22px 18px}.review-main h2{font-size:27px}.review-main .option{font-size:21px;padding:12px 10px}.review-main .long-options .option{font-size:16px}.review-main .story-passage{font-size:17px;padding:14px 17px}.reveal-panel{padding:18px;min-height:106px;gap:12px}.reveal-copy strong{font-size:23px}.reveal-copy small{font-size:12px}.reveal-points{font-size:22px}.review-toolbar{gap:8px}.review-navigation{gap:7px}.review-navigation .secondary{padding:10px 12px}.review-toolbar select{font-size:12px;padding:10px}.result-celebration{padding:25px 17px}.result-celebration h1{font-size:34px}.result-celebration>p{font-size:14px}.score-circle{width:158px;height:158px}.score-circle strong{font-size:50px}.level-pill{font-size:19px;padding:9px 14px}.result-stats{gap:8px}.stat{padding:18px 7px}.stat strong{font-size:25px}.stat span{font-size:10px;line-height:1.5}.result-panel{padding:21px 20px}.result-panel h2{font-size:23px}.result-panel p{font-size:14px}.skill-row{grid-template-columns:110px 1fr 43px;gap:9px;font-size:11px}.result-actions .primary{font-size:14px;padding:15px 18px}.result-actions{gap:10px}.result-actions .secondary{font-size:13px}.teacher-note{font-size:11px}footer{padding:14px 18px 24px;font-size:9px;line-height:1.8}footer>span:first-child{max-width:185px}.toast{font-size:12px;width:max-content}.sky i{font-size:22px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.confetti{display:none}}@media print{.sky,.topbar,footer,.effects,.result-actions,.teacher-note,.toast{display:none}body{background:white}main{max-width:none;padding:0}.result-panel,.stat,.result-celebration{break-inside:avoid}.result-celebration{padding:15px}.score-circle{width:110px;height:110px;border-width:7px;margin:12px auto;print-color-adjust:exact}.score-circle strong{font-size:43px}details{display:none}}

/* Translation reads alongside the title; illustrations are real SVG stickers. */
.option.selected:after{content:'●';font-size:15px}
.prompt-line{justify-content:flex-start;align-items:center;flex-flow:row wrap;gap:10px 12px}
.prompt-line>.question-title{flex:0 1 auto;max-width:100%}
.prompt-line>.translate{flex:none}
.prompt-line>.translation{flex:1 1 250px;min-width:0;margin:0;padding:8px 13px;font-size:19px;line-height:1.7}
#translation[hidden]{display:none}
.prompt-line>.translation .arabic-passage{font-size:17px;margin-top:7px}
.question-sticker{display:block;object-fit:contain;width:155px;height:145px;filter:drop-shadow(0 6px 5px #c5b1d51a);animation:float 5s ease-in-out infinite}
.question-stage:has(.question-sticker){min-height:176px;padding:15px 24px}
.question-stage.stage-dirt{min-height:186px;padding:30px 25px;overflow:visible}
.block-art{flex-shrink:0}
.question-stage.stage-sonic{min-height:190px;padding:14px 20px}
.race-sticker{width:min(100%,480px);height:175px;animation:none}
.question-stage.stage-cat-table{min-height:185px}
.cat-box{height:155px;width:210px}
.cat-box .table-top{width:210px;top:12px}
.cat-box:before,.cat-box:after{height:118px;top:27px}
.cat-box .table-cat{position:absolute;width:122px;height:115px;bottom:4px;left:45px;animation:none}

/* A centered, viewport-sized player keeps each reveal in view without page scrolling. */
body.is-review{overflow:hidden}
#app.review-screen{position:fixed;inset:0;z-index:30;width:100%;max-width:none;height:100dvh;min-height:0;padding:18px max(24px,calc((100vw - 1040px)/2));background:var(--bg);display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.review-screen>.review-heading{flex:none;margin:0 0 12px}
.review-screen .review-heading h1{font-size:29px}
.review-screen .review-heading p{margin:4px 0 0;font-size:12px}
.review-screen>.review-shell{flex:0 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d9c9eb transparent}
.review-screen .review-main{padding:19px 25px}
.review-screen .review-main h2{font-size:28px}
.review-screen .question-stage{min-height:100px;margin:14px 0}
.review-screen .stage-dirt{min-height:156px;padding:25px}
.review-screen .question-sticker{width:120px;height:110px}
.review-screen .stage-sonic{min-height:150px;padding:8px 20px}
.review-screen .race-sticker{width:min(100%,410px);height:145px}
.review-screen .stage-cat-table{min-height:165px}
.review-screen .table-cat{width:122px;height:115px}
.review-screen .blank-sentence{font-size:27px;padding:10px}
.review-screen .story-passage{font-size:18px;line-height:1.65;margin:14px 0;padding:15px 20px}
.review-screen .reveal-panel{min-height:86px;padding:16px 25px}
.review-screen>.review-toolbar{flex:none;padding:13px 0 10px}
.review-screen>.review-timeline{flex:none;margin:0}
.review-screen>#replayCaption{flex:none;margin:8px 0 0;font-size:11px}
.review-screen .review-person{padding:13px 25px}
@media(max-height:780px) and (min-width:701px){.review-screen .review-heading .eyebrow,.review-screen .review-heading p{display:none}.review-screen .review-heading h1{font-size:24px}.review-screen .question-stage{min-height:86px;margin:10px 0}.review-screen .big-glyph{font-size:48px}.review-screen .question-sticker{width:105px;height:95px}.review-screen .race-sticker{width:300px;height:115px}.review-screen .stage-sonic{min-height:120px}.review-screen .stage-dirt{min-height:142px}.review-screen .review-main{padding:15px 23px}.review-screen .options{margin-top:12px;gap:8px}.review-screen .option{min-height:53px;padding:9px 14px;font-size:21px}.review-screen .reveal-panel{min-height:77px;padding:13px 23px}.review-screen .reveal-copy strong{font-size:23px}}
@media(max-width:600px){.prompt-line{gap:9px 10px}.prompt-line>.question-title{font-size:27px}.prompt-line>.translation{flex-basis:100%;font-size:19px}.question-sticker{width:140px;height:130px}.question-stage.stage-dirt{min-height:180px}.question-stage.stage-sonic{min-height:165px}.race-sticker{height:145px;width:100%}#app.review-screen{padding:14px 12px}.review-screen .review-heading h1{font-size:22px}.review-screen .review-heading .eyebrow{font-size:8px}.review-screen .review-heading p{font-size:10px}.review-screen .review-counter{font-size:16px}.review-screen .review-main{padding:16px}.review-screen .review-main h2{font-size:23px}.review-screen .review-person{padding:11px 16px;font-size:10px}.review-screen .story-passage{font-size:16px;line-height:1.6;padding:13px 15px}.review-screen .long-options .option{font-size:15px;min-height:45px;padding:9px 10px}.review-screen .option{font-size:20px;min-height:53px;padding:10px}.review-screen .options{margin-top:13px;gap:8px}.review-screen .reveal-panel{padding:14px 16px;min-height:90px}.review-screen .reveal-copy strong{font-size:21px}.review-screen .reveal-copy small{font-size:11px}.review-screen .reveal-points{font-size:21px}.review-screen .review-toolbar{gap:7px;padding:11px 0}.review-screen .review-navigation{gap:6px}.review-screen .review-navigation .secondary{font-size:11px;padding:9px 11px;min-height:39px}.review-screen .review-toolbar select{padding:8px}.review-screen #replayCaption{font-size:10px}.review-screen .stage-dirt{min-height:156px}.review-screen .race-sticker{width:100%;height:125px}.review-screen .stage-sonic{min-height:135px}}
@media(prefers-reduced-motion:reduce){.question-sticker{animation:none}}


/* A shorter welcome and a fixed quiz frame. */
.is-home .teacher-badge,.is-home footer{display:none}
.simple-intro{padding:14px 0 25px}
.simple-intro h1{margin:0 0 7px}
.simple-home{grid-template-columns:.85fr 1.15fr;max-width:880px;margin-inline:auto;gap:22px}
.simple-story{display:grid;place-items:center;min-height:286px;padding:16px}
.simple-story .book-friend{position:static;width:min(100%,330px);height:230px}
.simple-start{display:flex;flex-direction:column;justify-content:center;padding:32px}
.simple-start label{font:500 clamp(26px,4vw,35px)/1.2 Fredoka,sans-serif;margin-bottom:14px}
.simple-start .text-input{font-size:clamp(24px,4vw,31px);min-height:76px;padding:15px 18px}
.simple-start .text-input::placeholder{font-size:clamp(20px,3vw,24px)}
.simple-start .primary{margin-top:18px;font-size:19px}
body.is-quiz{overflow:hidden}
#app.quiz-screen{position:fixed;inset:0;z-index:30;width:100%;max-width:none;height:100dvh;min-height:0;padding:10px max(24px,calc((100vw - 1040px)/2));background:var(--bg);display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.quiz-screen .quiz-heading{flex:none;min-height:62px;margin:0 0 12px}
.quiz-screen .quiz-heading h1{font-size:clamp(20px,3vw,28px);margin:5px 0 0;overflow-wrap:anywhere}
.quiz-screen .quiz-heading .eyebrow{font-size:9px}
.quiz-actions{display:flex;align-items:center;gap:10px;flex:none}
.quiz-screen .timer{min-width:102px;padding:8px 12px;font-size:24px}
.quiz-screen .timer small{margin-bottom:3px}
.quiz-screen .question-progress{flex:none;margin-bottom:12px}
.quiz-screen .question-shell{flex:0 1 min(610px,calc(100dvh - 144px));min-height:0;display:flex;flex-direction:column;animation:none}
.quiz-screen .question-bar{flex:none;padding:10px 24px}
.quiz-screen .question-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d9c9eb transparent;padding:18px 26px 21px}
.quiz-screen .question-title{font-size:clamp(23px,3vw,32px)}
.quiz-screen .question-stage{margin:13px 0;min-height:102px}
.quiz-screen .stage-dirt{min-height:146px;padding:17px 23px}
.quiz-screen .stage-cat,.quiz-screen .stage-missing{min-height:120px;padding:8px 16px}
.quiz-screen .stage-cat-table{min-height:140px;padding:8px 16px}
.quiz-screen .cat-box{transform:scale(.84);margin:-10px 0}
.quiz-screen .question-sticker{width:128px;height:110px}
.quiz-screen .table-cat{width:122px;height:115px}
.quiz-screen .stage-sonic{min-height:132px;padding:8px 16px}
.quiz-screen .race-sticker{width:min(100%,390px);height:116px}
.quiz-screen .big-glyph{font-size:62px}
.quiz-screen .blank-sentence{font-size:27px;padding:5px 14px}
.quiz-screen .story-passage{font-size:18px;line-height:1.65;padding:15px 20px;margin:15px 0}
.quiz-screen .options{margin-top:14px;gap:10px}
.quiz-screen .option{min-height:62px;padding:11px 15px;font-size:22px}
.quiz-screen .long-options .option{font-size:17px}
.quiz-screen .question-controls{flex:none;padding:11px 24px}
.quiz-screen .question-controls .primary{min-height:47px;padding:12px 19px}
.quiz-screen .under-card{flex:none;padding:9px 4px 0}
@media(max-width:600px){.simple-intro{padding:5px 0 18px}.simple-home{grid-template-columns:1fr;gap:14px}.simple-story{min-height:155px;padding:9px}.simple-story .book-friend{height:145px}.simple-start{padding:24px}.simple-start .text-input{min-height:69px}#app.quiz-screen{padding:8px 12px}.quiz-screen .quiz-heading{gap:8px;min-height:56px;margin-bottom:9px}.quiz-screen .quiz-heading .eyebrow{display:none}.quiz-screen .quiz-heading h1{font-size:21px;margin:0}.quiz-actions{gap:6px}.quiz-actions .sound-button{padding:8px;font-size:11px}.quiz-screen .timer{min-width:76px;font-size:19px;padding:8px}.quiz-screen .timer small{font-size:7px}.quiz-screen .question-progress{margin-bottom:10px}.quiz-screen .question-shell{flex-basis:calc(100dvh - 120px)}.quiz-screen .question-bar{padding:10px 13px}.quiz-screen .question-body{padding:16px 15px 18px}.quiz-screen .question-stage{margin:11px 0}.quiz-screen .story-passage{font-size:16px;line-height:1.6;padding:13px 15px}.quiz-screen .option{min-height:54px;padding:8px 10px;font-size:20px}.quiz-screen .long-options .option{font-size:15px}.quiz-screen .question-controls{padding:9px 12px}.quiz-screen .question-controls .primary{min-height:43px;font-size:13px;padding:10px 13px}.quiz-screen .question-controls .secondary{min-height:40px}.quiz-screen .under-card{padding-top:7px}}
@media(max-height:565px){.quiz-screen .quiz-heading .eyebrow,.quiz-screen .under-card{display:none}.quiz-screen .quiz-heading{min-height:46px}.quiz-screen .question-shell{flex-basis:calc(100dvh - 92px)}}

/* Leave room for the illustrated icons and their shadows. */
.quiz-screen .question-stage:is(.stage-red,.stage-youtube),
.review-screen .question-stage:is(.stage-red,.stage-youtube){min-height:148px;padding:20px 24px}
.quiz-screen .question-stage.stage-dirt,
.review-screen .question-stage.stage-dirt{min-height:174px;padding:24px 26px}
.quiz-screen .stage-dirt .game-sticker,.review-screen .stage-dirt .game-sticker{right:14px;bottom:8px}
.quiz-screen .question-stage:is(.stage-cat-table,.stage-sonic){min-height:134px;gap:clamp(12px,3vw,32px);padding:8px 16px}
.quiz-screen :is(.stage-cat-table,.stage-sonic) .blank-sentence{min-width:0;max-width:480px;text-align:left;padding:4px 0}
.quiz-screen .stage-sonic .race-sticker{width:min(43%,350px);height:116px;flex:none}
.quiz-screen .cat-box{width:172px;height:116px;transform:none;margin:0;flex:none}
.quiz-screen .cat-box .table-top{width:100%;top:8px}
.quiz-screen .cat-box:before,.quiz-screen .cat-box:after{height:81px;top:23px}
.quiz-screen .cat-box .table-cat{width:96px;height:90px;left:50%;bottom:0;transform:translateX(-50%)}
@media(max-width:600px){
 .quiz-screen .question-stage:is(.stage-cat-table,.stage-sonic){min-height:116px;padding:8px 12px}
 .quiz-screen :is(.stage-cat-table,.stage-sonic) .blank-sentence{font-size:22px}
 .quiz-screen .stage-sonic .race-sticker{height:94px}
 .quiz-screen .cat-box{width:120px;height:94px}
 .quiz-screen .cat-box:before,.quiz-screen .cat-box:after{height:64px}
 .quiz-screen .cat-box .table-cat{width:72px;height:68px}
}
@media(max-height:730px){
 .quiz-screen .quiz-heading{min-height:46px;margin-bottom:8px}
 .quiz-screen .question-progress{margin-bottom:8px}
 .quiz-screen .question-shell{flex-basis:min(610px,calc(100dvh - 110px))}
 .quiz-screen .question-bar{padding-block:7px}
 .quiz-screen .question-body{padding-block:12px 14px}
 .quiz-screen .question-stage{margin-block:10px}
 .quiz-screen .options{margin-top:11px;gap:8px}
 .quiz-screen .option{min-height:54px;padding-block:7px}
 .quiz-screen .question-controls{padding-block:8px}
}
@media(max-height:680px){
 .quiz-screen .question-bar{padding-block:5px}
 .quiz-screen .question-body{padding-block:9px 10px}
 .quiz-screen .question-hint{margin-top:6px}
 .quiz-screen .question-stage{margin-block:7px}
 .quiz-screen .story-passage{margin-block:11px;padding-block:12px}
 .quiz-screen .option{min-height:52px;padding-block:6px}
 .quiz-screen .question-controls{padding-block:6px}
}
@media(max-height:565px){.quiz-screen .question-shell{flex-basis:calc(100dvh - 92px)}}

.game-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;border:1px solid var(--border);border-radius:999px;background:#fff;color:#684ab0;text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap}
.games-entry{background:#eee8fc;border-color:#e0d4f2}
.game-link:hover{background:#eee5fa}
.game-result-link{display:inline-flex;align-items:center;text-decoration:none}
.option-number{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:#eee7fa;color:#6849a8;font:600 20px/1 Fredoka,sans-serif}
.option.selected .option-number{background:#7960c9;color:#fff}
@media(max-width:600px){.option-number{width:28px;height:28px;font-size:17px}}
@media(max-width:550px){.top-actions{gap:7px}.game-link{font-size:11px;padding:8px 9px}}
@media(max-width:360px){.is-home .topbar{gap:8px;padding-inline:11px}.is-home .brand{gap:7px;font-size:20px}.is-home .brand small,.is-home #soundToggle span{display:none}}

.brand-mark{font-size:19px;letter-spacing:-1px}
