#swarmcast-analytics-banner,
#swarmcast-privacy-settings {
  color: #f4f6ff;
  font: 14px/1.5 system-ui, sans-serif;
}

#swarmcast-analytics-banner {
  position: fixed;
  z-index: 10000;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid #34415a;
  border-radius: 12px;
  background: #10182a;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .45);
}

#swarmcast-analytics-banner[hidden] { display: none !important; }
#swarmcast-analytics-banner p { margin: 0; color: #d7deed; }
#swarmcast-analytics-banner a { color: #8ce8ff; }
.swarmcast-consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.swarmcast-consent-actions button,
#swarmcast-privacy-settings {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #60708c;
  border-radius: 8px;
  background: #1c2740;
  color: #f4f6ff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.swarmcast-consent-actions button[data-consent="accepted"] {
  border-color: #69d9f5;
  background: #69d9f5;
  color: #071521;
}
.swarmcast-consent-actions button:focus-visible,
#swarmcast-privacy-settings:focus-visible { outline: 3px solid #bd82ff; outline-offset: 2px; }

#swarmcast-privacy-settings {
  position: fixed;
  z-index: 9999;
  right: 12px;
  bottom: 12px;
  min-height: 34px;
  padding: 6px 10px;
  font-size: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}

@media (max-width: 640px) {
  #swarmcast-analytics-banner { align-items: stretch; flex-direction: column; gap: 12px; padding: 14px; }
  .swarmcast-consent-actions { flex-wrap: wrap; }
  .swarmcast-consent-actions button { flex: 1 1 140px; }
}
