sale-countdown { display: block; inline-size: 20rem; max-inline-size: 100%; margin-inline: auto; container-type: inline-size; }
sale-countdown .sale-clock { font-size: 1.5rem; font-size: min(2.5rem, 8cqi); }
sale-countdown .sale-unit { margin-inline: .12em; text-align: center; }
sale-countdown .sale-label { font-size: .875rem; font-weight: 600; line-height: 1.5; }

/* Only the row of time units reads from left to right. */
sale-countdown .sale-clock > [data-repeat] {
    direction: ltr;
}
sale-countdown .sale-label {
    direction: rtl;
}

/* Center each numeral without Flip's compensating letter spacing and indent. */
sale-countdown .tick-flip {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    text-indent: 0;
}

/* Keep the text on the rotating panel's plane during and after a flip. */
sale-countdown .tick-flip-panel {
    transform-style: flat;
    will-change: transform;
}
