/* Consistent gallery presentation, with unaltered raster originals linked at full size. */
.audit-picture-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}
.audit-picture{margin:0;min-width:0;border:1px solid var(--border,#435064);border-radius:5px;overflow:hidden;background:var(--surface,#202a36)}
.audit-picture>a{display:flex;align-items:center;justify-content:center;height:210px;padding:8px;background:linear-gradient(135deg,#ffffff05,#00000010);--media-gallery-height:194px}
.audit-picture img{width:100%;height:100%;object-fit:contain;margin:0!important;border:0!important;padding:0!important;background:transparent!important}
.audit-picture[data-media-kind="scene"] img{object-fit:contain}
.audit-picture figcaption{display:grid;gap:5px;padding:12px;font-size:13px;line-height:1.5}
.audit-picture figcaption strong{color:var(--text,#edf2f8);font-size:14px}
.audit-picture figcaption span{color:var(--muted,#c1c8d1)}
.audit-picture-context{font-size:12px;margin-top:3px}
.audit-gallery-preview .audit-picture-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.audit-gallery-preview .audit-picture>a{height:150px;--media-gallery-height:134px}
.audit-gallery-preview .audit-picture figcaption span{font-size:12px}
.audit-gallery-link a{font-weight:700}
.audit-framed-image{background:transparent!important;mix-blend-mode:normal!important}
/* Portrait surfaces inherit the game's palette instead of a bright stock matte. */
body .character-portrait img,body .character-card-picture,body .character-card-picture img,body .portal-portrait>span,body .portal-portrait img{background:transparent!important}
@supports(object-view-box:inset(10%)){.audit-framed-image{object-view-box:var(--media-view,none);mask-image:var(--media-mask,none);mask-size:contain;mask-position:center;mask-repeat:no-repeat;mask-origin:content-box;mask-clip:content-box}.audit-cropped-scene{aspect-ratio:var(--media-aspect)!important;height:auto!important;object-fit:cover!important}.audit-picture .audit-cropped-scene{width:min(100%,calc(var(--media-aspect) * var(--media-gallery-height,194px)))!important;max-height:none!important}}
.audit-gallery-nav{font-weight:700}
@media(max-width:1000px){.audit-gallery-preview .audit-picture-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.audit-picture-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.audit-picture>a{height:170px;--media-gallery-height:154px}.audit-picture figcaption{padding:10px}}
@media(max-width:400px){.audit-picture-grid{grid-template-columns:1fr}.audit-gallery-preview .audit-picture-grid{grid-template-columns:1fr}}
