/* Keep the footer reachable and scroll targets above the small notice. */
html { scroll-padding-bottom: var(--cookie-notice-space, 0px); }
body { padding-bottom: var(--cookie-notice-space, 0px); }
.cookie-notice {
  position: fixed;
  z-index: 60;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  width: min(440px, calc(100% - 40px));
  padding: 18px 20px 12px;
  border: 1px solid #e8e4f0;
  border-radius: 20px;
  color: #101329;
  background: #fff;
  box-shadow: 0 6px 32px #25204312;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}
.cookie-notice h2 svg { width: 17px; height: 17px; color: #6543c4; }
.cookie-notice p { margin: 0; color: #626b8c; font-size: 13px; line-height: 1.55; }
.cookie-notice-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.cookie-notice-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #6543c4;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-notice-actions button {
  min-width: 96px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid #e1d9f0;
  border-radius: 999px;
  background: #f7f4fc;
  color: #5031a2;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.cookie-notice-actions button:hover { background: #eee8fa; border-color: #9d83d0; }
.cookie-notice :focus-visible { outline: 3px solid #6543c4; outline-offset: 3px; }
@media (max-width: 600px) {
  .cookie-notice { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); padding: 14px 16px 10px; border-radius: 16px; }
}
@media print {
  body { padding-bottom: 0; }
  .cookie-notice { display: none; }
}
