/* Only the two shared blinds video dialogs; other popups are untouched. */
:is(.bde-popup-3305-100, .bde-popup-3342-100) .breakdance-popup {
    width: 800px !important;
    max-width: calc(100vw - 32px) !important;
    height: auto !important;
    max-height: calc(100vh - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
    position: relative;
    margin: 16px;
}

:is(.bde-popup-3305-100, .bde-popup-3342-100) .breakdance-popup-content {
    position: relative;
    width: 100%;
    min-width: 0;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    padding: 64px 16px 16px !important;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgb(0 0 0 / 22%);
}

:is(.bde-popup-3305-100, .bde-popup-3342-100) .bde-code-block {
    width: 100%;
    min-width: 0;
}

:is(.bde-popup-3305-100, .bde-popup-3342-100) iframe {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 8px;
    background: #111;
}

:is(.bde-popup-3305-100, .bde-popup-3342-100) .bde-icon {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    border: 1px solid rgb(70 53 28 / 20%);
    border-radius: 50% !important;
    background: #f8f3e9;
    color: #24211c;
    cursor: pointer;
    transition: background-color 150ms ease, box-shadow 150ms ease;
}

:is(.bde-popup-3305-100, .bde-popup-3342-100) .bde-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 50%;
}

:is(.bde-popup-3305-100, .bde-popup-3342-100) .bde-icon:hover {
    background: #d0b177;
}

:is(.bde-popup-3305-100, .bde-popup-3342-100) .bde-icon a:focus-visible {
    outline: 3px solid #195f77;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    :is(.bde-popup-3305-100, .bde-popup-3342-100) .bde-icon {
        transition: none;
    }
}
