/* The default identity is untouched. Only explicitly selected themes override it. */
html[data-theme=vangogh]{--bg:#0c1b35;--ink:#fff0ce;--muted:#bbc9e2;--gold:#efc66d;--line:#8da6c86b;--panel:#192e50;--violet:#90b2e5;--cream:#fff0ce;--rose:#ab8242}
html[data-theme=beluga]{--bg:#102d39;--ink:#effbfb;--muted:#a8d3d8;--gold:#c8ecea;--line:#86c5cf65;--panel:#164451;--violet:#97d3dc;--cream:#effbfb;--rose:#709aab}
html[data-theme=vangogh] body,html[data-theme=vangogh] #epilogo{background:linear-gradient(180deg,#0d2349cc,#0a1a35d9),url('fondo-vangogh.png') center/cover fixed no-repeat!important;color:var(--ink)}
html[data-theme=beluga] body,html[data-theme=beluga] #epilogo{background:linear-gradient(180deg,#0b2b37c4,#0a2230de),url('fondo-beluga.png') center/cover fixed no-repeat!important;color:var(--ink)}
html[data-theme=vangogh] :is(.chapter,.card,.card-copy,.reading,.portrait,.detail-inner,#reader,.art-dialog,.chapter-nav){background:linear-gradient(135deg,#223e66e8,#102543ed)!important;border-color:#bb9d5899;color:var(--ink)}
html[data-theme=beluga] :is(.chapter,.card,.card-copy,.reading,.portrait,.detail-inner,#reader,.art-dialog,.chapter-nav){background:linear-gradient(135deg,#2b6572dd,#143c4cee)!important;border-color:#b1e5e578;color:var(--ink)}
html[data-theme=vangogh] :is(.chapter.locked,.card.locked){background:linear-gradient(135deg,#152644,#0c1b30)!important;border-style:dashed}html[data-theme=beluga] :is(.chapter.locked,.card.locked){background:linear-gradient(135deg,#173f4b,#102d39)!important;border-style:dashed}
html[data-theme=vangogh] :is(.chapter-art,.hero-art,.detail-icon,.art-icon){color:#ebc66f}html[data-theme=beluga] :is(.chapter-art,.hero-art,.detail-icon,.art-icon){color:#c4f0f3}
html[data-theme=vangogh] h1 em{color:#edc66f}html[data-theme=beluga] h1 em{color:#c7f2f2}
html:is([data-theme=vangogh],[data-theme=beluga]) :is(.intro,.hint,.subtitle,.menu-head p,.detail-inner p,.chapter p,.reading-copy p,.footer,.top-link,.reset,.progress small,.chapter .state){color:var(--muted)}
html:is([data-theme=vangogh],[data-theme=beluga]) .chapter h3{color:var(--ink)}
html[data-theme=vangogh] .primary{background:#e8ba62;color:#13243d;border-color:#e8ba62}html[data-theme=beluga] .primary{background:#b9e6e9;color:#173d4b;border-color:#b9e6e9}
html[data-theme=vangogh] .art:before,html[data-theme=vangogh] .arch{border-color:#e8ba6290}html[data-theme=beluga] .art:before,html[data-theme=beluga] .arch{border-color:#b9e6e990}
html[data-theme=vangogh] .art>svg{filter:drop-shadow(0 0 15px #edc66f36)}html[data-theme=beluga] .art>svg{filter:drop-shadow(0 0 20px #b9e6e94d)}
/* Decorative motifs on the original entry illustration and chapter cards, not on photographs. */
html[data-theme=vangogh] .art:after{inset:3%;border:1px dashed #eac46a85;border-radius:50%;transform:rotate(-12deg)}
html[data-theme=beluga] .art:after{inset:8%;border:1px solid #ccf7ff60;border-radius:50%;box-shadow:0 0 0 14px #c5f4f41a,0 0 0 28px #c5f4f40b}
html[data-theme=vangogh] .art-label:before{content:'✧  ';color:#f7d57d}html[data-theme=beluga] .art-label:before{content:'◌  ';color:#f4ffff}
html[data-theme=vangogh] .desk:before{background:radial-gradient(ellipse,#edc66f20,transparent 70%)}html[data-theme=beluga] .desk:before{background:radial-gradient(ellipse,#c7f2f220,transparent 70%)}
html:is([data-theme=vangogh],[data-theme=beluga]) :is(header .eyebrow,header p,.caption,.orn){color:var(--gold)}
html[data-theme=vangogh] .art{background:url('motivo-vangogh.svg') center/100% 100% no-repeat}html[data-theme=beluga] .art{background:url('motivo-beluga.svg') center/100% 100% no-repeat}html[data-theme=beluga] .art-label{bottom:5%}html[data-theme=vangogh] .art-label{bottom:5%}

html[data-theme=vangogh] :is(.chapter,.card,.reading,.detail-inner,#reader,.art-dialog,.chapter-nav,.reader,.paper,.cluster .paper,.desk){backdrop-filter:saturate(1.05)}
html[data-theme=beluga] :is(.chapter,.card,.reading,.detail-inner,#reader,.art-dialog,.chapter-nav,.reader,.paper,.cluster .paper,.desk){backdrop-filter:blur(1px)}
