/* Consent manager. Uses v3 tokens with fallbacks so it also works on pages
   that load nothing else. "Accept all" and "Reject all" share .vc-btn exactly
   (equal prominence); nothing here may single either one out. */
.vc-backdrop {
  /* 250: above --z-modal (210: page dialogs and the announcement popup) so a
     consent choice is never hidden, below --z-toast (300) so toasts stay
     readable. The foundation.css scale has no step in between. */
  position: fixed; inset: 0; z-index: 250;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px;
  background: var(--scrim, rgba(4, 5, 6, 0.55));
  opacity: 0;
  transition: opacity 240ms cubic-bezier(0.32, 0.72, 0, 1);
}
.vc-backdrop[data-mode="banner"] { background: transparent; pointer-events: none; }
.vc-backdrop[data-mode="banner"] .vc-dialog { pointer-events: auto; }
.vc-backdrop.is-open { opacity: 1; }
@media (min-width: 640px) { .vc-backdrop[data-mode="panel"] { align-items: center; } }
.vc-dialog {
  width: 100%; max-width: 480px; max-height: calc(100dvh - 32px); overflow: auto;
  padding: 24px;
  border-radius: 28px;
  background: var(--paper-100, #111214);
  color: var(--ink-900, #EDEEF0);
  box-shadow: inset 0 0 0 1px var(--line-strong, rgba(255,255,255,.14)), 0 30px 80px -30px rgba(0,0,0,.6);
  font-family: var(--font-sans, system-ui, sans-serif);
  transform: translate3d(0, 12px, 0);
  transition: transform 300ms cubic-bezier(0.32, 0.72, 0, 1);
}
.vc-backdrop.is-open .vc-dialog { transform: none; }
/* The dialog only takes focus as a fallback (tabindex=-1); controls show the ring. */
.vc-dialog:focus { outline: none; }
.vc-title { margin: 0 0 8px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.vc-lede, .vc-note, .vc-row-desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-500, #8E9198); }
.vc-note { margin-top: 10px; color: var(--ink-700, #C5C7CC); }
.vc-rows { margin: 18px 0 8px; display: grid; gap: 2px; }
.vc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line, rgba(255,255,255,.08)); }
.vc-row-title { display: block; margin: 0 0 2px; font-size: 15px; font-weight: 500; cursor: pointer; }
.vc-row.is-disabled .vc-row-title { cursor: default; }
.vc-switch { appearance: none; flex-shrink: 0; width: 42px; height: 24px; margin: 0; border-radius: 999px; background: var(--wash-3, rgba(255,255,255,.09)); box-shadow: inset 0 0 0 1px var(--line-strong, rgba(255,255,255,.14)); position: relative; cursor: pointer; transition: background-color 200ms ease-out; }
.vc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink-900, #EDEEF0); transition: transform 240ms cubic-bezier(0.32, 0.72, 0, 1); }
.vc-switch:checked { background: var(--signal, #C6F24E); }
.vc-switch:checked::after { transform: translateX(18px); background: var(--signal-ink, #0B0D05); }
.vc-switch:disabled { opacity: .5; cursor: not-allowed; }
.vc-switch:focus-visible, .vc-btn:focus-visible, .vc-more a:focus-visible { outline: 2px solid var(--ring, #C6F24E); outline-offset: 2px; }
.vc-more { margin: 8px 0 18px; font-size: 14px; }
.vc-more a { color: var(--ink-900, #EDEEF0); }
.vc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vc-actions-single { grid-template-columns: 1fr; }   /* GPC on: no "Accept all" */
.vc-btn { min-height: 44px; padding: 10px 16px; border: 0; border-radius: 999px; font: 500 15px/1.2 var(--font-sans, system-ui, sans-serif); cursor: pointer; background: var(--ink-900, #EDEEF0); color: var(--paper-0, #0C0D0F); }
.vc-btn-quiet { grid-column: 1 / -1; background: var(--wash-2, rgba(255,255,255,.05)); color: var(--ink-900, #EDEEF0); box-shadow: inset 0 0 0 1px var(--line-strong, rgba(255,255,255,.14)); }
@media (prefers-reduced-motion: reduce) { .vc-backdrop, .vc-dialog, .vc-switch, .vc-switch::after { transition: none; } }
