/* Blockpuls21 – Privatsphäre-Einstellungen (eigenständig, funktioniert auf allen Seiten) */
.bpc {
  --bpc-bg: #141920; --bpc-bg2: #1b212a; --bpc-text: #e9ebef; --bpc-muted: #a0a8b5;
  --bpc-border: #2b3340; --bpc-accent: #f7931a; --bpc-accent-ink: #1b1204; --bpc-link: #ffad4d;
  position: fixed; inset: auto 0 0 0; z-index: 10000; display: flex; justify-content: center;
  padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); pointer-events: none;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; line-height: 1.5;
}
:root[data-theme="light"] .bpc {
  --bpc-bg: #ffffff; --bpc-bg2: #f3f0ea; --bpc-text: #15171c; --bpc-muted: #555b67;
  --bpc-border: #dcd5c9; --bpc-link: #a65200;
}
.bpc__box {
  pointer-events: auto; width: min(760px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto;
  background: var(--bpc-bg); color: var(--bpc-text); border: 1px solid var(--bpc-border); border-radius: 16px;
  padding: 22px 24px; box-shadow: 0 24px 70px -18px rgba(0, 0, 0, 0.7);
  border-top: 4px solid var(--bpc-accent);
}
.bpc__title { margin: 0 0 8px; font-size: 1.2rem; font-weight: 750; letter-spacing: -0.01em; }
.bpc__intro { margin: 0 0 16px; font-size: 0.92rem; color: var(--bpc-muted); }
.bpc__intro a { color: var(--bpc-link); }
.bpc__cats { display: grid; gap: 10px; margin-bottom: 18px; }
.bpc-cat { background: var(--bpc-bg2); border-radius: 12px; padding: 12px 14px; }
.bpc-cat__head { display: flex; align-items: center; gap: 10px; }
.bpc-cat__head input { width: 20px; height: 20px; margin: 0; accent-color: var(--bpc-accent); cursor: pointer; flex-shrink: 0; }
.bpc-cat__head input:disabled { cursor: not-allowed; opacity: 0.8; }
.bpc-cat__title { font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bpc-badge {
  font-size: 0.72rem; font-weight: 700; padding: 1px 8px; border-radius: 999px;
  background: rgba(247, 147, 26, 0.16); color: var(--bpc-link);
}
.bpc-cat__text { margin: 6px 0 0 30px; font-size: 0.85rem; color: var(--bpc-muted); }
.bpc__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.bpc__actions .bpc-btn { flex: 1 1 160px; }
.bpc-btn {
  font: inherit; font-size: 0.95rem; font-weight: 650; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--bpc-border); background: var(--bpc-bg); color: var(--bpc-text); min-height: 44px;
}
.bpc-btn:hover { background: var(--bpc-bg2); }
.bpc-btn--primary { background: var(--bpc-accent); color: var(--bpc-accent-ink); border-color: transparent; }
.bpc-btn--primary:hover { background: #e8850c; }
.bpc-btn:focus-visible, .bpc-cat__head input:focus-visible, .bpc__intro a:focus-visible {
  outline: 2px solid var(--bpc-link); outline-offset: 2px;
}
@media (max-width: 560px) {
  .bpc { padding: 8px; }
  .bpc__box { padding: 18px 16px; }
  .bpc-btn { width: 100%; }
}
