/* DMPF cookie consent – self-hosted */
.dmpf-cc-bar, .dmpf-cc-modal { --cc-bg:#1A1A18; --cc-fg:#F4F4F1; --cc-mute:#B9B9B4; --cc-line:#34343A; --cc-acc:#FDD803; --cc-acc-ink:#1A1A18;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 14px; line-height: 1.55; }
.dmpf-cc-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2147483000;
  background: var(--cc-bg); color: var(--cc-fg); border: 1px solid var(--cc-line); border-radius: 16px;
  box-shadow: 0 18px 50px -12px rgba(0,0,0,.45); max-width: 1040px; margin: 0 auto; }
.dmpf-cc-inner { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 18px 20px; flex-wrap: wrap; }
.dmpf-cc-text { flex: 1 1 420px; min-width: 0; }
.dmpf-cc-text strong { display: block; font-size: 15px; margin-bottom: 2px; }
.dmpf-cc-text p, .dmpf-cc-lead { margin: 0; color: var(--cc-mute); }
.dmpf-cc-bar a, .dmpf-cc-modal a { color: var(--cc-fg); text-decoration: underline; text-decoration-color: var(--cc-acc); text-underline-offset: 2px; }
.dmpf-cc-btns { display: flex; gap: 10px; flex-wrap: wrap; }
/* stejná vizuální váha pro „Přijmout“ i „Odmítnout“ */
.dmpf-cc-btn { appearance: none; border: 1px solid var(--cc-acc); background: var(--cc-acc); color: var(--cc-acc-ink);
  font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 100px; cursor: pointer; min-width: 132px; }
.dmpf-cc-btn[data-a="settings"], .dmpf-cc-btn[data-a="save"] { background: transparent; color: var(--cc-fg); border-color: var(--cc-line); }
.dmpf-cc-btn:hover { filter: brightness(1.05); }
.dmpf-cc-btn:focus-visible, .dmpf-cc-x:focus-visible, .dmpf-cc-switch input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.dmpf-cc-modal { position: fixed; inset: 0; z-index: 2147483001; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dmpf-cc-box { position: relative; background: var(--cc-bg); color: var(--cc-fg); border: 1px solid var(--cc-line); border-radius: 18px;
  width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; padding: 26px 24px 22px; }
.dmpf-cc-box h2 { margin: 0 0 8px; font-size: 20px; font-family: 'Space Grotesk', 'Inter', sans-serif; }
.dmpf-cc-x { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--cc-fg); font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.dmpf-cc-row { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--cc-line); }
.dmpf-cc-row:first-of-type { margin-top: 14px; }
.dmpf-cc-row p { margin: 2px 0 0; color: var(--cc-mute); font-size: 13px; }
.dmpf-cc-always { font-size: 12px; color: var(--cc-acc); white-space: nowrap; padding-top: 2px; }
.dmpf-cc-box .dmpf-cc-btns { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--cc-line); }
.dmpf-cc-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; cursor: pointer; }
.dmpf-cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.dmpf-cc-switch span[aria-hidden] { position: absolute; inset: 0; background: #4A4A50; border-radius: 26px; transition: background .15s; }
.dmpf-cc-switch span[aria-hidden]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.dmpf-cc-switch input:checked + span { background: var(--cc-acc); }
.dmpf-cc-switch input:checked + span::after { transform: translateX(20px); }
.dmpf-cc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .dmpf-cc-bar { left: 8px; right: 8px; bottom: 8px; }
  .dmpf-cc-inner { padding: 16px; }
  .dmpf-cc-btns { width: 100%; }
  .dmpf-cc-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .dmpf-cc-switch span, .dmpf-cc-switch span::after { transition: none; } }
@media print { .dmpf-cc-bar, .dmpf-cc-modal { display: none !important; } }

/* ── téma webu ── */
.dmpf-cc-bar, .dmpf-cc-modal { --cc-bg:#0d0f26; --cc-fg:#f5f5fa; --cc-mute:rgba(245,245,250,.62); --cc-line:rgba(255,255,255,.09); --cc-acc:#5a56ff; --cc-acc-ink:#ffffff;
  font-family:'Space Grotesk',Arial,sans-serif; }
.dmpf-cc-box h2 { font-family:'Space Grotesk',Arial,sans-serif; }
.dmpf-cc-bar a, .dmpf-cc-modal a { text-decoration-color:#9c99ff; }
.dmpf-cc-btn:focus-visible, .dmpf-cc-x:focus-visible, .dmpf-cc-switch input:focus-visible + span { outline-color:#9c99ff; }
