.sn-self-hosted-video {
    position: relative;
    overflow: hidden;
    background: #07101f;
}

.sn-self-hosted-video__media {
    display: block;
    width: 100%;
    height: 100%;
    background: #07101f;
    object-fit: cover;
}

.sn-self-hosted-video__toggle {
    position: absolute;
    z-index: 2;
    inset: 0 0 64px;
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.sn-self-hosted-video__toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    background: rgba(5, 17, 36, 0.78);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    content: '\25B6';
    font-size: 23px;
    line-height: 54px;
    text-align: center;
    text-indent: 3px;
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: opacity 160ms ease;
}

.sn-self-hosted-video__toggle.is-playing::after {
    opacity: 0;
}

.sn-self-hosted-video__toggle:focus-visible::after {
    outline: 3px solid var(--mint);
    outline-offset: 4px;
}

@media (max-width: 480px) {
    .sn-self-hosted-video__toggle {
        bottom: 56px;
    }

    .sn-self-hosted-video__toggle::after {
        width: 52px;
        height: 52px;
        line-height: 48px;
    }
}
