.turnstile-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at top, rgba(66, 220, 163, 0.16), transparent 35%),
        rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.turnstile-gate-panel {
    width: min(100%, 560px);
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(7, 7, 7, 0.96);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    text-align: center;
}

.turnstile-gate-kicker {
    margin: 0 0 12px;
    color: #42dca3;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.turnstile-gate-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(28px, 5vw, 44px);
    line-height: 1.05;
    text-transform: uppercase;
}

.turnstile-gate-copy {
    margin: 0 auto 22px;
    max-width: 36ch;
    color: rgba(255, 255, 255, 0.78);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.turnstile-gate-widget {
    display: flex;
    justify-content: center;
    min-height: 65px;
}

.turnstile-gate-status {
    min-height: 24px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.6);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
}

.turnstile-gate-status.is-error {
    color: #ff8d8d;
}

html.gate-pending,
html.gate-locked,
html.gate-pending body,
html.gate-locked body {
    overflow: hidden;
}

html.gate-pending body > :not(.turnstile-gate-overlay),
html.gate-locked body > :not(.turnstile-gate-overlay) {
    visibility: hidden;
}

html.gate-pending .turnstile-gate-overlay,
html.gate-locked .turnstile-gate-overlay {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 640px) {
    .turnstile-gate-panel {
        padding: 28px 20px;
    }
}
