/* Player — reusable wrapper that exposes the browser's native video controls. */
.player{position:fixed;z-index:400;inset:0;display:grid;place-items:center;padding:calc(70 * var(--unit,1px));background:rgba(0,0,0,.8)}
.player[hidden]{display:none}
.player__stage{width:min(calc(1600 * var(--unit,1px)),100%);aspect-ratio:16/9;background:#000}
.player__media{display:block;width:100%;height:100%;background:#000;object-fit:contain}
.player__close{position:absolute;top:calc(20 * var(--unit,1px));right:calc(20 * var(--unit,1px));width:calc(24 * var(--unit,1px));height:calc(24 * var(--unit,1px));padding:0;border:0;background:transparent;line-height:0}
.player__close img{display:block;width:100%;height:100%}
.player__close:is(:hover,:focus-visible){opacity:.7}
body.is-player-open{overflow:hidden}
@media(max-width:700px){.player{padding:16px}.player__close{top:16px;right:16px;width:24px;height:24px}}
