/* Flakk Guest: script rules for the wave-3 languages (05.11.2026, generated by _tools/gen_lang3.py). Loaded after app.css, intro.css, rate.css. */
/* joining and caseless scripts: no letter-spacing (it breaks Arabic joining and spaces Indic/Thai/Khmer clusters), no forced upper case */
:lang(ar), :lang(he), :lang(fa), :lang(ur), :lang(ps), :lang(sd), :lang(yi), :lang(th), :lang(lo), :lang(km), :lang(my), :lang(bo), :lang(hi), :lang(mr), :lang(ne), :lang(bn), :lang(as), :lang(pa), :lang(gu), :lang(or), :lang(ta), :lang(te), :lang(kn), :lang(ml), :lang(si), :lang(am), :lang(ka), :lang(hy), :lang(ja), :lang(ko), :lang(zh) { letter-spacing: normal !important; }
:lang(ar), :lang(he), :lang(fa), :lang(ur), :lang(ps), :lang(sd), :lang(yi), :lang(th), :lang(lo), :lang(km), :lang(my), :lang(bo), :lang(hi), :lang(mr), :lang(ne), :lang(bn), :lang(as), :lang(pa), :lang(gu), :lang(or), :lang(ta), :lang(te), :lang(kn), :lang(ml), :lang(si), :lang(am), :lang(ka), :lang(hy), :lang(ja), :lang(ko), :lang(zh) { text-transform: none !important; }
/* tall stacks and marks (Indic, South-East Asian, Arabic-script): a little more line height so nothing is clipped */
:lang(th), :lang(lo), :lang(km), :lang(my), :lang(bo), :lang(hi), :lang(mr), :lang(ne), :lang(bn), :lang(as), :lang(pa), :lang(gu), :lang(or), :lang(ta), :lang(te), :lang(kn), :lang(ml), :lang(si), :lang(ar), :lang(fa), :lang(ur), :lang(ps), :lang(sd) { line-height: 1.5; }
/* long words (de, fi, ta, ml, …): break inside a word only when the line would overflow, with hyphens where the language has them */
.o-hint, .o-say, .o-you, .fi-cap, .fi-wel, .fi-sub, .fi-go, .fi-pk-n, .fi-pk-e, .rt-sheet button, .rt-sheet h2, .rt-sheet p { overflow-wrap: break-word; hyphens: auto; }
/* the captions-only tour (no voice in this language yet): a small chip under the progress bar, never a silent broken player */
.fi-capsonly { position: absolute; top: calc(env(safe-area-inset-top) + 58px); inset-inline-start: 16px; max-width: calc(100% - 32px); padding: 4px 12px; border-radius: 999px;
  background: rgba(243, 237, 226, .14); color: #F3EDE2; font: 500 13px/1.35 'Geist', system-ui, sans-serif; pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* right to left: a phone number keeps its digit order (+1 212 555 0101 was drawn 0101 555 212 1+; found by the L3 browser test, 06.11.2026) */
[dir=rtl] .ct-num, [dir=rtl] .o-tel { direction: ltr; unicode-bidi: isolate; }
[dir=rtl] .ct-num { text-align: right; }
