/* Content previews only; native zoom and original attachments are untouched. */
.pg_viewthread [id^="postmessage_"] img:not(.smilie),.pg_viewthread .kbh-thread-post .message img:not(.smilie){max-width:100%!important;width:auto!important;height:auto!important;max-height:600px!important;object-fit:contain;vertical-align:middle}
#kbh-vt-gallery .kbh-vt-galstage,#kbh-vt-gallery .kbh-vt-galtrack{max-height:600px!important}
#kbh-vt-gallery .kbh-vt-galtrack img{max-width:100%!important;max-height:600px!important;height:auto!important;object-fit:contain!important}
@media(max-width:800px){.pg_viewthread [id^="postmessage_"] img:not(.smilie),.pg_viewthread .kbh-thread-post .message img:not(.smilie){max-height:420px!important}}
.pg_viewthread .kbh-gallery-stage,.pg_viewthread .kbh-gallery-track,.pg_viewthread .kbh-gallery-slide{max-height:420px!important}
.pg_viewthread img.kbh-gallery-image{display:block;width:100%!important;height:auto!important;max-width:100%!important;max-height:420px!important;object-fit:contain!important;margin-inline:auto}
