/* Spiral in Arabic (i18n.js sets <html lang="ar">). The layout stays left to right as in English (the owner's choice,
   2026-11-05): nothing is mirrored. i18n.js wraps each translated piece so it reads right to left on its own. */

/* Manrope has no Arabic letters: Arabic uses the system's Arabic face (Segoe UI on Windows, Noto on Android). */
html[lang=ar] body,html[lang=ar] :is(button,input,select,textarea){font-family:Manrope,"Segoe UI","Noto Sans Arabic",Tahoma,sans-serif}
html[lang=ar] body{letter-spacing:0}

/* People's own words and Spiral's replies aren't translated pieces: each line takes the direction of its own words,
   so "كيف حالك؟" ends with its question mark and English stays "Hello." */
:is(.msg,.bubble,.toast,#toast,.mem-list) :is(p,li,span,div),:is(.bubble,.toast,#toast),:is(input,textarea){unicode-bidi:plaintext}
