.fybit-anc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.fybit-anc-modal {
    background: #1c1f26;
    color: #eee;
    border-radius: 8px;
    padding: 24px 28px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    max-height: 85vh;
    overflow-y: auto;
}

.fybit-anc-modal h3 {
    margin: 0 0 14px;
    font-size: 20px;
    color: #f0b90b;
    line-height: 1.3;
}

.fybit-anc-modal .body {
    color: #dcdcdc;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 20px;
    word-wrap: break-word;
}

.fybit-anc-modal .body a {
    color: #f0b90b;
    text-decoration: underline;
}

    .fybit-anc-modal .body a:hover {
        color: #ffc340;
    }

.fybit-anc-modal .body p {
    margin: 0 0 12px;
}

    .fybit-anc-modal .body p:last-child {
        margin-bottom: 0;
    }

.fybit-anc-modal .body ul,
.fybit-anc-modal .body ol {
    margin: 0 0 12px 20px;
    padding: 0;
}

.fybit-anc-modal .body li {
    margin-bottom: 6px;
}

.fybit-anc-modal .body b,
.fybit-anc-modal .body strong {
    color: #fff;
    font-weight: 600;
}

.fybit-anc-modal .btns {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 8px;
}

.fybit-anc-modal button {
    padding: 9px 22px;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    font-weight: 600;
}

.fybit-anc-modal .btn-cta {
    background: transparent;
    color: #f0b90b;
    border: 1px solid #f0b90b;
}

    .fybit-anc-modal .btn-cta:hover {
        background: rgba(240,185,11,0.12);
    }

.fybit-anc-modal .btn-close {
    background: #f0b90b;
    color: #000;
}

    .fybit-anc-modal .btn-close:hover {
        background: #ffc340;
    }

@media (max-width: 480px) {
    .fybit-anc-modal {
        padding: 20px 18px;
    }

    .fybit-anc-modal .btns {
        flex-direction: column-reverse;
    }

    .fybit-anc-modal button {
        width: 100%;
    }
}
