/* Tema compartido. Fotografías y logo conservan sus píxeles. */
html[data-theme="dark"]{color-scheme:dark;--paper:#1c1f1d;--ink:#f5f3eb;--muted:#c1cbbf;--line:#65776a;--clay:#e1a080}
html[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
html[data-theme="dark"] .draft{background:#203b31}
html[data-theme="dark"] .intro,html[data-theme="dark"] .branch p{color:var(--muted)}
html[data-theme="dark"] .newsletter-preview,html[data-theme="dark"] #newsletter-invitation{background:#e5e8d9}
html[data-theme="dark"] .project,html[data-theme="dark"] .card-image-pending,html[data-theme="dark"] .editorial-card .card-art img{background:#e8ecdf}
html[data-theme="dark"] .newsletter-preview,html[data-theme="dark"] #newsletter-invitation,html[data-theme="dark"] .project,html[data-theme="dark"] .card-image-pending{--paper:#f5f3eb;--ink:#203b31;--muted:#516257;--line:#d4d8cc;--clay:#b96742;color:#203b31;color-scheme:light}
html[data-theme="dark"] .newsletter-controls input,html[data-theme="dark"] .newsletter-controls input::placeholder{color:var(--ink)}
html[data-theme="dark"] .editorial-card .card-intro{color:var(--ink)}
html[data-theme="dark"] .button{background:#203b31;color:#f5f3eb;border:1px solid #65776a}
html[data-theme="dark"] .button:hover{background:#345b48;color:#f5f3eb}
html[data-theme="dark"] nav a:hover,html[data-theme="dark"] nav a:focus-visible{background:#e5e8d9;box-shadow:0 0 0 8px #e5e8d9;color:#203b31}
html[data-theme="dark"] .editorial-card a:hover{color:#e1a080}
html[data-theme="dark"] .home-header .theme-disc{background:linear-gradient(90deg,#17241f 50%,#f5f3eb 50%)}
.home-header .header-tools #theme-toggle{cursor:pointer}

/* Mantener el verde aprobado; aclarar solo el Partenón en modo oscuro. */
html[data-theme="dark"] .popular-topics{background:#203b31;color:#f5f3eb;color-scheme:light}
html[data-theme="dark"] .popular-topics .popular-topics-watermark{filter:grayscale(1) brightness(1.8);opacity:.24}
@media(max-width:600px){html[data-theme="dark"] .popular-topics .popular-topics-watermark{opacity:.20}}

/* Controles y superficies interiores; el texto editorial no se altera. */
.essay-page>header{height:auto;min-height:100px;flex-wrap:wrap;gap:14px;padding-block:16px}
.shared-theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;padding:10px;border:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer}
.shared-theme-toggle .theme-disc{display:block;width:21px;height:21px;border:1.5px solid currentColor;border-radius:50%;background:linear-gradient(90deg,#203b31 50%,#f5f3eb 50%)}
html[data-theme="dark"] .essay-page article a{color:#bdd6c1}
html[data-theme="dark"] .essay-page article a:hover{color:#e1a080}
html[data-theme="dark"] .film-page .spoiler-note{background:#28352e;color:var(--ink)}
html[data-theme="dark"] .video-page .video-load{background:#28352e;color:var(--ink)}
html[data-theme="dark"] .video-page article .youtube-channel,html[data-theme="dark"] .video-page .video-load button{background:#203b31;color:#f5f3eb;border:1px solid #65776a}
html[data-theme="dark"] .video-page article .youtube-channel:hover{background:#345b48}
html[data-theme="dark"] .video-page .series-list>li{background:#28352e;border-color:#65776a}
@media(max-width:760px){.essay-page>header{min-height:80px;gap:12px}.essay-page>header .about-link{white-space:normal;min-width:0}.shared-theme-toggle{margin-left:auto}}
@media print{html[data-theme="dark"]{--paper:#fff;--ink:#203b31;--muted:#516257;--line:#d4d8cc;--clay:#b96742;color-scheme:light}html[data-theme="dark"] .essay-page article a{color:#315d4b}.shared-theme-toggle{display:none}}
