
body.tg-gated-overlay-active {
            overflow: hidden !important;
        }

        #tg-gate-overlay,
        #tg-gate-overlay * {
            box-sizing: border-box;
        }

        #tg-gate-overlay {
            position: fixed;
            inset: 0;
            z-index: 999999;
            background: rgba(10, 12, 20, 0.72);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px;
        }

        #tg-gate-overlay .tg-gate-box {
            background: #fff;
            border-radius: 14px;
            width: 100%;
            max-width: 440px;
            max-height: calc(100dvh - 32px);
            overflow-y: auto;
            padding: 30px 32px;
            text-align: center;
            box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
        }

        #tg-gate-overlay .tg-gate-logo {
            display: block;
            width: 180px;
            max-width: 70%;
            height: auto;
            margin: 0 auto 22px;
        }

        #tg-gate-overlay h2 {
            margin: 0 0 12px;
            font-size: 22px;
            line-height: 1.3;
            color: #163e48;
        }

        #tg-gate-overlay p {
            margin: 0 0 24px;
            color: #555;
            font-size: 16px;
            line-height: 1.6;
        }

        #tg-gate-overlay .tg-gate-btn {
            display: block;
            width: 100%;
            padding: 13px 20px;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            text-align: center;
            line-height: 1.5;
        }

        #tg-gate-overlay .tg-primary {
            margin-bottom: 12px;
            background: #0a66c2;
            color: #fff;
        }

        #tg-gate-overlay .tg-secondary {
            background: #f1f1f1;
            color: #222;
        }

        #tg-gate-overlay .tg-primary:hover {
            background: #084f98;
        }

        #tg-gate-overlay .tg-secondary:hover {
            background: #e5e5e5;
        }

        #tg-gate-overlay .tg-gate-btn:focus-visible {
            outline: 3px solid #d99b32;
            outline-offset: 4px;
        }

        @media (max-width: 480px) {
            #tg-gate-overlay .tg-gate-box {
                padding: 24px;
            }

            #tg-gate-overlay .tg-gate-logo {
                width: 150px;
                margin-bottom: 18px;
            }
        }