/* The question at the bottom of every page (consent.js). Colours are tokens both the Quiet policy pages and the
   legacy home page define (--surface, --line, --text, --accent); on the legacy page, which has no ds.css, .ec-legacy
   gives the buttons their shape. */
.ec-consent { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 8px 12px; background: var(--surface); color: var(--text); border: 1px solid var(--line);
  border-radius: 12px; font-size: 14px; line-height: 1.45; }
.ec-consent-text { margin: 0; flex: 1 1 260px; color: var(--text); }
.ec-consent-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ec-consent .ec-btn, .ec-choice .ec-btn { min-width: 104px; }
.ec-consent-link { display: inline-flex; min-height: 44px; align-items: center; padding: 0 8px; color: var(--accent); }
.ec-legacy .ec-btn { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px;
  background: transparent; color: var(--text); font: inherit; cursor: pointer; }
body.ec-consent-on { padding-bottom: 120px; }
.ec-choice-state { margin: 8px 0 0; font-size: 14px; color: var(--text); }
@media (prefers-reduced-motion: no-preference) {
  .ec-consent { transition: opacity 0.25s ease; }
  .ec-consent.is-leaving { opacity: 0; }
}
@media print { .ec-consent { display: none !important; } }
