.library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:24px;margin:32px 0}.library-card,.book-entry,.source-entry{padding:28px;border:1px solid #dedbce;border-radius:12px;background:#fffdf6}.library-card h2{font-size:1.5rem;line-height:1.3;margin:12px 0}.library-card p{line-height:1.7}.book-entry,.source-entry{margin:24px auto;max-width:900px}.book-credit,.muted{color:#626657;font-size:.95rem}.prose,.edition-note,.archive-text,.reader-actions,.reading-nav,.crumb{max-width:800px;margin:32px auto}.prose{line-height:1.85}.edition-note{padding:24px;background:#eeede3;border-left:3px solid #8f712c;line-height:1.65}.archive-text{font-size:calc(1.125rem * var(--reader-scale,1));line-height:1.95;overflow-wrap:anywhere}.archive-text p{margin:0 0 1.4em}.archive-text h4{font-size:1.2em;margin-top:2em}.archive-text ol{font-size:.85em;padding-left:1.5em}.reader-actions,.reading-nav{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.reader-actions button,.search-panel button{border:1px solid #777f68;background:#263021;color:#fff;padding:10px 17px;border-radius:8px;cursor:pointer;font:inherit}.reading-nav{justify-content:space-between;padding-top:24px;border-top:1px solid #dedbce}.search-panel label{display:block;font-weight:600;margin:18px 0 8px}.search-panel input,.search-panel select{font:inherit;padding:14px;border:1px solid #7b816c;border-radius:8px;background:#fffdf6;max-width:100%;width:100%;color:#263021}.search-panel select{max-width:300px}.search-panel{max-width:1100px;margin:auto}.collection-feature{padding:55px 0}.sources li{margin-bottom:14px}a,button,input,select{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #977622;outline-offset:4px}@media(max-width:600px){.library-card,.book-entry,.source-entry{padding:20px}.archive-text{font-size:calc(1rem * var(--reader-scale,1))}.pageintro h1{overflow-wrap:anywhere}.edition-note{padding:18px}.reading-nav{align-items:flex-start;flex-direction:column}}[hidden]{display:none!important}
body[data-theme=dark] .library-card,body[data-theme=dark] .book-entry,body[data-theme=dark] .source-entry,body[data-theme=dark] .edition-note{background:#2e3829;color:#f4ecd5;border-color:#737c64}body[data-theme=dark] .book-credit,body[data-theme=dark] .muted{color:#d4c9b0}body[data-theme=mild] .library-card,body[data-theme=mild] .book-entry,body[data-theme=mild] .source-entry{background:#f4edda}
