.analytics-consent[hidden], [data-analytics-settings][hidden],
.analytics-consent [hidden] { display: none !important; }
.analytics-consent {
  position: fixed;
  z-index: 10000;
  right: 24px;
  bottom: 24px;
  width: min(510px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 24px;
  border: 1px solid rgba(190, 180, 255, .3);
  border-radius: 12px;
  background: #17151f;
  color: #fff;
  box-shadow: 0 12px 48px rgba(0, 0, 0, .45);
  font: 14px/1.6 system-ui, -apple-system, sans-serif;
}
.analytics-consent h2 { margin: 0 0 8px; font: 700 19px/1.3 system-ui, sans-serif; letter-spacing: -.02em; }
.analytics-consent p { margin: 0; font-size: 13px; color: #d1cedc; }
.analytics-consent a { color: #e0d9ff; text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent p.analytics-consent-state { margin-top: 10px; font-size: 12px; color: #b8b3c6; }
.analytics-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.analytics-consent-actions button {
  flex: 1 1 180px;
  border: 1px solid #827a98;
  border-radius: 6px;
  background: #25212f;
  color: #fff;
  padding: 11px 12px;
  font: 600 13px/1.4 system-ui, sans-serif;
  cursor: pointer;
}
.analytics-consent-actions button:hover { background: #383144; border-color: #b6a7e3; }
.analytics-consent-actions .analytics-consent-close { flex: 0 0 auto; margin-left: auto; }
.analytics-consent button:focus-visible, .analytics-consent a:focus-visible,
[data-analytics-settings]:focus-visible { outline: 3px solid #b5a2ff; outline-offset: 4px; }
[data-analytics-settings] {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.analytics-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
@media (max-width: 560px) {
  .analytics-consent { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; max-height: calc(100dvh - 24px); }
  .analytics-consent-actions button { flex-basis: 100%; }
}
