.doc-video-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}
.doc-video-stage > iframe,
.doc-video-stage > video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    margin: 0;
}
.doc-video-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    background: #101827b3;
    font: 14px/1.5 system-ui, sans-serif;
    pointer-events: none;
}
.doc-video-loading::before {
    content: '';
    width: 32px;
    height: 32px;
    border: 3px solid #ffffff40;
    border-top-color: #fff;
    border-radius: 50%;
    animation: doc-video-spin 0.8s linear infinite;
}
.doc-video-loading[hidden], .doc-video-message[hidden], .doc-video-cover[hidden], .doc-video-cover img[hidden] { display: none; }
.doc-video-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 24px;
    color: #fff;
    background: linear-gradient(135deg, #172554, #4c1d95);
    cursor: pointer;
    font: 600 16px/1.5 system-ui, sans-serif;
}
.doc-video-cover img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.doc-video-play-icon, .doc-video-cover-label { position: relative; }
.doc-video-play-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    padding-left: 4px;
    border-radius: 50%;
    background: #ffffffeb;
    color: #312e81;
    box-shadow: 0 4px 24px #0006;
    font-size: 27px;
}
.doc-video-cover-label { padding: 6px 14px; border-radius: 6px; background: #0f172acc; }
.doc-video-cover:hover .doc-video-play-icon { background: #fff; transform: scale(1.06); }
.doc-video-cover:focus-visible { outline: 3px solid #60a5fa; outline-offset: -4px; }
.doc-video-message { margin: 10px 0; font: 14px/1.6 system-ui, sans-serif; }
.doc-video-message button {
    margin-left: 8px;
    padding: 4px 10px;
    border: 1px solid #94a3b8;
    border-radius: 5px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}
@keyframes doc-video-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .doc-video-loading::before { animation: none; } }
