.audience-consent[hidden], .audience-preferences[hidden] { display: none; }
.audience-consent {
  position: fixed;
  z-index: 10;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(58px, calc(env(safe-area-inset-bottom) + 48px));
  width: min(420px, calc(100% - 40px));
  max-height: calc(100svh - 100px);
  overflow-y: auto;
  padding: 22px;
  border: 1px solid #625777;
  border-radius: 18px;
  background: #171421;
  color: #f8f7fc;
  box-shadow: 0 12px 48px #0005;
}
.audience-consent h2 { margin: 0 0 10px; font: 600 20px/1.3 "DM Sans", sans-serif; letter-spacing: -.4px; }
.audience-consent p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: #e4deee; }
.audience-consent details { font-size: 13px; }
.audience-consent summary { width: fit-content; cursor: pointer; color: #d7beff; text-underline-offset: 3px; text-decoration: underline; }
.audience-consent details p { margin-top: 12px; font-size: 13px; }
.audience-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.audience-actions button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #8b7fa0;
  border-radius: 10px;
  background: #282131;
  color: #fff;
  font: 600 14px "DM Sans", sans-serif;
  cursor: pointer;
}
.audience-actions button:hover { background: #3c2e4e; }
.audience-preferences {
  position: fixed;
  z-index: 11;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(8px, env(safe-area-inset-bottom));
  min-height: 44px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: #b9b0c9;
  font: 400 12px "DM Sans", sans-serif;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.audience-consent :focus-visible, .audience-preferences:focus-visible { outline: 2px solid #bda2ff; outline-offset: 4px; }
@media (max-width: 480px) {
  .audience-consent { padding: 18px; right: 16px; width: calc(100% - 32px); }
}
