/* Thèmes d'IKRA (sondage familial du 14/11/2026), générés par serveur/generer_themes.py : ne pas modifier à la main. */

/* ---- bleu ---- */
html:has(> body.t-bleu) { background: #0b1230; }
body.t-bleu .haut { background: linear-gradient(180deg, rgba(11, 18, 48, .99), rgba(11, 18, 48, .96)); border-bottom: 1px solid rgba(242, 200, 92, .3); }
body.t-bleu .banniere { background: radial-gradient(ellipse at top, rgba(242, 200, 92, .2), transparent 60%), linear-gradient(160deg, #18235a, #0d1538);
  border-color: rgba(242, 200, 92, .42); }
body.t-bleu .barre-audio, body.t-bleu .his-flottant .bouton { background: rgba(11, 18, 48, .95); }
body.t-bleu .etoile rect, body.t-bleu .etoile circle { fill: #0f1840; }
body.t-bleu .carte-sourate { border: 2px solid rgba(242, 200, 92, .55); box-shadow: 0 4px 12px rgba(242, 200, 92, .18); }
body.t-bleu .carte-sourate::before { border-color: rgba(168, 123, 30, .35); }
body.t-bleu .carte-sourate .pied span { border-color: rgba(242, 200, 92, .3); }

body.t-bleu { --fond: #0b1230; --carte: #131c44; --texte: #f1ecdf; --discret: #a9b0cf;
  background: radial-gradient(ellipse at top, #1a2560 0%, #0b1230 60%) fixed; }
body.t-bleu .carte-sourate { background: linear-gradient(165deg, #1a2662 0%, #111a45 100%); }
body.t-bleu select, body.t-bleu input, body.t-bleu .fond, body.t-bleu .progression { background-color: #0e1638; }
/* lecture : verset lu dans un encart beige sable */
body.t-bleu #vue-lecture .verset.actif { background: linear-gradient(165deg, #fffaf0, #f0e2c4); border: 1px solid rgba(242, 200, 92, .6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35); border-radius: 14px; padding: 14px 12px; }
body.t-bleu #vue-lecture .verset.actif .mushaf { color: #3b2410; text-shadow: none; }
body.t-bleu #vue-lecture .verset.actif .mushaf span.mot-actif { color: #b07a0c; text-shadow: none; }
body.t-bleu #vue-lecture .verset.actif .trad { color: #2b2112; }
body.t-bleu #vue-lecture .verset.actif .actions .num-v { color: #7a6a50; }
body.t-bleu #vue-lecture .verset.actif .actions button { color: #3b2410; border-color: rgba(138, 98, 20, .4); }

/* ---- bleu-sable ---- */
html:has(> body.t-bleu-sable) { background: #f3e9d6; }
body.t-bleu-sable .haut { background: linear-gradient(180deg, rgba(11, 18, 48, .99), rgba(11, 18, 48, .96)); border-bottom: 1px solid rgba(242, 200, 92, .3); }
body.t-bleu-sable .banniere { background: radial-gradient(ellipse at top, rgba(242, 200, 92, .2), transparent 60%), linear-gradient(160deg, #18235a, #0d1538);
  border-color: rgba(242, 200, 92, .42); }
body.t-bleu-sable .barre-audio, body.t-bleu-sable .his-flottant .bouton { background: rgba(11, 18, 48, .95); }
body.t-bleu-sable .etoile rect, body.t-bleu-sable .etoile circle { fill: #18235a; }
body.t-bleu-sable .carte-sourate { border: 2px solid rgba(24, 35, 90, .55); box-shadow: 0 4px 12px rgba(24, 35, 90, .18); }
body.t-bleu-sable .carte-sourate::before { border-color: rgba(168, 123, 30, .35); }
body.t-bleu-sable .carte-sourate .pied span { border-color: rgba(24, 35, 90, .3); }

body.t-bleu-sable { --fond: #f3e9d6; --carte: #fffaf0; --texte: #2b2112; --discret: #6f5f45; --bord: rgba(138, 98, 20, .32);
  --or: #8a6214; --or-clair: #3b2410; --danger: #b3261e; background: #f3e9d6; }
/* zones sombres : écriture claire */
body.t-bleu-sable .haut, body.t-bleu-sable .banniere, body.t-bleu-sable .barre-audio, body.t-bleu-sable .his-flottant, body.t-bleu-sable .fiche-nuit { --texte: #f4ece0; --discret: #c9bba5; --or: #f2c85c; --or-clair: #f7e3a8; --bord: rgba(242, 200, 92, .30); }
body.t-bleu-sable .haut .barre-onglets button:not(.actif), body.t-bleu-sable .haut .icone { background: rgba(255, 255, 255, .06); border-color: rgba(242, 200, 92, .3); color: #f4ece0; }
/* cartes et champs clairs */
body.t-bleu-sable .carte-sourate { background: linear-gradient(165deg, #fffaf0 0%, #f4e8d0 100%); }
body.t-bleu-sable .carte-sourate .ar, body.t-bleu-sable .banniere-ar { text-shadow: none; }
body.t-bleu-sable .etoile span { color: #f2c85c; }
body.t-bleu-sable select, body.t-bleu-sable input { background: #fffaf0; color: #2b2112; }
body.t-bleu-sable .fond, body.t-bleu-sable .progression { background-color: #efe3c8; }
body.t-bleu-sable .carte, body.t-bleu-sable .tafsir-bloc, body.t-bleu-sable .tafsir-long > summary { box-shadow: 0 2px 8px rgba(60, 40, 10, .08); }
/* boutons dorés pleins : or vif avec écriture sombre, comme avant */
body.t-bleu-sable .onglets button.actif, body.t-bleu-sable .choix-langue button.actif, body.t-bleu-sable .bouton.dou-fav-actif {
  background: linear-gradient(180deg, #f2c85c, #d9a93a); border-color: #d9a93a; color: #1b1404; }
body.t-bleu-sable .filtres button.actif { background: #18235a; color: #f2c85c; border-color: #18235a; }
body.t-bleu-sable .progression div { background: #d9a93a; }
/* couleurs claires devenues illisibles sur le sable */
body.t-bleu-sable .etat.terminee { color: #2e7d43; border-color: #2e7d43; }
body.t-bleu-sable .dou-repere { color: #4d6b55; }
body.t-bleu-sable .his-salut { color: #8a6214; }
body.t-bleu-sable .rec-ok { color: #2e8b4a; } body.t-bleu-sable .rec-hesite { color: #a86f00; }
body.t-bleu-sable .rec-remplace, body.t-bleu-sable .rec-oublie { color: #c0392b; }
body.t-bleu-sable .rec-mot small { color: #6b6255; } body.t-bleu-sable .rec-ajoute { color: #6b6255; }
body.t-bleu-sable .bouton-supprimer, body.t-bleu-sable .carte.corb .effacer { color: #b3261e; border-color: rgba(179, 38, 30, .45); }
body.t-bleu-sable .verset { border-bottom-color: rgba(138, 98, 20, .22); }
/* fond étoilé des invocations : inchangé (or vif, écriture claire) */
body.t-bleu-sable .fiche-nuit .verset .mushaf { color: #f2c85c; }
/* lecture : verset lu dans un encart de la couleur sombre */
body.t-bleu-sable #vue-lecture .verset.actif { --texte: #f4ece0; --discret: #c9bba5; --or: #f2c85c; --or-clair: #f7e3a8; --bord: rgba(242, 200, 92, .30); background: linear-gradient(165deg, #18235a, #0d1538); border: 1px solid rgba(242, 200, 92, .45);
  box-shadow: 0 4px 14px rgba(60, 40, 10, .3); border-radius: 14px; padding: 14px 12px; }
body.t-bleu-sable #vue-lecture .verset.actif .mushaf { color: #f3e6c8; }
body.t-bleu-sable #vue-lecture .verset.actif .mushaf span.mot-actif { color: #f2c85c; text-shadow: 0 0 10px rgba(242, 200, 92, .45); }
body.t-bleu-sable #vue-lecture .verset.actif .actions button { color: #f3e6c8; border-color: rgba(242, 200, 92, .4); }

/* ---- bordeaux ---- */
html:has(> body.t-bordeaux) { background: #1c0910; }
body.t-bordeaux .haut { background: linear-gradient(180deg, rgba(38, 11, 21, .99), rgba(38, 11, 21, .96)); border-bottom: 1px solid rgba(242, 200, 92, .3); }
body.t-bordeaux .banniere { background: radial-gradient(ellipse at top, rgba(242, 200, 92, .2), transparent 60%), linear-gradient(160deg, #4a1729, #2a0c17);
  border-color: rgba(242, 200, 92, .42); }
body.t-bordeaux .barre-audio, body.t-bordeaux .his-flottant .bouton { background: rgba(38, 11, 21, .95); }
body.t-bordeaux .etoile rect, body.t-bordeaux .etoile circle { fill: #260c17; }
body.t-bordeaux .carte-sourate { border: 2px solid rgba(242, 200, 92, .55); box-shadow: 0 4px 12px rgba(242, 200, 92, .18); }
body.t-bordeaux .carte-sourate::before { border-color: rgba(168, 123, 30, .35); }
body.t-bordeaux .carte-sourate .pied span { border-color: rgba(242, 200, 92, .3); }

body.t-bordeaux { --fond: #1c0910; --carte: #2c0f1a; --texte: #f4ebe4; --discret: #cfaab5;
  background: radial-gradient(ellipse at top, #3d1322 0%, #1c0910 60%) fixed; }
body.t-bordeaux .carte-sourate { background: linear-gradient(165deg, #3a1322 0%, #260c17 100%); }
body.t-bordeaux select, body.t-bordeaux input, body.t-bordeaux .fond, body.t-bordeaux .progression { background-color: #240b15; }
/* lecture : verset lu dans un encart beige sable */
body.t-bordeaux #vue-lecture .verset.actif { background: linear-gradient(165deg, #fffaf0, #f0e2c4); border: 1px solid rgba(242, 200, 92, .6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35); border-radius: 14px; padding: 14px 12px; }
body.t-bordeaux #vue-lecture .verset.actif .mushaf { color: #3b2410; text-shadow: none; }
body.t-bordeaux #vue-lecture .verset.actif .mushaf span.mot-actif { color: #b07a0c; text-shadow: none; }
body.t-bordeaux #vue-lecture .verset.actif .trad { color: #2b2112; }
body.t-bordeaux #vue-lecture .verset.actif .actions .num-v { color: #7a6a50; }
body.t-bordeaux #vue-lecture .verset.actif .actions button { color: #3b2410; border-color: rgba(138, 98, 20, .4); }

/* ---- bordeaux-sable ---- */
html:has(> body.t-bordeaux-sable) { background: #f3e9d6; }
body.t-bordeaux-sable .haut { background: linear-gradient(180deg, rgba(38, 11, 21, .99), rgba(38, 11, 21, .96)); border-bottom: 1px solid rgba(242, 200, 92, .3); }
body.t-bordeaux-sable .banniere { background: radial-gradient(ellipse at top, rgba(242, 200, 92, .2), transparent 60%), linear-gradient(160deg, #4a1729, #2a0c17);
  border-color: rgba(242, 200, 92, .42); }
body.t-bordeaux-sable .barre-audio, body.t-bordeaux-sable .his-flottant .bouton { background: rgba(38, 11, 21, .95); }
body.t-bordeaux-sable .etoile rect, body.t-bordeaux-sable .etoile circle { fill: #4a1729; }
body.t-bordeaux-sable .carte-sourate { border: 2px solid rgba(74, 23, 41, .55); box-shadow: 0 4px 12px rgba(74, 23, 41, .18); }
body.t-bordeaux-sable .carte-sourate::before { border-color: rgba(168, 123, 30, .35); }
body.t-bordeaux-sable .carte-sourate .pied span { border-color: rgba(74, 23, 41, .3); }

body.t-bordeaux-sable { --fond: #f3e9d6; --carte: #fffaf0; --texte: #2b2112; --discret: #6f5f45; --bord: rgba(138, 98, 20, .32);
  --or: #8a6214; --or-clair: #3b2410; --danger: #b3261e; background: #f3e9d6; }
/* zones sombres : écriture claire */
body.t-bordeaux-sable .haut, body.t-bordeaux-sable .banniere, body.t-bordeaux-sable .barre-audio, body.t-bordeaux-sable .his-flottant, body.t-bordeaux-sable .fiche-nuit { --texte: #f4ece0; --discret: #c9bba5; --or: #f2c85c; --or-clair: #f7e3a8; --bord: rgba(242, 200, 92, .30); }
body.t-bordeaux-sable .haut .barre-onglets button:not(.actif), body.t-bordeaux-sable .haut .icone { background: rgba(255, 255, 255, .06); border-color: rgba(242, 200, 92, .3); color: #f4ece0; }
/* cartes et champs clairs */
body.t-bordeaux-sable .carte-sourate { background: linear-gradient(165deg, #fffaf0 0%, #f4e8d0 100%); }
body.t-bordeaux-sable .carte-sourate .ar, body.t-bordeaux-sable .banniere-ar { text-shadow: none; }
body.t-bordeaux-sable .etoile span { color: #f2c85c; }
body.t-bordeaux-sable select, body.t-bordeaux-sable input { background: #fffaf0; color: #2b2112; }
body.t-bordeaux-sable .fond, body.t-bordeaux-sable .progression { background-color: #efe3c8; }
body.t-bordeaux-sable .carte, body.t-bordeaux-sable .tafsir-bloc, body.t-bordeaux-sable .tafsir-long > summary { box-shadow: 0 2px 8px rgba(60, 40, 10, .08); }
/* boutons dorés pleins : or vif avec écriture sombre, comme avant */
body.t-bordeaux-sable .onglets button.actif, body.t-bordeaux-sable .choix-langue button.actif, body.t-bordeaux-sable .bouton.dou-fav-actif {
  background: linear-gradient(180deg, #f2c85c, #d9a93a); border-color: #d9a93a; color: #1b1404; }
body.t-bordeaux-sable .filtres button.actif { background: #4a1729; color: #f2c85c; border-color: #4a1729; }
body.t-bordeaux-sable .progression div { background: #d9a93a; }
/* couleurs claires devenues illisibles sur le sable */
body.t-bordeaux-sable .etat.terminee { color: #2e7d43; border-color: #2e7d43; }
body.t-bordeaux-sable .dou-repere { color: #4d6b55; }
body.t-bordeaux-sable .his-salut { color: #8a6214; }
body.t-bordeaux-sable .rec-ok { color: #2e8b4a; } body.t-bordeaux-sable .rec-hesite { color: #a86f00; }
body.t-bordeaux-sable .rec-remplace, body.t-bordeaux-sable .rec-oublie { color: #c0392b; }
body.t-bordeaux-sable .rec-mot small { color: #6b6255; } body.t-bordeaux-sable .rec-ajoute { color: #6b6255; }
body.t-bordeaux-sable .bouton-supprimer, body.t-bordeaux-sable .carte.corb .effacer { color: #b3261e; border-color: rgba(179, 38, 30, .45); }
body.t-bordeaux-sable .verset { border-bottom-color: rgba(138, 98, 20, .22); }
/* fond étoilé des invocations : inchangé (or vif, écriture claire) */
body.t-bordeaux-sable .fiche-nuit .verset .mushaf { color: #f2c85c; }
/* lecture : verset lu dans un encart de la couleur sombre */
body.t-bordeaux-sable #vue-lecture .verset.actif { --texte: #f4ece0; --discret: #c9bba5; --or: #f2c85c; --or-clair: #f7e3a8; --bord: rgba(242, 200, 92, .30); background: linear-gradient(165deg, #4a1729, #2a0c17); border: 1px solid rgba(242, 200, 92, .45);
  box-shadow: 0 4px 14px rgba(60, 40, 10, .3); border-radius: 14px; padding: 14px 12px; }
body.t-bordeaux-sable #vue-lecture .verset.actif .mushaf { color: #f3e6c8; }
body.t-bordeaux-sable #vue-lecture .verset.actif .mushaf span.mot-actif { color: #f2c85c; text-shadow: 0 0 10px rgba(242, 200, 92, .45); }
body.t-bordeaux-sable #vue-lecture .verset.actif .actions button { color: #f3e6c8; border-color: rgba(242, 200, 92, .4); }
