.cookie-notice {
  position: fixed;
  z-index: 60;
  left: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  width: min(420px, calc(100% - 48px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid #e5d9ed;
  border-radius: 22px;
  background: #fff;
  color: #26212b;
  box-shadow: 0 12px 48px #3922421a, 0 2px 8px #39224208;
  font-family: Gilroy, Arial, sans-serif;
}
.cookie-notice[hidden] { display: none; }
.cookie-copy > strong { display: block; margin: 0; font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -.3px; }
.cookie-copy p { margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: #74667d; }
.cookie-copy a { color: #5b196b; text-decoration: underline; text-decoration-color: #cfb8da; text-underline-offset: 3px; }
.cookie-copy a:hover { text-decoration-color: currentColor; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.cookie-actions button {
  appearance: none;
  min-width: 0;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid #dfd2e7;
  border-radius: 12px;
  background: #f7f3fa;
  color: #530a60;
  font: 700 14px/1.4 Gilroy, Arial, sans-serif;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.cookie-actions button[data-cookie-choice="accepted"] { background: #530a60; color: #fff; border-color: #530a60; }
@media (hover: hover) {
  .cookie-actions button:hover { background: #eee4f4; border-color: #c8b3d4; }
  .cookie-actions button[data-cookie-choice="accepted"]:hover { background: #6a1779; border-color: #6a1779; }
}
.cookie-actions button:disabled { opacity: .65; cursor: wait; }
.cookie-notice :focus-visible { outline: 2px solid #78338a; outline-offset: 3px; }
.cookie-copy .cookie-error { color: #a52d44; }
.cookie-notice-open .quick-links { visibility: hidden; }
.cookie-settings-link { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .cookie-notice { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); padding: 20px; border-radius: 20px; }
  .cookie-copy > strong { font-size: 18px; }
  .cookie-copy p { font-size: 13px; }
  .cookie-actions { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-actions button { transition: none; } }
@media print { .cookie-notice, [data-cookie-settings] { display: none !important; } }
