.youtube-facade {
    max-width: 36rem;
    margin: 1.25rem auto;
}

.youtube-facade__media,
.youtube-facade__player {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-dark);
}

.youtube-facade__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youtube-facade__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-dark), var(--color-text-muted));
}

.youtube-facade__load {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    background: var(--color-primary);
    color: white;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.youtube-facade__load:hover,
.youtube-facade__load:focus {
    text-decoration: underline;
}

.youtube-facade__notice {
    margin-top: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    text-align: center;
}

.youtube-facade__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
