#analytics-consent[hidden], #analytics-settings[hidden] { display: none; }
#analytics-consent {
  position: fixed;
  z-index: 150;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 16px;
  width: min(420px, calc(100% - 32px));
  padding: 18px;
  color: #f6f0e6;
  background: #211a12;
  border: 1px solid #604b30;
  border-radius: 14px;
  box-shadow: 0 12px 32px #0007;
}
#analytics-consent h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.2; }
#analytics-consent p { margin: 0 0 14px; font-size: 14px; line-height: 1.45; }
#analytics-consent a, #analytics-settings { text-decoration: underline; }
#analytics-consent .consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#analytics-consent button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 8px 12px;
  color: inherit;
  background: #231b11;
  border: 1px solid #715732;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}
#analytics-settings {
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

#analytics-consent button[data-choice="allow"] {
  border-color: #ddb46a;
}

#analytics-consent button[data-choice="allow"] {
  background: #ddb46a;
  color: #20160a;
}
