/* Dynamic Leading Cookie Consent, v1.1.0
   Brand it by overriding the variables below in the site's own stylesheet.
   Do not restyle Reject and Accept differently: equal weight is a legal requirement, not a design choice. */
:root {
  --dlcc-bg: #ffffff;
  --dlcc-text: #1a1a1a;
  --dlcc-muted: #555555;
  --dlcc-border: #d6d6d6;
  --dlcc-btn-bg: #1a1a1a;
  --dlcc-btn-text: #ffffff;
  --dlcc-link: #1a1a1a;
  --dlcc-radius: 10px;
  --dlcc-font: inherit;
  --dlcc-z: 2147483000;
  --dlcc-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}
.dlcc, .dlcc * { box-sizing: border-box; }
.dlcc {
  position: fixed; z-index: var(--dlcc-z); font-family: var(--dlcc-font);
  color: var(--dlcc-text); line-height: 1.5; font-size: 15px;
}
.dlcc-bottom { left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; }
.dlcc-center { inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, 0.45); padding: 16px; }
.dlcc-panel {
  background: var(--dlcc-bg); border: 1px solid var(--dlcc-border); border-radius: var(--dlcc-radius);
  box-shadow: var(--dlcc-shadow); padding: 20px 22px; width: 100%; max-width: 720px;
  max-height: calc(100vh - 32px); overflow-y: auto;
}
.dlcc-title { font-size: 18px; font-weight: 700; margin: 0 0 6px; line-height: 1.3; color: inherit; }
.dlcc-body { margin: 0 0 12px; }
.dlcc-gpc { margin: 0 0 12px; padding: 8px 10px; border-left: 3px solid var(--dlcc-btn-bg); background: rgba(0, 0, 0, 0.04); font-size: 14px; }
.dlcc-settings { border-top: 1px solid var(--dlcc-border); margin: 4px 0 12px; }
.dlcc-settings[hidden] { display: none; }
.dlcc-gpc-status { margin: 12px 0 0; font-size: 13px; font-weight: 600; color: var(--dlcc-muted); }
.dlcc-cat { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--dlcc-border); }
.dlcc-cat input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--dlcc-btn-bg); }
.dlcc-cat label { display: flex; flex-direction: column; cursor: pointer; }
.dlcc-cat-name { font-weight: 600; }
.dlcc-cat-desc { color: var(--dlcc-muted); font-size: 14px; }
.dlcc-cat-vendors { color: var(--dlcc-muted); font-size: 13px; margin-top: 2px; }
.dlcc-cat-vendors a { color: var(--dlcc-link); }
.dlcc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dlcc-btn {
  font: inherit; font-weight: 600; font-size: 15px; min-height: 44px; min-width: 140px; padding: 10px 18px;
  border-radius: calc(var(--dlcc-radius) - 4px); border: 2px solid var(--dlcc-btn-bg);
  background: var(--dlcc-btn-bg); color: var(--dlcc-btn-text); cursor: pointer;
}
.dlcc-btn[hidden] { display: none; }
.dlcc-btn { white-space: nowrap; }
.dlcc-btn-link { background: transparent; color: var(--dlcc-link); border-color: transparent; text-decoration: underline; min-width: 0; padding: 10px 6px; }
.dlcc-btn:focus-visible, .dlcc a:focus-visible, .dlcc input:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }
.dlcc-links { margin: 12px 0 0; font-size: 13px; display: flex; gap: 16px; flex-wrap: wrap; }
.dlcc-links a, .dlcc-textbtn { color: var(--dlcc-link); }
.dlcc-textbtn { font: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
@media (max-width: 520px) {
  .dlcc-bottom { left: 8px; right: 8px; bottom: 8px; }
  .dlcc-panel { padding: 16px; }
  .dlcc-actions .dlcc-btn:not(.dlcc-btn-link) { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .dlcc-panel { animation: dlcc-in 0.18s ease-out; }
  @keyframes dlcc-in { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Click-to-load placeholder for blocked embeds */
.dlcc-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  padding: 20px; background: #f3f3f3; border: 1px solid var(--dlcc-border); border-radius: var(--dlcc-radius); color: var(--dlcc-text); font-size: 15px; }
.dlcc-ph p { margin: 0; max-width: 460px; }
