/* Thème sombre « acajou & or » du blog — identique au site Next (app/dark.css).
   Activé par html[data-theme="dark"], posé par le script de functions.php (préférence partagée via localStorage). */
html[data-theme="dark"]{color-scheme:dark;--bg:#120c08;--fg:#f1e6d3;--accent:#D69635;--accent-text:#e3b04b;--muted:#b7a084;--border:#3a2a1d;--card:#1c130d;--hover:#2a1d14;--label:#b0997c;--dark:#d8c7ac}
html[data-theme="dark"] body{background:#120c08;color:#f1e6d3}
html[data-theme="dark"] ::-webkit-scrollbar-track{background:#1c130d}
html[data-theme="dark"] ::-webkit-scrollbar-thumb{background:#5a4632}
html[data-theme="dark"] ::selection{background:#e3b04b44}
html[data-theme="dark"] .site-header{background:rgba(18,12,8,.88)}
html[data-theme="dark"] .site-logo .site-name{color:#a5d494}
html[data-theme="dark"] .site-logo .site-name .tld{color:#e3b04b}
html[data-theme="dark"] .dropdown{box-shadow:0 30px 60px -30px rgba(0,0,0,.8)}
html[data-theme="dark"] .dropdown-grid .dropdown-col:first-child,html[data-theme="dark"] .dropdown-divider{border-color:#2d2017}
html[data-theme="dark"] .nav-auth,html[data-theme="dark"] .mobile-link.highlight,html[data-theme="dark"] .pagination span.current,html[data-theme="dark"] .widget-cta a{background:#5a3a1e;border-color:#5a3a1e;color:#fff}
html[data-theme="dark"] .nav-auth:hover{background:#6a4527;border-color:#6a4527}
html[data-theme="dark"] .widget-cta{background:linear-gradient(135deg,#D6963515,#241810);border-color:#D6963540}
html[data-theme="dark"] .post-card:hover{box-shadow:0 26px 50px -30px rgba(0,0,0,.9)}
html[data-theme="dark"] .mobile-menu{box-shadow:0 20px 40px -20px rgba(0,0,0,.8)}
html[data-theme="dark"] .post-category,html[data-theme="dark"] .comment-awaiting{background:#D6963526}
html[data-theme="dark"] .blog-intro-nav a:hover,html[data-theme="dark"] .ping-item a:hover{background:#D6963526}
html[data-theme="dark"] .comment-submit-btn{color:#1a0f08}
html[data-theme="dark"] .comment-form-field .required,html[data-theme="dark"] .comment-required-note .required{color:#fbbf24}
html[data-theme="dark"] .post-content img:not([src$=".svg"]),html[data-theme="dark"] .post-thumbnail img,html[data-theme="dark"] .single-thumbnail img,html[data-theme="dark"] .blog-banner{filter:brightness(.92) contrast(1.03)}
html[data-theme="dark"] .post-content table,html[data-theme="dark"] .post-content th,html[data-theme="dark"] .post-content td{border-color:#3a2a1d}
html[data-theme="dark"] .post-content th{background:#261a12}
html[data-theme="dark"] .post-content [style*="background"]{background-color:transparent!important}
html[data-theme="dark"] .post-content [style*="color"]{color:inherit!important}
html[data-theme="dark"] .post-content hr{border-color:#3a2a1d}
html[data-theme="dark"] .post-content code,html[data-theme="dark"] .post-content pre{background:#261a12;color:#f1e6d3}
/* bouton de thème */
.theme-toggle{display:none;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;padding:0;border:0;border-radius:.5rem;background:0;color:var(--muted);cursor:pointer;transition:color .15s,background .15s}
.theme-toggle:hover{color:var(--fg);background:var(--hover)}
.theme-toggle.on{display:inline-flex}
.theme-toggle svg{width:18px;height:18px}
