/* ── Video embed click-to-load facade ──────────────────────────
   Server-rendered by apps.core.markdown's `embed` fence (see
   components/embed-facade.js). A 16:9 box so the page doesn't shift
   once the button is replaced by the real iframe - the facade and the
   loaded embed occupy exactly the same footprint.
*/
.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: var(--space-5) 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-surface-muted);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-embed__load {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-size: var(--type-small-size, 0.875rem);
    cursor: pointer;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.video-embed__load:hover,
.video-embed__load:focus-visible {
    color: var(--color-interactive);
    border-color: var(--color-interactive);
}
