.vpo-open-button {
    cursor: pointer;
    border: none;
    background: #008656;
    color: #fff;
    padding: 12px 22px;
    font-size: 16px;
    border-radius: 6px;
    line-height: 1.2;
}

.vpo-open-button:hover,
.vpo-open-button:focus {
    opacity: 0.9;
}

.vpo-thumb-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.vpo-thumb {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.vpo-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 34px;
    line-height: 68px;
    text-align: center;
    padding-left: 4px;
}

.vpo-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.vpo-overlay.vpo-active {
    display: flex;
}

.vpo-modal {
    position: relative;
    width: min(1100px, 95vw);
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.vpo-modal iframe,
.vpo-modal video {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.vpo-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #000;
    cursor: pointer;
    font-size: 28px;
    line-height: 38px;
}
