#space-cookie-consent {
  position: fixed;
  z-index: 2147483647;
  right: 16px;
  bottom: 16px;
  width: min(360px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 18px;
  border: 1px solid #1b1b1b;
  background: #f1eae2;
  color: #1b1b1b;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .2);
  font: 14px/1.5 Arial, Helvetica, sans-serif;
}
#space-cookie-consent p { margin: 0 0 14px; }
#space-cookie-consent div { display: flex; justify-content: flex-end; gap: 10px; }
#space-cookie-consent button {
  min-width: 88px;
  padding: 10px 14px;
  border: 1px solid #1b1b1b;
  background: #f1eae2;
  color: #1b1b1b;
  cursor: pointer;
  font: inherit;
}
#space-cookie-consent button[data-consent-choice="accepted"] { background: #1b1b1b; color: #f1eae2; }
#space-cookie-consent button:focus-visible { outline: 3px solid #8b6f47; outline-offset: 2px; }
/* Desktop: bottom left above the WhatsApp button, clear of the subscribe card bottom right (Leo, 7 Nov 2026). */
@media (min-width: 780px) {
  #space-cookie-consent { right: auto; left: max(24px, env(safe-area-inset-left)); bottom: calc(max(24px, env(safe-area-inset-bottom)) + 60px); }
}
/* Phone: above the subscribe pill and the WhatsApp button. */
@media (max-width: 640px) {
  #space-cookie-consent { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 60px); }
}
/* Small tablet: above the subscribe card, which is 155px tall at these widths. */
@media (min-width: 641px) and (max-width: 779px) {
  #space-cookie-consent { right: 24px; bottom: 191px; }
}
