.fraud-warning {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9000; /* ниже модалок (9100) */
    width: 400px;
    max-width: calc(100% - 32px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
    padding: 22px 22px 20px;
    border-radius: 16px;
    border-top: 4px solid #EA8F13;
    background: #FFFFFF;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08);
    font-family: 'Roboto', sans-serif;
    color: #272727;
    animation: fraud-warning-in 0.4s ease;
}

.fraud-warning[hidden] {
    display: none;
}

.fraud-warning-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.fraud-warning-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FDF1E1;
    color: #EA8F13;
}

.fraud-warning-title {
    margin: 0;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 700;
    color: #272727;
}

.fraud-warning-body p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 20px;
    color: #3A3A3A;
    text-wrap: pretty;
}

.fraud-warning-body .fraud-warning-subtitle {
    margin-bottom: 6px;
    font-weight: 600;
    color: #1A6C21;
}

.fraud-warning-list {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fraud-warning-list li {
    position: relative;
    padding-left: 18px;
    font-size: 14px;
    line-height: 20px;
    color: #3A3A3A;
    text-wrap: pretty;
}

.fraud-warning-list strong {
    font-weight: 700;
    color: #272727;
}

.fraud-warning-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #48924E;
}

.fraud-warning-button {
    width: 100%;
    height: 48px;
    margin-top: 4px;
    border: none;
    border-radius: 6px;
    background: #EA8F13;
    box-shadow: 0 -4px 11px 0 rgba(0, 0, 0, 0.2) inset, 0 6px 8px 0 rgba(255, 255, 255, 0.45) inset;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fraud-warning-button:hover {
    background: #FFA326;
}

.fraud-warning-button:focus-visible {
    outline: 2px solid #EA8F13;
    outline-offset: 3px;
}

@keyframes fraud-warning-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
}

/* Телефон: во всю ширину над закреплённым нижним меню (45px) */
@media (max-width: 1000px) {
    .fraud-warning {
        left: 12px;
        right: 12px;
        bottom: calc(45px + 12px + env(safe-area-inset-bottom));
        width: auto;
        max-width: none;
        max-height: calc(100vh - 45px - 36px);
        padding: 18px 16px 16px;
    }

    .fraud-warning-title {
        font-size: 17px;
    }

    .fraud-warning-body p,
    .fraud-warning-list li {
        font-size: 13px;
        line-height: 18px;
    }
}
