.jkss-bbr {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 999999;
    width: min(var(--jkss-bbr-desktop-width, 728px), calc(100vw - 24px));
    min-height: var(--jkss-bbr-desktop-min-height, 90px);
    background: #050505;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,.38);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 0;
}

.jkss-bbr.is-hidden,
.jkss-bbr.is-device-hidden {
    display: none !important;
}

.jkss-bbr__inner {
    width: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
}

.jkss-bbr__group {
    width: 100%;
    min-height: inherit;
    align-items: center;
    justify-content: center;
}

.jkss-bbr__group--desktop {
    display: flex;
}

.jkss-bbr__group--mobile {
    display: none;
}

.jkss-bbr__item {
    display: none;
    width: 100%;
    min-height: inherit;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.jkss-bbr__item.is-active {
    display: flex;
}

.jkss-bbr__item iframe,
.jkss-bbr__item img,
.jkss-bbr__item video,
.jkss-bbr__item ins {
    max-width: 100%;
}

.jkss-bbr__item img {
    height: auto;
    display: block;
}

.jkss-bbr__close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 28px;
    height: 28px;
    line-height: 26px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 999px;
    background: #0b0b0b;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

.jkss-bbr__close:hover,
.jkss-bbr__close:focus {
    background: #e60023;
    color: #fff;
    outline: none;
}

@media (min-width: 769px) {
    .jkss-bbr--no-desktop {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .jkss-bbr {
        bottom: 8px;
        width: calc(100vw - 16px);
        min-height: var(--jkss-bbr-mobile-min-height, 110px);
        border-radius: 12px;
    }

    .jkss-bbr--no-mobile {
        display: none !important;
    }

    .jkss-bbr__inner,
    .jkss-bbr__group,
    .jkss-bbr__item {
        min-height: var(--jkss-bbr-mobile-min-height, 110px);
    }

    .jkss-bbr__group--desktop {
        display: none;
    }

    .jkss-bbr__group--mobile {
        display: flex;
    }

    .jkss-bbr__close {
        top: -10px;
        right: -4px;
        width: 30px;
        height: 30px;
        line-height: 28px;
    }
}
