/* Ad-blocker supporter notice */
body.ket-adblock-locked {
    overflow: hidden;
}

.ket-adblock-root {
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ket-adblock-root.is-visible {
    display: flex;
}

.ket-adblock-root__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
}

.ket-adblock-root__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 32rem;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
}

.ket-adblock-root__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.ket-adblock-root__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.ket-adblock-root__message {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1rem;
}

.ket-adblock-root__promo {
    margin: 1rem 0;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.ket-adblock-root__promo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.ket-adblock-root__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.ket-adblock-root__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.ket-adblock-root__btn--primary {
    background: #2563eb;
    color: #fff;
}

.ket-adblock-root__btn--primary:hover {
    background: #1d4ed8;
}

.ket-adblock-root__btn--secondary {
    background: #f3f4f6;
    color: #374151;
}

.ket-adblock-root__btn--ghost {
    background: transparent;
    color: #6b7280;
    font-weight: 500;
}

.ket-adblock-root__hint {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* Soft mode: bottom bar */
.ket-adblock-root--soft {
    align-items: flex-end;
    padding-bottom: 0;
}

.ket-adblock-root--soft .ket-adblock-root__backdrop {
    background: rgba(0, 0, 0, 0.35);
}

.ket-adblock-root--soft .ket-adblock-root__panel {
    max-width: 100%;
    border-radius: 1rem 1rem 0 0;
}
