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