@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;600;700;800;900&display=swap');
:root{font-family:Nunito,system-ui,sans-serif;color:#273a60;background:#cceeff;font-size:16px;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-height:100vh;margin:0;background:radial-gradient(circle at 8% 9%,#fff3a7 0 55px,transparent 56px),radial-gradient(circle at 91% 16%,#f7c5e7 0 73px,transparent 74px),radial-gradient(circle at 4% 85%,#bfecca 0 75px,transparent 76px),#cceeff}
button{font:inherit}button:focus-visible{outline:3px solid #7654ac;outline-offset:3px}.hidden{display:none!important}.shell{width:min(100%,930px);margin:auto;padding:16px 18px 24px}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.logo{display:flex;align-items:center;gap:9px;color:#25446c;font-family:Fredoka,system-ui,sans-serif;font-size:1.15rem;font-weight:600;line-height:.92}.logo b{color:#db5b5e}.logo-mark{display:grid;place-items:center;width:44px;height:44px;border:3px solid #fff;border-radius:16px;background:#ffe279;box-shadow:0 3px 0 #efba55;font-size:1.4rem}.lifetime-pill{padding:9px 14px;border:2px solid #f5c962;border-radius:100px;background:#ffefab;color:#6b4b1e;font-weight:900;font-size:.86rem;white-space:nowrap}
.start-screen,.quiz-screen,.result-screen{overflow:hidden;border:3px solid #fff;border-radius:29px;background:#fff;box-shadow:0 8px 0 #9bcfe5,0 18px 35px #46749c2b}
.welcome-banner{position:relative;display:flex;align-items:center;min-height:174px;overflow:hidden;padding:21px 30px;background:radial-gradient(circle at 68% 10%,#fff0a2 0 20px,transparent 21px),radial-gradient(circle at 96% 97%,#ffc7da 0 100px,transparent 101px),linear-gradient(115deg,#ffe7a7,#ffd7b4 49%,#c7ebff);border-bottom:3px solid #fff}.welcome-banner::before{content:'✦';position:absolute;top:14px;left:60%;color:#ee8eaf;font-size:1.4rem}.welcome-content{position:relative;z-index:1;max-width:67%}.banner-kicker{color:#9b5d35;font-size:.72rem;font-weight:900;letter-spacing:.12em}.welcome-banner h1{margin:5px 0 5px;color:#594375;font-family:Fredoka,system-ui,sans-serif;font-size:clamp(2rem,4.3vw,2.85rem);font-weight:600;line-height:1.02}.welcome-banner p{margin:0;color:#665676;font-size:.97rem;font-weight:800;line-height:1.35}.welcome-mascot{position:absolute;right:35px;top:20px;display:grid;place-items:start end;width:155px;height:128px;padding:7px;border:5px solid #fff;border-radius:25px;background:url('/art/mix.svg') center/cover;box-shadow:0 6px 0 #c9a0ae;transform:rotate(6deg);color:#ffde7d;font-size:1.6rem;text-shadow:0 2px 4px #403763}
.choose-panel{padding:19px 28px 16px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.section-heading h2{margin:0 0 2px;color:#2d4b74;font-family:Fredoka,system-ui,sans-serif;font-size:1.65rem;font-weight:600;line-height:1.05}.section-heading p{margin:0;color:#71809d;font-size:.85rem;font-weight:800}.round-chip{flex:none;padding:7px 10px;border-radius:100px;background:#ddf7e6;color:#417957;font-size:.77rem;font-weight:900}
.mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.mode-card{display:flex;align-items:center;gap:11px;min-height:86px;padding:10px 14px;border:3px solid #fff;border-radius:19px;background:#fff0ba;color:#3c4c69;text-align:left;cursor:pointer;box-shadow:0 4px 0 #dce6ec;transition:transform .16s,box-shadow .16s,border-color .16s}.mode-card:nth-child(2){background:#efddff}.mode-card:hover{transform:translateY(-2px)}.mode-card.selected{border-color:#6c63aa;box-shadow:0 5px 0 #b8afd9}.mode-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:15px;background:#fff9dc;font-size:1.7rem}.mode-card:nth-child(2) .mode-icon{background:#faf1ff}.mode-card span:nth-child(2){display:flex;flex-direction:column;min-width:0}.mode-card strong{font-family:Fredoka,system-ui,sans-serif;font-size:1.26rem;font-weight:600;line-height:1.1}.mode-card small{color:#63728a;font-size:.75rem;font-weight:800;line-height:1.25}.mode-check{display:grid;place-items:center;flex:none;width:25px;height:25px;margin-left:auto;border:2px solid #9eaaca;border-radius:50%;color:transparent;font-size:.9rem}.mode-card.selected .mode-check{border-color:#6557a4;background:#6557a4;color:#fff}
.topic-picker{margin-top:13px;padding:13px;border:2px dashed #add7ee;border-radius:20px;background:#f2faff}.picker-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.picker-heading>div{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}.picker-heading strong{color:#3a5676;font-family:Fredoka,system-ui,sans-serif;font-size:1.09rem;font-weight:600}.picker-heading span{color:#687f9b;font-size:.78rem;font-weight:800}.page-label{padding:4px 8px;border-radius:100px;background:#fff;color:#5b7191;font-size:.75rem;font-weight:900;white-space:nowrap}
.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:178px}.topic-card{position:relative;display:flex;align-items:center;gap:8px;min-width:0;min-height:82px;overflow:hidden;padding:9px 10px;border:2px solid transparent;border-radius:16px;background:var(--tile);color:#263b58;text-align:left;cursor:pointer;transition:transform .16s,border-color .16s,box-shadow .16s}.topic-card::before{content:'';position:absolute;right:-21px;bottom:-26px;width:77px;height:77px;border:3px solid #ffffffba;border-radius:24px;background:var(--art) center/cover;opacity:.68;transform:rotate(14deg);pointer-events:none}.topic-card:hover{transform:translateY(-2px)}.topic-card.selected{border-color:var(--accent);box-shadow:0 3px 0 color-mix(in srgb,var(--accent) 33%,white)}.topic-icon{position:relative;z-index:1;display:grid;place-items:center;flex:none;width:39px;height:39px;border:2px solid #ffffffcf;border-radius:12px;background:#ffffffa8;font-size:1.35rem}.topic-copy{position:relative;z-index:1;display:flex;flex-direction:column;min-width:0;max-width:calc(100% - 65px)}.topic-title{font-family:Fredoka,system-ui,sans-serif;font-size:1.05rem;font-weight:600;line-height:1.08}.topic-copy small{color:#4d607c;font-size:.69rem;font-weight:800;line-height:1.2}.topic-check{position:absolute;z-index:2;right:6px;top:6px;display:grid;place-items:center;width:23px;height:23px;border:2px solid #ffffffd9;border-radius:50%;background:#ffffffb5;color:transparent;font-size:.76rem;font-weight:900}.topic-card.selected .topic-check{border-color:var(--accent);background:var(--accent);color:#fff}
.pager{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:9px}.page-arrow{display:grid;place-items:center;width:34px;height:34px;border:2px solid #b7d7e9;border-radius:50%;background:#fff;color:#425d80;font-size:1.1rem;font-weight:900;cursor:pointer}.page-arrow:disabled{opacity:.4;cursor:default}.page-dots{display:flex;align-items:center;gap:7px}.page-dot{width:11px;height:11px;padding:0;border:0;border-radius:100px;background:#a9c5d8;cursor:pointer}.page-dot.active{width:27px;background:#7c61ad}
.start-action{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding:12px 15px;border:2px solid #ffe19a;border-radius:19px;background:#fff5d6}.selected-copy{display:flex;flex-direction:column;min-width:0}.selected-copy>span{color:#947044;font-size:.66rem;font-weight:900;letter-spacing:.09em}.selected-copy strong{overflow:hidden;color:#5d4773;font-family:Fredoka,system-ui,sans-serif;font-size:1.18rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:49px;padding:10px 19px;border-radius:15px;font-weight:900;cursor:pointer;transition:transform .16s,box-shadow .16s}.primary{border:2px solid #be4b52;background:#ed6968;color:#fff;box-shadow:0 4px 0 #b7484c}.primary:hover:not(:disabled){transform:translateY(-2px);background:#f07877}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #b7484c}.primary:disabled{border-color:#aeb8c4;background:#bfc8d0;box-shadow:none;cursor:default}.secondary{border:2px solid #8cb8d1;background:#fff;color:#3b6684;box-shadow:0 3px 0 #b7d9e9}.secondary:hover:not(:disabled){background:#eff9ff}.secondary:disabled{opacity:.58;cursor:default}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:13px}.stats>div{display:flex;align-items:baseline;justify-content:center;gap:5px;min-width:0;padding:7px 5px;border-radius:12px;background:#eaf7ff}.stats>div:nth-child(2){background:#fff1e3}.stats>div:nth-child(3){background:#eaf8ee}.stats strong{color:#366180;font-family:Fredoka,system-ui,sans-serif;font-size:1.1rem;font-weight:600}.stats span{color:#60758d;font-size:.7rem;font-weight:900}.save-note{min-height:1em;margin:7px 2px 0;color:#6b7f93;font-size:.76rem;font-weight:800}
.question-stage{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;min-height:230px;overflow:hidden;padding:16px 28px 22px;background:var(--topic-bg,#e8e1ff);color:#263a5d}.question-stage::after{content:'';position:absolute;z-index:-1;right:26px;top:65px;width:139px;height:118px;border:5px solid #fff;border-radius:24px;background:var(--art) center/cover;box-shadow:0 5px 0 #6382a733;transform:rotate(5deg)}.question-stage[data-variant="1"]::after{transform:rotate(-5deg)}.question-stage[data-variant="2"]::after{transform:rotate(8deg)}.question-stage[data-variant="3"]::after{transform:rotate(-8deg)}.stage-top,.question-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.stage-top{position:relative;z-index:2}.back-button{padding:7px 0;border:0;background:none;color:#435f82;font-weight:900;cursor:pointer}.back-button:hover{text-decoration:underline}.stage-score{padding:6px 12px;border:2px solid #fff;border-radius:100px;background:#ffffffae;color:#75503e;font-weight:900}.stage-bottom{position:relative;z-index:1;max-width:calc(100% - 175px);margin-top:12px}.question-meta{justify-content:flex-start;flex-wrap:wrap}.question-meta span{padding:5px 10px;border-radius:100px;background:#fff;color:var(--topic-accent,#675caf);font-size:.74rem;font-weight:900}.question-count{display:block;margin-top:11px;color:var(--topic-accent,#675caf);font-size:.72rem;font-weight:900;letter-spacing:.09em}.question-stage h2{margin:5px 0 0;color:#283957;font-family:Fredoka,system-ui,sans-serif;font-size:clamp(1.65rem,3.4vw,2.45rem);font-weight:600;line-height:1.13}.question-watermark{position:absolute;right:20px;top:15px;display:grid;place-items:center;width:42px;height:42px;border:2px solid #fff;border-radius:14px;background:#ffffffba;font-size:1.35rem;pointer-events:none}
.quiz-body{padding:20px 28px 25px}.progress-head,.answers-heading,.quiz-actions{display:flex;justify-content:space-between;align-items:center;gap:10px}.progress-head{color:#5c7792;font-size:.79rem;font-weight:900}.progress-track{height:10px;margin:7px 0 18px;overflow:hidden;border-radius:100px;background:#e3eff7}.progress-track div{height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#ffbd65,#f36d82);transition:width .25s}.answers-heading{margin-bottom:10px}.answers-heading h3,.review-section h3{margin:0;color:#314d72;font-family:Fredoka,system-ui,sans-serif;font-size:1.15rem;font-weight:600}.keyboard-tip{color:#8a9cac;font-size:.73rem;font-weight:800}.answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.answer{display:flex;align-items:center;gap:11px;min-height:64px;padding:10px 13px;border:2px solid #d6e5f0;border-radius:16px;background:#fff;color:#2c4468;font-size:.97rem;font-weight:900;text-align:left;cursor:pointer;box-shadow:0 3px 0 #d5e7f1;transition:transform .14s,border-color .14s}.answer:hover:not(:disabled){transform:translateY(-2px);border-color:#72aed0}.answer:disabled{cursor:default}.answer-key{display:grid;place-items:center;flex:none;width:31px;height:31px;border-radius:10px;background:#e8f5fc;color:#4f779a;font-size:.8rem;font-weight:900}.answer.correct{border-color:#65bd83;background:#e5f9e9;color:#2b6d43}.answer.correct .answer-key{background:#c5edcf;color:#247043}.answer.wrong{border-color:#eb8f8f;background:#fff0ed;color:#a44d4f}.answer.wrong .answer-key{background:#ffceca;color:#9a3a3e}.answer.eliminated{opacity:.35;text-decoration:line-through;pointer-events:none}.feedback{min-height:30px;margin:11px 0 5px;font-size:.92rem;font-weight:900;line-height:1.4}.feedback.good{color:#2e834f}.feedback.bad{color:#ae5051}.feedback.hint{color:#527d9b}.quiz-actions{justify-content:flex-end;flex-wrap:wrap}.hint-cost{display:block;color:#7092a8;font-size:.69rem;font-weight:800}
.result-banner{position:relative;isolation:isolate;min-height:176px;padding:24px 32px;background:linear-gradient(115deg,#fff0b6,#ffdfc5 55%,#e4d4ff);color:#594575}.result-banner::after{content:'';position:absolute;z-index:-1;right:28px;top:25px;width:145px;height:121px;border:5px solid #fff;border-radius:25px;background:var(--art) center/cover;transform:rotate(6deg)}.result-spark{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:#fff6dc;font-size:1.5rem}.result-banner .banner-kicker{display:block;margin:10px 0 0}.result-banner h2{max-width:calc(100% - 170px);margin:3px 0;color:#604c86;font-family:Fredoka,system-ui,sans-serif;font-size:2.4rem;font-weight:600}.result-banner p:last-child{max-width:calc(100% - 170px);margin:0;color:#665a74;font-weight:800}.result-body{padding:18px 28px 25px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.result-stats>div{display:flex;flex-direction:column;align-items:center;gap:1px;padding:11px 5px;border-radius:16px;background:#e8f6ff}.result-stats>div:nth-child(2){background:#fff3d8}.result-stats>div:nth-child(3){background:#eaf7e9}.result-stats strong{font-family:Fredoka,system-ui,sans-serif;font-size:1.75rem;font-weight:600}.result-stats span{color:#657b91;font-size:.75rem;font-weight:900}.review-section{margin:18px 0}.review-section p{margin:2px 0 9px;color:#667b91;font-size:.84rem;font-weight:800}.review-list{display:grid;gap:7px}.review-item{padding:10px 12px;border:2px solid #e0edf5;border-radius:13px;background:#f8fcff}.review-item strong{display:block;color:#3b5674;font-size:.89rem}.review-item span{color:#2c7d54;font-size:.81rem;font-weight:900}.result-body>.primary{margin-top:12px}
.modal-layer{position:fixed;z-index:10;inset:0;display:grid;place-items:center;padding:18px;background:#28405fb8}.modal{width:min(100%,410px);padding:24px;border:4px solid #fff;border-radius:25px;background:#fff6db;box-shadow:0 9px 0 #9dbbd1}.modal-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:#fff;font-size:1.4rem}.modal h2{margin:12px 0 5px;color:#5d497b;font-family:Fredoka,system-ui,sans-serif;font-size:1.65rem;font-weight:600}.modal p{margin:0;color:#68768e;font-weight:800;line-height:1.4}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.modal-actions button{min-height:43px;padding:8px 13px}
footer{margin-top:17px;color:#4f7b95;font-size:.78rem;font-weight:900;text-align:center}
@media(max-width:650px){.shell{padding:10px 10px 16px}.topbar{margin-bottom:9px}.logo{font-size:.94rem}.logo-mark{width:38px;height:38px;border-radius:13px;font-size:1.25rem}.lifetime-pill{padding:7px 10px;font-size:.74rem}.start-screen,.quiz-screen,.result-screen{border-radius:23px;box-shadow:0 6px 0 #9bcfe5}.welcome-banner{min-height:138px;padding:15px 18px}.welcome-content{max-width:72%}.welcome-banner h1{font-size:clamp(1.65rem,7vw,2rem)}.welcome-banner p{font-size:.77rem}.welcome-mascot{right:15px;top:21px;width:88px;height:85px;border-width:3px;border-radius:18px;font-size:1.1rem}.choose-panel{padding:14px 15px 12px}.section-heading{margin-bottom:10px}.section-heading h2{font-size:1.37rem}.section-heading p{font-size:.75rem}.round-chip{display:none}.mode-grid{gap:8px}.mode-card{flex-wrap:wrap;gap:5px;align-content:center;min-height:78px;padding:7px 9px;border-radius:16px}.mode-icon{width:32px;height:32px;border-radius:10px;font-size:1.15rem}.mode-card strong{font-size:1.02rem}.mode-card small{font-size:.66rem}.mode-check{width:20px;height:20px;margin-left:auto;font-size:.7rem}.mode-card span:nth-child(2){width:calc(100% - 59px)}.topic-picker{margin-top:10px;padding:9px;border-radius:17px}.picker-heading{margin-bottom:7px}.picker-heading strong{font-size:.96rem}.picker-heading span{font-size:.72rem}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-height:217px}.topic-card{min-height:68px;padding:7px;border-radius:13px}.topic-card::before{width:54px;height:54px;right:-18px;bottom:-22px}.topic-icon{width:29px;height:29px;border-radius:9px;font-size:1.05rem}.topic-title{font-size:.89rem}.topic-copy{max-width:calc(100% - 38px)}.topic-copy small{display:none}.topic-check{width:18px;height:18px;right:4px;top:4px;font-size:.62rem}.pager{margin-top:6px}.page-arrow{width:29px;height:29px}.start-action{margin-top:10px;padding:9px 10px;border-radius:15px}.selected-copy strong{font-size:1rem}.start-action .primary{min-height:42px;padding:7px 13px;border-radius:12px;font-size:.89rem}.stats{margin-top:9px;gap:5px}.stats>div{padding:5px 3px;flex-direction:column;align-items:center;gap:0}.stats strong{font-size:1rem}.stats span{font-size:.62rem}.question-stage{min-height:212px;padding:12px 17px 17px}.question-stage::after{display:none}.stage-bottom{max-width:100%;margin-top:33px}.question-stage h2{font-size:clamp(1.5rem,6.5vw,1.95rem)}.question-meta span{font-size:.66rem}.question-count{margin-top:9px;font-size:.66rem}.question-watermark{top:46px;right:15px;width:49px;height:49px;font-size:1.45rem}.stage-score{font-size:.82rem}.quiz-body{padding:15px 16px 19px}.progress-track{margin-bottom:14px}.answers{grid-template-columns:1fr;gap:7px}.answer{min-height:56px;padding:8px 10px;font-size:.88rem}.answer-key{width:27px;height:27px}.keyboard-tip{display:none}.feedback{min-height:24px;margin:9px 0 5px;font-size:.85rem}.quiz-actions{flex-direction:column}.quiz-actions button{width:100%;min-height:43px}.result-banner{min-height:156px;padding:20px}.result-banner::after{right:15px;top:25px;width:90px;height:88px;border-width:3px}.result-banner h2{font-size:1.85rem;max-width:calc(100% - 100px)}.result-banner p:last-child{max-width:calc(100% - 100px);font-size:.82rem}.result-body{padding:15px 16px 20px}.result-stats strong{font-size:1.4rem}.result-stats span{font-size:.62rem}.result-body>.primary{width:100%}}
@media(max-width:350px){.welcome-banner h1{font-size:1.55rem}.welcome-mascot{width:72px;height:70px}.mode-card small{display:none}.mode-card{min-height:62px}.mode-card span:nth-child(2){width:auto}.topic-card{min-height:62px}.topic-grid{min-height:203px}.selected-copy strong{font-size:.89rem}.start-action .primary{padding:6px 9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
.topbar-actions,.stage-tools{display:flex;align-items:center;gap:8px}.garage-button,.read-button{min-height:42px;padding:8px 12px;border:2px solid #fff;border-radius:14px;background:#e5f7e8;color:#315f54;font-size:.82rem;font-weight:900;cursor:pointer;box-shadow:0 3px 0 #9bcfe5}.read-button{background:#fff;color:#416386;box-shadow:none}.read-button:disabled{opacity:.5}.answer-fact{margin:6px 0 12px;padding:10px 13px;border:2px solid #f5d89d;border-radius:14px;background:#fff7db;color:#6b552f;font-size:.88rem;font-weight:800;line-height:1.35}
.garage-screen{overflow:hidden;border:3px solid #fff;border-radius:29px;background:#fff;box-shadow:0 8px 0 #9bcfe5,0 18px 35px #46749c2b}.garage-hero{padding:18px 25px 6px;background:radial-gradient(circle at 84% 18%,#ffe7a6 0 55px,transparent 56px),linear-gradient(125deg,#d9efff,#e6e0ff)}.garage-hero h1{margin:12px 0 1px;color:#4f467c;font-family:Fredoka,system-ui,sans-serif;font-size:2.2rem}.garage-hero p{margin:0;color:#596a8b;font-weight:900}.car-showcase{position:relative;display:grid;place-items:center;max-width:380px;min-height:160px;margin:auto}.garage-car{width:min(100%,320px);filter:drop-shadow(0 7px 0 #97a7c0)}.car-sticker{position:absolute;left:50%;top:72px;transform:translateX(-50%);font-size:1.65rem}.garage-content{padding:14px 25px 25px}.garage-content h2{margin:8px 0;color:#38557a;font-family:Fredoka,system-ui,sans-serif;font-size:1.35rem}.garage-options{display:flex;flex-wrap:wrap;gap:8px}.garage-option{display:flex;align-items:center;gap:7px;min-height:46px;padding:6px 11px;border:2px solid #d9e8f1;border-radius:13px;background:#fff;color:#385275;font-size:.81rem;font-weight:900;cursor:pointer}.garage-option[aria-pressed="true"]{border-color:#7262ab;background:#f2edff}.garage-option:disabled{opacity:.58;cursor:default}.garage-swatch{display:grid;place-items:center;width:29px;height:29px;border:2px solid #fff;border-radius:9px;font-size:1rem}.garage-progress{margin:14px 0 0;padding:9px 11px;border-radius:12px;background:#fff4d5;color:#7d5c34;font-size:.85rem;font-weight:900}
@media(max-width:650px){.topbar-actions{gap:5px}.garage-button{min-height:36px;padding:5px 8px;font-size:.68rem}.stage-tools{gap:5px}.read-button{min-height:34px;padding:4px 7px;font-size:.71rem}.answer-fact{font-size:.79rem;padding:7px 9px}.garage-hero{padding:13px 17px 4px}.garage-hero h1{font-size:1.7rem;margin-top:5px}.garage-hero p{font-size:.8rem}.car-showcase{min-height:125px}.garage-car{max-width:265px}.car-sticker{top:55px}.garage-content{padding:10px 15px 18px}.garage-option{min-height:41px;font-size:.73rem}.garage-progress{font-size:.77rem}}
.auth-shell{display:grid;place-items:center;min-height:100vh;padding:16px}.auth-card{width:min(100%,460px);overflow:hidden;border:4px solid #fff;border-radius:28px;background:#fff;box-shadow:0 8px 0 #9bcfe5,0 18px 35px #46749c2b}.auth-hero{padding:24px 28px;background:linear-gradient(120deg,#ffebb4,#fbd3dd,#d4e9ff);text-align:center}.auth-car{display:inline-grid;place-items:center;width:65px;height:65px;border:4px solid #fff;border-radius:21px;background:#ffdb78;font-size:2rem}.auth-hero h1{margin:10px 0 3px;color:#614a80;font-family:Fredoka,system-ui,sans-serif;font-size:2rem}.auth-hero p{margin:0;color:#5e6683;font-weight:800}.auth-body{padding:20px 25px 25px}.auth-body h2{margin:0 0 12px;color:#38557a;font-family:Fredoka,system-ui,sans-serif;font-size:1.5rem}.auth-body>p{color:#677993;font-weight:800}.auth-users{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:16px}.auth-user{display:flex;align-items:center;gap:9px;min-height:57px;padding:10px;border:2px solid #d5e6f3;border-radius:15px;background:#f4fbff;color:#3d5577;font-weight:900;text-align:left;cursor:pointer}.auth-user:hover{border-color:#8ab8d7;background:#e7f5ff}.auth-avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;background:#ffdc8d;font-size:1.1rem}.auth-body form{display:grid;gap:8px}.auth-body label{margin-top:5px;color:#485f7f;font-size:.82rem;font-weight:900}.auth-body input,.auth-body select{width:100%;min-height:45px;padding:9px 12px;border:2px solid #d3e5f0;border-radius:12px;background:#fff;color:#344e71;font:inherit;font-weight:800}.auth-body input:focus,.auth-body select:focus{outline:3px solid #b9a5e8;outline-offset:1px}.auth-body form .primary{margin-top:8px}.auth-error{min-height:1em;margin:9px 0;color:#a84855;font-size:.83rem;font-weight:900}.plain-button{padding:7px 2px;border:0;background:transparent;color:#566da3;font-weight:900;text-decoration:underline;cursor:pointer}.auth-body #child-fields{display:grid;gap:8px}.auth-body #parent-back{margin-bottom:10px}
@media(max-width:650px){.auth-shell{padding:10px}.auth-hero{padding:18px}.auth-hero h1{font-size:1.7rem}.auth-body{padding:16px 18px 20px}.topbar-actions #player-button{max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}

/* The garage keeps the vehicle in view while its small tabbed controls change. */
.garage-screen{overflow:visible;background:#f8fcff;border-color:#d7eeff}
.garage-hero{position:sticky;top:0;z-index:3;overflow:hidden;padding:16px 22px 2px;border-radius:25px 25px 0 0;background:linear-gradient(165deg,#d8eeff 0%,#e5dcff 46%,#b6d6ef 100%)}
.garage-hero::before{content:"";position:absolute;inset:0 0 auto;height:62%;background:radial-gradient(circle at 74% 22%,#fff9d6 0 45px,transparent 46px),linear-gradient(90deg,transparent 0 11%,#ffffff34 11.5% 12%,transparent 12.5% 70%,#ffffff34 70.5% 71%,transparent 71.5%);pointer-events:none}
.garage-hero-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px}.garage-hero-tag{padding:6px 10px;border:1px solid #ffffffad;border-radius:99px;background:#ffffff86;color:#4d638b;font-size:.67rem;font-weight:1000;letter-spacing:.12em}
.garage-hero h1{position:relative;margin:8px 0 1px;font-size:clamp(1.7rem,4vw,2.35rem)}.garage-hero p{position:relative;margin:0;font-size:.85rem}
.car-showcase{position:relative;width:min(100%,590px);max-width:none;min-height:0;margin:-8px auto -10px;isolation:isolate}
.garage-car{position:relative;z-index:2;display:block;width:100%;max-width:none;filter:drop-shadow(0 15px 10px #31547b43);transform-origin:50% 85%;animation:car-arrive .55s both}
.garage-wall-light{position:absolute;inset:25% 10% 25%;border-radius:50%;background:#f9fdffb8;filter:blur(28px)}
.garage-floor{position:absolute;z-index:0;left:-30%;right:-30%;bottom:7%;height:24%;transform:perspective(240px) rotateX(59deg);transform-origin:center bottom;background:repeating-linear-gradient(90deg,#6395bf26 0 2px,transparent 2px 58px),repeating-linear-gradient(0deg,#6395bf26 0 2px,transparent 2px 44px),linear-gradient(#e7f6ff,#9dbedb);border-top:3px solid #ffffffbd}
.car-shape{display:block}.car-showcase[data-body="0"] #car-pickup,.car-showcase[data-body="1"] #car-sleek{display:none}
.car-showcase[data-wheels="0"] .rim:not(.rim-classic),.car-showcase[data-wheels="1"] .rim:not(.rim-turbine),.car-showcase[data-wheels="2"] .rim:not(.rim-sport),.car-showcase[data-wheels="3"] .rim:not(.rim-aero){display:none}
#car-light-beam{filter:drop-shadow(0 0 11px var(--light-colour))}
.garage-preview-note{position:relative;margin:-5px auto 0;width:fit-content;padding:6px 10px;border-radius:10px;background:#fff9e0;color:#74552c;font-size:.74rem;font-weight:900}.garage-hero #garage-reset-preview{position:relative;display:block;margin:0 auto;color:#365d93;font-size:.76rem}.garage-hero #garage-reset-preview.hidden{display:none!important}
.garage-content{padding:0 18px 17px}.garage-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:12px;padding:5px;border-radius:16px;background:#e4f0fa}.garage-tab{min-height:43px;border:0;border-radius:12px;background:transparent;color:#4e6887;font-weight:1000;cursor:pointer}.garage-tab.active{background:#fff;color:#365a8c;box-shadow:0 3px 8px #4e709727}
.garage-options-panel{min-height:116px}.garage-parts-heading{display:flex;align-items:center;justify-content:space-between;margin:4px 2px 7px;color:#3a597d;font-size:.86rem;font-weight:1000}.garage-parts-heading small{color:#6982a0;font-size:.7rem}.garage-parts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.garage-part{display:flex;align-items:center;gap:7px;min-width:0;min-height:48px;padding:5px 7px;border:2px solid #d6e8f3;border-radius:13px;background:#fff;color:#496486;text-align:left;cursor:pointer}.garage-part:hover{border-color:#91bde0;background:#f0faff}.garage-part[aria-pressed="true"]{border-color:#6d77c6;background:#f0edff}.garage-part.is-locked{background:#f5f8fc;color:#6d7e95}.garage-part.is-preview{border-color:#e2a44c;background:#fff9e6}.garage-part-swatch{display:grid;flex:none;place-items:center;width:30px;height:30px;border:2px solid #fff;border-radius:9px;background:var(--swatch,#daebf4);color:#365271;box-shadow:0 1px 4px #31507121;font-size:1rem}.garage-part-copy{min-width:0}.garage-part-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.71rem}.garage-part-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.63rem;font-weight:800;opacity:.85}.garage-parts-group+.garage-parts-group{margin-top:12px}
.garage-next{margin-top:14px;padding:10px 11px;border-radius:12px;background:#e9f7ed;color:#356956;font-size:.8rem;font-weight:900}.garage-progress-track{height:8px;margin-top:8px;overflow:hidden;border-radius:99px;background:#cbe8d8}.garage-progress-track>div{height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#53bf82,#36a8bd);transition:width .3s}.garage-save-note{min-height:1.15em;margin:7px 1px 0;color:#677b9a;font-size:.72rem;font-weight:800}
.reward-reveal{display:flex;align-items:center;gap:10px;margin:13px 0;padding:10px 12px;border:2px solid #ffdc81;border-radius:16px;background:linear-gradient(105deg,#fff5d4,#f7e8ff);color:#66507d;animation:reward-pop .42s both}.reward-reveal-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:#ffe09a;font-size:1.45rem}.reward-reveal strong,.reward-reveal small{display:block}.reward-reveal strong{font-size:.9rem}.reward-reveal small{font-size:.72rem;font-weight:800}.reward-reveal button{margin-left:auto;flex:none;padding:7px 9px;border:0;border-radius:10px;background:#7356b1;color:#fff;font-size:.73rem;font-weight:900;cursor:pointer}
@keyframes car-arrive{from{opacity:.2;transform:translateY(12px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes reward-pop{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}
@media(max-width:650px){.garage-hero{padding:10px 12px 0;border-radius:24px 24px 0 0}.garage-hero h1{margin-top:5px}.garage-hero p{font-size:.72rem}.garage-hero-tag{font-size:.54rem}.car-showcase{margin:-11px auto -15px}.garage-content{padding:0 9px 13px}.garage-parts{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.garage-part{padding:5px;min-height:44px}.garage-part-swatch{width:26px;height:26px;font-size:.85rem}.garage-part-copy strong{font-size:.67rem}.garage-part-copy small{font-size:.59rem}.garage-options-panel{min-height:108px}}
@media(prefers-reduced-motion:reduce){.garage-car,.reward-reveal{animation:none}.garage-progress-track>div{transition:none}}

/* Quiz Worlds: one clear next action, with a distinct older-child expression. */
body{background:radial-gradient(circle at 5% 4%,#fff3ba 0 80px,transparent 81px),radial-gradient(circle at 96% 28%,#cfdbff 0 125px,transparent 126px),#daf2ff}
.logo b{color:#704cc9}.logo-mark{background:#ffe37a;color:#6946b9}
.start-screen{overflow:visible;background:transparent;border:0;box-shadow:none}
.welcome-banner{overflow:hidden;border:4px solid #fff;border-radius:27px;box-shadow:0 7px 0 #a8cdeb;background:linear-gradient(117deg,#fce4ff 0%,#e8ddff 47%,#caebfb 100%)}
.welcome-banner h1{max-width:680px;color:#483b79}.welcome-banner .banner-kicker{color:#7250ac}
.mission-feature{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:172px;margin-top:18px;padding:23px 28px;overflow:hidden;border:4px solid #fff;border-radius:27px;background:linear-gradient(115deg,#fff5d3,#ffefdc 60%,#daf1fd);box-shadow:0 7px 0 #e4bd9b}
.mission-feature::after{position:absolute;z-index:-1;inset:0 0 0 52%;content:"";background:linear-gradient(90deg,#fff4d7,transparent 35%),var(--art) center/cover;opacity:.58}
.mission-feature-copy{max-width:66%}.mission-eyebrow{color:#a26836;font-size:.71rem;font-weight:1000;letter-spacing:.13em}.mission-feature h2{margin:3px 0 2px;color:#563b78;font-family:Fredoka,system-ui,sans-serif;font-size:clamp(1.55rem,3.2vw,2.15rem);font-weight:600}.mission-feature p{margin:0;color:#775a5d;font-size:.91rem;font-weight:900}
.mission-feature .primary{flex:none;z-index:1;box-shadow:0 4px 0 #b46e36;background:#f68053;white-space:nowrap}.mission-dots{display:flex;gap:6px;margin-top:13px}.mission-dots span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#fff9ed;color:#b19e9d;font-size:.9rem;font-weight:900}.mission-dots .is-done{background:#ffe299;color:#a26231}
.resume-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;padding:11px 16px;border:3px solid #b5dce8;border-radius:18px;background:#effcff;color:#335b75}.resume-panel>span{display:grid;gap:1px;font-weight:900}.resume-panel small{font-size:.73rem;color:#56768d}.resume-panel>div{display:flex;align-items:center;gap:10px}.resume-panel .secondary{min-height:40px}
.worlds-entry{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;padding:12px 16px;border:3px solid #fff;border-radius:18px;background:#e8f6ff;box-shadow:0 4px 0 #bbd9ed}.worlds-entry>span{color:#617f9e;font-size:.78rem;font-weight:900}.worlds-open{border:0;background:none;color:#355a9a;font-weight:1000;cursor:pointer}.worlds-open span{margin-left:8px}
.free-play-details{overflow:hidden;margin-top:13px;border:3px solid #fff;border-radius:20px;background:#fff;box-shadow:0 5px 0 #bbd9ed}.free-play-details>summary{display:flex;align-items:center;justify-content:space-between;min-height:51px;padding:10px 19px;color:#4d5d93;font-weight:1000;cursor:pointer;list-style:none}.free-play-details>summary::-webkit-details-marker{display:none}.free-play-details[open]>summary{border-bottom:2px solid #e5eefb}.free-play-details .choose-panel{padding:13px 17px 17px}
.worlds-screen{overflow:hidden;border:4px solid #fff;border-radius:28px;background:#f7fcff;box-shadow:0 8px 0 #b5d3ed}.worlds-heading{padding:20px 25px;background:linear-gradient(115deg,#e6e1ff,#d9efff)}.worlds-heading h1{margin:6px 0 0;color:#4b447b;font-family:Fredoka,system-ui,sans-serif;font-size:2.3rem}.worlds-heading p{margin:0;color:#657392;font-weight:800}.worlds-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:20px}.world-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:175px;padding:13px;overflow:hidden;border:3px solid #fff;border-radius:19px;background:linear-gradient(135deg,#ffffffea,#ffffffb3),var(--art) center/cover;color:#385373;text-align:left;box-shadow:0 4px 0 #bed2e2;cursor:pointer;transition:transform .15s,box-shadow .15s}.world-card:hover,.world-card:focus-visible{transform:translateY(-3px);box-shadow:0 7px 0 #bed2e2}.world-icon{display:grid;place-items:center;width:39px;height:39px;border:2px solid #fff;border-radius:12px;background:#fff8dd;font-size:1.35rem}.world-card strong{margin-top:8px;font-family:Fredoka,system-ui,sans-serif;font-size:1.3rem}.world-card small{font-size:.71rem;font-weight:900}.world-progress{margin-top:auto;padding:5px 8px;border-radius:99px;background:#fff;color:#6679a3;font-size:.67rem;font-weight:1000}
.mission-result{margin:14px 0;padding:13px 16px;border:2px solid #efcf88;border-radius:15px;background:#fff5d8;color:#76522c;font-weight:1000}
.hint-cost{color:#478e69}.quiz-screen .answer{min-height:60px}.quiz-screen .question-stage h2{line-height:1.2}
body[data-age-mode="older"]{background:radial-gradient(circle at 90% 8%,#5274af65 0 100px,transparent 101px),#1a2543;color:#273a60}
body[data-age-mode="older"] .logo{color:#eaf3ff}body[data-age-mode="older"] .logo-mark{background:#70e1d3;color:#142e55;box-shadow:0 3px 0 #388f9d}body[data-age-mode="older"] .logo b{color:#8ce9e0}
body[data-age-mode="older"] .welcome-banner{background:linear-gradient(125deg,#273d71,#493f83 52%,#306d83);box-shadow:0 7px 0 #253759}body[data-age-mode="older"] .welcome-banner h1{color:#fff}body[data-age-mode="older"] .welcome-banner p{color:#daeeff}body[data-age-mode="older"] .welcome-banner .banner-kicker{color:#9ef4e2}
body[data-age-mode="older"] .mission-feature{background:linear-gradient(115deg,#e9e5ff,#d3eeec 70%,#b7dfee);box-shadow:0 7px 0 #31567d}body[data-age-mode="older"] .mission-feature .primary{background:#3b8cb2;box-shadow:0 4px 0 #24516c}body[data-age-mode="older"] .mission-feature h2{color:#343b74}body[data-age-mode="older"] .worlds-entry,body[data-age-mode="older"] .free-play-details{box-shadow:0 5px 0 #284566}
@media(max-width:650px){.mission-feature{align-items:flex-start;min-height:170px;padding:16px 17px}.mission-feature-copy{max-width:72%}.mission-feature p{font-size:.76rem}.mission-feature .primary{align-self:flex-end;position:absolute;right:12px;bottom:12px;min-height:42px;padding:7px 10px;font-size:.79rem}.mission-dots{margin-top:10px}.worlds-entry{padding:10px 12px}.worlds-entry>span{display:none}.free-play-details{margin-top:10px}.worlds-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:11px}.world-card{min-height:155px;padding:9px}.world-card strong{font-size:1.02rem}.world-card small{font-size:.63rem}.worlds-heading{padding:13px 17px}.worlds-heading h1{font-size:1.75rem}.worlds-heading p{font-size:.78rem}.resume-panel{align-items:flex-start;flex-direction:column}.resume-panel>div{width:100%;justify-content:space-between}}
@media(max-width:360px){.mission-feature-copy{max-width:78%}.mission-feature h2{font-size:1.35rem}.mission-feature .primary{font-size:.73rem}.world-card{min-height:145px}}
.world-card.spotlight-world{outline:3px solid #f4c95d;outline-offset:1px}
.parent-summary{display:grid;gap:8px;margin-top:12px}.parent-summary-card{display:grid;gap:3px;padding:10px 12px;border:2px solid #d4e8ef;border-radius:12px;background:#f1faff;color:#385579}.parent-summary-card strong{font-family:Fredoka,system-ui,sans-serif}.parent-summary-card span{font-size:.77rem;font-weight:800;line-height:1.4}
.parent-email{margin:0 0 12px;color:#526b89;font-size:.8rem;font-weight:900;overflow-wrap:anywhere}#google-gate{text-align:center}#google-gate p{margin:0 0 16px;color:#60728e;font-weight:800}#google-button{display:flex;justify-content:center;min-height:44px}#parent-signout{color:#7b5b86}
#google-gate .google-help{margin:14px 0 0;font-size:.75rem;line-height:1.4;color:#697a90}
#child-fields{display:grid;gap:8px}
.apk-link{display:inline-block;margin-top:8px;color:#3c6098;font-size:.79rem;font-weight:900}

/* Three equally weighted ways into a round. */
.play-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:15px;margin-top:18px}
.play-paths .play-path-card{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:270px;margin:0;padding:22px;overflow:hidden;border:4px solid #fff;border-radius:27px;box-shadow:0 7px 0 #b9d7e9}
.play-paths .mission-feature{background:linear-gradient(150deg,#fff4ce,#ffe8d8 68%,#d4edfa);box-shadow:0 7px 0 #e4bd9b}
.play-paths .mission-feature::after{inset:24% -12% 20% 24%;background:linear-gradient(90deg,#fff2d8 9%,transparent 72%),var(--art) center/cover;opacity:.38}
.play-paths .mission-feature-copy{position:relative;z-index:1;max-width:none}
.play-paths .mission-feature h2,.play-paths .worlds-entry h2,.play-path-title{display:block;margin:9px 0 5px;font-family:Fredoka,system-ui,sans-serif;font-size:clamp(1.45rem,2.5vw,1.8rem);font-weight:600;line-height:1.1}
.play-paths .mission-feature p,.play-paths .worlds-entry p,.play-path-description{display:block;margin:0;font-size:.86rem;font-weight:900;line-height:1.35}
.play-paths .mission-dots{margin-top:13px}
.play-paths .mission-feature .primary,.play-paths .worlds-open,.free-play-open{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:49px;margin-top:auto;padding:10px 14px;border:2px solid;border-radius:15px;color:#fff;font-size:.91rem;font-weight:1000;line-height:1.2;text-align:left;text-decoration:none;box-shadow:0 4px 0;white-space:normal;cursor:pointer;touch-action:manipulation}
.play-paths .mission-feature .primary{right:auto;bottom:auto;align-self:auto;border-color:#bc653f;background:#f68053;box-shadow:0 4px 0 #b46e36}
.play-paths .worlds-entry{background:linear-gradient(145deg,#e2f5ff,#dceaff 75%,#d4dbff)}
.play-paths .worlds-entry::before,.play-paths .free-play-details::before{position:absolute;z-index:-1;right:-46px;top:-51px;width:185px;height:185px;border:2px solid #ffffff88;border-radius:50%;content:"";box-shadow:0 0 0 28px #ffffff29,0 0 0 58px #ffffff20}
.play-path-copy{position:relative;z-index:1;display:block}
.play-path-eyebrow{display:block;color:#4663a0;font-size:.71rem;font-weight:1000;letter-spacing:.13em}
.play-paths .worlds-entry h2{color:#344b89}.play-paths .worlds-entry p{color:#4e668c}
.weekly-world{display:block;margin-top:13px;color:#3d5d79;font-size:.72rem;font-weight:1000;line-height:1.3}
.play-paths .worlds-open{border-color:#345b9a;background:#416db2;box-shadow:0 4px 0 #284c87}
.play-paths .free-play-details{background:linear-gradient(145deg,#f4eaff,#fceafa 70%,#ffebdc)}
.play-paths .free-play-details>summary{display:flex;flex:1;flex-direction:column;align-items:stretch;min-height:0;padding:0;border:0;color:inherit;list-style:none}
.play-paths .free-play-details>summary::-webkit-details-marker{display:none}
.play-paths .free-play-details .play-path-eyebrow{color:#7754a4}
.play-path-title{color:#593d83}.play-path-description{color:#6b567e}
.free-play-open{border-color:#7652a3;background:#865db4;box-shadow:0 4px 0 #66428f}
.play-paths .free-play-details[open]{grid-column:1/-1;min-height:0}
.play-paths .free-play-details[open]>summary{flex:0;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;min-height:0}
.play-paths .free-play-details[open] .free-play-open{flex:none;max-width:240px;margin-top:0}
.play-paths .free-play-details[open] .choose-panel{margin-top:18px;padding:18px 0 0;border-top:2px solid #ffffffb5}
.play-paths .free-play-details[open] .free-play-open>span{transform:rotate(90deg)}
.play-paths button:focus-visible,.play-paths summary:focus-visible{outline:3px solid #7654ac;outline-offset:4px}
@media(hover:hover){.play-paths .mission-feature .primary:hover,.play-paths .worlds-open:hover,.play-paths .free-play-details>summary:hover .free-play-open{transform:translateY(-2px);filter:brightness(1.05)}}
body[data-age-mode="older"] .play-paths .worlds-entry{background:linear-gradient(145deg,#d8e4ff,#c7dcf5)}
body[data-age-mode="older"] .play-paths .free-play-details{background:linear-gradient(145deg,#e8dfff,#d9e1fa)}
body[data-age-mode="older"] .play-paths .mission-feature .primary{border-color:#24516c;background:#3b8cb2;box-shadow:0 4px 0 #24516c}
body[data-age-mode="older"] .play-paths .worlds-entry,body[data-age-mode="older"] .play-paths .free-play-details{box-shadow:0 7px 0 #284566}
@media(max-width:760px){.play-paths{grid-template-columns:1fr;gap:14px}.play-paths .play-path-card{min-height:205px;padding:19px 21px}.play-paths .mission-feature::after{inset:0 0 0 38%}.play-paths .mission-feature .primary,.play-paths .worlds-open,.free-play-open{margin-top:18px}.play-paths .free-play-details[open]>summary{flex-direction:column;align-items:stretch}.play-paths .free-play-details[open] .free-play-open{max-width:none;margin-top:18px}}
@media(max-width:360px){.play-paths .play-path-card{padding:16px}.play-paths .mission-feature h2,.play-paths .worlds-entry h2,.play-path-title{font-size:1.45rem}}

/* Roomy controls and readable labels for small hands and small screens. */
.pager{gap:8px}
.page-dots{gap:8px}
.page-arrow,.page-dot{flex:none;width:44px;height:44px}
.page-dot,.page-dot.active{display:grid;place-items:center;padding:0;border-radius:50%;background:transparent}
.page-dot.active{width:44px}
.page-dot::before{content:"";display:block;width:11px;height:11px;border-radius:99px;background:#a9c5d8;transition:width .18s ease,background .18s ease}
.page-dot.active::before{width:27px;background:#69539f}
.plain-button,.back-button,.worlds-open{display:inline-flex;align-items:center;min-height:44px}
.public-info{width:min(100%,900px);margin:24px auto 10px;padding:26px;border:4px solid #fff;border-radius:28px;background:#ffffffeb;box-shadow:0 8px 0 #9bcfe5;color:#385373}
.parent-signed-in .public-info{display:none}
.public-intro{text-align:center;max-width:680px;margin:auto}.public-intro h2{margin:8px 0;color:#594375;font-family:Fredoka,system-ui,sans-serif;font-size:clamp(1.7rem,4vw,2.35rem);line-height:1.1}.public-intro p{margin:0;color:#526988;font-weight:700;line-height:1.55}
.public-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:23px 0}.public-features>div{padding:17px;border:2px solid #e4eff8;border-radius:19px;background:#f5fbff}.public-features span{font-size:1.65rem}.public-features h3{margin:8px 0 4px;color:#3a5278;font-family:Fredoka,system-ui,sans-serif;font-size:1.18rem}.public-features p{margin:0;color:#526988;font-size:.9rem;line-height:1.45}
.public-parent-note{max-width:700px;margin:0 auto 18px;text-align:center;line-height:1.5}.public-info nav{display:flex;justify-content:center;flex-wrap:wrap;gap:18px}.public-info a{color:#305da0;font-weight:900;text-decoration:underline;text-underline-offset:3px}.public-info a:focus-visible{outline:3px solid #7654ac;outline-offset:3px}
@media(max-width:650px){.public-info{margin-top:16px;padding:18px}.public-features{grid-template-columns:1fr;gap:9px;margin:17px 0}.public-features>div{padding:13px}.public-features h3{margin:2px 0}.public-intro p,.public-parent-note{font-size:.9rem}}
.plain-button{padding:8px}
.worlds-open{padding:0 4px}
.world-progress{color:#4b5f84;font-size:.75rem}
.worlds-entry>span{color:#3d5d79}
.question-meta span,.question-count{color:#31506f}
@media(max-width:650px){
  .mode-card{position:relative;flex-wrap:nowrap;min-height:80px;padding:8px;gap:6px}
  .mode-card span:nth-child(2){width:auto;flex:1}
  .mode-card strong{font-size:.96rem}
  .mode-check{position:absolute;top:5px;right:5px;width:16px;height:16px;font-size:.65rem}
  .mode-card small,.stats span,.question-meta span,.question-count,.world-card small,.garage-part-copy strong,.garage-part-copy small{font-size:.75rem}
  .garage-hero-tag{font-size:.75rem}
  .mission-feature .primary,.start-action .primary,.quiz-actions button,.garage-button,.read-button,.garage-tab,.garage-part{min-height:44px}
  .garage-button,.read-button{font-size:.75rem}
  .garage-parts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .garage-part{min-height:52px}
  .garage-part-copy strong,.garage-part-copy small{overflow:visible;white-space:normal;line-height:1.2}
}
@media(max-width:360px){
  .topbar{flex-wrap:wrap}
  .topbar-actions{width:100%;justify-content:space-between}
}
