/* One non-modal bottom banner. Reserve scrolling space and keep the companion controls above it. */
.btf-consent[hidden] { display:none; }
.btf-consent { position:fixed; inset-inline:0; bottom:0; z-index:25; background:var(--soft);
  border-top:1px solid var(--line); box-shadow:0 -8px 28px rgb(0 0 0 / .08);
  max-height:70vh; max-height:70dvh; overflow-y:auto; overscroll-behavior:contain; scroll-padding-block:12px;
  padding-bottom:env(safe-area-inset-bottom, 0px); }
html.btf-consent-open { scroll-padding-bottom:calc(var(--btf-consent-height, 0px) + 16px); }
html.btf-consent-open body::after { content:""; display:block; height:calc(var(--btf-consent-height, 0px) + 16px); }
html.btf-consent-open .cp-bubble { bottom:calc(var(--btf-consent-height, 0px) + 24px); }
html.btf-consent-open .cp-drawer { height:calc(100% - var(--btf-consent-height, 0px)); }
.btf-consent-inner { display:flex; align-items:center; gap:24px; padding-block:20px; }
.btf-consent h2 { font:600 16px/1.4 var(--font-ui); margin:0 0 5px; }
.btf-consent p { font:400 14px/1.5 var(--font-ui); color:var(--muted); margin:0; max-width:620px; }
.btf-consent-actions { display:flex; flex:none; gap:10px; }
.btf-consent-actions button { min-height:44px; min-width:92px; padding:10px 18px; border:1px solid var(--field);
  border-radius:8px; background:var(--paper); color:var(--field); font:600 14px/1.4 var(--font-ui); cursor:pointer; }
.btf-consent-actions button:hover { background:#e6f3f2; }
.btf-consent-actions button:focus-visible,.btf-preferences button:focus-visible { outline:2px solid var(--field); outline-offset:3px; }
.btf-preferences { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; margin:14px 0; }
.btf-preferences button { min-height:44px; padding:8px 0; border:0; background:none; color:var(--field);
  font:500 14px var(--font-ui); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.btf-preferences span { font:400 13px var(--font-ui); color:var(--muted); }
@media (max-width:700px) {
  .btf-consent-inner { flex-direction:column; align-items:stretch; gap:16px; }
  .btf-consent-actions button { flex:1; }
  html.btf-consent-open .cp-bubble { bottom:calc(var(--btf-consent-height, 0px) + 16px); }
}
@media print {
  .btf-consent { display:none !important; }
  html.btf-consent-open body::after { display:none; }
}
