:root{--violet:#6646d8;--deep:#292044;--muted:#766e8c;--pale:#f7f3ff;--pink:#ffe5f1;--mint:#e1f7ed;--yellow:#fff2bf;--stroke:#e9e2f4}*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--pale);color:var(--deep);font-family:Tahoma,"Noto Sans Arabic",sans-serif;font-size:15px}body{min-height:100vh}.app{max-width:720px;min-height:100vh;margin:auto;background:#fdfbff;padding-bottom:105px}.header{height:76px;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--stroke);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:10px}.brand-icon{display:grid;place-items:center;background:#f1eaff;border-radius:17px;width:48px;height:48px;font-size:30px}.brand b{display:block;color:var(--violet);font-size:19px}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:3px;direction:ltr}.xp{border-radius:22px;background:var(--yellow);padding:10px 14px;font-weight:800;min-width:70px;text-align:center}#screen{padding:16px;min-height:calc(100vh - 190px)}.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:720px;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--stroke);background:#fff;box-shadow:0 -5px 24px #402c6012;padding:10px 8px max(12px,env(safe-area-inset-bottom));z-index:11}.nav-btn{border:0;background:transparent;color:#9189a0;font:inherit;font-size:11px;font-weight:700;border-radius:16px;min-height:52px}.nav-btn span{display:block;font-size:23px;margin-bottom:2px}.nav-btn.active{background:#eee8ff;color:var(--violet)}h1{font-size:25px;line-height:1.5;margin:0 0 10px}h2{font-size:20px;margin:0 0 12px}p{line-height:1.9;margin:7px 0}.muted{color:var(--muted)}.tiny{font-size:12px}.hero{background:linear-gradient(130deg,#6849dc,#9871e9);padding:20px;border-radius:26px;color:#fff;display:flex;align-items:center;gap:13px;overflow:hidden}.hero .hero-text{flex:1;min-width:0}.hero h1{font-size:23px}.hero p{font-size:13px;opacity:.95}.hero img{width:115px;height:145px;border-radius:22px;object-fit:cover;object-position:left top;border:4px solid #ffffff55}.btn{border:0;font:inherit;font-weight:800;background:var(--violet);color:white;padding:13px 18px;border-radius:17px;min-height:49px;cursor:pointer}.btn:disabled{opacity:.5}.btn.alt{background:#eee9ff;color:#5432bc}.btn.green{background:#168b72}.btn.yellow{background:#f7b838;color:#423017}.btn:active,.tile:active{transform:scale(.985)}.hero .btn{background:#fff;color:#5635b9;padding:11px 14px;min-height:43px;font-size:13px}.section-title{display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px}.section-title h2{margin:0}.tile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.tile{border:1px solid var(--stroke);background:white;border-radius:23px;padding:18px 11px;box-shadow:0 5px 15px #3527580a;text-align:center;cursor:pointer;color:inherit;font:inherit;min-height:125px}.tile .emoji{font-size:34px;display:block;margin-bottom:8px}.tile b{display:block;font-size:15px}.tile small{display:block;color:var(--muted);margin-top:7px;font-size:11px}.tile.pink{background:#fff1f7}.tile.mint{background:#ecfff4}.tile.lavender{background:#f1edff}.tile.yellow{background:#fff9e1}.info{background:#f4f0ff;border:1px solid #e0d6ff;padding:14px;border-radius:19px;color:#52437e;font-size:13px;line-height:1.9;margin:16px 0}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{display:inline-flex;padding:7px 12px;border:1px solid #e8ddff;border-radius:20px;font-size:12px;background:#fff;color:#654bb0}.chip.selected{background:var(--violet);color:white}.go-back{border:0;background:#eee9ff;color:#5132b1;padding:9px 15px;border-radius:13px;font:inherit;font-weight:800;margin-bottom:15px}.unit{display:flex;align-items:center;gap:14px;text-align:right;border:1px solid var(--stroke);background:#fff;border-radius:20px;padding:16px;margin:10px 0;width:100%;font:inherit;color:inherit}.unit .symbol{font-size:32px;background:var(--pale);border-radius:14px;padding:9px}.unit .body{flex:1}.unit strong,.unit small{display:block}.unit small{color:var(--muted);margin-top:6px;font-size:12px}.unit .arrow{font-size:24px;color:var(--violet)}.progress{height:11px;border-radius:20px;background:#eae3f3;overflow:hidden;margin:13px 0}.progress>div{height:100%;background:linear-gradient(90deg,#8b67f3,#48c7a4);border-radius:inherit}.card{background:white;border:1px solid var(--stroke);padding:23px 18px;border-radius:28px;box-shadow:0 10px 25px #32224d0b;text-align:center;margin:13px 0}.big-emoji{font-size:63px;display:block}.french{font-family:Tahoma,sans-serif;direction:ltr;font-size:25px;line-height:1.6;font-weight:800;color:#4f33bb;margin:17px 0}.translation{font-size:18px;color:#302344}.row{display:flex;gap:10px}.row .btn{flex:1}.card .btn{margin-top:12px}.question{font-weight:800;font-size:16px;line-height:1.8;margin-bottom:14px}.answers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.answer{min-height:76px;background:#fff;border:2px solid #e8e1f3;border-radius:17px;padding:12px 9px;font:inherit;font-weight:800;color:#403356;line-height:1.65}.answer.correct{border-color:#29ab75;background:#e8fff2}.answer.wrong{border-color:#ee6c88;background:#fff0f2}.notice{padding:12px;border-radius:18px;text-align:center;font-weight:800;margin:12px 0;background:var(--yellow)}.stars{text-align:center;font-size:59px;letter-spacing:10px;margin:18px 0}.center{text-align:center}.full{width:100%}input{width:100%;min-height:48px;border:1px solid var(--stroke);border-radius:14px;font:inherit;padding:11px;background:white}.statgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat{background:white;border-radius:18px;border:1px solid var(--stroke);padding:18px;text-align:center}.stat b{font-size:23px;color:var(--violet);display:block}.stat small{color:var(--muted)}.parent-gate{max-width:360px;margin:40px auto}.badge{display:inline-block;padding:5px 9px;border-radius:12px;background:#e4faef;color:#107852;font-size:12px;margin-top:8px}.level-banner{display:flex;align-items:center;justify-content:space-between;padding:15px;background:#f0eaff;border-radius:18px}.level-banner strong{color:#5734b2;font-size:19px}.level-select{padding:10px;display:flex;gap:8px;overflow:auto;white-space:nowrap;margin:6px -2px 12px}.level-select button{min-width:70px;border-radius:14px;border:1px solid #ddd2f7;background:#fff;padding:11px;font:inherit;font-weight:800;color:var(--violet)}.level-select button.sel{background:var(--violet);color:#fff}.result-icon{font-size:78px;text-align:center;margin:14px}.footer-note{text-align:center;font-size:11px;color:#948da4;margin-top:30px;line-height:1.8}button{cursor:pointer}@media(max-width:350px){.hero img{width:88px;height:117px}.hero h1{font-size:19px}.french{font-size:21px}.tile{padding:12px 5px}}

/* Lumi Kids Pro V2: age-inclusive advanced missions, focus and accessibility */
.daily-panel{background:linear-gradient(120deg,#fff7db,#fff0fd);border:1px solid #f2e5b2;border-radius:23px;padding:15px 16px;margin-bottom:18px}.daily-panel>b{font-size:16px}.daily-panel>div{font-size:13px;margin-top:7px}.daily-panel .progress{margin-bottom:0}.wide-mission{display:flex;align-items:center;justify-content:space-between;gap:9px;text-align:right;width:100%;padding:19px 16px;margin:13px 0;background:linear-gradient(110deg,#7551e0,#9672e9);color:#fff;border:0;border-radius:19px;font:inherit;font-weight:800;font-size:14px;line-height:1.7;box-shadow:0 6px 18px #6242b127}.wide-mission.lighter{background:#eaf7f5;color:#256c62;box-shadow:none;border:1px solid #c7ebe4}.wide-mission span{font-size:23px}.mission-hero{padding:27px 18px;background:linear-gradient(125deg,#5941b5,#aa7dec);color:#fff;border-radius:24px;text-align:center}.mission-hero>span{font-size:64px}.mission-hero h1{color:#fff}.mission-hero p{font-size:20px}.mission-tags{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.mission-tags span{border-radius:12px;padding:6px 10px;background:#ffffff2e;font-size:11px}.mission-progress{display:flex;gap:6px;margin:0 0 18px}.mission-progress>span{flex:1;height:7px;border-radius:10px;background:#ddd4f7}.mission-progress>span.filled{background:#7957d7}.reading-text{border:1px solid #e5ddf4;background:#fff;border-radius:24px;font-size:19px;line-height:2.05;letter-spacing:.1px;padding:22px;margin:15px 0;color:#392d54;text-align:left;overflow-wrap:anywhere}.answers.single{grid-template-columns:1fr}.answers.single .answer{text-align:center;min-height:62px;font-size:15px}textarea{box-sizing:border-box;width:100%;border-radius:18px;padding:15px;border:2px solid #dcd0f6;background:white;font:inherit;font-size:16px;line-height:1.8;resize:vertical}.reading-text[lang="fr"],.french{font-family:Arial,sans-serif}button:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid #edaf27;outline-offset:3px}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* LUMI KIDS STUDIO V3 */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.chips .chip{border:1px solid #d8c9f5;background:white;border-radius:20px;padding:8px 12px;font:inherit;color:#423272;cursor:pointer}.chips .chip.selected{background:#e6dafd;border-color:#7d59c7}.french{overflow-wrap:anywhere}.card .translation{line-height:1.8}.answers.single .answer{min-height:52px}.go-back{margin-bottom:10px}

/* Lumi Grammar V6 */
.grammar-examples{display:grid;gap:10px;margin:14px 0}.grammar-example{padding:12px;border:1px solid #e2d9f5;border-radius:14px;background:#fbf9ff}.grammar-example .french{font-size:1.05rem;margin:2px 0}.grammar-example .translation{margin:4px 0 10px}.grammar-example .btn{min-width:90px}

/* Lumi Kids V7 talking teacher */
.teacher-banner{background:linear-gradient(125deg,#5d40bb,#9474e4);border-radius:24px;padding:13px;display:flex;align-items:center;gap:14px;color:white;margin-bottom:16px}.teacher-banner h1{color:white;font-size:21px;margin-bottom:5px}.teacher-banner p{font-size:13px}.teacher-banner img{width:93px;height:112px;object-fit:cover;border-radius:18px}.teacher-unit{display:flex;align-items:center;gap:12px;padding:13px;margin:10px 0;background:white;border:1px solid #e3d9f5;border-radius:19px}.teacher-emoji{font-size:31px}.teacher-unit>div{flex:1;min-width:0}.teacher-unit b,.teacher-unit small{display:block}.teacher-unit small{color:#73688b;font-size:12px;margin-top:5px}.teacher-unit .btn{padding:10px;min-height:42px}.teacher-story{padding:19px;margin:14px 0;background:white;border:1px solid #e3d9f5;border-radius:23px;text-align:center}.teacher-story .btn{margin:7px 0}.teacher-role{font-weight:800;color:#6041b8}.teacher-top{display:flex;align-items:center;justify-content:space-between}.teacher-top span{color:#77699a}@media(max-width:360px){.teacher-unit{gap:7px;padding:9px}.teacher-unit .btn{padding:9px}.teacher-banner img{width:78px}}

/* V8 adventure */
.adv-lumi{height:110px;width:110px;object-fit:cover;border-radius:24px;display:block;margin:0 auto}.answers .answer[lang="fr"]{font-size:17px;direction:ltr;text-align:center}.mission-hero{margin:10px 0}

/* V10 accessible game laboratory */
.gl-banner{display:flex;align-items:center;gap:14px;padding:14px;background:linear-gradient(120deg,#e6dcff,#ffecf5);border-radius:22px}.gl-banner img{width:90px;height:105px;object-fit:cover;border-radius:18px}.gl-banner h1{font-size:21px}.gl-banner p{font-size:13px}.gl-mode{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:12px 0;border:1px solid #ddd2fb;border-radius:19px;background:#fff;padding:20px 14px;color:#32244f;font:inherit;text-align:right}.gl-mode b{font-size:15px}.gl-mode small{font-size:12px;color:#67588a}.gl-counter{font-weight:700;color:#6558a8;margin:14px 0}.gl-selected{min-height:76px;border:2px dashed #a78dec;background:#f9f6ff;border-radius:18px;display:flex;align-items:center;justify-content:center;gap:6px;padding:12px;line-height:2;font-size:18px;margin:10px 0}.gl-words{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:16px 0}.gl-words .answer{min-height:48px;flex-grow:0}.gl-model{text-align:center;font-size:20px;color:#573caa;font-weight:800;line-height:1.7}button:focus-visible{outline:3px solid #1c8c74;outline-offset:3px}@media(max-width:390px){.gl-mode{display:block}.gl-mode small{display:block;margin-top:6px}}
