:root { color-scheme: dark; font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: #050506; color: #f7f8fa; }
.ad-gate {
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: radial-gradient(circle at 50% 15%, rgba(255, 122, 0, .15), transparent 42%), #050506;
}
.ad-gate-card {
    width: min(100%, 470px);
    padding: clamp(24px, 6vw, 42px);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 24px;
    background: #111318;
    box-shadow: 0 28px 90px rgba(0,0,0,.55);
    text-align: center;
}
.ad-gate-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: rgba(255,122,0,.15);
    color: #ff9626;
    font-size: 28px;
}
.ad-gate-step { margin: 0 0 8px; color: #ff9626; font-size: 12px; font-weight: 900; letter-spacing: .11em; }
.ad-gate-card h1 { margin: 0 0 12px; font-size: clamp(25px, 7vw, 34px); line-height: 1.12; }
.ad-gate-description { margin: 0 0 26px; color: #b3bbc5; font-size: 14px; line-height: 1.65; }
.ad-gate-progress { display: flex; gap: 8px; margin-bottom: 24px; }
.ad-gate-progress span { flex: 1; height: 5px; border-radius: 999px; background: rgba(255,255,255,.12); }
.ad-gate-progress .active { background: #ff7a00; }
.ad-gate-progress .done { background: #43d27a; }
.ad-gate-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    padding: 12px 18px;
    border: 0;
    border-radius: 14px;
    background: #ff7a00;
    color: #17100b;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.ad-gate-button:hover:not(:disabled), .ad-gate-button:focus-visible { background: #ff9626; }
.ad-gate-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ad-gate-button:disabled { opacity: .72; cursor: wait; }
.ad-gate-status { min-height: 2.8em; margin: 14px 0 0; color: #8f98a5; font-size: 12px; line-height: 1.5; }
.ad-gate-blocked { margin: 15px 0 0; padding: 14px; border: 1px solid #e56b45; border-radius: 12px; color: #ffe5d8; background: #3c1b17; font-size: 13px; line-height: 1.5; }
.ad-gate-blocked[hidden] { display: none; }
.ad-gate-blocked a { color: #ffb075; font-weight: 800; }
.ad-gate-retry { display: block; margin-top: 10px; }
#adGateBait { position: absolute; width: 2px; height: 2px; left: -9999px; pointer-events: none; }
@media (max-width: 380px) { .ad-gate-card { padding: 24px 18px; } }
