.book-gallery{width:100%;min-width:0;direction:ltr;background:#eee7da;color:#173f35;padding:0 0 16px;position:relative}
.book-gallery-stage{aspect-ratio:3/2;overflow:hidden;position:relative}
.book-gallery-stage::after{content:"";position:absolute;inset:16px;border:1px solid #9d7d4430;pointer-events:none}
.book-gallery-stage img{display:block;width:100%;height:100%;object-fit:contain;border-radius:0!important;max-height:none!important}
.book-gallery-views{display:flex;justify-content:center;gap:12px;padding:0 20px}
.book-gallery-views button{appearance:none;border:1px solid #173f3526;background:#f8f4ec;color:#173f35;cursor:pointer;padding:4px 4px 7px;display:flex;flex:1;max-width:125px;align-items:center;flex-direction:column;gap:6px;transition:border-color .25s,background .25s,transform .25s;font:500 10px/1.4 var(--sans,Arial,sans-serif)}
.book-gallery-views button img{width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:0!important;max-height:none!important}
.book-gallery-views button[aria-pressed="true"]{border-color:#9b7940;background:#fffaf0;box-shadow:0 2px 0 #9b7940}
.book-gallery-views button:hover{transform:translateY(-2px);border-color:#9b7940}
.book-gallery-views button:focus-visible{outline:2px solid #173f35;outline-offset:4px}
@media(max-width:760px){.book-gallery{padding-bottom:16px}.book-gallery-views{gap:8px;padding-inline:16px}.book-gallery-views button{font-size:9px}.book-gallery-stage::after{inset:10px}}
@media(prefers-reduced-motion:reduce){.book-gallery-views button{transition:none}.book-gallery-views button:hover{transform:none}}
