main .media-thumb,.media-thumb{box-sizing:border-box;display:block!important;position:relative;width:min(100%,13rem)!important;height:auto!important;margin-inline:auto;padding:0;border:0;background:#171410;color:#fff;cursor:zoom-in;text-decoration:none}
.media-thumb:focus-visible,.media-stage-preview button:focus-visible{outline:2px solid #ead59b;outline-offset:3px}
main .media-thumb img,.media-thumb img,main .media-linked-image{display:block;max-width:100%;width:100%;height:auto!important;max-height:11rem;aspect-ratio:auto!important;object-fit:contain!important;margin:0 auto}
main .media-linked-image{max-width:13rem}
main .media-thumb-video{cursor:pointer}
.media-thumb-video span{display:block;padding:.4rem;font-size:.875rem;text-align:center}
.media-thumb-separate{font-size:.875rem;margin:.25rem auto;padding:.35rem!important}
main .media-stage-preview,.media-stage-preview{width:min(100%,13rem);margin-inline:auto}
.stg-release-cover:has(.media-thumb),.titleholder-image-pair:has(.media-thumb)>*{min-height:0}
.stg-release-cover:has(.media-thumb){height:auto;aspect-ratio:auto;padding:.5rem}
.media-viewer{box-sizing:border-box;width:min(93vw,70rem);max-height:94vh;max-height:94dvh;overflow:auto;margin:auto;padding:.75rem;background:#171410;color:#fff;border:1px solid #8a7755}
.media-viewer::backdrop{background:#000d}
.media-viewer-bar{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;margin-bottom:.5rem;flex-wrap:wrap}
.media-viewer-bar span{margin-right:auto;min-width:0}
.media-viewer-bar a,.media-viewer-bar button{color:#ffdfa3;font:inherit}
.media-viewer-bar button{background:#2d2820;border:1px solid #8a7755;padding:.4rem .7rem;cursor:pointer}
.media-viewer-content img,.media-viewer-content video{display:block;max-width:100%;width:auto;height:auto;max-height:75vh;max-height:75dvh;margin:auto;object-fit:contain}
.media-viewer-content iframe{display:block;width:min(100%,133vh);aspect-ratio:16/9;margin:auto;border:0;background:#000}
.media-viewer-portrait{width:min(93vw,28rem)}
.media-viewer-portrait .media-viewer-content iframe{width:min(100%,42vh);aspect-ratio:9/16}
@media(max-width:500px){main .media-thumb,.media-thumb,main .media-stage-preview,.media-stage-preview{max-width:10rem}.media-viewer-bar{font-size:.875rem}}
