.modal-photo.book-gallery{flex-direction:column;align-items:stretch;gap:17px}.book-gallery-main{flex:1;justify-content:center;align-items:center;width:100%;min-height:0;display:flex}.book-gallery-main img{width:auto;max-width:100%;height:auto}.book-gallery-caption{color:#8f7d68;text-align:center;margin:0;font:11px/1.6 Georgia,serif}.book-gallery-thumbnails{scrollbar-width:thin;scrollbar-color:#aa8a4e transparent;gap:10px;max-width:100%;padding:4px 3px 7px;display:flex;overflow-x:auto}.book-gallery-thumbnail{opacity:.72;background:#f5f1e8;border:1px solid #c5b596;flex:0 0 64px;justify-content:center;align-items:center;width:64px;height:78px;padding:5px;display:flex}.book-gallery-thumbnail:hover{opacity:1}.book-gallery-thumbnail.active{opacity:1;border-color:#711b24;box-shadow:0 0 0 1px #711b24}.book-gallery .book-gallery-thumbnail img{object-fit:contain;width:100%;height:100%;max-height:100%;box-shadow:none}.book-photo-editor{border-top:1px solid #d6c8b1;margin-top:20px;padding-top:18px}.book-photo-editor h4{color:#711b24;margin:0 0 9px;font:18px Georgia,serif}.book-photo-editor>p{color:#97816a;margin:0 0 15px;font:11px/1.7 Arial,sans-serif}.book-photo-slot{background:#fbf7ef;border:1px solid #d6c8b1;margin:12px 0;padding:12px}.book-photo-slot-top{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px;display:flex}.book-photo-slot-top b{color:#80643d;font:12px/1.5 Georgia,serif}.book-photo-slot-top button{color:#8c6c4a;padding:3px}.book-photo-slot-preview{object-fit:contain;max-width:100%;max-height:100px;margin:0 0 12px}.book-photo-slot-empty{color:#a08b66;background:#eee5d5;align-items:center;gap:9px;margin-bottom:12px;padding:17px 10px;font-size:10px;display:flex}.book-photo-editor .book-photo-slot label{margin-bottom:12px}.book-photo-editor .add{width:100%}@media (max-width:760px){.modal-photo.book-gallery{gap:14px}.book-gallery-thumbnail{flex-basis:58px;width:58px;height:72px}.book-gallery-thumbnails{gap:8px}.book-gallery-caption{font-size:10px}}.library-tools>div{flex-wrap:wrap;min-width:0}.book-meta{column-gap:12px}.book-meta .book-tags{color:#711b24;font-weight:700}.book-meta>.book-year{flex-shrink:0}.book-year{color:#711b24;font-weight:700}.modal-copy .book-modal-meta,.modal-copy .book-modal-author,.book-card>p{font-weight:700}.modal-copy .book-condition-grade{color:#711b24;font-weight:700}.book-condition p{white-space:pre-wrap}.book-condition-field select{border:1px solid var(--line);width:100%;color:var(--ink);background:#fffdf8;border-radius:3px;padding:10px;font:13px Arial,sans-serif}.book-modal.is-book .modal-copy p,.book-modal.is-book .book-gallery-caption{color:#54473b}.book-modal.is-book .modal-copy .book-modal-meta,.book-modal.is-book .modal-copy .book-condition-grade{color:#711b24}.book-author-bio p{white-space:pre-wrap}.book-editor-entry>summary,.book-photo-order>summary{cursor:pointer;color:#711b24;font:600 14px/1.4 Georgia,serif}.book-editor-fields{margin-top:15px}.book-photo-order{background:#fbf7ef;border:1px solid #d6c8b1;margin:0 0 14px;padding:8px}.book-photo-order>p{color:#54473b;font-size:11px;line-height:1.5}.book-photo-order ol{margin:0;padding:0;list-style:none}.book-photo-order li{color:#54473b;grid-template-columns:38px minmax(0,1fr) 30px 30px;align-items:center;gap:6px;padding-block:5px;font-size:11px;display:grid}.book-photo-order li img{object-fit:contain;width:38px;height:38px}.book-photo-order li button{color:#711b24;border:1px solid #c5b596;place-items:center;min-height:30px;padding:0;display:grid}.book-photo-order li button:disabled{opacity:.4;cursor:default}.book-gallery-strip{flex-direction:column;align-items:stretch;gap:8px;min-width:0;display:flex}.book-gallery-strip .book-gallery-thumbnails{--thumbnail-gap:8px;grid-auto-flow:column;grid-auto-columns:calc((100% - 5 * var(--thumbnail-gap)) / 6);gap:var(--thumbnail-gap);scroll-snap-type:x mandatory;scrollbar-width:none;width:100%;min-width:0;padding:3px 0;display:grid}.book-gallery-strip .book-gallery-thumbnails::-webkit-scrollbar{display:none}.book-gallery-strip .book-gallery-thumbnail{aspect-ratio:1;scroll-snap-align:start;width:100%;min-width:0;height:auto;min-height:0;overflow:hidden}.book-gallery-scroll{justify-content:center;gap:6px;display:flex}.book-gallery-scroll button{color:#711b24;background:#fbf7ef;border:1px solid #c5b596;place-items:center;width:28px;height:30px;padding:0;display:grid}.book-gallery-scroll button:disabled{opacity:.35;cursor:default}@media (max-width:760px){#library .book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#library .book-image{height:auto;padding:0;display:block}#library .book-image img{aspect-ratio:1;width:100%;height:auto;box-shadow:none;padding:12px}#library .book-image:hover img{transform:none}#library .book-image>span{position:static}.book-gallery-strip{gap:5px}.book-gallery-strip .book-gallery-thumbnails{--thumbnail-gap:5px}.book-gallery-strip .book-gallery-thumbnail{padding:3px}.book-gallery-scroll button{width:25px;height:27px}}.book-editor-card{position:relative}.book-editor-card>details>summary{padding-inline-end:70px}.book-card-order{gap:5px;display:flex;position:absolute;top:11px;right:13px}.book-card-order button{color:#711b24;background:#fbf7ef;border:1px solid #c5b596;place-items:center;width:28px;height:30px;padding:0;display:grid}.book-card-order button:disabled{opacity:.35;cursor:default}.book-share{z-index:2;position:absolute;top:14px;right:56px}.book-share>button{color:#711b24;background:#f6f0e5;place-items:center;width:36px;height:36px;padding:6px;display:grid}.book-share-feedback{color:#54473b;background:#fbf7ef;border:1px solid #d6c8b1;width:max-content;max-width:min(260px,100vw - 80px);padding:6px 9px;font-size:12px;position:absolute;top:calc(100% + 4px);right:0}.book-modal.is-archive .modal-copy p{white-space:pre-line}
