/* Prism branding layer for the Paperclip UI. Generated by branding/build-assets.py. */

/* Logo lockup (component PaperclipLockup; matched by its fixed viewBox). */
svg[viewBox="22.5 22.5 121 27"] {
  height: 2rem;
  width: auto;
  aspect-ratio: 184 / 64;
  background: url("/prism/prism-logo.svg") left center / contain no-repeat;
}
.dark svg[viewBox="22.5 22.5 121 27"] {
  background-image: url("/prism/prism-logo-dark.svg");
}
svg[viewBox="22.5 22.5 121 27"] > * {
  display: none;
}

/* Loading / thinking mark (AnimatedPaperclipIcon). */
svg.paperclip-thinking-icon {
  background: url("/prism/prism-icon.svg") center / contain no-repeat;
  animation: prism-pulse 1.6s ease-in-out infinite;
}
svg.paperclip-thinking-icon > * {
  display: none;
}
@keyframes prism-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
  svg.paperclip-thinking-icon { animation: none; }
}

/* Sign-in page art panel: the paperclip ASCII animation becomes the Prism mark. */
div:has(> pre.select-none.leading-none[aria-hidden="true"]) {
  background: url("/prism/prism-icon.svg") center / 10rem no-repeat;
}
div > pre.select-none.leading-none[aria-hidden="true"] {
  visibility: hidden;
}
