.ogd{--bg:#f6f9ff;--card:#ffffff;--border:#d8e4f5;--blue:#1a56db;--text:#172033;font-family:Poppins,Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--bg)!important;color:var(--text)!important;max-width:1600px;margin:0 auto;padding:22px;min-height:720px;box-sizing:border-box}.ogd *{box-sizing:border-box}.ogd [hidden]{display:none!important}.ogd h1,.ogd h2,.ogd p,.ogd span,.ogd strong,.ogd div{color:inherit}.ogd-hero{position:relative;text-align:center;background:linear-gradient(120deg,#1a56db,#2870e8);border:1px solid #4a91ff;border-radius:7px;padding:28px 20px 31px;overflow:hidden}.ogd-globe{position:absolute;left:28px;top:22px;font-size:45px;opacity:.18}.ogd-hero h1{color:#fff!important;margin:0 0 7px!important;font-size:clamp(27px,3vw,39px)!important;line-height:1.25!important;font-weight:800!important}.ogd-hero p{color:#fff!important;margin:0!important;font-size:clamp(16px,2vw,25px)!important}.ogd-options{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:29px}.ogd-panel{background:#fff!important;border:1px solid #d8e4f5;box-shadow:0 8px 24px rgba(26,86,219,.08);border-radius:7px;padding:27px 25px 29px;text-align:center;min-height:244px}.ogd-icon{font-size:51px;line-height:1;color:#1677ff!important;filter:saturate(1.4)}.ogd-panel h2{color:#172033!important;font-size:27px!important;margin:18px 0 27px!important}.ogd-difficulties{display:flex;justify-content:space-around;gap:14px}.ogd-difficulties button,.ogd-categories button{border:2px solid transparent;border-radius:999px;padding:9px 20px;font-weight:800;cursor:pointer;opacity:.72;transition:.18s;white-space:nowrap}.ogd-difficulties button.active,.ogd-categories button.active{opacity:1;transform:scale(1.05);border-color:#1a56db;box-shadow:0 4px 14px rgba(26,86,219,.18)}.ogd-difficulties .easy{background:#159a64;color:#fff}.ogd-difficulties .medium{background:#d5a410;color:#172033}.ogd-difficulties .hard{background:#bc3c4c;color:#fff}.ogd-categories{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.ogd-categories button{padding:8px 15px;color:#fff}.ogd-categories .blue{background:#1a56db}.ogd-categories .green{background:#10965f}.ogd-categories .cyan{background:#0abbd7}.ogd-categories .yellow{background:#ffbd0c;color:#141414}.ogd-categories .red{background:#e63f4b}.ogd-categories .gray{background:#727c84}.ogd-categories .purple{background:#7c55c7}.ogd-play{display:flex;margin:50px auto 38px;border:0;border-radius:999px;padding:20px 57px;background:#349bdd!important;color:#fff!important;font-size:23px;font-weight:800;gap:12px;align-items:center;cursor:pointer;box-shadow:0 8px 28px rgba(52,155,221,.25);transition:.2s}.ogd-play:hover{transform:translateY(-2px);background:#42a8e8!important}.ogd-game{min-height:675px}.ogd-gamebar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:12px 4px 20px;border-bottom:1px solid #d8e4f5}.ogd-back{justify-self:start;background:#fff!important;color:#1a56db!important;border:1px solid #c9d9f1!important;border-radius:8px;padding:9px 14px;cursor:pointer}.ogd-game-title{font-size:18px;font-weight:800}.ogd-game-title b{color:#2e92ff!important}.ogd-score{justify-self:end;color:#64748b!important}.ogd-score strong{display:inline-block;margin-left:7px;color:#fff!important;background:#1a56db;padding:7px 12px;border-radius:8px}.ogd-progress{height:6px;background:#dbe7fb;margin:18px 0 0;border-radius:8px;overflow:hidden}.ogd-progress i{display:block;height:100%;background:#1a56db;border-radius:8px;transition:.3s}.ogd-question-card{max-width:900px;margin:55px auto;background:#fff!important;border:1px solid #d8e4f5;border-radius:13px;padding:42px;box-shadow:0 18px 50px rgba(26,86,219,.10)}.ogd-qmeta{display:flex;justify-content:space-between;gap:10px}.ogd-qmeta span{font-size:11px!important;font-weight:800;padding:7px 11px;border-radius:99px;background:#e8f0ff;color:#1a56db!important}.ogd-qdiff{background:#fff4cf!important;color:#8a6500!important}.ogd-question-card h2{color:#172033!important;font-size:clamp(23px,3vw,34px)!important;line-height:1.3!important;margin:28px 0 31px!important}.ogd-answers{display:grid;grid-template-columns:1fr 1fr;gap:13px}.ogd-answer{display:flex;align-items:center;gap:13px;min-height:70px;padding:12px 15px;text-align:left;background:#f4f8ff!important;border:2px solid #b9ccec!important;border-radius:10px;color:#172033!important;cursor:pointer;font-size:15px;font-weight:650}.ogd-answer:hover{border-color:#1a56db!important;background:#eaf2ff!important}.ogd-answer i{font-style:normal;display:grid;place-items:center;min-width:36px;height:36px;border-radius:7px;background:#ffffff;color:#1a56db!important;border:1px solid #d5e2f7;font-weight:900}.ogd-answer.correct{background:#e8f8f0!important;border-color:#22a76d!important;color:#145c3b!important}.ogd-answer.correct i{background:#22a76d!important;color:#fff!important;border-color:#22a76d}.ogd-answer.wrong{background:#fff0f1!important;border-color:#d84d58!important;color:#8f2530!important}.ogd-answer.wrong i{background:#d84d58!important;color:#fff!important;border-color:#d84d58}.ogd-feedback{min-height:28px;margin-top:20px;color:#475569!important}.ogd-feedback .yes{color:#36c986!important}.ogd-feedback .no{color:#ff6c75!important}.ogd-next{float:right;margin-top:5px;border:0;border-radius:8px;padding:12px 18px;background:#1a56db!important;color:#fff!important;font-weight:800;cursor:pointer}.ogd-result{text-align:center;padding:75px 20px}.ogd-result-icon{font-size:70px}.ogd-over{font-size:11px;letter-spacing:.2em;color:#61aaff!important;font-weight:900;margin-top:12px}.ogd-result h2{color:#172033!important;font-size:38px!important;margin:8px!important}.ogd-result-score{width:190px;height:190px;border-radius:50%;border:13px solid #dbe7fb;border-top-color:#1a56db;margin:30px auto;display:grid;place-content:center}.ogd-result-score strong{font-size:46px;color:#1a56db!important}.ogd-result-score span{font-size:12px;color:#64748b!important}.ogd-result-text{max-width:600px;margin:0 auto 25px;color:#475569!important}.ogd-result-actions{display:flex;justify-content:center;gap:12px}.ogd-result-actions button{border:0;border-radius:9px;padding:13px 23px;background:#1a56db!important;color:#fff!important;font-weight:800;cursor:pointer}.ogd-result-actions .ogd-home{background:#e8f0ff!important;color:#1a56db!important}@media(max-width:800px){.ogd{padding:10px;min-height:100vh}.ogd-options{grid-template-columns:1fr;gap:12px;margin-top:12px}.ogd-panel{min-height:auto;padding:22px 12px}.ogd-panel h2{font-size:21px!important;margin:10px 0 18px!important}.ogd-icon{font-size:38px}.ogd-difficulties{gap:7px}.ogd-difficulties button{padding:8px 10px;font-size:12px}.ogd-categories{gap:7px}.ogd-categories button{font-size:11px;padding:7px 10px}.ogd-play{margin:25px auto;padding:15px 31px;font-size:17px}.ogd-hero{padding:23px 13px}.ogd-hero h1{font-size:25px!important}.ogd-hero p{font-size:15px!important}.ogd-question-card{margin:25px 0;padding:22px 14px}.ogd-answers{grid-template-columns:1fr}.ogd-gamebar{grid-template-columns:auto 1fr auto}.ogd-game-title{font-size:12px}.ogd-back{font-size:0}.ogd-back:first-letter{font-size:18px}.ogd-score{font-size:11px}.ogd-result{padding:45px 12px}}
/* Contraste renforcé des réponses */
.ogd .ogd-answer, .ogd .ogd-answer span, .ogd .ogd-answer strong{color:#172033!important;}
.ogd .ogd-answer.correct, .ogd .ogd-answer.correct span, .ogd .ogd-answer.correct strong{color:#145c3b!important;}
.ogd .ogd-answer.wrong, .ogd .ogd-answer.wrong span, .ogd .ogd-answer.wrong strong{color:#8f2530!important;}
.ogd .ogd-answer.correct i,.ogd .ogd-answer.wrong i{color:#fff!important;}

/* OMAP v4 — priorité maximale pour la lisibilité des libellés de réponses */
.ogd button.ogd-answer > span,
.ogd .ogd-answers button.ogd-answer > span {
    color: #172033 !important;
    -webkit-text-fill-color: #172033 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
.ogd .ogd-answers button.ogd-answer.correct > span {
    color: #145c3b !important;
    -webkit-text-fill-color: #145c3b !important;
}
.ogd .ogd-answers button.ogd-answer.wrong > span {
    color: #8f2530 !important;
    -webkit-text-fill-color: #8f2530 !important;
}


/* =========================================================
   OMAP GRAND DÉFI V6 — Réponses noir / blanc / bleu
   ========================================================= */

/* Zone des réponses : bleu très clair */
.ogd .ogd-answers {
    background: #eef5ff !important;
    border-radius: 18px !important;
    padding: 12px !important;
}

/* Réponse normale : fond noir + texte blanc */
.ogd .ogd-answers button.ogd-answer {
    background: #111111 !important;
    border: 2px solid #1a56db !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
}

/* Texte de la proposition */
.ogd .ogd-answers button.ogd-answer > span,
.ogd .ogd-answers button.ogd-answer span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-weight: 800 !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
}

/* A / B / C / D : bleu OMAP */
.ogd .ogd-answers button.ogd-answer > i,
.ogd .ogd-answers button.ogd-answer i {
    color: #1a56db !important;
    -webkit-text-fill-color: #1a56db !important;
    background: #ffffff !important;
    border: 2px solid #1a56db !important;
    font-weight: 900 !important;
}

/* Survol */
.ogd .ogd-answers button.ogd-answer:hover:not(:disabled) {
    background: #1c1c1c !important;
    border-color: #1a56db !important;
}

/* Bonne réponse */
.ogd .ogd-answers button.ogd-answer.correct {
    background: #d8f5e4 !important;
    border-color: #16814b !important;
    color: #10452a !important;
    -webkit-text-fill-color: #10452a !important;
}
.ogd .ogd-answers button.ogd-answer.correct > span,
.ogd .ogd-answers button.ogd-answer.correct span {
    color: #10452a !important;
    -webkit-text-fill-color: #10452a !important;
}
.ogd .ogd-answers button.ogd-answer.correct > i,
.ogd .ogd-answers button.ogd-answer.correct i {
    color: #16814b !important;
    -webkit-text-fill-color: #16814b !important;
    border-color: #16814b !important;
}

/* Mauvaise réponse */
.ogd .ogd-answers button.ogd-answer.wrong {
    background: #ffe1e4 !important;
    border-color: #bc293a !important;
    color: #781525 !important;
    -webkit-text-fill-color: #781525 !important;
}
.ogd .ogd-answers button.ogd-answer.wrong > span,
.ogd .ogd-answers button.ogd-answer.wrong span {
    color: #781525 !important;
    -webkit-text-fill-color: #781525 !important;
}
.ogd .ogd-answers button.ogd-answer.wrong > i,
.ogd .ogd-answers button.ogd-answer.wrong i {
    color: #bc293a !important;
    -webkit-text-fill-color: #bc293a !important;
    border-color: #bc293a !important;
}

/* OMAP Grand Defi V7 */
.ogd .ogd-answers { background:#eef5ff !important; }
.ogd .ogd-answers button.ogd-answer {
 background:#1746A2 !important; border-color:#1746A2 !important;
 color:#fff !important; -webkit-text-fill-color:#fff !important;
}
.ogd .ogd-answers button.ogd-answer > span,
.ogd .ogd-answers button.ogd-answer span {
 color:#fff !important; -webkit-text-fill-color:#fff !important; font-weight:800 !important;
}
.ogd .ogd-answers button.ogd-answer > i,
.ogd .ogd-answers button.ogd-answer i {
 background:#fff !important; color:#1a56db !important;
 -webkit-text-fill-color:#1a56db !important; border-color:#fff !important;
}
.ogd .ogd-answers button.ogd-answer:hover:not(:disabled) {
 background:#1a56db !important; border-color:#1a56db !important;
}
.ogd .ogd-answers button.ogd-answer.correct {
 background:#d8f5e4 !important; border-color:#16814b !important;
 color:#10452a !important; -webkit-text-fill-color:#10452a !important;
}
.ogd .ogd-answers button.ogd-answer.correct span {
 color:#10452a !important; -webkit-text-fill-color:#10452a !important;
}
.ogd .ogd-answers button.ogd-answer.correct i {
 background:#fff !important; color:#16814b !important;
 -webkit-text-fill-color:#16814b !important; border-color:#16814b !important;
}
.ogd .ogd-answers button.ogd-answer.wrong {
 background:#ffe1e4 !important; border-color:#bc293a !important;
 color:#781525 !important; -webkit-text-fill-color:#781525 !important;
}
.ogd .ogd-answers button.ogd-answer.wrong span {
 color:#781525 !important; -webkit-text-fill-color:#781525 !important;
}
.ogd .ogd-answers button.ogd-answer.wrong i {
 background:#fff !important; color:#bc293a !important;
 -webkit-text-fill-color:#bc293a !important; border-color:#bc293a !important;
}

/* V8 FINAL — fond bleu des propositions */
html body .ogd .ogd-answers button.ogd-answer:not(.correct):not(.wrong),
html body .ogd button.ogd-answer:not(.correct):not(.wrong) {
    background: #1746A2 !important;
    background-color: #1746A2 !important;
    background-image: none !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
html body .ogd button.ogd-answer:not(.correct):not(.wrong) span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
