#analytics-consent[hidden], [data-analytics-settings][hidden] { display: none; }
[data-analytics-settings], #analytics-consent button {
  font: inherit;
  cursor: pointer;
}
[data-analytics-settings] {
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
}
#analytics-consent {
  position: fixed;
  z-index: 20;
  right: 16px;
  bottom: 16px;
  width: min(440px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid #22231d;
  border-radius: 6px;
  background: #f7f7ef;
  color: #22231d;
  box-shadow: 0 6px 24px #22231d26;
  font-size: 15px;
}
#analytics-consent h2 { font-size: 19px; letter-spacing: 0; margin: 0 0 6px; }
#analytics-consent p { line-height: 1.45; margin: 0 0 12px; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#analytics-consent button {
  flex: 1;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #22231d;
  border-radius: 4px;
  background: #f7f7ef;
  color: #22231d;
  font-weight: 700;
}
#analytics-consent a { text-decoration: underline; }
@media (max-width: 760px) {
  #analytics-consent { bottom: calc(70px + env(safe-area-inset-bottom)); }
}
