/* Direction-only adaptation. Existing grouping, controls, media and reading order stay intact. */
html[dir="rtl"] { text-align: start; }
html[dir="rtl"] .brand,
html[dir="rtl"] [lang="en"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="url"],
html[dir="rtl"] #session-clock,
html[dir="rtl"] #player-clock,
html[dir="rtl"] #member-email,
html[dir="rtl"] a[href^="mailto:"],
html[dir="rtl"] a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] video,
html[dir="rtl"] img,
html[dir="rtl"] .exercise-art,
html[dir="rtl"] .detail-art { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .account-small,
html[dir="rtl"] .movement-summary,
html[dir="rtl"] .notice,
html[dir="rtl"] #membership-status,
html[dir="rtl"] #withdraw-order { unicode-bidi: plaintext; }
/* No transforms: anatomical right/left and every film/poster remain unmirrored. */

/* Long words in the new Indic locales must wrap without shrinking type or clipping text. */
html:is([lang="ta"], [lang="te"], [lang="mr"], [lang="gu"], [lang="kn"], [lang="ml"], [lang="fi"]) { overflow-wrap: anywhere; }

/* Legal-page language links wrap as independent items as the locale list grows. */
body[data-allow-print="legal"] .trial-header nav { display: flex; flex-wrap: wrap; gap: .5rem .9rem; }

/* Long legal-document headings wrap instead of expanding a mobile viewport. */
body[data-allow-print="legal"] h1 { overflow-wrap: anywhere; }
