.afk-cookies {
  position: fixed; bottom: max(16px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 2147483647;
  box-sizing: border-box; width: max-content; max-width: calc(100% - 32px); display: flex; align-items: center; gap: 20px; padding: 14px 16px;
  background: #fff; color: #334155; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 4px 24px #0f172a12; font: 400 13px/1.5 system-ui, sans-serif;
}
.afk-cookies[hidden] { display: none; }
.afk-cookies p { margin: 0; max-width: 440px; font: inherit; color: inherit; }
.afk-cookies a { color: #4338ca; text-decoration: underline; text-underline-offset: 2px; }
.afk-cookies-actions { display: flex; gap: 8px; flex-shrink: 0; }
.afk-cookies button { appearance: none; cursor: pointer; border: 1px solid #cbd5e1; border-radius: 7px; padding: 8px 14px; min-height: 40px; background: #fff; color: #334155; font: 500 13px/1.5 system-ui, sans-serif; }
.afk-cookies button:hover { background: #f1f5f9; }
.afk-cookies button:focus-visible, .afk-cookies a:focus-visible, .afk-cookie-settings:focus-visible { outline: 2px solid #4f46e5; outline-offset: 3px; }
.afk-cookie-settings { display: block; margin: 16px auto; padding: 8px; border: 0; background: transparent; color: #64748b; cursor: pointer; font: 400 12px/1.5 system-ui, sans-serif; text-decoration: underline; }
@media (max-width: 600px) {
  .afk-cookies { width: calc(100% - 24px); max-width: none; bottom: max(12px, env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: 12px; }
  .afk-cookies-actions button { flex: 1; }
}
