
.mf-game{background:#242b30;color:#eef7fa;border-radius:12px;padding:18px;text-align:center}.mf-toolbar{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin:12px auto}.mf-toolbar button,.mf-toolbar select{background:#467a95;color:white;border:0;border-radius:7px;padding:10px 12px;cursor:pointer;font-weight:700}.mf-toolbar #mfReveal{background:#765b84}.mf-grid{width:min(95%,600px);display:grid;gap:2px;margin:15px auto;background:#101719;padding:8px;border-radius:9px;aspect-ratio:1}.mf-grid>*{min-width:0;min-height:0;border:0;border-radius:2px}.mf-empty{background:#0b0f11}.mf-clue{background:#305d73;color:#f2fbff;font-size:clamp(14px,2.4vw,23px);font-weight:900;cursor:pointer;padding:0}.mf-clue.mf-selected{outline:2px solid #fff}.mf-cell{box-sizing:border-box;background:#edf2f5;color:#172026;text-align:center;font-size:clamp(13px,2.4vw,23px);font-weight:800;width:100%;height:100%;padding:0;border:2px solid #637580}.mf-cell.mf-active{border-color:#40b7db}.mf-cell.mf-correct{background:#dcf4e6;color:#176b43}.mf-cell.mf-revealed{background:#e9dbed;color:#754888;border-color:#a494b3}.mf-definition{margin:10px auto;background:#17232a;padding:16px;border-radius:9px;max-width:850px;font-size:17px;font-weight:700;min-height:55px}.mf-hint{color:#b3c6d0;font-size:13px}@media(max-width:600px){.mf-game{padding:7px}.mf-grid{width:98%;padding:3px;gap:1px}.mf-cell{border-width:1px}}

.af-replay-btn{display:block;margin:20px auto;padding:13px 28px;background:#2778b4;color:white;border:1px solid #9bd3ff;border-radius:7px;font-size:18px;font-weight:700;cursor:pointer}

/* GS: mots incorrects en rouge après validation, croisements verts prioritaires. */
.mf-game .mf-cell.mf-wrong:not(.mf-correct):not(.mf-revealed){background:#ffe1e1;color:#b91c1c;border-color:#d64d4d}
