.hakembo-cookies,
.hakembo-cookie-dialog {
  --cookie-ink: #252c26;
  --cookie-accent: #21372e;
  color: var(--cookie-ink);
  background: #faf8f2;
  border: 1px solid #ded7ca;
  border-radius: 17px;
  box-shadow: 0 12px 40px #252c262e;
}

.hakembo-cookies {
  position: fixed;
  z-index: 40;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  width: min(710px, calc(100% - 40px));
  margin-inline: auto;
  padding: 14px 18px;
}

.hakembo-cookies[hidden] { display: none; }
.hakembo-cookies h2,
.hakembo-cookie-dialog h2 { margin: 0; font-size: 18px; letter-spacing: normal; line-height: 1.2; }
.hakembo-cookies p,
.hakembo-cookie-dialog p { margin: 5px 0 0; font-size: 14px; line-height: 1.5; }
.hakembo-cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 13px; }
.hakembo-cookie-link,
.hakembo-cookie-accept {
  min-height: 44px;
  color: inherit;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
.hakembo-cookie-link { padding: 6px 0; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.hakembo-cookie-accept { padding: 10px 17px; border-radius: 0; color: white; background: var(--cookie-accent); }
.hakembo-cookie-accept:hover { background: #364339; }
.hakembo-cookie-link:focus-visible,
.hakembo-cookie-accept:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.hakembo-cookie-accept:focus-visible { outline-color: var(--cookie-accent); }
.hakembo-cookie-dialog { width: min(430px, calc(100% - 32px)); padding: 22px; }
.hakembo-cookie-dialog::backdrop { background: #252c2691; }
.hakembo-cookie-dialog p + p { margin-top: 10px; }
.hakembo-cookie-dialog .hakembo-cookie-actions { justify-content: flex-end; margin-top: 16px; }
.landing-cookie-footer { display: flex; justify-content: center; margin-top: 6px; }

@media (max-width: 480px) {
  .hakembo-cookies { right: 12px; left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); }
  .hakembo-cookies .hakembo-cookie-actions { width: 100%; justify-content: space-between; }
}

