/* Video uses the same frame and gestures as still media. */
.mm-card-photo video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .25s, transform .25s;
}
.mm-detail .mm-photo-link video {
    position: absolute;
    inset: 0 auto auto 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--mm-photo-radius);
}
.token-photo-ar video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    border-radius: 2px;
}
.lightbox-slide video {
    max-width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 30px #000c;
    touch-action: none;
    will-change: transform;
}
.lightbox-slide :is(img, video)[hidden] { display: none !important; }
@media (min-width: 769px) {
    .lightbox-slide video.mm-lightbox-landscape {
        max-width: 84%;
        max-height: 78vh;
        max-height: 78dvh;
    }
}
@media (max-width: 768px) {
    .lightbox-slide video { max-height: 70vh; }
}
.token-card-image-box video {
    width:100%;
    height:100%;
    object-fit:contain;
}
