[data-analytics-settings] { display: none; }
.analytics-enabled [data-analytics-settings] {
  display: inline-block;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 8px 0;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
#analytics-consent {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 10000;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 22px;
  background: #13181c;
  color: #f5f1e8;
  border: 1px solid #7198a8;
  border-radius: 6px;
  font: 15px/1.5 Barlow, Arial, sans-serif;
}
#analytics-consent[hidden] { display: none; }
#analytics-consent h2 { margin: 0 0 10px; font: 700 22px/1.2 'Barlow Semi Condensed', Arial, sans-serif; }
#analytics-consent p { margin: 0 0 14px; }
#analytics-consent a { color: #f5f1e8; text-decoration: underline; }
#analytics-consent > div { display: flex; flex-wrap: wrap; gap: 10px; }
#analytics-consent button {
  flex: 1;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #7198a8;
  border-radius: 3px;
  background: #2b343b;
  color: #f5f1e8;
  font: 700 16px/1.2 Barlow, Arial, sans-serif;
  cursor: pointer;
}
#analytics-consent [data-consent="granted"] { background: #f7a225; color: #13181c; border-color: #f7a225; }
#analytics-consent :focus-visible, [data-analytics-settings]:focus-visible { outline: 3px solid #f7a225; outline-offset: 3px; }
