/* Cookie notice (cookie-consent.js). Bottom-left glass card on desktop, full
   width strip on phones. Sits above the floating CTA (z 26) and below the
   header capsule and menu sheet (z 30+ / 100). */
.ck {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 28;
  display: flex;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 240ms ease, transform 240ms ease;
}
.ck.in { opacity: 1; transform: none; }
.ck[hidden] { display: none; }
.ck-card {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  max-width: 560px;
  padding: 16px 18px 16px 22px;
  border: 1px solid var(--line-hi);
  border-radius: var(--r);
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--soft-shadow-lg);
}
.ck-text {
  flex: 1 1 260px;
  margin: 0;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.ck-text a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-hi);
  text-underline-offset: 3px;
}
.ck-text a:hover { text-decoration-color: currentColor; }
.ck-actions { display: flex; gap: 10px; margin-left: auto; }
.ck-actions .btn { white-space: nowrap; }
.ck .btn:focus-visible { outline: 2px solid var(--acc-sky); outline-offset: 2px; }
.foot-nav button[data-cookie-settings] {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--dim);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 180ms ease;
}
.foot-nav button[data-cookie-settings]:hover { color: var(--text); }
@media (max-width: 560px) {
  .ck { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  .ck-card { max-width: none; padding: 16px 16px 14px; gap: 12px; }
  .ck-actions { width: 100%; margin-left: 0; }
  .ck-actions .btn { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ck { transition: none; }
}
