:root[data-theme=dark] {
  color-scheme:dark;
  --cream:#19161f;
  --paper:#211d28;
  --ink:#eee4d4;
  --muted:#b5a99f;
  --warm:#ddbc86;
  --line:#514334;
  background:#19161f;
  color:#eee4d4;
}
:root[data-theme=light] {color-scheme:light}
[data-theme=dark] .rooms-section {
  background:radial-gradient(ellipse at 100% 0,#38253666,transparent 65%),#19161f;
}
[data-theme=dark] .archive {
  background:radial-gradient(ellipse at 85% 0,#3a293039,transparent 50%),#19161f;
  border-color:#574535;
}
[data-theme=dark] .rooms-head p,[data-theme=dark] .section-kicker,[data-theme=dark] #room-description {
  color:#c0a785;
}
[data-theme=dark] .archive h2,[data-theme=dark] .card .line {color:#f0e7d8}
[data-theme=dark] .card .poet {color:#ddba83}
[data-theme=dark] .card .poet span {color:#b1a69d}
[data-theme=dark] .card .mat {border-color:#90704e5c;box-shadow:0 8px 20px #07030e55;background:#28222c}
[data-theme=dark] .field,[data-theme=dark] .room-field,[data-theme=dark] .batch-settings select,[data-theme=dark] .pagination select {
  background:#29222e;border-color:#64513b;color:#efe2cf;
}
[data-theme=dark] .field input::placeholder,[data-theme=dark] input::placeholder {color:#b1a498;opacity:1}
[data-theme=dark] .controls .room-field select {color:#efdfc3}
[data-theme=dark] .poet-picker {background:#443145;border-color:#836149;color:#ffedce}
[data-theme=dark] .filter-chip {background:#3b2e35;border-color:#6e543b;color:#e6c796}
[data-theme=dark] .batch-settings {color:#c6b69e}
[data-theme=dark] .batch-settings[open] summary {color:#f0d2a1}
[data-theme=dark] .batch-settings label {background:#2c2430;border-color:#765c41}
[data-theme=dark] .tabs {border-color:#493d36}
[data-theme=dark] .tabs button,[data-theme=dark] .more-genres summary {background:#28232d;border-color:#514234;color:#d2c4b3}
[data-theme=dark] .tabs button span {color:#bda17a}
[data-theme=dark] .tabs button[aria-pressed=true] {background:#e2c18b;border-color:#e2c18b;color:#2c202b}
[data-theme=dark] .tabs button[aria-pressed=true] span {color:#584127}
[data-theme=dark] .extra-genres {background:#25202b;border-color:#65513a}
[data-theme=dark] .browse-action,[data-theme=dark] .pagination button,[data-theme=dark] #release,[data-theme=dark] .plain {
  background:#2e2631;border-color:#685039;color:#e7d3b3;
}
[data-theme=dark] .browse-action b {color:#ccb18a}
[data-theme=dark] .browse-action:hover {background:#493640}
[data-theme=dark] .browse-action[aria-pressed=true] {background:#d5b47e;color:#291c26}
[data-theme=dark] .browse-action[aria-pressed=true] b {color:#594125}
[data-theme=dark] .text-link,[data-theme=dark] #route-source a {color:#e2bf89}
[data-theme=dark] #poets {background:#211c28;color:#eee1ce}
[data-theme=dark] .directory-search,[data-theme=dark] #work-query {background:#2c2431;border-color:#6b553d;color:#f0e1c8}
[data-theme=dark] .directory-search input {background:transparent;color:#f0e1c8}
[data-theme=dark] .shelves button {border-color:#69523a;color:#c8b79c}
[data-theme=dark] .shelves button[aria-pressed=true] {background:#e4c591;border-color:#e4c591;color:#2d1c2b}
[data-theme=dark] .author {background:linear-gradient(120deg,#302636,#28222c);border-color:#554335;color:#eddfca}
[data-theme=dark] .author:hover {background:#453242;border-color:#a37b4e}
[data-theme=dark] .author small {color:#cfac77}
[data-theme=dark] .directory-status {color:#b9a795}
[data-theme=dark] .dir-more {background:#3a2d37;border-color:#71543c;color:#edcf9d}
[data-theme=dark] .work {border-color:#4c3d32}
[data-theme=dark] .work a,[data-theme=dark] #dir-credit a,[data-theme=dark] .index-link {color:#d9b986}
[data-theme=dark] #dir-credit {border-color:#534237;color:#b5a694}
[data-theme=dark] .detail {background:linear-gradient(120deg,#2c2531,#241e29);border-color:#7a5a3a72;color:#dfd0b8}
[data-theme=dark] .detail h2 {color:#f3e2c4}
[data-theme=dark] .detail .verse {color:#f1d6a4}
[data-theme=dark] .reader-top .eyebrow,[data-theme=dark] .detail #context {color:#bda78b}
[data-theme=dark] .reading#meaning-box {background:#3b2f35;border-color:#88623d;color:#ead9bc}
[data-theme=dark] .reading a,[data-theme=dark] .links a,[data-theme=dark] .links button {color:#ddbd88}
[data-theme=dark] .lives-section {background:linear-gradient(130deg,#261e2b,#1b1722)}
[data-theme=dark] .profile-atlas,[data-theme=dark] #poet-profile {background:#211c28;color:#eadfcf}
[data-theme=dark] .profile-intro,[data-theme=dark] .profile-poetry,[data-theme=dark] .profile-sources {border-color:#5d4936}
[data-theme=dark] .profile-intro h2,[data-theme=dark] .profile-atlas h3,[data-theme=dark] .profile-poetry h3 {color:#f1dfbf}
[data-theme=dark] #profile-bio {color:#d6c8b8}
[data-theme=dark] #profile-dates,[data-theme=dark] .map-heading p,[data-theme=dark] .profile-sources p {color:#bfa987}
[data-theme=dark] .profile-monogram {background:radial-gradient(ellipse,#63434055,transparent 70%);color:#bc94535c}
[data-theme=dark] .map-modes button,[data-theme=dark] .profile-actions button,[data-theme=dark] .profile-actions a {background:#322735;border-color:#73553b;color:#e5c694}
[data-theme=dark] .map-modes button[aria-pressed=true] {background:#d9b981;color:#2e202a}
[data-theme=dark] .map-stage {background:#1a1720;border-color:#6d5239}
[data-theme=dark] .life-station {background:#2b232e;border-color:#534332;color:#d0c1aa}
[data-theme=dark] .life-station[aria-current=true] {background:#49323d;border-color:#c19a60;color:#ffdfab}
[data-theme=dark] .station-detail {background:#322733;border-color:#69503a;color:#dfceb2}
[data-theme=dark] .station-detail a,[data-theme=dark] .profile-sources a {color:#e4be83}
[data-theme=dark] .poetry-preview {border-color:#5c4634;background:#29222e;color:#eedbb9}
.theme-toggle {bottom:65px}
@media(max-width:760px){.theme-toggle{bottom:60px}}
