.reader-dialog {
  color: #192237; background: #fffefa; border: 1px solid #d7d6cf; border-radius: 12px;
  width: min(600px, calc(100% - 24px)); max-height: 84vh; max-height: 84dvh; padding: 0; margin: auto;
  box-shadow: 0 16px 60px #0d192944; overflow: auto; overscroll-behavior: contain;
}
.reader-dialog::backdrop { background: #0d1929ab; }
.reader-dialog-bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 18px; background: #fffefa; border-bottom: 1px solid #dfded6; }
.reader-dialog-bar h2 { margin: 0; font: 600 1.1rem/1.4 system-ui, sans-serif; }
.reader-close { min-width: 48px; min-height: 44px; padding: 4px 8px; background: transparent; border: 0; color: #4b4f5d; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.reader-dialog-content { padding: 18px; overflow-wrap: anywhere; }
.reader-dialog-content a { text-decoration: underline; }
.reader-enlargement { display: block; margin-inline: auto; max-width: 100%; width: auto; height: auto; max-height: 62vh; max-height: 62dvh; object-fit: contain; }
.reader-photo-caption, .reader-condition { margin: 12px 0 0; font-size: .875rem; line-height: 1.55; color: #48556a; }
.reader-product { display: flex; flex-wrap: wrap; gap: 17px; align-items: start; }
.reader-product > img { width: 130px; max-height: 170px; height: auto; object-fit: contain; }
.reader-product-info { flex: 1 1 185px; }
.reader-product-info h3 { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.4; }
.reader-product-info p { margin: 8px 0 0; font-size: .9rem; line-height: 1.55; }
.reader-options { margin-top: 18px; }
.reader-options summary { cursor: pointer; }
.reader-options ul { padding-left: 18px; line-height: 1.6; }
body:has(.reader-dialog[open]) { overflow: hidden; }
.reader-collection { margin: 12px 0 16px; padding: 0; list-style: none; }
.reader-collection li { border-bottom: 1px solid #e3dfd4; }
.reader-collection button, .reader-return { width: 100%; padding: 10px 0; min-height: 44px; background: none; border: 0; color: #354c69; font: inherit; text-align: left; cursor: pointer; }
.reader-return { width: auto; text-decoration: underline; margin: 0 0 10px; }
.reader-collection button:hover, .reader-collection button:focus-visible { text-decoration: underline; }
