.ggm-mv {
position: fixed;
inset: 0;
z-index: 999999;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 52px 0 16px;
overflow-y: auto;
background: rgba(0, 0, 0, .78);
animation: ggm-mv-in .2s ease-out;
outline: 0;
box-sizing: border-box;
}
.ggm-mv--closing { opacity: 0; transition: opacity .15s ease-in; }
@keyframes ggm-mv-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
.ggm-mv { animation: none; }
.ggm-mv--closing { transition: none; }
}
.ggm-mv-inner {
position: relative;
width: min(960px, 92vw);
max-width: 100%;
margin: auto 0;
}
.ggm-mv-wrap {
position: relative;
width: 100%;
padding-bottom: 56.25%;
background: #000;
}
.ggm-mv-wrap iframe {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
border: 0;
} .ggm-mv--short .ggm-mv-wrap {
width: min(100%, 39.375vh);
margin: 0 auto;
padding-bottom: 0;
aspect-ratio: 9 / 16;
}
.ggm-mv-close {
position: absolute;
top: -44px;
right: 0;
width: 40px;
height: 40px;
padding: 0;
border: 0;
background: transparent;
cursor: pointer;
}
.ggm-mv-close::before,
.ggm-mv-close::after {
content: "";
position: absolute;
top: 18px;
left: 6px;
width: 28px;
height: 3px;
background: #fff;
}
.ggm-mv-close::before { transform: rotate(45deg); }
.ggm-mv-close::after { transform: rotate(-45deg); }
.ggm-mv-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; } .ggm-mv-ad {
margin-top: 14px;
text-align: center;
color: #000;
}
.ggm-mv-ad img {
display: inline-block;
max-width: 100%;
max-height: 140px;
width: auto;
height: auto;
}
.ggm-mv-ad a { display: inline-block; } @media (orientation: landscape) and (max-height: 700px) {
.ggm-mv-ad--hide-ls { display: none !important; }
}
@media (max-height: 450px) {
.ggm-mv-inner { width: 90vw; }
}