/* === Predictions Banner — Single Card, Native Site Style === */

.banner-predictions {
    font-size: var(--regular-text, 14px);
    background: var(--important-background, #141017);
    text-align: center;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    padding: 12px;
    color: var(--important-color, #fff);
    position: relative;
    border-radius: var(--radius);
}

.banner-predictions--placeholder {
    border-radius: var(--radius);
    margin-top: 20px;
    position: relative;
    background: var(--important-background, #141017);
    height: 285px;
    display: flex;
    width: 100%;
}

.col-big .banner-predictions--placeholder,
.swiper-mob-wrap .banner-predictions--placeholder,
.col-big .banner-predictions,
.swiper-mob-wrap .banner-predictions {
    display: none;
}

.banner-predictions--placeholder.loading:not(.btn-accent.shadow)::before {
    width: 25px;
    height: 25px;
}

@media (max-width: 1199.98px) {
    .banner-predictions,
    .banner-predictions--placeholder {
        margin-top: 10px;
    }
}

@media (max-width: 767.98px) {
    .banner-predictions,
    .banner-predictions--placeholder {
        margin-bottom: 20px;
        margin-top: 0px;
    }

    .col-small .banner-predictions--placeholder,
    .col-small .banner-predictions {
        display: none;
    }

    .col-big .banner-predictions--placeholder,
    .col-big .banner-predictions {
        display: flex;
    }

    .col-big .banner-predictions--placeholder:last-child,
    .col-big .banner-predictions:last-child {
        margin-bottom: 0px;
        margin-top: 20px;
    }

    .col-big:not(.block-swiper) .banner-predictions--placeholder,
    .col-big:not(.block-swiper) .banner-predictions {
        margin: 5px;
        width: calc(100% - 10px);
    }
}

/* Close button */
.banner-predictions .close_cross {
    margin: 0;
    padding: 0;
    top: 20px;
    right: 20px;
    line-height: 0;
    position: absolute;
    z-index: 1;
}

/* Title section */
.banner-predictions--title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 2px 10px 10px;
}

.banner-predictions--title-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--market-bet-color, #6314bf);
    border-radius: 5px;
    padding: 3px;
}

.banner-predictions--title-icon img {
    width: 100%;
    height: 100%;
    display: block;
    filter: var(--important-color-filter, brightness(0) saturate(100%) invert(100%));
}

.banner-predictions--title-text {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    color: var(--important-color, #fff);
}

/* Single prediction card */
.banner-predictions--card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--important-color, #fff);
    gap: var(--gap-half, 5px);
}

.banner-predictions--card:hover {
    color: var(--important-color, #fff);
    text-decoration: none;
}

/* Card image */
.banner-predictions--card-img-wrapper {
    height: 90px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: var(--accent-background, #323036);
    border-radius: var(--radius);
    overflow: hidden;
}

.banner-predictions--card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Card title */
.banner-predictions--card-title {
    font-size: var(--regular-text, 14px);
    font-weight: 700;
    padding: 4px 2px;
    text-align: center;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    color: var(--important-color, #fff);
}

/* Percent bar — angled divider, segments flush against each other */
.banner-predictions--card-percent {
    display: flex;
    height: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    font-size: var(--tiny-bigger-text, 11px);
    font-weight: 700;
    position: relative;
}

.banner-predictions--card-percent-yes {
    background: var(--green-color, #009f4d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color, #fff);
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    padding-right: 6px;
    min-width: 8px;
}

.banner-predictions--card-percent-no {
    background: var(--red-color, #ab040d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color, #fff);
    clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -8px;
    padding-left: 6px;
    min-width: 8px;
}

/* Yes/No buttons — matches .market-bet--yes/no interactive style */
.banner-predictions--card-buttons {
    display: flex;
    gap: var(--gap-half, 5px);
    padding-top: 2px;
}

.banner-predictions--card-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 6px;
    height: 30px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.banner-predictions--card-btn-yes {
    color: var(--green-color, #009f4d);
    background: transparent;
    border: 1px solid var(--accent-background, #323036);
}

.banner-predictions--card-btn-yes:hover {
    background: var(--green-color, #009f4d);
    color: var(--white-color, #fff);
    border-color: var(--green-color, #009f4d);
}

.banner-predictions--card-btn-no {
    color: var(--red-color, #ab040d);
    background: transparent;
    border: 1px solid var(--accent-background, #323036);
}

.banner-predictions--card-btn-no:hover {
    background: var(--red-color, #ab040d);
    color: var(--white-color, #fff);
    border-color: var(--red-color, #ab040d);
}

.banner-predictions--card-btn-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.banner-predictions--card-btn-icon img {
    width: 100%;
    height: 100%;
    filter: var(--green-color-filter);
}

.banner-predictions--card-btn-no .banner-predictions--card-btn-icon img {
    filter: var(--red-color-filter);
}

.banner-predictions--card-btn-yes:hover .banner-predictions--card-btn-icon img,
.banner-predictions--card-btn-no:hover .banner-predictions--card-btn-icon img {
    filter: var(--important-color-filter, brightness(0) saturate(100%) invert(100%));
}

.banner-predictions--card-btn-label {
    font-size: var(--small-text, 12px);
    font-weight: 700;
}

.banner-predictions--card-btn-price {
    font-size: var(--regular-text, 14px);
    font-weight: 800;
}

/* Footer link */
.banner-predictions--footer {
    padding: 8px 4px 0;
    text-align: center;
}

.banner-predictions--footer a {
    color: var(--secondary-color, #999);
    font-size: var(--small-text, 12px);
    text-decoration: none;
    transition: color 0.2s;
}

.banner-predictions--footer a:hover {
    color: var(--main-color, #c8c8c8);
}
