/* Cookie notice strip (assets/js/cookie-consent.js), shared by all three language versions. */
.cookie-consent {
  --consent-surface: #fff;
  --consent-text: #211c38;
  --consent-muted: #625c72;
  --consent-border: #e6def3;
  position: fixed;
  z-index: 1034;
  left: max(24px, env(safe-area-inset-left));
  bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(640px, calc(100vw - 260px));
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--consent-border);
  border-radius: 14px;
  background: var(--consent-surface);
  color: var(--consent-text);
  box-shadow: 0 8px 32px rgba(29, 17, 56, .12);
  font-family: inherit;
  text-align: left;
  animation: cookie-consent-in .25s ease-out both;
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent-text { flex: 1 1 auto; margin: 0; font-size: 13px; line-height: 1.5; color: var(--consent-muted); }
.cookie-consent-text b { color: var(--consent-text); }
.cookie-consent-text a { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cookie-consent button { flex: 0 0 auto; font-family: inherit; line-height: 1.4; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.cookie-consent-ok { min-height: 34px; padding: 5px 14px; border: 1px solid #6840c4; border-radius: 9px; background: #6840c4; color: #fff; font-size: 13px; font-weight: 700; }
.cookie-consent-ok:hover { background: #5630ac; border-color: #5630ac; }
.cookie-consent-close { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--consent-muted); font-size: 20px; }
.cookie-consent-close:hover { color: var(--consent-text); background: var(--consent-border); }
.cookie-consent :focus-visible { outline: 3px solid #a889ef; outline-offset: 2px; }
body[data-background="dark"] .cookie-consent { --consent-surface: #252236; --consent-text: #f7f4ff; --consent-muted: #c6bed8; --consent-border: #443858; box-shadow: 0 8px 32px rgba(0, 0, 0, .35); }
@keyframes cookie-consent-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 991px) {
  .cookie-consent { max-width: calc(100vw - 48px); }
}
@media (max-width: 767px) {
  .cookie-consent { left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); max-width: none; gap: 6px; padding: 8px 6px 8px 12px; border-radius: 12px; }
  .cookie-consent-text { font-size: 12.5px; }
  .cookie-consent-ok { padding: 5px 10px; }
  .cookie-consent-close { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-consent { animation: none; }
  .cookie-consent button { transition: none; }
}
