.mp4-player-stage {
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #111;
}

.mp4-player-thumbnail,
.mp4-player-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mp4-player-video {
    display: none;
}

.mp4-player-message {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: .75rem;
    padding: 1.5rem;
    background: rgba(17, 17, 17, .42);
    color: #fff;
    text-align: center;
}

.mp4-player-message-error {
    display: none;
    flex-direction: row;
    background: rgba(17, 17, 17, .68);
}

.mp4-player-spinner {
    width: 1.75rem;
    height: 1.75rem;
    border: 2px solid rgba(255, 255, 255, .38);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mp4-player-spin .8s linear infinite;
}

.mp4-player-share-status {
    min-height: 1.25rem;
    color: #6c757d;
    font-size: .875rem;
}

@keyframes mp4-player-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .mp4-player-spinner {
        animation-duration: 1.6s;
    }
}
