#analytics-consent-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 99999;
  padding: 20px;
  background: #161b22;
  color: #fff;
  box-shadow: 0 -2px 10px #0003;
  font: 14px/1.5 Arial, sans-serif;
}
#analytics-consent-banner[hidden] { display: none; }
#analytics-consent-banner .consent-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
#analytics-consent-banner .consent-text {
  flex: 1 1 300px;
  min-width: 0;
  margin: 0;
  font: inherit;
  color: inherit;
}
#analytics-consent-banner .consent-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
#analytics-consent-banner button {
  padding: 12px 24px;
  border: 0;
  border-radius: 4px;
  font: 600 14px/1.5 Arial, sans-serif;
  cursor: pointer;
}
#analytics-consent-banner .accept-btn { background: #58a6ff; color: #0d1117; }
#analytics-consent-banner .decline-btn { background: #525a65; color: #fff; }
#analytics-consent-banner a { color: #8aebff; text-decoration: underline; }
#analytics-preferences { padding: 12px 20px; text-align: center; background: #0d1117; }
#analytics-preferences button {
  border: 0;
  padding: 8px;
  background: transparent;
  color: #8aebff;
  font: 14px/1.5 Arial, sans-serif;
  text-decoration: underline;
  cursor: pointer;
}
#analytics-consent-banner button:focus-visible,
#analytics-consent-banner a:focus-visible,
#analytics-preferences button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 600px) {
  #analytics-consent-banner { padding: 16px; }
  #analytics-consent-banner .consent-container { gap: 12px; }
  #analytics-consent-banner .consent-text { flex-basis: 100%; }
  #analytics-consent-banner .consent-buttons { width: 100%; }
  #analytics-consent-banner button { flex: 1; padding: 12px; }
}
