/* Native modal stays above report overlays and traps focus while verifying. */
#turnstile-panel {
    position: fixed;
    z-index: 10000;
    inset: 0;
    margin: auto;
    box-sizing: border-box;
    width: min(334px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    padding: 16px;
    border: 1px solid #e9c68880;
    border-radius: 16px;
    background: #111626;
    color: #f3f0eb;
    box-shadow: 0 12px 40px #0009;
    max-height: calc(100dvh - 48px);
    overflow: auto;
}

#turnstile-panel:not([open]) {
    display: none;
}

/* The provider hides its interaction-only widget. Keep its iframe laid out;
   hiding the iframe or a closed dialog can stall verification in Safari. */
#turnstile-panel.is-silent {
    inset: auto 12px 12px auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
    overflow: visible;
}
#turnstile-panel.is-silent #turnstile-status { display: none; }
#turnstile-panel.is-silent #turnstile-widget { min-height: 0; }

#turnstile-panel::backdrop {
    background: #080d1bb3;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

#turnstile-status {
    margin: 0 0 12px;
    font: 14px/1.5 system-ui, sans-serif;
}

#turnstile-widget {
    position: static;
    display: flex;
    justify-content: center;
    min-height: 65px;
}

