/* Çerez onayı — the banner the analytics wait behind (mechanics in
   consent.js). A card in the bottom-left corner, not a wall: the page stays
   usable while it is open. It reads the page's own tokens, so on The Grid's
   paper it turns light with everything else. Reddet and Kabul et are the same
   size side by side: saying no is as easy as saying yes. */

.bp-consent {
  position: fixed; left: 24px; bottom: 24px; z-index: 1000;
  width: min(420px, calc(100vw - 48px));
  padding: 20px 20px 18px;
  border-radius: 14px;
  background: var(--sc-surface, #101217);
  color: var(--sc-ink, #f4f2ef);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(127, 127, 127, .22);
  font: 400 14px/1.55 var(--sc-font-text, system-ui, sans-serif);
  opacity: 0; transform: translateY(12px);
  transition: opacity 300ms var(--sc-ease-out, ease-out), transform 420ms var(--sc-ease-out, ease-out);
}
.bp-consent.is-open { opacity: 1; transform: none; }
.bp-consent[hidden] { display: none; }

.bp-consent .bp-consent__k {
  display: flex; align-items: center; gap: 10px; margin: 0 0 10px;
  font: 500 11px/1 var(--sc-font-text, system-ui, sans-serif); letter-spacing: .14em; text-transform: uppercase;
  color: var(--sc-ink-soft, #9a9ba1);
}
.bp-consent__k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sc-accent, #d8ff3e); flex: none; }
.bp-consent p { margin: 0; color: var(--sc-ink-soft, #9a9ba1); }
.bp-consent p a { color: var(--sc-ink, #f4f2ef); text-underline-offset: 3px; }

.bp-consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.bp-consent__btns button {
  appearance: none; cursor: pointer; min-height: 44px; padding: 0 16px; border-radius: 999px;
  font: 600 13px/1 var(--sc-font-display, system-ui, sans-serif); letter-spacing: .04em; text-transform: uppercase;
  transition: background 160ms, color 160ms, border-color 160ms;
}
.bp-consent__no { background: transparent; color: var(--sc-ink, #f4f2ef); border: 1px solid rgba(127, 127, 127, .45); }
.bp-consent__no:hover { border-color: var(--sc-ink, #f4f2ef); }
.bp-consent__yes { background: var(--sc-ink, #f4f2ef); color: var(--sc-surface, #101217); border: 1px solid var(--sc-ink, #f4f2ef); }
.bp-consent__yes:hover { background: transparent; color: var(--sc-ink, #f4f2ef); }
.bp-consent button:focus-visible, .bp-consent a:focus-visible { outline: 2px solid var(--sc-accent, #d8ff3e); outline-offset: 3px; }

/* the way back in, in the footer bar */
.bp-consent-open {
  appearance: none; background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit; letter-spacing: inherit;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(127, 127, 127, .5);
}
.bp-consent-open:hover { color: var(--sc-ink, #f4f2ef); }

@media (max-width: 640px) {
  .bp-consent { left: 16px; right: 16px; bottom: 16px; width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .bp-consent { transition: none; }
}
