#bsrb-root {
    position: relative;
    z-index: 2147482500;
}

.bsrb-layer {
    position: fixed;
    z-index: 2147482500;
    inset: 0;
    display: flex;
    box-sizing: border-box;
    padding: 20px;
    opacity: 0;
    background: rgba(8, 8, 8, .68);
    transition: opacity .18s ease;
}

.bsrb-layer,
.bsrb-layer * {
    box-sizing: border-box;
}

.bsrb-layer.bsrb-visible {
    opacity: 1;
}

.bsrb-position-center {
    align-items: center;
    justify-content: center;
}

.bsrb-position-bottom {
    inset: auto 0 0;
    padding: 14px 20px;
    background: transparent;
    pointer-events: none;
}

.bsrb-card {
    position: relative;
    width: min(880px, 100%);
    max-height: min(88vh, 920px);
    overflow: auto;
    border-radius: 12px;
    background: transparent;
    color: #171717;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .36);
    transform: translateY(10px) scale(.99);
    transition: transform .18s ease;
    font-family: inherit;
}

.bsrb-visible .bsrb-card {
    transform: translateY(0) scale(1);
}

.bsrb-position-bottom .bsrb-card {
    width: min(1100px, 100%);
    margin: 0 auto;
    border: 1px solid rgba(204, 166, 71, .62);
    background: #141414;
    color: #fff;
    pointer-events: auto;
}

.bsrb-close {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    background: rgba(0, 0, 0, .66);
    color: #fff;
    cursor: pointer;
    font: 28px/1 Arial, sans-serif;
    appearance: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    text-transform: none !important;
}

.bsrb-close:hover,
.bsrb-close:focus-visible {
    background: rgba(0, 0, 0, .82) !important;
    color: #fff !important;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.bsrb-media,
.bsrb-media picture,
.bsrb-image-link {
    display: block;
    width: 100%;
}

.bsrb-media {
    display: flex;
    justify-content: center;
}

.bsrb-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 84vh;
    object-fit: contain;
}

.bsrb-position-bottom .bsrb-media img {
    max-height: 36vh;
}

.bsrb-content {
    padding: 22px 26px 26px;
    text-align: center;
}

.bsrb-content h2 {
    margin: 0 0 8px;
    color: inherit;
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.2;
}

.bsrb-content p {
    margin: 0 auto 16px;
    max-width: 680px;
    color: inherit;
    font-size: 16px;
    line-height: 1.5;
}

.bsrb-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border: 1px solid #c8a24b;
    border-radius: 6px;
    background: #c8a24b;
    color: #111 !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background .15s ease, color .15s ease;
}

.bsrb-button:hover,
.bsrb-button:focus-visible {
    background: #171717;
    color: #f1d88e !important;
    outline: 2px solid #c8a24b;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .bsrb-layer {
        padding: 12px;
    }

    .bsrb-card {
        width: 100%;
        max-height: 90vh;
        border-radius: 10px;
    }

    .bsrb-position-bottom {
        padding: 8px;
    }

    .bsrb-position-bottom .bsrb-card {
        max-height: 70vh;
    }

    .bsrb-media img {
        max-height: 84vh;
    }

    .bsrb-content {
        padding: 17px 18px 20px;
    }

    .bsrb-content p {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bsrb-layer,
    .bsrb-card,
    .bsrb-button {
        transition: none;
    }
}
