.cookie-consent[hidden] { display: none; }
.cookie-consent {
  position: fixed;
  z-index: 1200;
  inset: auto 24px 24px;
  width: min(720px, calc(100vw - 48px));
  margin-inline: auto;
  padding: 20px 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  color: #17191b;
  background: #fff;
  border: 1px solid #d9dcdf;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgb(0 0 0 / 16%);
  font: inherit;
}
.cookie-consent-copy { min-width: 0; }
.cookie-consent h2 { margin: 0 0 6px; color: inherit; font-size: 16px; line-height: 1.35; }
.cookie-consent p { margin: 0; color: #50565c; font-size: 13px; line-height: 1.5; }
.cookie-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cookie-consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.cookie-consent-actions button {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #17191b;
  border-radius: 7px;
  color: #17191b;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.cookie-consent-actions .cookie-consent-accept { color: #fff; background: #111; }
.cookie-consent button:focus-visible,
.cookie-preferences:focus-visible { outline: 3px solid #2763da; outline-offset: 3px; }
.cookie-preferences {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: .9em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (max-width: 640px) {
  .cookie-consent { inset: auto 12px 12px; width: calc(100vw - 24px); padding: 16px; display: block; }
  .cookie-consent-actions { margin-top: 14px; }
  .cookie-consent-actions button { flex: 1 1 0; min-width: 0; padding: 0 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  .cookie-consent:not([hidden]) { animation: cookie-consent-in 180ms ease-out both; }
  @keyframes cookie-consent-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
