.bcb-banner {
position: fixed;
left: 0;
right: 0;
z-index: 2147483000;
background: var(--bcb-bg, #1f2937);
color: var(--bcb-fg, #fff);
font-size: 15px;
line-height: 1.5;
box-shadow: 0 -4px 24px rgba(0, 0, 0, .18);
opacity: 0;
transition: opacity .25s ease, transform .25s ease;
box-sizing: border-box;
}
.bcb-banner[hidden] { display: none !important; }
.bcb-banner *, .bcb-banner *::before, .bcb-banner *::after { box-sizing: border-box; }
.bcb-pos-bottom { bottom: 0; transform: translateY(100%); }
.bcb-pos-top    { top: 0; transform: translateY(-100%); box-shadow: 0 4px 24px rgba(0, 0, 0, .18); }
.bcb-pos-box {
left: 16px;
right: auto;
bottom: 16px;
max-width: 420px;
border-radius: 12px;
transform: translateY(20px);
}
.bcb-banner.bcb-visible { opacity: 1; transform: none; }
.bcb-inner {
max-width: 1200px;
margin: 0 auto;
padding: 18px 48px 18px 20px;
display: flex;
align-items: center;
gap: 16px 24px;
flex-wrap: wrap;
}
.bcb-pos-box .bcb-inner { flex-direction: column; align-items: stretch; padding: 20px 20px 18px; }
.bcb-text { margin: 0; flex: 1 1 420px; color: inherit; }
.bcb-links { display: inline; }
.bcb-links a {
color: inherit;
text-decoration: underline;
text-underline-offset: 2px;
font-weight: 600;
margin-left: 6px;
white-space: nowrap;
}
.bcb-links a:hover, .bcb-links a:focus { opacity: .8; }
.bcb-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 0 auto; }
.bcb-pos-box .bcb-actions { justify-content: flex-end; }
.bcb-btn {
appearance: none;
cursor: pointer;
font: inherit;
font-weight: 600;
line-height: 1.2;
padding: 10px 20px;
border-radius: 6px;
border: 2px solid var(--bcb-btn-bg, #2563eb);
min-width: 110px;
transition: filter .15s ease, background .15s ease;
}
.bcb-btn-primary { background: var(--bcb-btn-bg, #2563eb); color: var(--bcb-btn-fg, #fff); }
.bcb-btn-secondary { background: transparent; color: var(--bcb-fg, #fff); border-color: currentColor; }
.bcb-btn:hover { filter: brightness(1.1); }
.bcb-btn:focus-visible, .bcb-close:focus-visible, .bcb-links a:focus-visible {
outline: 2px solid var(--bcb-fg, #fff);
outline-offset: 2px;
}
.bcb-close {
position: absolute;
top: 8px;
right: 10px;
width: 32px;
height: 32px;
padding: 0;
border: 0;
background: transparent;
color: inherit;
font-size: 26px;
line-height: 1;
cursor: pointer;
opacity: .75;
}
.bcb-close:hover { opacity: 1; }
@media (max-width: 640px) {
.bcb-inner { padding: 16px 16px 16px; padding-top: 40px; }
.bcb-pos-box { left: 8px; right: 8px; bottom: 8px; max-width: none; }
.bcb-actions { width: 100%; }
.bcb-btn { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
.bcb-banner { transition: none; }
}