.library-actions{display:flex;align-items:center;gap:20px;margin-top:25px;flex-wrap:wrap}.library-actions>span{font-size:11px;color:#695538}.library-actions button{min-height:44px}.shelf-heading{margin-bottom:4vh}
#new-book-dialog{width:min(440px,92vw);box-sizing:border-box;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:3px;padding:28px}#new-book-dialog h2{font:24px/1.6 var(--serif)}#new-book-dialog label{display:block;margin:18px 0 8px;font-size:13px}#new-book-dialog input{box-sizing:border-box;width:100%;padding:12px;border:1px solid #ad9570;background:#f1e6ce;color:var(--ink);font:inherit}#new-book-error{font-size:12px;line-height:1.6}#new-book-dialog::backdrop{background:#392b1d88}.storage-protection{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}.storage-protection p,#connection-note{font-size:12px;line-height:1.8}
.thumb img,.row-image{object-fit:contain}.reader-tools button,.heading-actions button,#return-shelf{min-height:44px}.reader-tools{flex-wrap:wrap}.on-bookshelf .toast{z-index:2000}
@media(max-width:700px){.library-actions{gap:12px;margin-top:18px}.library-actions>span{flex-basis:100%;line-height:1.6}#bookshelf{padding-top:30px}.shelf-heading{margin-bottom:24px}.reader-bottom{display:flex;justify-content:space-between;flex-wrap:wrap}.reader-bottom .controls{margin-left:auto}.heading-actions{max-width:115px}}
@media(forced-colors:active){.shelf-volume{border:1px solid ButtonText}#reading-ribbon{background:ButtonFace;color:ButtonText;border:1px solid ButtonText}}
