#svp-modal {
    display: none;
}

#svp-modal.svp-open {
    display: block;
}

.svp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    z-index: 9998;
}

.svp-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 960px);
    max-height: 90vh;
    z-index: 9999;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.svp-video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.svp-video-container iframe,
.svp-video-container video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.svp-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 8px;
}

.svp-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.svp-no-scroll {
    overflow: hidden;
}

.svp-error {
    color: #fff;
    padding: 2rem;
    text-align: center;
}
