> TOTP systems are supposed to implement a sliding window to account for reasonable clock differences, usually within 5 minutes.
The default is 30 seconds, as per the RFC: https://datatracker.ietf.org/doc/html/rfc6238
(not sure that meaningfully changes what you were saying, but just fyi.)