/* Avisos de Prova Social. As cores vêm da tela do plugin (CSS inline com --spn-*). */
.spn {
  --spn-bg: #141414;
  --spn-color: #fff;
  --spn-soft: #e6a817;
  --spn-accent: #141414;
  --spn-radius: 0;
  --spn-shadow: 0 10px 30px rgba(0, 0, 0, .14);
  position: fixed; bottom: 24px; z-index: 45; width: min(340px, calc(100vw - 32px)); pointer-events: none;
}
.spn--left { left: 24px; }
.spn--right { right: 24px; }

.spn__card {
  position: relative; padding: 12px 36px 12px 12px; background: var(--spn-bg); color: var(--spn-color);
  border-radius: var(--spn-radius); box-shadow: var(--spn-shadow); pointer-events: auto;
  opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .35s ease;
}
.spn__card.is-in { opacity: 1; transform: none; }

.spn__body { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.spn__media { flex: none; display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; background: var(--spn-soft); border-radius: var(--spn-radius); }
.spn__media img { width: 100%; height: 100%; object-fit: cover; }
.spn__media svg { width: 24px; height: 24px; color: var(--spn-accent); }
.spn__text { min-width: 0; }
.spn__title { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.spn__line {
  display: -webkit-box; margin-top: 2px; font-size: 12px; line-height: 1.4;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.spn__meta { display: block; margin-top: 4px; font-size: 11px; opacity: .6; }
a.spn__body:hover .spn__line { text-decoration: underline; text-underline-offset: 2px; }

.spn__close {
  position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; padding: 0; border: 0; background: none;
  color: inherit; font-size: 18px; line-height: 1; opacity: .45; cursor: pointer;
}
.spn__close:hover, .spn__close:focus-visible { opacity: 1; }

/* Celular: menor e afastado do canto oposto (onde costuma ficar o botão do WhatsApp). */
@media (max-width: 720px) {
  .spn { bottom: 16px; width: calc(100vw - 104px); }
  .spn--left { left: 16px; }
  .spn--right { right: 16px; }
  .spn__media { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .spn__card { transform: none; transition: opacity .2s; }
}
