.cookie-consent[hidden], .cookie-consent [hidden] { display: none !important; }
.cookie-consent {
  position: fixed;
  z-index: 120;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 17px;
  border: 1px solid #d8dceb;
  border-top: 3px solid #00b4a0;
  border-radius: 12px;
  background: #fff;
  color: #211044;
  box-shadow: 0 8px 28px #17103832;
  font: 14px/1.5 "DM Sans", Arial, sans-serif;
}
.cookie-consent h2 {
  margin: 0 24px 7px 0;
  font: 700 18px/1.3 "DM Sans", Arial, sans-serif;
  letter-spacing: normal;
  color: inherit;
}
.cookie-consent p { margin: 0 0 8px; color: inherit; }
.cookie-consent .cookie-consent-note { color: #50556f; font-size: 12px; }
.cookie-consent a { color: #49327d; text-underline-offset: 2px; }
.cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.cookie-consent-actions button {
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid #4e347e;
  border-radius: 6px;
  background: #f5f1fa;
  color: #211044;
  font: 700 13px/1.3 "DM Sans", Arial, sans-serif;
  cursor: pointer;
}
.cookie-consent-actions button:hover { background: #ebe3f6; }
.cookie-consent-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 21px;
  cursor: pointer;
}
.cookie-consent-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cookie-consent :focus-visible, .cookie-consent-link:focus-visible { outline: 2px solid #00786a; outline-offset: 2px; }
@media (max-width: 480px) {
  .cookie-consent { width: calc(100% - 16px); padding: 13px; }
}
