body[data-book="1"]{--bg:#19130f;--panel:#292019;--raised:#36291f;--gold:#e0b17a;--accent:#e0b17a;--muted:#c3b5a5;--glow:#6f422b;--ink:#f8ecdf;background:var(--bg)}
body[data-book="2"]{--bg:#091b1d;--panel:#112d30;--raised:#183b3d;--gold:#dfc18a;--accent:#dfc18a;--muted:#b0c7c5;--glow:#246b6c;--ink:#eef4e9;background:var(--bg)}
body[data-book="3"]{--bg:#0b2016;--panel:#163425;--raised:#214633;--gold:#e0c37a;--accent:#e0c37a;--muted:#b9cbb8;--glow:#357546;--ink:#f6efdb;background:var(--bg)}
body[data-book="4"]{--bg:#14080b;--panel:#2b1017;--raised:#3c1720;--gold:#ed929d;--accent:#ed929d;--muted:#cfb0b5;--glow:#8a1e34;--ink:#f9e9e8;background:var(--bg)}
body[data-book="5"]{--bg:#1c170c;--panel:#302813;--raised:#44381c;--gold:#e6bc64;--accent:#e6bc64;--muted:#c8bda0;--glow:#806120;--ink:#f6edda;background:var(--bg)}
body[data-book="6"]{--bg:#0b1827;--panel:#142c43;--raised:#1d3b56;--gold:#b6d6ed;--accent:#b6d6ed;--muted:#b3c4d4;--glow:#315f88;--ink:#eef4fa;background:var(--bg)}
body[data-book="7"]{--bg:#16132c;--panel:#272143;--raised:#342c56;--gold:#e7cb83;--accent:#e7cb83;--muted:#c1bad8;--glow:#4b3e83;--ink:#f6f0e3;background:var(--bg)}
body[data-book="8"]{--bg:#221326;--panel:#38213e;--raised:#4a2d51;--gold:#e0bde7;--accent:#e0bde7;--muted:#d0b9d1;--glow:#72457f;--ink:#f9eef7;background:var(--bg)}

body[data-book]:not([data-book=""]) .masthead,body[data-book]:not([data-book=""]) .rail{background:var(--bg)}
body[data-book]:not([data-book=""]) .hero:after{background:linear-gradient(0deg,var(--bg),transparent 90%),linear-gradient(90deg,color-mix(in srgb,var(--bg) 85%,transparent),transparent)}
body[data-book]:not([data-book=""]) :is(.chapter-card,.journey-card,.person-card,.region,.context-box,.family-person,dialog,.filters input,.filters select,.field,.portrait-stage figcaption){background:var(--panel)}
body[data-book]:not([data-book=""]) :is(.chapter-card .picture,.person-card .portrait){background:var(--raised)}
body[data-book]:not([data-book=""]) .unpainted{background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--glow) 65%,transparent),transparent),var(--panel)}
body[data-book]:not([data-book=""]) .family-stage{background:radial-gradient(ellipse at center,color-mix(in srgb,var(--glow) 45%,transparent),transparent 70%),var(--bg)}
body[data-book]:not([data-book=""]) .family-person.focus{background:var(--raised)}
body[data-book]:not([data-book=""]) .button:hover{background:color-mix(in srgb,var(--accent) 9%,transparent);border-color:var(--accent)}
body[data-book]:not([data-book=""]) .button.primary{background:var(--accent);color:var(--bg)}
body[data-book]:not([data-book=""]) .notice{background:color-mix(in srgb,var(--accent) 5%,transparent)}
body[data-book]:not([data-book=""]) :is(.reader-hero img,.chapter-card .saved){background:var(--bg)}
body[data-book]:not([data-book=""]) .chapter-card:hover{border-color:var(--accent)}
.scroll-song .song-kind{color:#615336}.scroll-song blockquote{margin:24px 0;font:19px/1.65 var(--serif);white-space:pre-line}.scroll-song .song-context{font:14px/1.7 var(--sans)}
.journey-scene{margin:22px 0}.journey-scene img{aspect-ratio:16/9;object-fit:cover}.journey-scene figcaption{font-size:12px;color:var(--muted);padding-top:10px}
.journey-route{display:grid;gap:28px;margin:28px 0}.journey-stop .actions{margin-top:22px}.scroll-song .button:hover{background:#90734320!important;border-color:#65502d!important}
