.a8-privacy-settings {
  position: fixed;
  z-index: 9997;
  left: max(14px, env(safe-area-inset-left));
  bottom: max(14px, env(safe-area-inset-bottom));
  border: 1px solid #25231f;
  border-radius: 999px;
  padding: 9px 14px;
  color: #25231f;
  background: #fff9e8;
  box-shadow: 2px 3px 0 #25231f;
  font: 600 13px/1.25 system-ui, sans-serif;
  cursor: pointer;
}
.a8-consent-panel {
  position: fixed;
  z-index: 9998;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(60px, env(safe-area-inset-bottom));
  width: min(390px, calc(100vw - 28px));
  box-sizing: border-box;
  padding: 20px;
  border: 2px solid #25231f;
  border-radius: 16px;
  background: #fff9e8;
  color: #25231f;
  box-shadow: 6px 7px 0 #f3a5a6;
  font: 400 14px/1.5 system-ui, sans-serif;
}
.a8-consent-panel[hidden], .a8-privacy-settings[hidden] { display: none !important; }
.a8-consent-panel h2 { margin: 0 0 8px; font: 700 20px/1.2 system-ui, sans-serif; }
.a8-consent-panel p { margin: 0 0 10px; }
.a8-consent-panel a { color: #25231f; text-decoration: underline; text-underline-offset: 3px; }
.a8-consent-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.a8-consent-actions button {
  min-height: 44px;
  border: 1px solid #25231f;
  border-radius: 8px;
  padding: 9px 14px;
  color: #25231f;
  background: #fff;
  font: 700 14px/1.2 system-ui, sans-serif;
  cursor: pointer;
}
.a8-consent-actions [data-a8-consent-allow] { background: #f7dc66; }
.a8-consent-panel :focus-visible, .a8-privacy-settings:focus-visible {
  outline: 3px solid #2c5a87;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .a8-consent-panel { left: 14px; right: 14px; width: auto; bottom: max(58px, env(safe-area-inset-bottom)); }
}
