.vm-player {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;

    background: #080808;
    border-radius: 12px;
    overflow: hidden;
    isolation: isolate;
}

.vm-player video {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;

    object-fit: contain;
    background: #080808;
}

.vm-player .vm-start-button {
    position: absolute;
    inset: 0;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;

    width: 100%;
    height: 100%;
    padding: 20px;

    border: 0;
    background: rgba(0, 0, 0, 0.78);
    color: #ffffff;

    font-family: inherit;
    font-size: clamp(15px, 3vw, 20px);
    font-weight: 600;
    line-height: 1.4;
    text-align: center;

    cursor: pointer;
}

.vm-player .vm-start-button:hover {
    background: rgba(0, 0, 0, 0.88);
}

.vm-player .vm-start-button:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: -5px;
}

.vm-player .vm-play-icon {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 74px;
    height: 74px;
    padding-left: 5px;

    border-radius: 50%;
    background: #ffffff;
    color: #111111;

    font-size: 28px;
    font-weight: 700;
}

.vm-player .vm-error {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 4;

    padding: 12px 16px;
    border-radius: 6px;

    background: rgba(130, 0, 0, 0.95);
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    text-align: center;
}

.vm-player [hidden] {
    display: none !important;
}

@media screen and (max-width: 767px) {
    .vm-player {
        border-radius: 8px;
    }

    .vm-player .vm-play-icon {
        width: 58px;
        height: 58px;
        font-size: 23px;
    }

    .vm-player .vm-start-button {
        padding: 15px;
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vm-player *,
    .vm-player *::before,
    .vm-player *::after {
        animation: none !important;
        transition: none !important;
    }
}
