.rolling-counter {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    white-space: nowrap;
}

.rolling-counter.is-enhanced > .counter-fallback {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.rolling-counter .counter-visual {
    display: inline-flex;
    align-items: center;
    height: 1em;
    direction: ltr;
}

.rolling-counter .counter-prefix {
    margin-right: 0.16em;
}

.rolling-counter .counter-separator {
    flex: 0 0 0.26em;
    width: 0.26em;
}

.rolling-counter .counter-digit {
    position: relative;
    flex: 0 0 1ch;
    width: 1ch;
    height: 1em;
    overflow: hidden;
}

.rolling-counter .counter-reel {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.rolling-counter .counter-number {
    display: flex;
    flex: 0 0 1em;
    align-items: center;
    justify-content: center;
    height: 1em;
    line-height: 1;
}
