.consent-banner, .consent-settings, .consent-placeholder {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #f3f4f6;
}
.consent-banner {
  position: fixed;
  z-index: 10000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: auto;
  max-width: 580px;
  margin: 0 auto;
  padding: 20px;
  background: #111820;
  border: 1px solid #657080;
  border-radius: 14px;
  box-shadow: 0 12px 48px #0008;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  text-align: left;
}
.consent-banner h2 { margin: 0 0 8px; font-size: 17px; line-height: 1.4; color: #fff; }
.consent-banner p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; color: #d1d7e0; }
.consent-links { display: flex; flex-wrap: wrap; gap: 18px; }
.consent-links a { color: #eef2ff; text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions button, .consent-settings, .consent-placeholder button {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  color: #fff;
  background: #26313e;
  border: 1px solid #8894a4;
  border-radius: 8px;
  padding: 11px 14px;
  min-height: 44px;
}
.consent-actions button { flex: 1 1 210px; }
.consent-actions button:hover, .consent-settings:hover, .consent-placeholder button:hover { background: #354252; }
.consent-banner a:focus-visible, .consent-actions button:focus-visible,
.consent-settings:focus-visible, .consent-placeholder button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.consent-settings { position: fixed; z-index: 9999; bottom: 12px; left: 12px; font-size: 12px; box-shadow: 0 3px 12px #0006; }
.consent-placeholder { padding: 24px; background: #111820; border: 1px solid #657080; border-radius: 12px; }
.consent-placeholder p { color: #d1d7e0; }
.consent-banner[hidden], .consent-settings[hidden], [data-consent-src][hidden],
[data-consent-placeholder][hidden], [data-open-consent][hidden] { display: none !important; }
@media print { .consent-banner, .consent-settings { display: none !important; } }
