.nexo-ad-preferences {
  box-sizing: border-box;
  width: min(460px, calc(100% - 32px));
  padding: 24px;
  border: 1px solid var(--nexo-line, #e6e5eb);
  border-radius: var(--nexo-radius-card, 18px);
  color: var(--nexo-dark, #211c44);
  background: #fff;
  font: 15px/1.5 var(--nexo-font-body, system-ui);
}
.nexo-ad-preferences[open]:not(:modal) {
  position: fixed;
  inset: auto 16px 16px auto;
  z-index: 10;
  margin: 0;
  box-shadow: 0 8px 36px #211c442b;
}
.nexo-ad-preferences::backdrop { background: #211c4455; }
.nexo-ad-preferences h2 { margin: 0; font: 800 21px var(--nexo-font-heading, system-ui); }
.nexo-ad-preferences p { margin: 12px 0 18px; }
.nexo-ad-preferences > div { display: flex; flex-wrap: wrap; gap: 10px; }
.nexo-ad-preferences button {
  flex: 1 1 100px;
  padding: 10px 14px;
  border: 1px solid var(--nexo-purple, #6349df);
  border-radius: 10px;
  color: var(--nexo-dark, #211c44);
  background: var(--nexo-lavender, #eae6ff);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nexo-ad-settings {
  display: block;
  margin: 12px auto 0;
  padding: 4px;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
/* Celular: aviso compacto para no tapar el contenido. */
@media (max-width: 600px) {
  .nexo-ad-preferences { padding: 14px 16px; font-size: 13px; line-height: 1.4; }
  .nexo-ad-preferences[open]:not(:modal) { inset: auto 8px 8px 8px; width: auto; }
  .nexo-ad-preferences h2 { font-size: 15px; }
  .nexo-ad-preferences p { margin: 4px 0 10px; }
  .nexo-ad-preferences button { flex: 1 1 80px; padding: 8px 10px; }
}
