/* Beispiel Zeitung — cookie notice + preferences panel.
   Informational notice for the single functional session cookie; no opt-in
   gating (nothing to block), dismissal stored in localStorage, never a cookie.
   Themed to the reader's design tokens (var(--accent) etc.). */

/* ---- bottom notice bar ---- */
.bzcc-notice {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  background: var(--surface, #fff); color: var(--text, #1b1a18);
  border-top: 1px solid var(--border, rgba(27,26,24,.12));
  font: 400 13.5px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding: 12px clamp(16px, 4vw, 48px);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  box-shadow: 0 -6px 24px rgba(0,0,0,.12);
}
.bzcc-notice-text { flex: 1 1 320px; }
.bzcc-notice a { color: var(--accent, #2a5db0); text-decoration: none; font-weight: 600; }
.bzcc-notice a:hover { text-decoration: underline; }
.bzcc-notice-btn {
  flex: 0 0 auto; background: var(--accent, #2a5db0); color: #fff; border: 0;
  border-radius: 8px; padding: 9px 18px; cursor: pointer;
  font: 600 13.5px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  transition: background .2s ease;
}
.bzcc-notice-btn:hover { background: var(--accent-strong, #214c93); }

/* ---- preferences panel ---- */
.bzcc-panel {
  position: fixed; left: 16px; bottom: 16px; z-index: 1210;
  width: min(440px, calc(100vw - 32px));
  max-height: min(72vh, 580px); overflow-y: auto;
  background: var(--surface, #fff); color: var(--text, #1b1a18);
  border: 1px solid var(--border, rgba(27,26,24,.12)); border-radius: 14px;
  padding: 20px 22px; box-shadow: 0 18px 48px rgba(0,0,0,.28);
  font: 400 14px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.bzcc-panel[hidden] { display: none; }
.bzcc-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.bzcc-panel h2 { font-family: var(--font-serif, Georgia, serif); font-size: 20px; font-weight: 600; margin: 0; }
.bzcc-close { background: none; border: 0; color: var(--text-3, #8c877e); cursor: pointer; font-size: 22px; line-height: 1; padding: 4px; }
.bzcc-close:hover { color: var(--text, #1b1a18); }
.bzcc-panel-lead { font-size: 13px; color: var(--text-2, #57534c); margin: 0 0 14px; }
.bzcc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bzcc-item { border: 1px solid var(--border, rgba(27,26,24,.12)); border-radius: 10px; padding: 12px 14px; background: var(--surface-2, #faf9f6); }
.bzcc-item-top { display: flex; align-items: center; gap: 9px; }
.bzcc-item-top input { accent-color: var(--accent, #2a5db0); width: 15px; height: 15px; }
.bzcc-item-top label { font-weight: 600; }
.bzcc-item-desc { font-size: 12.5px; color: var(--text-2, #57534c); margin: 6px 0 0; }
.bzcc-item-mand { font-size: 11.5px; color: var(--text-3, #8c877e); margin-top: 4px; font-style: italic; }
.bzcc-panel-foot { margin-top: 16px; font-size: 12.5px; }
.bzcc-panel-foot a { color: var(--accent, #2a5db0); text-decoration: none; font-weight: 600; }
.bzcc-panel-foot a:hover { text-decoration: underline; }
.bzcc-ls-warning { display: block; margin-top: 10px; font-size: 12px; color: #b4332f; }

@media (max-width: 520px) {
  .bzcc-panel { left: 8px; bottom: 8px; }
}
