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

/* Skeleton (nuevauno/nu#315): while data arrives, the shape of what comes, never a blank screen or a raw code. A soft
   sheen crosses it; with reduced motion it stays still. */
.nu-skeletons {
  display: grid;
  gap: var(--nu-space-10);
}

.nu-skeleton {
  display: block;
  width: 100%;
  height: var(--nu-space-10);
  background-color: var(--nu-color-divider);
  background-image: linear-gradient(90deg, var(--nu-color-divider) 0, var(--nu-color-hover) 40%, var(--nu-color-divider) 80%);
  background-size: 200% 100%;
  animation: nu-skeleton-sheen calc(var(--nu-motion-count) * 2) linear infinite;
}

.nu-skeleton--title {
  width: 40%;
  height: var(--nu-space-24);
}

.nu-skeleton--short {
  width: 55%;
}

.nu-skeleton--block {
  height: var(--nu-control-large);
}

.nu-skeleton--inline {
  display: inline-block;
  width: 8ch;
  vertical-align: middle;
}

@keyframes nu-skeleton-sheen {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nu-skeleton {
    animation: none;
  }
}
