.agc, .agc * { box-sizing: border-box; }
.agc { --agc-bg: #0b0b0b; --agc-border: rgba(255,255,255,.12); --agc-text: #f3f4f6; --agc-body: #b4bac4; --agc-muted: #7d8591; --agc-primary: #bbf907;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 14px; line-height: 1.6; color: var(--agc-body); }
.agc-banner { position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; padding: 20px;
  border: 1px solid var(--agc-border); border-radius: 14px; background: var(--agc-bg); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.agc-banner[hidden], .agc-dialog:not([open]) { display: none; }
.agc p { margin: 0; }
.agc a { color: var(--agc-primary); text-underline-offset: 3px; }
.agc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.agc-btn { flex: 1 1 auto; min-height: 40px; padding: 8px 16px; border: 1px solid var(--agc-border); border-radius: 999px; background: rgba(255,255,255,.05);
  color: var(--agc-text); font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; }
.agc-btn:hover { background: rgba(255,255,255,.1); }
.agc-btn--link { flex: 0 0 auto; border-color: transparent; background: none; color: var(--agc-body); text-decoration: underline; text-underline-offset: 3px; }
.agc-btn--link:hover { background: none; color: var(--agc-text); }
.agc-btn:focus-visible, .agc a:focus-visible, .agc-switch input:focus-visible + span { outline: 2px solid #d1d5db; outline-offset: 2px; }
.agc-dialog { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 24px; overflow-y: auto;
  border: 1px solid var(--agc-border); border-radius: 16px; background: var(--agc-bg); color: var(--agc-body); }
.agc-dialog::backdrop { background: rgba(0,0,0,.7); }
.agc-dialog h2 { margin: 0 0 8px; color: var(--agc-text); font-size: 18px; font-weight: 600; }
.agc-cats { margin: 20px 0 0; padding: 0; list-style: none; }
.agc-cat { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--agc-border); }
.agc-cat strong { display: block; color: var(--agc-text); font-weight: 600; }
.agc-cat small { display: block; margin-top: 2px; color: var(--agc-muted); font-size: 13px; }
.agc-always { flex: none; color: var(--agc-muted); font-size: 12px; white-space: nowrap; }
.agc-switch { position: relative; flex: none; width: 44px; height: 24px; }
.agc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.agc-switch span { display: block; width: 100%; height: 100%; border-radius: 999px; background: rgba(255,255,255,.15); transition: background 160ms; pointer-events: none; }
.agc-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 160ms; }
.agc-switch input:checked + span { background: var(--agc-primary); }
.agc-switch input:checked + span::after { transform: translateX(20px); background: #000; }
[data-consent-open] { cursor: pointer; }
:where(button[data-consent-open]) { padding: 0; border: 0; background: none; color: inherit; font: inherit; }
@media (prefers-reduced-motion: reduce) { .agc-switch span, .agc-switch span::after { transition: none; } }
@media print { .agc { display: none !important; } }
