/* Necessary-cookie notice. No overlay and no scroll locking. */
body { padding-bottom: var(--cookie-notice-space, 0px); }
.cookie-notice {
  position: fixed; z-index: 90; left: 24px; bottom: 24px;
  box-sizing: border-box; width: min(560px, calc(100% - 48px));
  max-height: calc(100dvh - 48px); overflow-y: auto;
  padding: 22px 24px; border: 1px solid #dcdde4; border-radius: 16px;
  background: #fff; color: #27272f;
  box-shadow: 0 8px 36px rgb(39 39 47 / 16%);
}
.cookie-notice[hidden], [data-cookie-open][hidden] { display: none !important; }
.cookie-notice h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; letter-spacing: normal; }
.cookie-notice p { margin: 0; font-size: 14px; line-height: 1.5; }
.cookie-notice__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.cookie-notice__actions a { color: #a71d40; font-size: 14px; line-height: 1.4; text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; }
.cookie-notice__actions .button { min-height: 44px; padding: 11px 26px; flex-shrink: 0; }
.cookie-notice a:focus-visible, .cookie-notice button:focus-visible, [data-cookie-open]:focus-visible { outline: 3px solid #27272f; outline-offset: 3px; }
.cookie-reopen { margin-top: 12px; }
@media (max-width: 600px) {
  .cookie-notice { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 18px; border-radius: 14px; }
  .cookie-notice__actions { gap: 12px; }
  .cookie-notice__actions .button { padding-inline: 20px; }
}
@media (max-width: 359px) {
  .cookie-notice { padding: 16px; }
  .cookie-notice__actions .button { padding-inline: 14px; }
}
