.stats-consent {
  position: fixed;
  z-index: 100;
  inset: auto clamp(12px, 3vw, 40px) max(12px, env(safe-area-inset-bottom)) auto;
  width: min(38rem, calc(100% - 24px));
  max-height: 88vh;
  max-height: 88dvh;
  overflow: auto;
  box-sizing: border-box;
  padding: clamp(18px, 3vw, 28px);
  color: #f1f3f2;
  background: #202627;
  border: 1px solid #727b7b;
  border-radius: 16px;
  box-shadow: 0 8px 32px #0005;
  font: 15px/1.5 Arial, Helvetica, sans-serif;
}
.stats-consent h2 { margin: 0 0 10px; font: 600 23px/1.2 Arial, Helvetica, sans-serif; }
.stats-consent p { margin: 6px 0; color: #e0e5e4; }
.stats-consent .stats-policy-link { display: inline-block; padding-block: 5px; color: #ffb48f; font-weight: 600; }
.stats-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.stats-consent .button {
  border-radius: 999px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #b2bcbc;
  color: #f2f4f4;
  background: #202627;
  font: 600 14px/1.35 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  cursor: pointer;
}
.stats-consent .button:hover, .stats-consent .button:focus-visible {
  color: #161b1c;
  background: #ffa579;
}
.cookie-category { margin-top: 12px; padding-top: 10px; border-top: 1px solid #687373; }
.cookie-category-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cookie-category-heading input { width: 22px; height: 22px; accent-color: #ef8758; }
.cookie-necessary-state { color: #dce4e2; font-size: 13px; }
.stats-consent [hidden], .stats-consent[hidden] { display: none !important; }
@media (max-width: 440px) {
  .stats-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-consent .button { width: 100%; padding-inline: 8px; }
}
