/* Palette claire, activée explicitement ou selon le système en mode Automatique. */
:root[data-gd-theme="light"] body.gdr,
:root[data-gd-theme="light"] body.gd-podcast{--bg:#f5f6fc;--panel:#fff;--panel2:#f0edfa;--text:#24213b;--muted:#535c70;--violet:#6847b5;--purple:#6847b5;--cyan:#087d80;--border:#dcd8eb;--line:#dcd8eb;background:radial-gradient(ellipse 60% 35% at 5% 0%,#e9e1fc 0%,transparent 75%),radial-gradient(ellipse 50% 40% at 100% 15%,#dff6f2 0%,transparent 80%),#f5f6fc;color:#24213b}
:root[data-gd-theme="light"] body.gdr #header,
:root[data-gd-theme="light"] body.gd-podcast .top{background:#ffffffed;border-bottom:1px solid #ded9ed;color:#25213b}
:root[data-gd-theme="light"] body.gdr #header nav a,
:root[data-gd-theme="light"] body.gd-podcast nav{color:#48415f}
:root[data-gd-theme="light"] body.gdr .category,
:root[data-gd-theme="light"] body.gdr .episode,
:root[data-gd-theme="light"] body.gdr .gd-info-card,
:root[data-gd-theme="light"] body.gdr .gd-info-steps article,
:root[data-gd-theme="light"] body.gdr .about,
:root[data-gd-theme="light"] body.gd-podcast .episode,
:root[data-gd-theme="light"] body.gd-podcast .choice,
:root[data-gd-theme="light"] body.gd-podcast .card{background:#fff;color:#24213b;border-color:#dcd8eb;box-shadow:0 6px 22px #2e1c6410}
:root[data-gd-theme="light"] body.gdr .feature,
:root[data-gd-theme="light"] body.gdr .gd-info-feature,
:root[data-gd-theme="light"] body.gdr .gd-info-cta,
:root[data-gd-theme="light"] body.gd-podcast .page-banner{background:linear-gradient(120deg,#ede5fc,#ddf3f1);border-color:#cfc2e8;color:#24213b}
:root[data-gd-theme="light"] body.gdr .gd-info-card ul,
:root[data-gd-theme="light"] body.gdr .about p,
:root[data-gd-theme="light"] body.gdr .about li,
:root[data-gd-theme="light"] body.gd-podcast .page-banner p{color:#535c70}
:root[data-gd-theme="light"] body.gdr .tag{color:#5c419c;border-color:#b8a5e1}
:root[data-gd-theme="light"] body.gdr .meta-date{color:#596174}
:root[data-gd-theme="light"] body.gdr .outline-pill{border-color:#8977b5;color:#433475}
:root[data-gd-theme="light"] body.gdr .brand-logo,
:root[data-gd-theme="light"] body.gd-podcast .brand-logo,
:root[data-gd-theme="light"] body.gd-podcast .banner-logo{background:linear-gradient(135deg,#e3d8fa,#d4efef);border-color:#b6a4df}
:root[data-gd-theme="light"] body.gdr .player-caption{background:#fff;color:#342b55;border-color:#b5a8d2;box-shadow:0 8px 25px #241a4326}
:root[data-gd-theme="light"] body.gdr #cs_audioplayer{background:#fdfcff!important;color:#24213b!important;border-top-color:#b9a7df!important;box-shadow:0 -8px 30px #33225b18}
:root[data-gd-theme="light"] body.gdr .cs_audio_bar{background:#d3cce4!important}
:root[data-gd-theme="light"] body.gdr .footer{color:#535c70}
:root[data-gd-theme="light"] body.gd-podcast .back{color:#5c536e}
:root[data-gd-theme="light"] body.gd-podcast .eyebrow{color:#087d80}
/* Administration */
:root[data-gd-theme="dark"] body.gd-admin{background:#0c1020;color:#f2f0ff}
:root[data-gd-theme="dark"] body.gd-admin .panel{background:#1b2237;color:#f2f0ff;box-shadow:0 4px 20px #0003}
:root[data-gd-theme="dark"] body.gd-admin .hint{color:#b6c0d4}
:root[data-gd-theme="dark"] body.gd-admin input:not([type=checkbox]):not([type=radio]),:root[data-gd-theme="dark"] body.gd-admin textarea,:root[data-gd-theme="dark"] body.gd-admin select{background:#11182a;color:#f2f0ff;border-color:#4a526b}
:root[data-gd-theme="dark"] body.gd-admin .filelist a{color:#a4e9e5}
:root[data-gd-theme="dark"] body.gd-admin .filelist a.active,:root[data-gd-theme="dark"] body.gd-admin .filelist a:hover{background:#303853}
:root[data-gd-theme="dark"] body.gd-admin .section-title{border-color:#414961}
:root[data-gd-theme="dark"] body.gd-admin .section-fold{background:#161d31}
:root[data-gd-theme="light"] body.gd-admin .section-fold{background:#f8f7fc;border-color:#dcd8eb}
:root[data-gd-theme="light"] body.gd-admin .section-fold summary{color:#29243c}
:root[data-gd-theme="light"] body.gd-admin .section-fold summary:hover{background:#ece8f7}
:root[data-gd-theme="light"] body.gd-admin .section-fold summary small{color:#656071}
@media(prefers-color-scheme:light){:root[data-gd-theme="auto"] body.gdr,:root[data-gd-theme="auto"] body.gd-podcast{--bg:#f5f6fc;--panel:#fff;--panel2:#f0edfa;--text:#24213b;--muted:#535c70;--violet:#6847b5;--purple:#6847b5;--cyan:#087d80;--border:#dcd8eb;--line:#dcd8eb;background:#f5f6fc;color:#24213b}
:root[data-gd-theme="auto"] body.gdr #header,:root[data-gd-theme="auto"] body.gd-podcast .top{background:#ffffffed;color:#25213b}
:root[data-gd-theme="auto"] body.gdr .category,:root[data-gd-theme="auto"] body.gdr .episode,:root[data-gd-theme="auto"] body.gdr .gd-info-card,:root[data-gd-theme="auto"] body.gdr .gd-info-steps article,:root[data-gd-theme="auto"] body.gdr .about,:root[data-gd-theme="auto"] body.gd-podcast .episode{background:#fff;color:#24213b;border-color:#dcd8eb}
:root[data-gd-theme="auto"] body.gdr .feature,:root[data-gd-theme="auto"] body.gdr .gd-info-feature,:root[data-gd-theme="auto"] body.gdr .gd-info-cta,:root[data-gd-theme="auto"] body.gd-podcast .page-banner{background:linear-gradient(120deg,#ede5fc,#ddf3f1);color:#24213b}
:root[data-gd-theme="auto"] body.gdr #cs_audioplayer{background:#fdfcff!important;color:#24213b!important}
:root[data-gd-theme="auto"] body.gdr .player-caption{background:#fff;color:#342b55}
:root[data-gd-theme="auto"] body.gd-admin .section-fold{background:#f8f7fc;border-color:#dcd8eb}
:root[data-gd-theme="auto"] body.gd-admin .section-fold summary{color:#29243c}
:root[data-gd-theme="auto"] body.gd-admin .section-fold summary small{color:#656071}
}

/* Automatique : mêmes couleurs que le mode Clair si le système est clair. */
@media(prefers-color-scheme:light){
/* Palette claire, activée explicitement ou selon le système en mode Automatique. */
:root[data-gd-theme="auto"] body.gdr,
:root[data-gd-theme="auto"] body.gd-podcast{--bg:#f5f6fc;--panel:#fff;--panel2:#f0edfa;--text:#24213b;--muted:#535c70;--violet:#6847b5;--purple:#6847b5;--cyan:#087d80;--border:#dcd8eb;--line:#dcd8eb;background:radial-gradient(ellipse 60% 35% at 5% 0%,#e9e1fc 0%,transparent 75%),radial-gradient(ellipse 50% 40% at 100% 15%,#dff6f2 0%,transparent 80%),#f5f6fc;color:#24213b}
:root[data-gd-theme="auto"] body.gdr #header,
:root[data-gd-theme="auto"] body.gd-podcast .top{background:#ffffffed;border-bottom:1px solid #ded9ed;color:#25213b}
:root[data-gd-theme="auto"] body.gdr #header nav a,
:root[data-gd-theme="auto"] body.gd-podcast nav{color:#48415f}
:root[data-gd-theme="auto"] body.gdr .category,
:root[data-gd-theme="auto"] body.gdr .episode,
:root[data-gd-theme="auto"] body.gdr .gd-info-card,
:root[data-gd-theme="auto"] body.gdr .gd-info-steps article,
:root[data-gd-theme="auto"] body.gdr .about,
:root[data-gd-theme="auto"] body.gd-podcast .episode,
:root[data-gd-theme="auto"] body.gd-podcast .choice,
:root[data-gd-theme="auto"] body.gd-podcast .card{background:#fff;color:#24213b;border-color:#dcd8eb;box-shadow:0 6px 22px #2e1c6410}
:root[data-gd-theme="auto"] body.gdr .feature,
:root[data-gd-theme="auto"] body.gdr .gd-info-feature,
:root[data-gd-theme="auto"] body.gdr .gd-info-cta,
:root[data-gd-theme="auto"] body.gd-podcast .page-banner{background:linear-gradient(120deg,#ede5fc,#ddf3f1);border-color:#cfc2e8;color:#24213b}
:root[data-gd-theme="auto"] body.gdr .gd-info-card ul,
:root[data-gd-theme="auto"] body.gdr .about p,
:root[data-gd-theme="auto"] body.gdr .about li,
:root[data-gd-theme="auto"] body.gd-podcast .page-banner p{color:#535c70}
:root[data-gd-theme="auto"] body.gdr .tag{color:#5c419c;border-color:#b8a5e1}
:root[data-gd-theme="auto"] body.gdr .meta-date{color:#596174}
:root[data-gd-theme="auto"] body.gdr .outline-pill{border-color:#8977b5;color:#433475}
:root[data-gd-theme="auto"] body.gdr .brand-logo,
:root[data-gd-theme="auto"] body.gd-podcast .brand-logo,
:root[data-gd-theme="auto"] body.gd-podcast .banner-logo{background:linear-gradient(135deg,#e3d8fa,#d4efef);border-color:#b6a4df}
:root[data-gd-theme="auto"] body.gdr .player-caption{background:#fff;color:#342b55;border-color:#b5a8d2;box-shadow:0 8px 25px #241a4326}
:root[data-gd-theme="auto"] body.gdr #cs_audioplayer{background:#fdfcff!important;color:#24213b!important;border-top-color:#b9a7df!important;box-shadow:0 -8px 30px #33225b18}
:root[data-gd-theme="auto"] body.gdr .cs_audio_bar{background:#d3cce4!important}
:root[data-gd-theme="auto"] body.gdr .footer{color:#535c70}
:root[data-gd-theme="auto"] body.gd-podcast .back{color:#5c536e}
:root[data-gd-theme="auto"] body.gd-podcast .eyebrow{color:#087d80}

}
