/* Only the outer loop badge has onsale. Child text never receives theme badge classes. */
html body .abc-pr-badge{position:absolute!important;inset:auto 6px 6px auto!important;z-index:25!important;display:inline-flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:max-content!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:calc(100% - 12px)!important;box-sizing:border-box!important;margin:0!important;padding:3px 6px!important;background:#ff0000!important;background-image:none!important;color:#fff!important;border:0!important;border-radius:4px!important;box-shadow:none!important;line-height:1.15!important;text-align:center!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap!important;pointer-events:none!important;transform:none!important}
html body .abc-pr-badge::before,html body .abc-pr-badge::after{display:none!important;content:none!important}
html body .abc-pr-badge>.abc-pr-badge-title,html body .abc-pr-badge>.abc-pr-badge-time{position:static!important;display:block!important;float:none!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;font-family:Arial,sans-serif!important;font-style:normal!important;font-size:10px!important;font-weight:600!important;line-height:1.15!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap!important;transform:none!important}
html body .abc-pr-badge-single{inset:auto 8px 8px auto!important;padding:5px 7px!important}
html body .abc-pr-badge>.abc-pr-badge-time{font-size:9px!important;font-weight:400!important;margin-top:3px!important}
html body .abc-pr-badge-host{position:relative!important}
html body .abc-pr-badge[hidden]{display:none!important}
@media(max-width:480px){html body .abc-pr-badge>.abc-pr-badge-title{font-size:9px!important}html body .abc-pr-badge-single>.abc-pr-badge-title{font-size:10px!important}}

/* Gentle pulse; independent scale preserves the existing position and layout. */
html body .abc-pr-badge {
  transform-origin: right bottom !important;
  animation: abc-pr-soft-pulse 2.8s ease-in-out infinite !important;
}
@keyframes abc-pr-soft-pulse {
  0%, 100% { scale: 1; filter: brightness(1) drop-shadow(0 0 0 transparent); }
  50% { scale: 1.035; filter: brightness(1.08) drop-shadow(0 0 3px rgba(255,0,0,.25)); }
}
@media (prefers-reduced-motion: reduce) {
  html body .abc-pr-badge {
    animation: none !important;
    scale: 1 !important;
    filter: none !important;
  }
}
