.u-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.u-tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.u-truncate {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.u-clamp-2 {
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.u-clamp-3 {
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.u-mute {
  color: var(--ink-3);
}
.u-quiet {
  color: var(--ink-2);
}
.u-strong {
  color: var(--ink-1);
  font-weight: 600;
}
.u-accent {
  color: var(--accent);
}
.u-up {
  color: var(--up);
}
.u-down {
  color: var(--down);
}
.u-warn {
  color: var(--warn);
}
.u-live {
  color: var(--live);
}

.u-no-wrap {
  white-space: nowrap;
}

.u-hide-desktop {
  display: none;
}

@media (max-width: 720px) {
  .u-hide-mobile {
    display: none !important;
  }
  .u-hide-desktop {
    display: revert;
  }
}

.u-fade-in {
  animation: u-fade-in var(--d-base) var(--ease-decel) both;
}
.u-rise-in {
  animation: u-rise-in var(--d-slow) var(--ease-emph) both;
}

@keyframes u-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes u-rise-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.u-pulse {
  animation: u-pulse 1.6s var(--ease-std) infinite;
}
@keyframes u-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.u-spin {
  animation: u-spin 0.9s linear infinite;
}
@keyframes u-spin {
  to {
    transform: rotate(360deg);
  }
}

.u-grain {
  position: relative;
  isolation: isolate;
}
.u-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.u-debug {
  outline: 1px dashed var(--accent);
  outline-offset: 2px;
}

.i {
  display: inline-block;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: var(--icon, none) no-repeat center / contain;
  mask: var(--icon, none) no-repeat center / contain;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  transition: background-color var(--d-fast) var(--ease-std);
}
.i--xs {
  width: 12px;
  height: 12px;
}
.i--sm {
  width: 14px;
  height: 14px;
}
.i--md {
  width: 16px;
  height: 16px;
}
.i--lg {
  width: 18px;
  height: 18px;
}
.i--xl {
  width: 24px;
  height: 24px;
}
