/* Right-to-left pages (zenn.com/ar/, 4 Dec 2026). Loaded only on RTL languages by _build/build_lang.py.
   Logo, kit and editor drawings stay left-to-right (canvases draw their own text direction). */
canvas, .lc canvas, svg { direction: ltr; }
/* stats odometer: the digit slots are flex items, so RTL would lay 8,280 out as 082,8: keep the number left-to-right, the unit word before it */
[dir=rtl] .st b { direction: ltr; justify-content: flex-end; }
[dir=rtl] .st b .suf { order: -1; margin-right: .18em; }
/* one-at-a-time carousels move by translateX(-i * 100%): their strips stay left-to-right so slide i is where the maths puts it */
[dir=rtl] #howLogos, [dir=rtl] #howKit, [dir=rtl] #gstage { direction: ltr; }
[dir=rtl] #gstage > * { direction: rtl; }
/* account: the sliding pill behind Sign in / Create account starts on the right */
[dir=rtl] .seg::before { left: auto; right: 4px; }
[dir=rtl] .seg.up::before { transform: translateX(-100%); }
