.vsv-player {
    position: relative;
    width: 100%;
    aspect-ratio: var(--vsv-aspect-ratio, 16 / 9);
    overflow: hidden;
    background: #000;
}

.vsv-player__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.vsv-player__toolbar {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font: 12px/1.2 system-ui, sans-serif;
}

.vsv-player__toolbar[hidden] { display: none; }
.vsv-player__toolbar select { min-width: 82px; }

.vsv-player__load {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    transform: translate(-50%, -50%);
    padding: 10px 18px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    cursor: pointer;
}

.vsv-player__status {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    pointer-events: none;
    color: #fff;
}

.vsv-player[data-vsv-state="error"] .vsv-player__status {
    padding: 8px 10px;
    background: #780000;
}

.vsv-player-error {
    padding: 10px 12px;
    border: 1px solid currentColor;
}
