body.media-open{overflow:hidden}
.media-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.media-gallery-item{position:relative;display:block;overflow:hidden;padding:0;width:100%;aspect-ratio:16/9;background:#000000;text-align:left}
.media-gallery-item:first-child{grid-column:1/-1}
.media-gallery-item img{display:block;width:100%;height:100%;object-fit:contain}
.media-expand{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:40px;height:40px;background:#090909d9;border:1px solid #d5e8ed55;color:#f0f3f6;transition:background .2s,border-color .2s}
.media-expand svg,.media-viewer-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.media-gallery-item:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(hover:hover){.media-gallery-item:hover .media-expand{background:#222222;border-color:#d5e8ed}}
.trailer-links+.media-gallery{margin-top:28px}
dialog.media-viewer{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:24px max(24px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));border:0;background:#000000;color:#f0f3f6;overflow:hidden;box-sizing:border-box}
dialog.media-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:16px;animation:media-viewer-enter .18s ease both}
.media-viewer::backdrop{background:#000000f5}
.media-viewer-header,.media-viewer-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(1600px,100%);margin-inline:auto}
.media-viewer-header h2{font:600 18px/1.4 Manrope,Arial,sans-serif;margin:0}
.media-viewer-button{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;padding:0;border:1px solid #4d6575;background:#111111;color:inherit;cursor:pointer}
.media-viewer-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.media-viewer-stage{display:grid;place-items:center;min-width:0;min-height:0;width:100%;height:100%;margin:0;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none}
.media-viewer-stage img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;transition:opacity .15s ease}
.media-viewer-stage[data-loading=true] img{opacity:.45}
.media-viewer-caption{display:flex;flex-direction:column;gap:4px;min-width:0;text-align:center;font-size:14px;line-height:1.5}
.media-counter{color:#a5b8c8;font-variant-numeric:tabular-nums}
@keyframes media-viewer-enter{from{opacity:0}to{opacity:1}}
@media(max-width:700px){
 .media-gallery{gap:10px}
 .media-expand{right:8px;bottom:8px;width:32px;height:32px}
 .media-expand svg{width:18px;height:18px}
 dialog.media-viewer{padding: max(14px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}
 .media-viewer-header h2{font-size:16px}
 .media-viewer-button{width:46px;height:46px}
 .media-viewer-caption{font-size:14px}
}
