/* Palette commune : data-theme="demon" ou "aegis" sur <html>. Sans attribut : RAIKEN. */
:root,:root[data-theme="raiken"]{--theme-bg:#0b0811;--theme-surface:#1b1427;--theme-text:#eee8f5;--theme-muted:#c6b5d8;--theme-primary:#a86bff;--theme-secondary:#e4bdff;--theme-border:#62477f;--theme-button-text:#120a1c;color-scheme:dark}
:root[data-theme="demon"]{--theme-bg:#0c0607;--theme-surface:#1b090c;--theme-text:#f9ecec;--theme-muted:#d6b0b3;--theme-primary:#ed4655;--theme-secondary:#ff9a8e;--theme-border:#83303a;--theme-button-text:#170407;color-scheme:dark}
:root[data-theme="aegis"]{--theme-bg:#f5f8fd;--theme-surface:#fff;--theme-text:#142844;--theme-muted:#48617d;--theme-primary:#245b9d;--theme-secondary:#9b741c;--theme-border:#c4a35d;--theme-button-text:#fff;color-scheme:light}
.theme-page{background:var(--theme-bg);color:var(--theme-text);min-height:100vh}
.theme-panel{background:var(--theme-surface);border:1px solid var(--theme-border);border-radius:14px}
.theme-heading,.theme-link{color:var(--theme-primary)}
.theme-muted{color:var(--theme-muted)}
.theme-button{background:var(--theme-primary);color:var(--theme-button-text);border:0;border-radius:10px;padding:10px 16px;font-weight:700}
.theme-button:focus-visible,.theme-link:focus-visible{outline:3px solid var(--theme-secondary);outline-offset:3px}
