dialog#modal.gallery-dialog{position:fixed;inset:0;width:100vw!important;height:100dvh;max-width:none!important;max-height:none!important;margin:0;padding:0!important;border:0;border-radius:0;background:#000;overflow:hidden;color:#fff}
.gallery-dialog #modal-body{height:100%;padding:0}
.gallery-player{position:relative;width:100%;height:100%;isolation:isolate;background:#000}
/* Ordinary card previews use dialog video { max-height:60vh }. The viewer
   must explicitly clear that limit, including after opening a booster. */
dialog#modal.gallery-dialog .gallery-player>video{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;border-radius:0;object-fit:contain;background:#000}
.gallery-player>header,.gallery-player>footer{position:absolute;left:0;right:0;display:flex;align-items:center;gap:16px;padding:24px;z-index:1}
.gallery-player>header{top:0;justify-content:space-between;background:linear-gradient(#000c,transparent)}
.gallery-player>footer{bottom:0;background:linear-gradient(transparent,#000d);flex-wrap:wrap}
.gallery-player h2{margin:0;font-size:clamp(18px,2.5vw,30px);color:#fff}
.gallery-player .eyebrow{margin:0 0 6px;color:#d9c99f}
.gallery-player>footer span{font-size:12px;color:#ccc}
.gallery-player .glass-button{background:#101010cf;border:1px solid #ffffff45;color:#fff;min-height:44px}
#gallery-status{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#000b;border-radius:8px;padding:12px 18px;text-align:center;pointer-events:none}
#gallery-status:empty{display:none}
