/* V43.39: repairs scoped to the gallery cards and community video cards. */
body .gallery-grid>.qhtn-album-tile>.qhtn-gallery-view,
body .gallery-grid>.qhtn-album-tile>.qhtn-gallery-view>img,
body .qhtn-album-detail-photo>.qhtn-gallery-view,
body .qhtn-album-detail-photo>.qhtn-gallery-view>img{
  border-radius:14px!important;
  overflow:hidden!important;
  clip-path:inset(0 round 14px);
}
body .gallery-grid>.qhtn-album-tile>.qhtn-gallery-view{display:block;line-height:0}
body .gallery-grid>.qhtn-album-tile>.qhtn-gallery-view>img{display:block}
body .qhtn-source-avatar-placeholder{
 display:grid;place-items:center;width:100%;height:100%;min-width:34px;min-height:34px;
 color:#39728b;background:#e6f1f6;font-size:26px;line-height:1;border-radius:50%;
}
body .topic-av:has(.qhtn-source-avatar-placeholder),body .qhtn-forum-feature-icon:has(.qhtn-source-avatar-placeholder),body .topic-av.qhtn-avatar-missing{overflow:hidden;border-radius:50%}
body .topic-av.qhtn-avatar-missing{display:grid;place-items:center;color:#39728b;background:#e6f1f6;font-size:26px}
body .qhtn-video-embed iframe,body .qhtn-video-player iframe{min-height:210px}
@media(max-width:760px),(max-device-width:760px){
 body:has(.gallery-grid){overflow-x:hidden}
 body .layout.container:has(.gallery-grid){display:block!important;width:calc(100% - 24px)!important;max-width:720px!important;min-width:0!important;}
 body .layout.container:has(.gallery-grid)>.main-col,
 body .layout.container:has(.gallery-grid)>.side-col,
 body .layout.container:has(.gallery-grid) .panel,
 body .gallery-grid,body .gallery-grid>.qhtn-album-tile{min-width:0!important;max-width:100%!important;}
 body .layout.container:has(.gallery-grid)>.side-col{margin-top:14px}
 body .gallery-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:12px!important;}
 body .qhtn-album-tile>.qhtn-gallery-view{width:100%!important;aspect-ratio:4/3!important}
 body .qhtn-album-tile>.qhtn-gallery-view>img{width:100%!important;height:100%!important;object-fit:contain!important}
 body .qhtn-video-embed{min-height:0!important}
}
