.cb-ga4-consent,
.cb-ga4-settings {
  position: fixed;
  z-index: 10000;
  bottom: 20px;
  left: 20px;
  font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cb-ga4-consent[hidden],
.cb-ga4-settings[hidden] { display: none !important; }

.cb-ga4-consent {
  width: min(420px, calc(100vw - 40px));
  padding: 18px;
  color: #163047;
  background: #fff;
  border: 1px solid #dce6ee;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(16, 43, 66, .18);
}

.cb-ga4-consent p { margin: 0 0 14px; }
.cb-ga4-consent a { color: #0758b8; text-decoration: underline; }
.cb-ga4-consent-actions { display: flex; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.cb-ga4-consent button,
.cb-ga4-settings {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #c4d2df;
  border-radius: 8px;
  background: #fff;
  color: #163047;
  cursor: pointer;
}
.cb-ga4-consent [data-cb-ga4-accept] { background: #0965c3; border-color: #0965c3; color: #fff; }
.cb-ga4-consent button:focus-visible,
.cb-ga4-settings:focus-visible { outline: 3px solid #69afff; outline-offset: 2px; }
.cb-ga4-settings { padding: 5px 9px; min-height: 30px; font-size: 12px; box-shadow: 0 4px 16px rgba(16, 43, 66, .12); }

@media (max-width: 600px) {
  .cb-ga4-consent, .cb-ga4-settings { bottom: 12px; left: 12px; }
  .cb-ga4-consent { width: calc(100vw - 24px); }
}
