/* A compact visual contents list. Book links use each room's normal routes. */
:root{--rr-shelf-height:76px}
.rr-bookshelf{box-sizing:border-box;position:sticky;top:0;z-index:25;display:flex;align-items:center;justify-content:center;gap:12px;min-height:var(--rr-shelf-height);padding:6px 12px;background:var(--page,#071422);border-bottom:1px solid var(--line,#33434f);isolation:isolate}
.rr-bookshelf .rr-shelf-library{flex:none;color:var(--muted,#c7d2db);font:500 11px/1.4 system-ui,sans-serif;text-decoration:none;padding:12px 2px}
.rr-bookshelf ol{display:flex;align-items:center;gap:6px;list-style:none;margin:0;padding:0;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:thin}
.rr-bookshelf li{display:block;flex:none;margin:0;padding:0}
.rr-bookshelf .rr-shelf-book{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:46px;height:64px;border:2px solid transparent;border-radius:3px;text-decoration:none}
.rr-bookshelf img{display:block;width:40px;height:60px;max-width:none;object-fit:contain;border-radius:1px;box-shadow:1px 2px 3px #0004}
.rr-bookshelf .rr-shelf-book[aria-current=page]{border-color:var(--gold,#dec395);background:var(--panel,#152b39)}
.rr-bookshelf a:hover{background:var(--panel,#152b39)}
.rr-bookshelf a:focus-visible{outline:2px solid var(--gold,#dec395);outline-offset:-2px}
@media(max-width:760px){:root{--rr-shelf-height:64px}.rr-bookshelf{padding:4px 8px;gap:8px}.rr-bookshelf ol{gap:2px}.rr-bookshelf .rr-shelf-book{width:38px;height:56px}.rr-bookshelf img{width:32px;height:48px}}
@media print{.rr-bookshelf{display:none!important}}
