/* CodeGeek cookie consent banner: restyled to the site theme (behaviour unchanged) */
#codegeek-cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100000; max-width: 760px; margin: 0 auto;
  background: var(--paper, #faf8f3); color: var(--ink, #17191d);
  border: 1px solid var(--line-2, rgba(23, 25, 29, 0.16)); border-radius: 18px;
  box-shadow: 0 24px 60px -20px rgba(23, 25, 29, 0.45), 0 2px 0 var(--amber, #ffb400) inset;
  font-family: var(--body, "Manrope", Arial, sans-serif); animation: cg-rise 0.5s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes cg-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cg-cookie-inner { padding: 18px 22px; display: flex; align-items: center; gap: 22px; }
.cg-cookie-copy { flex: 1; min-width: 0; }
.cg-cookie-copy strong { display: block; font: 600 1rem/1.2 var(--display, "Space Grotesk", Arial, sans-serif); margin-bottom: 6px; }
.cg-cookie-copy p { margin: 0; color: var(--ink-2, #4a4d55); font-size: 0.82rem; line-height: 1.55; }
.cg-cookie-copy a { color: var(--ink, #17191d); text-decoration: underline; text-decoration-color: var(--amber, #ffb400); text-underline-offset: 3px; }
.cg-cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cg-cookie-actions button, #codegeek-cookie-settings {
  border: 1px solid var(--ink, #17191d); border-radius: 999px; padding: 11px 22px; min-width: 90px; cursor: pointer;
  font: 600 0.82rem/1 var(--body, "Manrope", Arial, sans-serif); transition: transform 0.25s, background 0.25s;
}
.cg-cookie-reject { background: transparent; color: var(--ink, #17191d); }
.cg-cookie-accept { background: var(--amber, #ffb400); border-color: var(--amber, #ffb400); color: #15130d; }
.cg-cookie-actions button:hover { transform: translateY(-2px); }
.cg-cookie-actions button:focus-visible, #codegeek-cookie-settings:focus-visible { outline: 2px solid var(--ink, #17191d); outline-offset: 3px; }
#codegeek-cookie-settings { position: fixed; left: 16px; bottom: 16px; z-index: 89; background: var(--paper, #faf8f3); color: var(--ink-2, #4a4d55); padding: 8px 14px; font-size: 0.72rem; border-color: var(--line-2, rgba(23,25,29,.16)); }
#codegeek-cookie-settings:hover { background: #fff; color: var(--ink, #17191d); }
@media (max-width: 767px) {
  #codegeek-cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cg-cookie-inner { display: block; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
  .cg-cookie-actions { margin-top: 12px; display: grid; grid-template-columns: 1fr; }
  .cg-cookie-actions button { width: 100%; padding: 13px 10px; }
  #codegeek-cookie-settings { left: 10px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { #codegeek-cookie-banner { animation: none; } }
