/* Lucian UX/UI Prompt #263 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#263 */
/* Registration success number only; no site-wide tokens, theme or scripts changed. */
#regOverlay .u263-number {
  /* Map the reference gradient to the existing camp palette. */
  --u263-grad:linear-gradient(90deg,var(--navy, #213b72),var(--mauve, #ba7da1) 33%,#df93b6 55%,var(--gold, #f3b57e) 78%,var(--navy, #213b72));
}
/* The website has a fixed light design, not a site-wide dark theme.
   These dark tokens only take effect if an actual data-theme=dark is added later. */
:root[data-theme="dark"] #regOverlay .u263-number {
  --u263-grad:linear-gradient(90deg,#d5c4ff,#ffb9d8 35%,#ffdab8 70%,#d5c4ff);
}
@supports ((-webkit-background-clip:text) or (background-clip:text)) {
  #regOverlay .reg-v18-success.active .reg-v18-success-no>strong.u263-number {
    background:var(--u263-grad);
    background-size:300% 100%;
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    -webkit-text-fill-color:transparent;
    /* Preserve the existing entry, then apply the 5s linear flow from #263. */
    animation:v3818-success-in 950ms cubic-bezier(.22,1,.35,1) both,
              u263-number-flow 5s linear .95s infinite;
  }
}
@keyframes u263-number-flow { to { background-position:-300% 0; } }
/* Keep the existing single-pass sheen: it finishes while the number remains legible. */
@media (prefers-reduced-motion:reduce) {
  #regOverlay .reg-v18-success.active .reg-v18-success-no>strong.u263-number {
    animation:none !important;
    background:none !important;
    color:var(--navy, #213b72) !important;
    -webkit-text-fill-color:var(--navy, #213b72) !important;
    opacity:1 !important;
    filter:none !important;
    transform:none !important;
  }
  #regOverlay .reg-v18-success.active .reg-v18-success-no>strong.u263-number::after {
    display:none !important;
  }
}
