/* Lighter animations for the HUD frame (loaded after site.css).
   The two marks that sweep the screen edges moved by changing `top` (the browser recomputes the layout on every
   frame) and the rulers next to them slid a masked background (it repaints on every frame). Both ran forever on
   every page and made scrolling feel jerky on weaker devices. The marks now move with `transform` (done by the
   graphics card, no layout or repaint) and the rulers stay still: they moved 3 px per second, nobody could tell.
   The marks keep the exact same path and timing. */
.fui-frame-ticks, .fui-frame-ticks.left, .fui-frame-ticks.right { animation: none; }
.fui-frame-ticks::after {
    top: 0;
    will-change: transform;
    animation-name: fui-tick-scan-t;
}
/* the ruler is `top: 44px; bottom: 44px` of a screen-high frame: 3% to 97% of (100vh - 88px) */
@keyframes fui-tick-scan-t {
    0%, 100% { transform: translateY(calc((100vh - 88px) * 0.03)); }
    50% { transform: translateY(calc((100vh - 88px) * 0.97)); }
}
@media (prefers-reduced-motion: reduce) {
    .fui-frame-ticks::after { animation: none; }
}
