/* Anonymous daily-quota banner on the public /oversaettelse/ demo.
   Follows the ss-anon-limit-banner pattern in sage green, centered in the
   (usually blank) target ql-editor. Hidden until the quota blocks a call. */

#ss-anon-limit-banner {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 30;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}

#ss-anon-limit-banner.is-visible {
  display: flex;
}

/* Skeleton only — the card's EXPRESSION lives in the ss-limit family
   (.ss-limit-card species, assets/css/ss-limit.css): title + one CTA +
   quiet tomorrow-line (Morten 12/7). */
.ss-anon-limit-card {
  max-width: 360px;
  pointer-events: auto;
  animation: ss-anon-limit-in 0.2s ease-out;
}

@keyframes ss-anon-limit-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dark expression owned by the ss-limit family tokens. */

@media (max-width: 600px) {
  #ss-anon-limit-banner {
    padding: 12px;
  }

  .ss-anon-limit-card {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ss-anon-limit-card {
    animation: none;
  }
}
