.content a.image-viewer-trigger { display: block; cursor: zoom-in; margin-block: 1.8rem .6rem; }
.content a.image-viewer-trigger img { display: block; width: 100%; height: auto; max-height: 34rem; object-fit: contain; margin-inline: auto; }
.image-viewer-trigger:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
.image-viewer { position: fixed; inset: 0; box-sizing: border-box; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; padding: 0; margin: 0; border: 0; background: #14151a; color: #fff; }
.image-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.image-viewer::backdrop { background: #14151a; }
.image-viewer-toolbar { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .6rem; padding: max(.6rem, env(safe-area-inset-top)) max(.8rem, env(safe-area-inset-right)) .6rem; }
.image-viewer-toolbar button { min-height: 44px; padding: .55rem 1rem; font: inherit; font-size: 1rem; line-height: 1.3; background: #292b34; color: #fff; border: 1px solid #898c99; border-radius: .3rem; cursor: pointer; }
.image-viewer-toolbar button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.image-viewer-frame { display: grid; place-items: center; min-height: 0; min-width: 0; overflow: auto; padding: .5rem; overscroll-behavior: contain; }
.image-viewer-frame img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.image-viewer-original .image-viewer-frame { display: block; }
.image-viewer-original .image-viewer-frame img { max-width: none; max-height: none; margin: auto; }
@media print { .image-viewer { display: none !important; } .content a.image-viewer-trigger img { max-height: none; } }
