/* Ziqqle cookie banner - minimal, responsive, no external dependencies */
:root {
  --zcb-bg: #ffffff;
  --zcb-text: #111111;
  --zcb-muted: #666666;
  --zcb-line: #e7e7e7;
  --zcb-soft: #f7f7f7;
  --zcb-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.zcb-hidden { display: none !important; }

.zcb-banner,
.zcb-modal {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--zcb-text);
}

.zcb-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 99990;
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--zcb-line);
  border-radius: 22px;
  background: var(--zcb-bg);
  box-shadow: var(--zcb-shadow);
  padding: 18px;
}

.zcb-banner__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
}

.zcb-banner h2,
.zcb-modal h2,
.zcb-modal h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.zcb-banner h2 { font-size: 1.1rem; margin-bottom: 6px; }

.zcb-banner p,
.zcb-modal p {
  margin: 0;
  color: var(--zcb-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.zcb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.zcb-button {
  border: 1px solid var(--zcb-text);
  border-radius: 999px;
  background: var(--zcb-bg);
  color: var(--zcb-text);
  padding: 10px 14px;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}

.zcb-button:hover { transform: translateY(-1px); }
.zcb-button:focus-visible { outline: 3px solid rgba(0, 0, 0, 0.25); outline-offset: 2px; }
.zcb-button--primary { background: var(--zcb-text); color: var(--zcb-bg); }
.zcb-button--ghost { border-color: var(--zcb-line); }

.zcb-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zcb-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99991;
  background: rgba(0, 0, 0, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.zcb-modal {
  width: min(100%, 720px);
  max-height: min(760px, 92vh);
  overflow: auto;
  border: 1px solid var(--zcb-line);
  border-radius: 22px;
  background: var(--zcb-bg);
  box-shadow: var(--zcb-shadow);
}

.zcb-modal__header,
.zcb-modal__body,
.zcb-modal__footer { padding: 20px; }

.zcb-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--zcb-line);
}

.zcb-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--zcb-line);
  border-radius: 50%;
  background: var(--zcb-bg);
  color: var(--zcb-text);
  font: inherit;
  cursor: pointer;
}

.zcb-category {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--zcb-line);
}

.zcb-category:last-child { border-bottom: 0; }
.zcb-category h3 { font-size: 1rem; margin-bottom: 4px; }

.zcb-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  color: var(--zcb-muted);
  font-size: 0.9rem;
}

.zcb-toggle input { width: 20px; height: 20px; accent-color: #111111; }
.zcb-toggle input:disabled { opacity: 0.65; }

.zcb-modal__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid var(--zcb-line);
  background: var(--zcb-soft);
}

@media (max-width: 700px) {
  .zcb-banner { left: 10px; right: 10px; bottom: 10px; border-radius: 18px; }
  .zcb-banner__grid { grid-template-columns: 1fr; }
  .zcb-actions { justify-content: stretch; }
  .zcb-button { flex: 1 1 auto; }
  .zcb-modal { border-radius: 18px; }
  .zcb-modal__header,
  .zcb-modal__body,
  .zcb-modal__footer { padding: 16px; }
}
