.casting-popup {
    padding: 0;
    border: 1px solid #d8b86680;
    border-radius: 18px;
    margin: auto;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    background: #200a2c;
    color: #fff8e9;
    box-shadow: 0 24px 90px #0009;
    overflow: auto;
    overscroll-behavior: contain;
}
.casting-popup[open] {
    animation: casting-reveal 450ms cubic-bezier(.2,.8,.2,1) both;
}
.casting-popup::backdrop {
    background: #100a17c9;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    animation: casting-backdrop 350ms ease-out both;
}
.casting-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 12px 8px 16px;
}
.casting-popup__header h2 {
    margin: 0;
    font: 500 13px/1.4 Montserrat, sans-serif;
    color: #f3d68c;
}
.casting-popup__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 10px;
    border: 1px solid #efd99c60;
    border-radius: 10px;
    background: #ffffff0c;
    color: #fff8e9;
    font: 500 12px/1 sans-serif;
    cursor: pointer;
}
.casting-popup__close span:last-child { font-size: 28px; }
.casting-popup__close:hover { background: #ffffff20; }
.casting-popup__close:focus-visible,
.casting-popup__contact:focus-visible {
    outline: 3px solid #f8d279;
    outline-offset: -4px;
}
.casting-popup__poster {
    display: block;
    width: auto;
    height: auto;
    max-width: min(680px, calc(100vw - 26px));
    max-height: calc(100vh - 142px);
    max-height: calc(100dvh - 142px);
    margin: auto;
    object-fit: contain;
}
.casting-popup__contact {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 14px;
    color: #f6d890;
    text-align: center;
    font: 600 12px/1.4 Montserrat, sans-serif;
    text-decoration: none;
}
.casting-popup__contact:hover { color: #fff; background: #ffffff0c; }
@keyframes casting-reveal {
    from { opacity: 0; transform: translateY(16px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes casting-backdrop { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .casting-popup[open], .casting-popup::backdrop { animation: none; }
}