#dtect-cookies { font: 14px/1.5 'Open Sauce Sans', Arial, sans-serif; color: #e9f0ee; }
#dtect-cookies * { box-sizing: border-box; }
#dtect-cookies [hidden] { display: none !important; }
#dtect-cookies .dtect-cookie-notice {
  position: fixed; z-index: 2147483000; inset: auto 20px 20px;
  width: auto; max-width: 1120px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  border: 1px solid #647078; border-radius: 12px; background: #191c27;
  max-height: calc(100dvh - 40px); overflow-y: auto; color-scheme: dark;
}
#dtect-cookies .dtect-cookie-copy { flex: 1 1 420px; }
#dtect-cookies h2 { font: 600 18px/1.3 'Open Sauce Sans', Arial, sans-serif; margin: 0 0 8px; color: #e9f0ee; }
#dtect-cookies p { font: inherit; margin: 0; max-width: 72ch; color: #e9f0ee; }
#dtect-cookies a { color: #e0eae9; text-decoration: underline; text-underline-offset: 3px; }
#dtect-cookies .dtect-cookie-status:not(:empty) { margin-top: 8px; font-size: 13px; }
#dtect-cookies .dtect-cookie-actions { display: flex; gap: 12px; }
#dtect-cookies button {
  appearance: none; font: 600 14px/1.4 'Open Sauce Sans', Arial, sans-serif; cursor: pointer;
  padding: 12px 16px; min-height: 44px; border: 1px solid #e0eae9;
  border-radius: 6px; background: #e0eae9; color: #191c27; white-space: nowrap;
}
#dtect-cookies button:hover { background: #fafcfc; border-color: #fafcfc; }
#dtect-cookies :focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
#dtect-cookies .dtect-cookie-close { background: transparent; color: #e9f0ee; border-color: #647078; }
#dtect-cookies .dtect-cookie-close:hover { background: #303b40; }
#dtect-cookies .dtect-cookie-settings {
  position: fixed; z-index: 2147482999; left: 16px; bottom: 12px;
  padding: 10px 12px; min-height: 44px; background: #191c27;
  border: 1px solid #647078; border-radius: 6px; font-size: 13px;
}
#dtect-cookies ::selection { background: #e0eae9; color: #191c27; }
@media (max-width: 640px) {
  #dtect-cookies .dtect-cookie-notice { inset: auto 12px 12px; padding: 18px; gap: 16px; max-height: calc(100dvh - 24px); }
  #dtect-cookies .dtect-cookie-copy { flex-basis: 100%; }
  #dtect-cookies .dtect-cookie-actions { width: 100%; gap: 8px; }
  #dtect-cookies .dtect-cookie-actions button { flex: 1; padding: 12px 8px; white-space: normal; }
  #dtect-cookies .dtect-cookie-close { width: 100%; }
}

#dtect-cookies, #dtect-cookies * { cursor:auto !important; }
#dtect-cookies button, #dtect-cookies a { cursor:pointer !important; }
/* Keep settings in the page footer so they never cover mobile form controls. */
#dtect-cookies { background:#191c27; }
#dtect-cookies .dtect-cookie-settings { position:static; display:inline-flex; align-items:center; margin:0 20px 20px; }
