/* Pi et le Temple perdu : même style que le Grand Prix de Pi (vert du site #16855a, #5cc79a) */
#features.mn-section { padding-top: 1em; }
.mn-outil { max-width: 72em; width: 100%; box-sizing: border-box; margin: 0 auto; text-align: left; }
.mn { position: relative; font-family: 'Nunito', 'Segoe UI', Arial, sans-serif; color: #444; -webkit-user-select: none; user-select: none; }
.mn [hidden] { display: none !important; }
.mn h2, .mn h3, .mn b, .mn-go, .mn-touche, .mn-saisie, .mn-btn { font-family: 'Fredoka', 'Nunito', sans-serif; }
.mn h2 { margin: 0 0 .4em; color: #16855a; font-size: 1.6em; line-height: 1.2; }
.mn h3 { margin: 1.3em 0 .6em; color: #16855a; font-size: 1.05em; text-align: center; letter-spacing: .04em; }
.mn [role="button"] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mn [role="button"]:focus-visible { outline: 3px solid #f2b01e; outline-offset: 2px; }
.mn-rgpd { text-align: center; color: #999; font-size: .85em; margin: 1em 0 0; }
.mn-ecran { background: #fff; border: 2px solid #e5e5e5; border-radius: 1.2em; padding: 1em 1.2em 1.4em; }
.mn-info { color: #888; text-align: center; font-size: .95em; }
.mn-centre { text-align: center; margin-top: 1em; }
.mn-bts { display: flex; flex-wrap: wrap; gap: .8em; justify-content: center; margin-top: 1.2em; }
.mn-go { display: inline-flex; align-items: center; gap: .4em; padding: .7em 1.4em; border-radius: .8em; background: #16855a; color: #fff; font-weight: 600; font-size: 1.02em; box-shadow: 0 .2em 0 #0e5c3d; }
.mn-go:hover { background: #127048; }
.mn-go:active { transform: translateY(.15em); box-shadow: 0 .05em 0 #0e5c3d; }
.mn-go2 { background: #fff; color: #16855a; border: 2px solid #16855a; box-shadow: none; }
.mn-go2:hover { background: #eaf7f1; }
.mn-mini { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4em; height: 2.4em; padding: 0 .7em; border-radius: 1.2em; background: #f3f5f4; color: #555; font-weight: 700; }
.mn-mini:hover { background: #eaf7f1; color: #16855a; }

/* Accueil */
.mn-intro { display: flex; align-items: center; gap: 1.2em; max-width: 52em; margin: 0 auto; }
.mn-intro p { line-height: 1.6; margin: 0; }
.mn-portrait { width: 160px; height: 120px; flex: none; animation: mn-hop 2.2s ease-in-out infinite; }
@keyframes mn-hop { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-.5em); } }
.mn-monde { border: 2px solid #e5e5e5; border-left: .6em solid var(--c); border-radius: 1em; padding: .7em .9em .9em; margin-bottom: .8em; background: linear-gradient(90deg, color-mix(in srgb, var(--f) 18%, #fff), #fff 60%); }
.mn-monde-tete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3em 1em; margin-bottom: .6em; }
.mn-monde-tete b { color: #333; font-size: 1.1em; }
.mn-monde-tete span { color: #16855a; font-weight: 700; font-size: .9em; }
.mn-niveaux { display: grid; grid-template-columns: repeat(auto-fit, minmax(11em, 1fr)); gap: .6em; }
.mn-niv { display: flex; flex-direction: column; align-items: center; gap: .1em; padding: .6em .5em; border: 2px solid #e5e5e5; border-radius: .9em; background: #fff; text-align: center; transition: border-color .2s, transform .15s; }
.mn-niv b { color: #16855a; font-size: 1.15em; }
.mn-niv span { font-size: .88em; color: #666; line-height: 1.3; }
.mn-niv:hover { border-color: #5cc79a; transform: translateY(-2px); }
.mn-niv.off { opacity: .55; }
.mn-niv.off:hover { transform: none; border-color: #e5e5e5; }
.mn-et { color: #f2b01e; letter-spacing: .1em; font-size: 1.05em !important; }
.mn-et i { color: #ddd; font-style: normal; }
.mn-tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(14em, 1fr)); gap: .8em; }
.mn-tuile { display: flex; flex-direction: column; gap: .2em; padding: .85em 1em; border: 2px solid #e5e5e5; border-radius: 1em; color: #777; line-height: 1.4; text-align: center; transition: border-color .2s, transform .15s; }
.mn-tuile b { color: #16855a; font-size: 1.12em; font-weight: 600; }
.mn-tuile span { font-size: .88em; }
.mn-tuile:hover { border-color: #5cc79a; transform: translateY(-2px); }
.mn-tuile.actif { border-color: #16855a; box-shadow: 0 0 0 3px #d4efe3; background: #f6fcf9; }
.mn-regles { max-width: 52em; margin: 0 auto; }
.mn-regles ul { margin: 0; padding-left: 1.2em; line-height: 1.6; }
.mn-regles li { margin-bottom: .35em; list-style: disc; }

/* Le jeu : toujours entièrement visible à l'écran */
.mn-jeu { max-width: calc((100vh - 8em) * 768 / 448); margin: 0 auto; }
.mn-jeu.tactile { max-width: calc((100vh - 15em) * 768 / 448); min-width: min(100%, 32em); }
.mn-hud { display: flex; flex-wrap: wrap; align-items: center; gap: .4em 1.1em; padding: .5em .8em; margin-bottom: .5em; background: #fff; border: 2px solid #e5e5e5; border-radius: 1em; font-weight: 700; color: #333; }
.mn-titre { color: #16855a; font-family: 'Fredoka', 'Nunito', sans-serif; }
.mn-droite { margin-left: auto; display: flex; gap: .4em; }
.mn-cadre { position: relative; border-radius: 1em; overflow: hidden; border: 2px solid #e5e5e5; background: #cfe9f7; line-height: 0; }
.mn-toile { display: block; width: 100%; aspect-ratio: 768 / 448; touch-action: none; }
.mn-porte-q { position: absolute; left: 50%; top: .6em; transform: translateX(-50%); width: max-content; max-width: calc(100% - 1.2em); box-sizing: border-box; padding: .5em 1em .6em; background: rgba(255, 255, 255, .95); border: 3px solid #6b4226; border-radius: 1em; text-align: center; line-height: 1.35; box-shadow: 0 .4em 1em rgba(0, 0, 0, .2); animation: mn-pop .25s ease; }
.mn-porte-q > b { color: #6b4226; font-size: .9em; }
.mn-pq { font: 600 clamp(1.05em, 2.6vw, 1.5em)/1.4 'Fredoka', 'Nunito', sans-serif; color: #222; margin: .15em 0 .3em; }
.mn-pc { display: flex; flex-wrap: wrap; justify-content: center; gap: .4em .9em; font-weight: 700; color: #333; }
.mn-pc i { display: inline-block; min-width: 1.5em; border-radius: .4em; background: #6b4226; color: #fff; font-style: normal; text-align: center; }
.mn-voile { position: absolute; inset: 0; background: rgba(30, 50, 40, .45); display: flex; align-items: center; justify-content: center; line-height: 1.4; }
.mn-voile > div { background: #fff; border-radius: 1em; padding: 1em 1.6em; display: flex; flex-direction: column; gap: .7em; align-items: center; font-size: 1.2em; }
.mn-aide { text-align: center; color: #999; font-size: .85em; margin: .5em 0 0; }
.mn-pad { display: none; justify-content: space-between; gap: 1em; margin-top: .6em; touch-action: none; }
.tactile .mn-pad { display: flex; }
.tactile .mn-aide { display: none; }
.mn-pad-g, .mn-pad-d { display: flex; gap: .7em; }
.mn-btn { width: 4.4em; height: 4.4em; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f3f5f4; border: 2px solid #d5dad7; color: #16855a; font-size: 1.5em; box-shadow: 0 .2em 0 #d5dad7; touch-action: none; cursor: pointer; }
.mn-btn.on { background: #d4efe3; transform: translateY(.12em); box-shadow: none; }
.mn-saut { background: #16855a; border-color: #0e5c3d; color: #fff; box-shadow: 0 .2em 0 #0e5c3d; width: 5.2em; height: 5.2em; }
.mn-saut.on { background: #127048; }

/* Fin de niveau */
.mn-fin { text-align: center; padding: 2em 1em; }
.mn-grand-et { font-size: 2.6em; }
.mn-bilan { display: inline-block; text-align: left; margin: .5em 0; padding: 0; line-height: 1.9; font-size: 1.1em; }
.mn-bilan li { list-style: none; }

/* Fenêtre de question (comme les autres jeux du site) */
#mn-modale { position: fixed; inset: 0; z-index: 10000; background: rgba(30, 50, 40, .5); display: flex; align-items: center; justify-content: center; padding: 1em; overflow: auto; }
#mn-modale > div { margin: auto; }
.mn-question { background: #fff; border-radius: 1.2em; width: 100%; max-width: 34em; padding: 1em 1.3em 1.3em; box-shadow: 0 1em 3em rgba(0, 0, 0, .25); border-top: .5em solid #f2b01e; animation: mn-pop .25s ease; }
@keyframes mn-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.mn-porte-q { animation-name: mn-pop-h; }
@keyframes mn-pop-h { from { transform: translateX(-50%) scale(.6); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
.mn-q-haut { display: flex; flex-wrap: wrap; gap: .4em 1em; align-items: center; font-weight: 700; color: #555; }
.mn-etoiles { color: #f2b01e; letter-spacing: .1em; }
.mn-th { margin-left: auto; padding: .1em .7em; border-radius: 1em; background: #eaf7f1; color: #16855a; font-size: .8em; }
.mn-enonce { font: 600 clamp(1.4em, 3.6vw, 2.1em)/1.4 'Fredoka', 'Nunito', sans-serif; color: #222; text-align: center; margin: .7em 0 .5em; }
.mn-enonce small { display: block; font: 400 .45em/1.4 'Nunito', sans-serif; color: #888; margin-top: .4em; }
.mn-saisie { min-height: 1.6em; margin: 0 auto .6em; max-width: 12em; padding: .2em .6em; border: 3px solid #16855a; border-radius: .7em; text-align: center; font-size: 1.8em; font-weight: 600; color: #222; }
.mn-saisie.vide { color: #bbb; font-size: 1.3em; line-height: 1.6em; font-weight: 400; }
.mn-pave { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45em; max-width: 19em; margin: 0 auto; }
.mn-touche { height: 2.6em; border-radius: .6em; background: #f3f5f4; display: flex; align-items: center; justify-content: center; font-size: 1.3em; font-weight: 600; color: #333; box-shadow: 0 .15em 0 #d5dad7; }
.mn-touche:active { transform: translateY(.1em); box-shadow: none; }
.mn-touche:hover { background: #eaf7f1; }
.mn-touche.ok { grid-column: span 2; background: #16855a; color: #fff; box-shadow: 0 .15em 0 #0e5c3d; }
.mn-verdict { text-align: center; font: 700 1.5em 'Fredoka', sans-serif; margin: .5em 0; animation: mn-pop .3s ease; }
.mn-verdict.ok { color: #16855a; } .mn-verdict.ko { color: #c0392b; font-size: 1.25em; }
.mn-verdict.crit { color: #d48c00; font-size: 1.8em; }
.mn-verdict small { font-size: .6em; } .mn-verdict b { color: inherit; }
.mn-correction { background: #f6fcf9; border-left: 4px solid #5cc79a; border-radius: .5em; padding: .7em 1em; line-height: 1.6; color: #333; }
.mn-chrono { position: relative; height: 2em; max-width: 22em; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .06); margin: 0 auto .7em; border-radius: 1em; background: #eef1ef; overflow: hidden; }
.mn-chrono > div { height: 100%; width: 100%; background: #16855a; border-radius: 1em; transition: width .1s linear, background .3s; }
.mn-chrono.crit > div { background: linear-gradient(90deg, #f2b01e, #ffd95e); }
.mn-chrono.urgent > div { background: #e0524d; }
.mn-chrono span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1em; color: #222; }
.mn .tn-f { display: inline-flex; flex-direction: column; align-items: center; vertical-align: middle; margin: 0 .12em; line-height: 1.1; }
.mn .tn-f > span { padding: 0 .2em; }
.mn .tn-f > span:first-child { border-bottom: .08em solid currentColor; }
.mn .tn-rac { border-top: .08em solid currentColor; padding: 0 .1em; }
.mn sup { font-size: .6em; vertical-align: super; line-height: 0; }

#mn-toast { position: fixed; left: 50%; bottom: 1.5em; transform: translate(-50%, 1em); z-index: 10001; background: #333; color: #fff; padding: .6em 1.1em; border-radius: .8em; max-width: 90%; text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
#mn-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Plein écran (tablette projetée) : le jeu prend toute la hauteur */
.mn-outil:fullscreen { background: #fff; max-width: none; padding: .8em; overflow: auto; display: flex; flex-direction: column; justify-content: center; }
.mn-outil:fullscreen .mn-rgpd { display: none; }
.mn-outil:fullscreen .mn-jeu { width: min(100%, calc((100vh - 6.5em) * 768 / 448)); margin: 0 auto; }
.mn-outil:fullscreen .tactile { width: min(100%, calc((100vh - 12em) * 768 / 448)); }
.mn-outil:fullscreen .mn-ecran { max-height: calc(100vh - 2em); overflow: auto; }

@media (max-width: 640px) {
	.mn-intro { flex-direction: column; text-align: center; }
	.mn-btn { width: 3.6em; height: 3.6em; } .mn-saut { width: 4.4em; height: 4.4em; }
}

/* Vies perdues */
.mn-vies { display: inline-block; }
.mn-vies.perdu { color: #e0524d; animation: mn-secoue .35s ease 3; }
@keyframes mn-secoue { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.mn-vie { text-align: center; color: #c0392b; font-weight: 800; margin: .1em 0 .6em; }

/* Classes et mondes */
.mn-classes { grid-template-columns: repeat(4, 1fr); }
.mn-classe b { font-size: 1.5em !important; }
.mn-themes { margin: -.2em 0 .7em; font-size: .85em; color: #777; line-height: 1.4; }
@media (max-width: 640px) { .mn-classes { grid-template-columns: repeat(2, 1fr); } }

/* Le Grand Prix de Pi : réglages propres à la course */
.mn-toile { aspect-ratio: auto; height: auto; background: #222; }
.mn-cadre { background: #222; }
.mn-jeu { max-width: calc((100vh - 8em) * 16 / 9); }
.mn-jeu.duo { max-width: calc((100vh - 8em) * 4 / 3); }
.mn-jeu.tactile { max-width: calc((100vh - 15em) * 16 / 9); }
.mn-outil:fullscreen .mn-jeu { width: min(100%, calc((100vh - 6.5em) * 16 / 9)); }
.mn-outil:fullscreen .mn-jeu.duo { width: min(100%, calc((100vh - 6.5em) * 4 / 3)); }
.mn-portrait { width: 200px; height: 130px; }
.mn-course { border-left: .5em solid var(--c); }
.mn-centre .mn-go { font-size: 1.15em; padding: .8em 1.8em; }
.mn-go small { font-weight: 400; opacity: .85; }
.mn-objet { background: #f2b01e; border-color: #c98f00; color: #fff; box-shadow: 0 .2em 0 #c98f00; width: 5.2em; height: 5.2em; }
.mn-tab { margin: .8em auto; border-collapse: collapse; min-width: min(100%, 26em); font-size: 1.05em; }
.mn-tab td { padding: .35em .8em; border-bottom: 1px solid #eee; text-align: left; }
.mn-tab tr.moi td { background: #eaf7f1; font-weight: 800; color: #16855a; }
.mn-pastille { display: inline-flex; align-items: center; justify-content: center; width: 1.6em; height: 1.6em; border-radius: 50%; color: #fff; font-weight: 700; vertical-align: middle; }
.mn-coupe { font: 700 1.6em 'Fredoka', sans-serif; color: #d48c00; margin: .2em 0; }

/* Boutons tactiles : Valider (pendant le ralenti) et Objet */
.mn-btn { flex-direction: column; line-height: 1; }
.mn-btn small { font-size: .38em; margin-top: .25em; font-family: 'Nunito', sans-serif; font-weight: 800; }
.mn-valider { background: #16855a; border-color: #0e5c3d; color: #fff; box-shadow: 0 .2em 0 #0e5c3d; width: 5.2em; height: 5.2em; display: none; animation: mn-pulse 1s ease-in-out infinite; }
.mn-jeu.decision .mn-valider { display: flex; }
@keyframes mn-pulse { 50% { transform: scale(1.06); } }
.mn-objet { background: #f3f5f4; border-color: #d5dad7; color: #999; box-shadow: 0 .2em 0 #d5dad7; }
.mn-jeu.a-objet .mn-objet { background: #f2b01e; border-color: #c98f00; color: #fff; box-shadow: 0 .2em 0 #c98f00; }
.mn-valider, .mn-objet span { font-size: 1.35em; }
.mn-valider { font-size: 1.9em; }
.mn-valider small { font-size: .3em; }

/* Bouton Objet vide : case en pointillés, grisée */
.mn-objet span:empty { display: block; width: 1.1em; height: 1.1em; border: .12em dashed #b8bfbb; border-radius: .25em; }
.mn-jeu:not(.a-objet) .mn-objet { opacity: .7; box-shadow: none; cursor: default; }
.mn-jeu:not(.a-objet) .mn-objet small { color: #8a918d; }

/* Bouton Freiner : pédale rouge */
.mn-frein { background: #e0524d; border-color: #b13a35; color: #fff; box-shadow: 0 .2em 0 #b13a35; border-radius: 1.2em; }
.mn-frein svg { width: 1.9em; height: 1.9em; }
.mn-frein small { font-size: .42em; }
.mn-frein.on { background: #b13a35; }

/* Jeux des autres matières (contenus de collègues) */
.mn-apercu { margin: 0 auto 1em auto; padding: .5em 1em; max-width: 30em; border-radius: 2em; background: #fff4d6; color: #8a5a00; font-weight: 700; text-align: center; }
.mn-perso-meta { margin: 0 0 .5em 0 !important; color: #16855a; font-weight: 700; }
/* aperçu dans l'Atelier du professeur : le jeu seul */
body.mn-integre #header, body.mn-integre #titleBar, body.mn-integre #navPanel, body.mn-integre #banner, body.mn-integre #footer, body.mn-integre .retours-zone, body.mn-integre .mn-rgpd { display: none !important; }
body.mn-integre #features.mn-section { padding: .5em 0; margin: 0; }
body.mn-integre #page-wrapper, body.mn-integre { background: #fff; }
.mn-apercu a { color: inherit; text-decoration: underline; }

/* titre sur deux lignes (petits écrans) : les lignes ne se chevauchent plus */
#header #logo { line-height: 1.3; }

/* Pi et le Temple perdu : ajouts propres au jeu */
.mn-niveaux { margin-bottom: .4em; }
.mn-voile > .mn-question { display: block; font-size: 1em; padding: 1em 1.3em 1.3em; max-width: 34em; width: calc(100% - 2em); max-height: calc(100% - 1em); overflow: auto; gap: 0; }
.mn-reps { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; margin-top: .4em; }
.mn-rep { display: flex; align-items: center; justify-content: center; gap: .5em; padding: .6em; border: 2px solid #e5e5e5; border-radius: .9em; background: #fff; font: 600 1.35em 'Fredoka', 'Nunito', sans-serif; color: #222; cursor: pointer; transition: border-color .2s; }
.mn-rep i { font-style: normal; font-size: .6em; color: #fff; background: #16855a; border-radius: .4em; min-width: 1.4em; text-align: center; }
.mn-rep:hover { border-color: #5cc79a; }
.mn-rep.bon { border-color: #16855a; background: #eaf7f1; }
.mn-rep.faux { border-color: #e0524d; background: #fdecea; }
.mn-suite .mn-verdict { margin: .6em 0 .3em; }
.mn-correc { position: absolute; left: 50%; bottom: 4.6em; transform: translateX(-50%); max-width: calc(100% - 2em); width: max-content; padding: .5em 1em; background: rgba(255, 255, 255, .96); border-left: 4px solid #e0524d; border-radius: .6em; line-height: 1.5; color: #333; box-shadow: 0 .4em 1em rgba(0, 0, 0, .2); animation: mn-pop .25s ease; transition: opacity .5s; text-align: center; }
.mn-correc b { color: #c0392b; display: block; }
.mn-correc span { font-size: .9em; }
.mn-correc.part { opacity: 0; }
.mn-saut { width: 4.4em; height: 4.4em; }

/* ===== Pi et la Mine des Nombres : ajouts propres au jeu ===== */
.mn-jeu, .mn-jeu.tactile, .mn-jeu.duo { max-width: none; min-width: 0; }
.mn-outil:fullscreen .mn-jeu, .mn-outil:fullscreen .mn-jeu.duo, .mn-outil:fullscreen .tactile { width: auto; }
.mn-cadre { background: #10152a; border-color: #25201c; }
.mn-toile { cursor: none; background: #10152a; }
.mn-hud { box-sizing: border-box; }
.mn-mini i { font-style: normal; margin-left: .3em; }
.mn-barre { box-sizing: border-box; min-height: 8.2em; padding: .55em .8em .7em; background: #fff; border: 2px solid #e5e5e5; border-radius: 1em; }
.mn-bq { text-align: center; line-height: 1.35; margin-bottom: .55em; }
.mn-bq > b { display: block; color: #8a5a2b; font-size: .9em; }
.mn-bq-q { display: block; font: 600 clamp(1.25em, 3.4vw, 1.9em)/1.35 'Fredoka', 'Nunito', sans-serif; color: #222; }
.mn-bq-q small { display: none; }
.mn-aide { color: #777; font-size: 1em; padding: 1.2em .5em; margin: 0; }
.mn-reps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; }
.mn-reps4 { grid-template-columns: repeat(4, 1fr); }
.mn-rep { display: flex; align-items: center; justify-content: center; gap: .4em; min-height: 3em; padding: .45em .5em; border-radius: .9em; background: #f6fcf9; border: 2px solid #16855a; font: 700 clamp(1.05em, 3vw, 1.5em) 'Fredoka', 'Nunito', sans-serif; color: #1d3b2e; box-shadow: 0 .2em 0 #0e5c3d; text-align: center; touch-action: manipulation; }
.mn-rep:hover { background: #eaf7f1; }
.mn-rep:active { transform: translateY(.15em); box-shadow: none; }
.mn-rep i { font-style: normal; font-size: .65em; padding: .1em .45em; border-radius: .4em; background: #16855a; color: #fff; }
.mn-rep u { width: .9em; height: .9em; border-radius: 30%; transform: rotate(45deg); border: 2px solid #25201c; flex: none; }
.mn-rep.faux { opacity: .35; text-decoration: line-through; box-shadow: none; pointer-events: none; }
@media (max-width: 640px) { .mn-reps4 { grid-template-columns: repeat(2, 1fr); } .mn-barre { min-height: 10em; } }
.mn-gemmes { text-align: center; font: 700 1.6em 'Fredoka', sans-serif; color: #2f63b3; margin: .1em 0 .6em; }
.mn-amelios { display: grid; gap: .7em; max-width: 44em; margin: 0 auto; }
.mn-amelio { display: flex; align-items: center; gap: .9em; padding: .7em .9em; border: 2px solid #e5e5e5; border-radius: 1em; background: #fff; }
.mn-amelio > div:not(.mn-go) { flex: 1; display: flex; flex-direction: column; gap: .15em; line-height: 1.35; }
.mn-amelio span { color: #666; font-size: .92em; }
.mn-amelio-ico { font-size: 2.1em; line-height: 1; flex: none; }
.mn-niv-n { color: #d48c00 !important; font-weight: 700; margin-left: .4em; font-size: .85em !important; }
.mn-go.off { opacity: .45; box-shadow: none; pointer-events: none; }
.mn-amelio .mn-go { flex: none; white-space: nowrap; }
@media (max-width: 640px) { .mn-amelio { flex-wrap: wrap; } .mn-amelio .mn-go { width: 100%; justify-content: center; } }
.mn-portrait { width: 200px; height: 130px; }
.mn-centre .mn-go { font-size: 1.15em; padding: .8em 1.8em; }
.mn-go small { font-weight: 400; opacity: .9; }
.mn-correc { bottom: .8em; }
#header #logo { line-height: 1.3; }

/* pilotage au doigt : rond + bouton TIR, hors de l'écran */
.mn-pad { align-items: center; user-select: none; -webkit-user-select: none; }
.mn-joy { position: relative; width: 8.6em; height: 8.6em; border-radius: 50%; background: radial-gradient(circle, #fff6e0 0, #f3dfb5 70%); border: 3px solid #b9895a; box-shadow: 0 .25em 0 #b9895a; touch-action: none; flex: none; }
.mn-joy i { position: absolute; left: 50%; top: 50%; width: 3.4em; height: 3.4em; margin: -1.7em 0 0 -1.7em; border-radius: 50%; background: #6b4226; box-shadow: inset 0 .25em 0 rgba(255,255,255,.25); pointer-events: none; transition: transform .05s; }
.mn-feu { width: 6.6em; height: 6.6em; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #e8453c; color: #fff; font: 700 1.1em/1.2 'Fredoka', sans-serif; border: 3px solid #a82a23; box-shadow: 0 .25em 0 #a82a23; touch-action: none; flex: none; }
.mn-feu:active { transform: translateY(.2em); box-shadow: none; }
