#vv-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 9990;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 390px;
    background: #000;
    transform: translateX(-50%);
}

#vv-overlay.is-open {
    display: flex;
    touch-action: none;
}

.vv-header {
    position: absolute;
    top: env(safe-area-inset-top);
    right: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .4) 0%, transparent 100%);
}

.vv-close {
    display: flex;
    align-items: center;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.vv-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vv-download,
.vv-share,
.vv-mute {
    display: flex;
    align-items: center;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.vv-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.vv-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vv-toggle {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: 80px;
    height: 80px;
    padding: 12px 11px 12px 13px;
    border: none;
    border-radius: 100px;
    background: rgba(0, 0, 0, .6);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.vv-controls {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 16px 40px;
    background: linear-gradient(0deg, rgba(0, 0, 0, .4) 0%, transparent 100%);
}

.vv-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vv-seek {
    flex: 1 1 0;
    height: 5px;
    border-radius: 5px;
    background: linear-gradient(to right,
        var(--white-color) 0 var(--vv-progress, 0%),
        var(--gray-800) var(--vv-progress, 0%) 100%);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.vv-seek::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
    border: none;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
}

.vv-seek::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border: none;
    background: transparent;
}

.vv-time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vv-current,
.vv-duration {
    color: var(--white-color);
    font-size: 12px;
    line-height: 1.4;
}
