.bbyield-banner-slot {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 16, 25, 0.62);
    opacity: 0;
    transition: opacity 0.22s ease;
    z-index: 99990;
    pointer-events: none;
}

.bbyield-banner-slot.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.bbyield-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(160px, 24%) minmax(0, 56%) minmax(170px, 20%);
    align-items: center;
    column-gap: 24px;
    width: min(980px, 100%);
    max-height: min(82vh, 700px);
    overflow: auto;
    padding: 30px 30px 28px;
    border: 1px solid #e6eaf0;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(9, 19, 31, 0.34);
}

.bbyield-banner__image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    background: linear-gradient(180deg, #f9fbfd 0%, #f3f6fa 100%);
    border-radius: 16px;
    padding: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.bbyield-banner__image img {
    max-width: 100%;
    max-height: 150px;
    height: auto;
    border-radius: 10px;
    filter: drop-shadow(0 10px 18px rgba(10, 18, 28, 0.18));
}

.bbyield-banner__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid #d6dee8;
    border-radius: 999px;
    background: #fff;
    color: #495869;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.bbyield-banner__close:hover,
.bbyield-banner__close:focus {
    color: #1d2a38;
    border-color: #b9c8d8;
    box-shadow: 0 4px 14px rgba(28, 44, 64, 0.12);
}

.bbyield-banner__content {
    flex: 1;
    min-width: 0;
}

.bbyield-banner__title {
    margin: 0;
    font-size: clamp(1.8rem, 2.9vw, 2.2rem);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.01em;
    color: #162433;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 28ch;
}

.bbyield-banner__description {
    margin: 10px 0 0;
    color: #4c5a69;
    font-size: 0.98rem;
    line-height: 1.45;
    max-width: 50ch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bbyield-banner__action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.bbyield-banner__button {
    display: inline-block;
    min-width: 170px;
    text-align: center;
    padding: 14px 18px;
    border-radius: 12px;
    text-decoration: none;
    color: #111827;
    font-weight: 600;
    font-size: 0.98rem;
    background: linear-gradient(180deg, #ffba29 0%, #f6a20a 100%);
    box-shadow: 0 9px 18px rgba(246, 162, 10, 0.28);
}

.bbyield-banner__button:hover,
.bbyield-banner__button:focus {
    background: linear-gradient(180deg, #f2ad24 0%, #ea9808 100%);
    color: #111827;
}

@media (max-width: 768px) {
    .bbyield-banner-slot {
        padding: 14px;
    }

    .bbyield-banner {
        grid-template-columns: 1fr;
        row-gap: 14px;
        align-items: stretch;
        padding: 22px 16px 18px;
        border-radius: 18px;
    }

    .bbyield-banner__image {
        min-height: 120px;
        justify-content: center;
    }

    .bbyield-banner__image img {
        max-height: 124px;
        max-width: 180px;
    }

    .bbyield-banner__title {
        font-size: clamp(1.35rem, 6vw, 1.55rem);
        max-width: none;
    }

    .bbyield-banner__description {
        margin-top: 8px;
        -webkit-line-clamp: 3;
    }

    .bbyield-banner__action {
        justify-content: stretch;
    }

    .bbyield-banner__button {
        width: 100%;
        min-width: 0;
    }

    .bbyield-banner__close {
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 420px) {
    .bbyield-banner__image img {
        max-width: 100%;
    }
}
