.math-language-toggle{display:flex;isolation:isolate;align-items:stretch;background:#fff;border:2px solid #a6def7;border-radius:999px;padding:4px;box-shadow:0 3px 0 #55a9d35c,inset 0 2px 3px #fff;color:#123650;font-family:'Trebuchet MS',Arial,sans-serif}
.math-language-toggle button{flex:1;min-height:44px;min-width:0;border:0;border-radius:999px;background:transparent;color:#123650;font:800 16px/1.2 'Trebuchet MS',Arial,sans-serif;padding:8px 17px;cursor:pointer}
.math-language-toggle button[aria-pressed=true]{background:linear-gradient(150deg,#e9d9ff,#cdb7f1);box-shadow:inset 0 2px 3px #ffffff9c,0 1px 2px #8e75ad40}
.math-language-toggle button:focus-visible{outline:3px solid #234e91;outline-offset:1px}
.has-math-language{aspect-ratio:550/1034}
.has-math-language .home-math-language{position:absolute;z-index:3;left:20%;width:60%;top:48.84%;height:5.42%;min-height:44px;transform:translateY(-50%);padding:.6cqw;border-width:.4cqw}
.has-math-language .home-math-language button{font-family:BloomHand,'Trebuchet MS',sans-serif;font-weight:400;font-size:4cqw;padding:.5cqw 1cqw;min-height:0}
.has-math-language header{top:1.83%;height:8.23%}
.has-math-language .choices{top:53.3404%;height:28.7277%;gap:2.5cqw 2.3cqw}
.has-math-language .home-explore-games{top:85.3617%;height:7.136%}
.has-math-language .world-address{bottom:2.7446%}
.math-language-status{margin:12px 0 0;text-align:center;font:700 14px/1.5 'Trebuchet MS',Arial,sans-serif;color:#49316e}
.math-language-status:empty{display:none}
.french-unavailable{cursor:default!important;opacity:.38;filter:grayscale(.65)!important;pointer-events:none}
.reference-art-ready .choices .french-unavailable{opacity:1;filter:none!important;background:#f1f4f0bd!important;border:2px solid #ffffff80!important;box-shadow:none!important}
.math-language-fr .prep-stage a.french-unavailable{opacity:.4}
.menu-language-choice{margin:0 0 14px;padding:0 0 14px;border-bottom:1px solid #dcecf1}
.menu-language-label{margin:0 0 8px;color:#20465b;font:800 15px/1.3 'Trebuchet MS',Arial,sans-serif}
.menu-math-language{width:100%;box-sizing:border-box;margin:0}
.menu-math-language button{font-size:14px;padding:8px 10px}
html[lang=fr] .lesson-content,html[lang=fr] .v2-card,html[lang=fr] .practice-explanation{overflow-wrap:anywhere}
@media(max-width:380px){.has-math-language .home-math-language{left:16%;width:68%;height:5.42%}}
@media print{.math-language-toggle{display:none!important}}
html[lang=fr] .brainbloom-grade-page :is(.footer-about-link,.settings-links a[href="#about"])::before{content:"✨ Découvrir BrainBloom"}
html[lang=fr] .brainbloom-grade-page :is(.footer-about-link,.settings-links a[href="#about"])::after{content:"Découvre nos aventures maths et la maman qui a créé BrainBloom !"}
html[lang=fr] #voiceLanguage,html[lang=fr] label[for="voiceLanguage"]{display:none!important}

/* CSS-generated copy is outside the DOM translation observer. */
html[lang=fr] .reward-card::after{content:"🌱 Continue à progresser !"}
html[lang=fr] .game-question .ans.bad::after{content:" · Ton choix"}
html[lang=fr] .match-column .ans.good::after{content:" ✓ Associé"}
html[lang=fr] .brainbloom-grade-page .settings-links>h2::before{content:"⭐ Aide BrainBloom à grandir"}
html[lang=fr] .brainbloom-grade-page .settings-links>h2::after{content:"Ton aventure maths te plaît ? Donne ton avis et partage tes idées pour améliorer BrainBloom !"}
html[lang=fr] .brainbloom-grade-page .settings-links a[href="#reviews"]::before{content:"⭐ Noter BrainBloom et donner mon avis →"}
html[lang=fr] body:not(.brainbloom-theme-ready)::after{content:"Chargement de ton aventure BrainBloom…"}
