/* Accents de marque : le fond de la page reste noir dans chaque variante. */
:root[data-theme="blue"]{--accent:#216bff;--theme-rgb:33 107 255;--theme-ink:#d7e3ff;--theme-muted:#9daac2;--theme-button-ink:#000;--theme-hover:#5b92ff;--ligne:#20293b;--texte:#edf2ff}
:root[data-theme="mono"]{--accent:#fff;--theme-rgb:255 255 255;--theme-ink:#eee;--theme-muted:#a4a4a4;--theme-button-ink:#000;--theme-hover:#d9d9d9;--ligne:#292929;--texte:#eee}
:root:is([data-theme="blue"],[data-theme="mono"]){--discret:var(--theme-muted)}
:root:is([data-theme="blue"],[data-theme="mono"]) ::selection{background:var(--accent);color:#000}
:root:is([data-theme="blue"],[data-theme="mono"]) .trame{background-image:radial-gradient(rgb(var(--theme-rgb)/.45) .7px,transparent .7px)}
:root:is([data-theme="blue"],[data-theme="mono"]) .orbite{border-color:rgb(var(--theme-rgb)/.32)}
:root:is([data-theme="blue"],[data-theme="mono"]) .orbite-interieure{border-color:rgb(var(--theme-rgb)/.17)}
:root:is([data-theme="blue"],[data-theme="mono"]) .orbite-exterieure::after{background:var(--accent);box-shadow:0 0 14px rgb(var(--theme-rgb)/.4)}
:root:is([data-theme="blue"],[data-theme="mono"]) .orbite-exterieure i{border-color:rgb(var(--theme-rgb)/.6)}
:root:is([data-theme="blue"],[data-theme="mono"]) .logo-scene img{filter:drop-shadow(0 0 32px rgb(var(--theme-rgb)/.08))}
:root:is([data-theme="blue"],[data-theme="mono"]) .embleme-signature{color:var(--accent)}
:root:is([data-theme="blue"],[data-theme="mono"]) :is(.marque span,.eyebrow){color:var(--accent)}
:root:is([data-theme="blue"],[data-theme="mono"]) .hero-lien{border-color:rgb(var(--theme-rgb)/.4)}
:root:is([data-theme="blue"],[data-theme="mono"]) :is(.nav-projets,.nav-discord,.nav-compte,.pied a,.pied>span:first-child){color:var(--theme-ink)}
:root:is([data-theme="blue"],[data-theme="mono"]) :is(.nav-projets,.nav-discord,.nav-compte):hover{color:var(--accent)}
:root:is([data-theme="blue"],[data-theme="mono"]) :is(.nav-compte,.langue-select){border-color:rgb(var(--theme-rgb)/.23);background:#080808}
:root:is([data-theme="blue"],[data-theme="mono"]) .langues{color:var(--theme-muted)}
:root:is([data-theme="blue"],[data-theme="mono"]) .langue-select:focus-visible{outline-color:var(--accent)}
:root:is([data-theme="blue"],[data-theme="mono"]) .langue-select option{background:#080808;color:var(--theme-ink)}
:root:is([data-theme="blue"],[data-theme="mono"]) :is(.compte-accueil,.soutien-dialog){background:#080808;border-color:rgb(var(--theme-rgb)/.28)}
:root:is([data-theme="blue"],[data-theme="mono"]) :is(.compte-form label,.compte-tete button,.compte-jeu,.soutien-description,.soutien-label,.soutien-fermer){color:var(--theme-ink)}
:root:is([data-theme="blue"],[data-theme="mono"]) :is(.compte-note,.compte-separation,.soutien-note){color:var(--theme-muted)}
:root:is([data-theme="blue"],[data-theme="mono"]) :is(.compte-form input,#soutien-montant,.soutien-dialog button:not(.soutien-fermer)){border-color:rgb(var(--theme-rgb)/.28)}
:root:is([data-theme="blue"],[data-theme="mono"]) .compte-principal,
:root:is([data-theme="blue"],[data-theme="mono"]) .soutien-dialog button.soutien-principal{background:var(--accent);border-color:var(--accent);color:var(--theme-button-ink)}
:root:is([data-theme="blue"],[data-theme="mono"]) .compte-principal:hover,
:root:is([data-theme="blue"],[data-theme="mono"]) .soutien-dialog button.soutien-principal:hover{background:var(--theme-hover);border-color:var(--theme-hover)}
:root:is([data-theme="blue"],[data-theme="mono"]) .compte-discord{background:rgb(var(--theme-rgb)/.07);border-color:rgb(var(--theme-rgb)/.3);color:var(--theme-ink)}
:root:is([data-theme="blue"],[data-theme="mono"]) .compte-discord:hover{background:rgb(var(--theme-rgb)/.12)}
:root:is([data-theme="blue"],[data-theme="mono"]) :is(.compte-separation::before,.compte-separation::after){background:rgb(var(--theme-rgb)/.17)}
:root:is([data-theme="blue"],[data-theme="mono"]) .compte-jeu{border-color:rgb(var(--theme-rgb)/.17)}
:root:is([data-theme="blue"],[data-theme="mono"]) .compte-avatar{background:rgb(var(--theme-rgb)/.08);border-color:rgb(var(--theme-rgb)/.3)}
:root:is([data-theme="blue"],[data-theme="mono"]) .soutien-dialog .soutien-montants button[aria-pressed="true"]{background:rgb(var(--theme-rgb)/.09);border-color:var(--accent);color:var(--accent)}
/* Les images et les couleurs propres aux jeux gardent leur identité. */
:root:is([data-theme="blue"],[data-theme="mono"]) .carte:not(.carte-botw):not(.carte-totk){border-color:rgb(var(--theme-rgb)/.22);background:rgb(var(--theme-rgb)/.035)}
:root:is([data-theme="blue"],[data-theme="mono"]) .carte-fleche{border-color:rgb(var(--theme-rgb)/.25);background:rgb(var(--theme-rgb)/.04);color:var(--theme-ink)}
:root:is([data-theme="blue"],[data-theme="mono"]) .carte-totk{background:#0b0b0b;border-color:#343434}
:root:is([data-theme="blue"],[data-theme="mono"]) .carte-bientot{border-color:rgb(var(--theme-rgb)/.24);background:rgb(var(--theme-rgb)/.04);color:var(--theme-muted)}
:root:is([data-theme="blue"],[data-theme="mono"]) .carte-totk :is(.carte-titre,.carte-resume){color:var(--theme-muted)}
:root:is([data-theme="blue"],[data-theme="mono"]) :is(.carte-meta,.carte-meta span:first-child,.carte-modes,.carte-action){color:var(--theme-ink)}
:root:is([data-theme="blue"],[data-theme="mono"]) .carte-modes span+span::before{color:var(--theme-muted)}
/* Liens de la page Legal lorsqu'on y vient depuis l'accueil. */
:root:is([data-theme="blue"],[data-theme="mono"]) body:has(main>#fr) a{color:var(--accent)}
:root:is([data-theme="blue"],[data-theme="mono"]) body:has(main>#fr) th{color:var(--accent)}
