.cookie-notice {
  position: fixed;
  z-index: 1200;
  left: 24px;
  bottom: 24px;
  box-sizing: border-box;
  width: 360px;
  max-width: calc(100vw - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid rgba(21, 22, 43, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  color: #15162b;
  box-shadow: 0 8px 32px rgba(21, 22, 43, .08);
  font-family: Inter, sans-serif;
  text-align: left;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice h2 { margin: 0 0 8px; font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.cookie-notice p { margin: 0; color: #4a4b63; font-size: 13px; line-height: 1.65; }
.cookie-notice-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; }
.cookie-notice-actions a { display: inline-flex; align-items: center; min-height: 44px; color: #4a4b63; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-notice-actions button {
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: #15162b;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.cookie-notice-actions button:hover { background: #303145; }
.cookie-notice-reopen {
  display: inline-block;
  min-height: 44px;
  margin-top: 4px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: #4a4b63;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cookie-notice a:focus-visible,
.cookie-notice button:focus-visible,
.cookie-notice-reopen:focus-visible { outline: 2px solid #2f5bff; outline-offset: 4px; }
.cookie-notice-open .floating-demo { visibility: hidden; }
@media (max-width: 700px) {
  .cookie-notice {
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 24px);
    max-width: none;
    padding: 18px;
    border-radius: 18px;
  }
}
