/* Keep native mobile play overlays behind the poster until playback is real. */
video[data-background-video] {
    opacity: 0;
    pointer-events: none;
}
video[data-background-video].is-playing { opacity: 1; }
video[data-background-video]::-webkit-media-controls,
video[data-background-video]::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}
.sn-background-video-toggle {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 3;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}
.sn-background-video-toggle[hidden] { display: none; }
/* Keep playback clear, while retaining a pause control for keyboard/assistive use. */
.sn-background-video-toggle.is-playing:not(:focus-visible) {
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    border: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
.sn-background-video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Avoid magnifying the phone film across the full height of the signup form. */
@media (max-width: 767px) {
    .page-template-page-the-list .tl-hero-media,
    .page-template-page-the-list .tl-hero-shade {
        bottom: auto;
        height: min(100%, 760px);
    }
    .page-template-page-the-list .tl-hero-shade {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 60%, #18211e 100%);
    }
}
@media (prefers-reduced-motion: reduce) {
    video[data-background-video] { opacity: 0 !important; }
}
