.mc-root {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.28em;
  vertical-align: bottom;
  line-height: 1;
  max-width: none;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.mc-counter {
  display: inline-flex;
  overflow: hidden;
  line-height: 1.25;
  height: 1.25em;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}

.mc-sign {
  display: inline-flex;
  align-items: center;
  font-variant-numeric: tabular-nums;
}

.mc-digit {
  position: relative;
  width: 0.72em;
  flex: 0 0 0.72em;
  height: 1.25em;
  line-height: 1.25;
  overflow: hidden;
  display: inline-block;
  text-align: center;
}

.mc-digit.is-dot {
  width: 0.32em;
  flex: 0 0 0.32em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mc-strip {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  will-change: transform;
}

.mc-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 1.25em;
  line-height: 1.25;
}

.mc-currency {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.55em;
  letter-spacing: 0.02em;
}

.mc-root.is-hero .mc-currency {
  font-size: 0.42em;
  margin-left: 0.15em;
}

.mc-fade {
  display: none;
}

.wallet-amount .mc-root {
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
}

.tile-sub .mc-root {
  font-size: inherit;
  font-weight: 600;
}

.stat-card .value .mc-root {
  font-size: inherit;
  font-weight: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .mc-strip {
    transition: none !important;
  }
}
