/* Single, non-modal bottom notice; analytics may run before acknowledgement. */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
  position: fixed;
  z-index: 900;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px max(20px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom));
  color: #282336;
  background: #fff;
  border-top: 1px solid #dad8e8;
  box-shadow: 0 -5px 22px rgba(18, 15, 34, 0.10);
}
.cookie-banner-copy { flex: 1; max-width: 800px; min-width: 0; }
.cookie-banner-copy p { margin: 0; font-size: 0.86rem; line-height: 1.5; color: inherit; }
.cookie-banner-copy strong { font-weight: 700; }
.cookie-banner-copy a { color: #6345be; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-actions { display: flex; gap: 9px; flex: 0 0 auto; }
.cookie-banner-actions button {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid #644bb0;
  padding: 8px 13px;
  font: inherit;
  font-size: .83rem;
  font-weight: 650;
  cursor: pointer;
}
.cookie-dismiss { color: #fff; background: #644bb0; }
.cookie-toggle { color: #4b3c83; background: transparent; }
.cookie-banner-actions button:focus-visible,
.cookie-settings-button:focus-visible { outline: 3px solid #b39bfc; outline-offset: 3px; }
.cookie-settings-button {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cookie-settings-floating {
  position: fixed;
  z-index: 800;
  bottom: 12px;
  left: 12px;
  padding: 7px 10px;
  border: 1px solid #a49bb9;
  border-radius: 9px;
  color: #403459;
  background: #fff;
  font-size: .72rem;
}
:root[data-theme="dark"] .cookie-banner {
  color: #efebfa;
  background: #241d32;
  border-color: #51475f;
}
:root[data-theme="dark"] .cookie-banner-copy a { color: #c8aaff; }
:root[data-theme="dark"] .cookie-toggle { color: #efe0ff; border-color: #9d7dd1; }
@media (max-width: 740px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 9px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); }
  .cookie-banner-copy { max-width: none; }
  .cookie-banner-copy p { font-size: .81rem; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions button { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner * { transition: none !important; }
}
