/* Generated by brand/scripts/build-components.mjs from brand/components/. Do not edit. Load public/tokens/tokens.css first. */

/* Dot matrix (L1 of nuevauno/nu#341): an identifier (a plate, a folio, an order number, an invitation code) lit as a station
   board's dots in NU Matrix, the brand's own dot face. Only for identifiers, never running text. It lights from left to right
   when it appears; --large for a code that leads a screen, --ink when the accent is already taken nearby. */
.nu-matrix {
  display: inline-block;
  font-family: var(--nu-font-family-matrix);
  font-size: var(--nu-size-lead);
  line-height: 1;
  letter-spacing: 0;
  color: var(--nu-color-accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, var(--nu-color-ink) 45%, transparent 55%);
  mask-image: linear-gradient(90deg, var(--nu-color-ink) 45%, transparent 55%);
  -webkit-mask-size: 220% 100%;
  mask-size: 220% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  animation: nu-matrix-light var(--nu-motion-count) var(--nu-motion-ease-out) forwards;
}

.nu-matrix--large {
  font-size: var(--nu-size-title);
}

.nu-matrix--ink {
  color: var(--nu-color-ink);
}

@keyframes nu-matrix-light {
  to {
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nu-matrix {
    animation: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
