
    /* Panel — 720px reference at 1440x900, scaled down rather than stretched. */
    #tempGuestSignupNudgeModal.chat-prompt-overlay {
        background: rgba(5, 8, 13, 0.82);
    }

    #tempGuestSignupNudgeModal .chat-prompt-card {
        font-family: Inter, Aptos, Arial, sans-serif;
        width: min(720px, calc(100vw - 32px)) !important;
        max-width: 720px !important;
        /* min() so a short viewport never forces the card past 90vh */
        min-height: min(560px, 90vh);
        padding: 56px 64px 52px !important;
        border-radius: 32px !important;
        border: 1.5px solid rgba(179, 138, 66, 0.85) !important;
        /* Warm highlight sits upper-left over the flat base, per spec. */
        background:
            radial-gradient(circle at 0% 0%, rgba(43, 37, 24, 0.72) 0%, transparent 45%),
            rgba(23, 21, 15, 0.96) !important;
        box-shadow:
            0 0 40px rgba(213, 169, 79, 0.20),
            0 24px 60px rgba(0, 0, 0, 0.55) !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /* Progressive enhancement — a centred flex column clips its own top
           once content outgrows max-height (short landscape phones). Browsers
           without `safe` simply drop this line and keep plain centring. */
        justify-content: safe center;
    }

    #tempGuestSignupNudgeModal .chat-prompt-close {
        top: 28px;
        right: 28px;
        width: 52px;
        height: 52px;
        font-size: 28px;
        font-weight: 400;
        line-height: 1;
        color: #FFD980;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(179, 138, 66, 0.85);
        box-shadow: none;
    }

    #tempGuestSignupNudgeModal .chat-prompt-close:hover {
        color: #FFD980;
        background: rgba(179, 138, 66, 0.22);
        border-color: rgba(213, 169, 79, 0.9);
        box-shadow: 0 4px 14px rgba(213, 169, 79, 0.3);
    }

    #tempGuestSignupNudgeModal .tgs-title {
        max-width: 500px;
        margin: 0 0 32px;
        font-size: 36px;
        font-weight: 700;
        line-height: 42px;
        letter-spacing: 0.04em;
        color: #FFD980;
    }

    #tempGuestSignupNudgeModal .tgs-body {
        max-width: 540px;
        margin: 0 0 46px;
        font-size: 21px;
        font-weight: 400;
        line-height: 32px;
        letter-spacing: 0;
        color: #F6E9C9;
    }

    #tempGuestSignupNudgeModal .tgs-cta {
        width: 590px;
        max-width: 100%;
        height: 72px;
        border: none;
        border-radius: 36px;
        background: linear-gradient(135deg, #FFD980 0%, #D5A94F 100%);
        color: #17150F;
        font-family: inherit;
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0.12em;
        cursor: pointer;
        box-shadow: 0 6px 18px rgba(213, 169, 79, 0.25);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    #tempGuestSignupNudgeModal .tgs-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(213, 169, 79, 0.38);
    }

    #tempGuestSignupNudgeModal .tgs-cta:active {
        transform: translateY(0);
    }

    @media (max-width: 991px) {
        #tempGuestSignupNudgeModal .chat-prompt-card {
            width: min(640px, calc(100vw - 32px)) !important;
            min-height: min(480px, 90vh);
            padding: 48px 40px 44px !important;
            border-radius: 28px !important;
        }
        #tempGuestSignupNudgeModal .chat-prompt-close {
            top: 20px;
            right: 20px;
            width: 46px;
            height: 46px;
            font-size: 26px;
        }
        #tempGuestSignupNudgeModal .tgs-title {
            /* Side gutter keeps the headline clear of the close circle once
               the padding shrinks below the button's own inset. */
            padding: 0 48px;
            margin-bottom: 26px;
            font-size: 30px;
            line-height: 36px;
        }
        #tempGuestSignupNudgeModal .tgs-body {
            margin-bottom: 36px;
            font-size: 18px;
            line-height: 28px;
        }
        #tempGuestSignupNudgeModal .tgs-cta {
            height: 64px;
            font-size: 16px;
            border-radius: 32px;
        }
    }

    @media (max-width: 640px) {
        #tempGuestSignupNudgeModal .chat-prompt-card {
            width: calc(100vw - 28px) !important;
            min-height: auto;
            padding: 40px 22px 32px !important;
            border-radius: 22px !important;
        }
        #tempGuestSignupNudgeModal .chat-prompt-close {
            top: 14px;
            right: 14px;
            width: 40px;
            height: 40px;
            font-size: 24px;
        }
        #tempGuestSignupNudgeModal .tgs-title {
            padding: 0 34px;
            margin-bottom: 18px;
            font-size: 22px;
            line-height: 28px;
            letter-spacing: 0.03em;
        }
        #tempGuestSignupNudgeModal .tgs-body {
            margin-bottom: 28px;
            font-size: 16px;
            line-height: 24px;
        }
        #tempGuestSignupNudgeModal .tgs-cta {
            height: 56px;
            font-size: 16px;
            letter-spacing: 0.1em;
            border-radius: 28px;
        }
    }
