/* Scoped to the three sample articles; no shared stylesheet changes. */
.reader-section-actions { display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; margin:-12px 0 20px; font:14px/1.5 var(--sans, sans-serif); }
.reader-tool-button { appearance:none; border:1px solid currentColor; border-radius:3px; padding:9px 12px; min-height:44px; background:#fdfbf9; color:#2b1a07; font:inherit; cursor:pointer; }
.reader-tool-button:hover { background:#f2ebe3; }
.reader-tool-button:focus-visible, .reader-image-link:focus-visible, .reader-image-scroll:focus-visible, .reader-copy-fallback input:focus-visible { outline:3px solid #a44200; outline-offset:4px; }
.reader-tool-status { color:#514638; }
.reader-copy-fallback { flex-basis:100%; font-size:14px; }
.reader-copy-fallback[hidden] { display:none; }
.reader-copy-fallback input { display:block; box-sizing:border-box; width:100%; min-width:0; margin-top:6px; padding:10px; min-height:44px; font:14px/1.5 var(--sans, sans-serif); color:#2b1a07; background:#fff; border:1px solid #514638; }
.reader-image-link { display:block; position:relative; color:inherit; cursor:zoom-in; }
.reader-image-link .media-image { display:block; }
.reader-image-hint { display:block; padding:9px 0 3px; min-height:24px; font:14px/1.5 var(--sans, sans-serif); text-decoration:underline; text-underline-offset:4px; }
.reader-image-dialog { box-sizing:border-box; width:min(1100px,calc(100vw - 24px)); max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); border:1px solid #171717; border-radius:4px; padding:16px; color:#2b1a07; background:#fdfbf9; }
.reader-image-dialog::backdrop { background:rgb(23 23 23 / .7); }
.reader-image-toolbar { display:flex; justify-content:space-between; gap:12px; margin-bottom:12px; font:14px/1.5 var(--sans,sans-serif); }
.reader-image-scroll { overflow:auto; max-height:65vh; max-height:65dvh; overscroll-behavior:contain; }
.reader-image-scroll img { display:block; width:auto; height:auto; max-width:100%; max-height:60vh; max-height:60dvh; margin:auto; object-fit:contain; }
.reader-image-fullsize img { max-width:none; max-height:none; margin:0; }
.reader-image-caption { margin:12px 0 0; overflow-wrap:anywhere; font:14px/1.5 var(--sans,sans-serif); }
.related-section .reader-related-reason { border-left:2px solid #ff6f1e; padding-left:12px; margin:12px 0 16px; font:15px/1.5 var(--sans,sans-serif); color:#514638; }
@media (max-width:400px) { .reader-image-dialog { padding:12px; } .reader-image-toolbar { gap:8px; } }
