/* v6.5.3 — Forest Green replaces the ivory theme UI (legacy issued ivory cards preserved).
   This CSS is last in the cascade and has no effects on general public shelves. */
.ryu-records-dialog[data-ryu-journal-theme="premium-forest"] {
 --u-panel:#142e26;--u-deep:#091b18;--u-elev:#1d3b30;--u-edge:#6f8973;
 --u-highlight:#c3b88b;--u-ink:#f2eddc;--u-muted:#c9d5c6;
 --u-button:#294b3b;--u-button-ink:#f9f3e5;--u-button-edge:#a6b69c;
 --j-paper:#10271f;--j-ink:#f2eddc;--j-gold:#d8c493;--j-edge:#829982;--j-muted:#d1d9c9;
}
.ryu-records-dialog[data-ryu-journal-theme="premium-forest"] .rr-shell {
 background:radial-gradient(ellipse at 73% 7%,#315445 0%,transparent 59%),linear-gradient(145deg,#172f27,#0b1d19)!important;
 color:var(--u-ink)!important;
}
.ryu-records-dialog[data-ryu-journal-theme="premium-forest"] :is(.rr-paper,.rr-stat,.rr-premium-card) {
 background:linear-gradient(135deg,#1c3a30,#132c25)!important;
 border-color:#668271!important;color:var(--u-ink)!important;
}
.ryu-records-dialog[data-ryu-journal-theme="premium-forest"] :is(.rr-paper h3,.rr-paper h4,.rr-timeline li span,.rr-timeline time,.rr-genre-row span,.rr-genre-row strong,.rr-stat strong,.rr-stat span,.rr-identity h3,.rr-identity dd,.rr-header h2,.rr-top,.rr-top span,.rr-cover-caption strong,.rr-profile h3) {color:var(--u-ink)!important;opacity:1!important}
.ryu-records-dialog[data-ryu-journal-theme="premium-forest"] :is(.rr-paper p,.rr-paper small,.rr-identity dt,.rr-header p,.rr-premium-small,.rr-muted,.rr-genre-row small,.rr-cover-caption small,.rr-timeline li time,.rr-stat small) {color:var(--u-muted)!important;opacity:1!important}
.ryu-records-dialog[data-ryu-journal-theme="premium-forest"] :is(.rr-buttons button,.rr-actions button,.rr-premium-card button,.rr-grade-badge,.rr-premium-seal) {background:var(--u-button)!important;color:var(--u-button-ink)!important;border:1px solid var(--u-button-edge)!important;opacity:1!important}
.ryu-records-dialog[data-ryu-journal-theme="premium-forest"] :is(.rr-profile,.rr-avatar-wrap,.rr-real-card-mini .rr-mini-card-art){border-color:var(--u-edge)!important}
.ryu-records-dialog[data-ryu-journal-theme="premium-forest"] .rr-profile[data-profile-theme="premium-forest"]{background:linear-gradient(120deg,#2a4b3b,#0e241d 82%)!important;color:var(--u-ink)!important;box-shadow:inset 0 0 0 2px #8b9a7840}
.ryu-records-dialog[data-ryu-journal-theme="premium-forest"] .rr-genre-track{background:#0c211c!important}
.ryu-records-dialog[data-ryu-journal-theme="premium-forest"] .rr-genre-track i{background:linear-gradient(90deg,#719077,#d8c493)!important}
.ryu-records-dialog[data-ryu-journal-theme="premium-forest"] .rr-paper :is(input:not([type=checkbox]),select,textarea){background:#0f241e!important;color:#f2eddc!important;border-color:#8ca58a!important}
.ryu-records-dialog .rr-theme-premium-forest {background:linear-gradient(127deg,#153b2d,#24533d 42%,#0c261d)!important;color:#f4e9cd!important;border:1px solid #a8bd9a!important}
.ryu-records-dialog .rr-theme-premium-forest span {color:#f6ecd6!important}
/* Dark custom-built forest cabinet; same five surfaces as original shelf. */
#ryu-personal-root[data-ryu-shelf-theme="forest-archive"] {
 --f-wall:#0d241e;--f-panel:#163329;--f-deep:#091e18;
 --f-ink:#f2eddb;--f-muted:#d2dccf;--f-detail:#c8ba91;
 --f-edge:#577365;--f-seam:#2a4c3e;--f-plinth:#17362b;
 --f-frame:#193c30;--f-frame-glow:#345848;
 --f-back:#122d25;--f-back-hi:#2b4b3b;
 --f-ledge-top:#456955;--f-ledge-mid:#294a39;--f-ledge-base:#102920;
 --f-button:#284b3b;--f-button-text:#f6edde;
 --v-back:#0e281f;--v-middle:#2d5944;--v-panel:#153429;--v-wall:#0b241b;
 --v-frame:#193d30;--v-edge:#7f9c81;--v-seam:#2c5742;
 --v-shelf-top:#4c7459;--v-shelf-mid:#2d523e;--v-shelf-bottom:#102a21;
 --v-text:#f7efdc;--v-muted:#d4dfcf;--v-btn:#28503d;--v-btn-text:#fbf0df;
 color:var(--v-text)!important;
}
#ryu-personal-root[data-ryu-shelf-theme="forest-archive"] :is(.ryu-personal-heading,.ryu-personal-pages,.bookcase-header) {background:linear-gradient(125deg,#10271f,#1c4231)!important;border-color:#557967!important;color:#f7efdc!important}
#ryu-personal-root[data-ryu-shelf-theme="forest-archive"] .ryu-personal-grid .bookcase-featured{background:linear-gradient(122deg,#123024,#1e4434 54%,#10291f)!important;color:#f7efdc!important;border:1px solid #6a8874!important;border-bottom:4px solid #244936!important}
#ryu-personal-root[data-ryu-shelf-theme="forest-archive"] .ryu-personal-grid .bookcase-frame{background:linear-gradient(110deg,#152f26,#345a44 32%,#10281e)!important;border:2px solid #77917b!important;box-shadow:inset 0 0 0 2px #102a21,0 18px 32px #0007!important}
#ryu-personal-root[data-ryu-shelf-theme="forest-archive"] .ryu-personal-grid .bookcase-frame .shelf-unit{background:radial-gradient(ellipse at 45% 36%,#385b44 0%,transparent 80%),linear-gradient(110deg,#09231b,#1a3c2d,#102c22)!important}
#ryu-personal-root[data-ryu-shelf-theme="forest-archive"] .ryu-personal-grid .bookcase-frame .shelf-unit::after,
#ryu-personal-root[data-ryu-shelf-theme="forest-archive"] .ryu-personal-grid .bookcase-frame .shelf-unit::before {background:linear-gradient(180deg,#57775d,#294d38 39%,#10291e)!important;box-shadow:0 5px 8px #06150f99!important}
#ryu-personal-root[data-ryu-shelf-theme="forest-archive"] :is(.ryu-personal-heading h2,.ryu-personal-heading p,.ryu-personal-pages span,.bookcase-number,.bookcase-title,.featured-head,.featured-head span,.featured-head small,.ryu-reading-position,.ryu-personal-empty,.ryu-personal-grade){color:#f7efdc!important;opacity:1!important}
#ryu-personal-root[data-ryu-shelf-theme="forest-archive"] :is(.ryu-personal-heading button,.ryu-personal-pages button,.ryu-reading-featured-item button:not(.featured-card)){background:#28503d!important;color:#f7efdc!important;border-color:#a3b699!important}
body.ryu-personal-open[data-ryu-personal-edition="forest-archive"] {--ryu-outer-0:#071a15;--ryu-outer-1:#102c23;--ryu-outer-2:#204535;--ryu-outer-glow:#315541;background:linear-gradient(115deg,#071a15,#102c23 55%,#071a15)!important}
body.ryu-personal-open[data-ryu-personal-edition="forest-archive"] #screen-shelf{background:radial-gradient(ellipse at 50% 6%,#315541,transparent 62%),linear-gradient(120deg,#081b16,#142f24 52%,#0b2019)!important}
/* Optional background thumbnails are entirely replaced by the unified picker; legacy theme untouched. */
