/**
 * Bloqueio por detector de adblock nas ferramentas.
 */

body.adblock-guard-active {
    overflow: hidden;
}

body.adblock-guard-active main,
body.adblock-guard-active footer {
    pointer-events: none;
    user-select: none;
}

.adblock-guard-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
}

.adblock-guard-overlay.hidden {
    display: none;
}

.adblock-guard-card {
    width: 100%;
    max-width: 28rem;
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.adblock-guard-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: 9999px;
    background: #fef3c7;
    color: #b45309;
}

.adblock-guard-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.75rem;
}

.adblock-guard-text,
.adblock-guard-hint {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #4b5563;
    margin: 0 0 0.75rem;
}

.adblock-guard-hint {
    font-size: 0.875rem;
    color: #6b7280;
}

.adblock-guard-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.adblock-guard-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.adblock-guard-btn-primary {
    border: none;
    background: #2563eb;
    color: #fff;
    cursor: pointer;
}

.adblock-guard-btn-primary:hover {
    background: #1d4ed8;
}

.adblock-guard-btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.adblock-guard-btn-secondary:hover {
    background: #e5e7eb;
    color: #111827;
}

#adblock-bait {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    pointer-events: none;
}
