.msp-real-stage {
    aspect-ratio: 1 / 1;
    background: #fff;
}

.msp-real-stage > img,
.msp-real-stage > video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.msp-real-stage > video[hidden],
.msp-real-stage > img[hidden] {
    display: none;
}

.msp-real-thumb {
    position: relative;
}

.msp-real-thumb img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.msp-real-thumb span {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 253, 249, .92);
    color: #161b2b;
    font-size: 11px;
}

@media (max-width: 650px) {
    .msp-real-gallery {
        padding: 16px;
    }

    .msp-real-gallery .msp-thumbs {
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: thin;
    }

    .msp-real-gallery .msp-thumb {
        flex: 0 0 66px;
    }

    .msp-real-stage {
        width: 100%;
        min-height: 0;
    }

    .msp-real-stage > video {
        max-height: 78vh;
    }
}
