[data-count-up] {
  position: relative;
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.rating > strong > [data-count-up] { font: inherit; color: inherit; letter-spacing: inherit; }

[data-counting] > :first-child { opacity: 0; }

.count-up-ink {
  position: absolute;
  inset: 0;
  text-align: end;
  pointer-events: none;
}

:is([data-count-up="peça"], [data-count-up="pilar"]) {
  min-inline-size: 8ch;
  text-align: start;
  white-space: nowrap;
}

[data-count-up="peça"] { text-align: end; }

:is([data-count-up="peça"], [data-count-up="pilar"]) > .count-up-ink { text-align: inherit; }

.count-up-ink::before { content: attr(data-current); }

@media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  :is(.application-sequence:not(.is-connecting), .detail-path) > li[data-icon-beat]:not(:last-child)::before {
    animation: ink-connector 600ms cubic-bezier(.2,.65,.32,1) var(--icon-delay);
  }

  @keyframes ink-connector { 48% { opacity: .76; } }
}
