.ff-support-probes {
    position: absolute !important;
    z-index: -1 !important;
    left: -10000px !important;
    top: -10000px !important;
    pointer-events: none !important;
}

.ff-support-probes > span {
    display: block;
    width: 10px;
    height: 10px;
    opacity: 1;
    visibility: visible;
}

.ff-support-overlay[hidden] {
    display: none !important;
}

.ff-support-overlay {
    position: fixed;
    z-index: 2147483646;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 24px;
    background: rgba(17, 24, 39, 0.76);
    backdrop-filter: blur(3px);
}

.ff-support-dialog {
    box-sizing: border-box;
    width: min(100%, 520px);
    padding: 32px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ff-support-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    background: #fff3cd;
    color: #8a5700;
    font-size: 28px;
    font-weight: 700;
}

.ff-support-dialog h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: 0;
}

.ff-support-dialog p,
.ff-support-message {
    margin: 0;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.7;
}

.ff-support-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
}

.ff-support-actions button {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 6px;
    font: inherit;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}

.ff-support-primary {
    border: 1px solid #0f766e;
    background: #0f766e;
    color: #fff;
}

.ff-support-primary:hover,
.ff-support-primary:focus-visible {
    border-color: #115e59;
    background: #115e59;
}

.ff-support-dialog .ff-support-help {
    margin-top: 18px;
    color: #6b7280;
    font-size: 13px;
}

html.ff-support-locked,
html.ff-support-locked body {
    overflow: hidden !important;
}

@media (max-width: 560px) {
    .ff-support-overlay {
        align-items: flex-end;
        padding: 12px;
    }

    .ff-support-dialog {
        padding: 26px 20px;
    }

    .ff-support-dialog h2 {
        font-size: 21px;
    }

    .ff-support-actions {
        flex-direction: column;
    }

    .ff-support-actions button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ff-support-overlay {
        backdrop-filter: none;
    }
}
