.ad-modal {
    width: min(900px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    overflow: auto;
    padding: 20px;
    border: 1px solid #d8bf76;
    border-radius: 16px;
    background: #081b16;
    color: #fff;
    box-shadow: 0 24px 80px #0009;
}
.ad-modal::backdrop { background: #000d; }
.ad-modal h2 { margin: 0 0 12px; font-size: 22px; color: #d8bf76; }
.ad-modal video { display: block; width: 100%; max-height: 65dvh; background: #000; object-fit: contain; }
.ad-modal p { margin: 14px 0; }
.ad-modal .ad-actions { display: flex; justify-content: center; gap: 12px; }
.ad-modal button { padding: 10px 24px; border-radius: 8px; }
.ad-modal [hidden] { display: none !important; }
body.ad-playing { overflow: hidden; }
