/* Logical alignment lets the same components serve both reading directions. */
html[dir="rtl"] body { font-family: Arial, Tahoma, sans-serif; }
html[dir="rtl"] :is(.row-title,.row-subtitle,.uno-settings-heading,.setting-help,.row-left,.card-copy) { text-align: start; }
html[dir="rtl"] .row-value { text-align: end; }
html[dir="rtl"] :is(.group-label,.profiles-kicker) { letter-spacing: normal; }
html[dir="rtl"] :is(.uno-settings-menu a,.setting-row) { text-align: start; }
html[dir="rtl"] input:is([type="email"],[type="url"],[type="password"]) { direction: ltr; text-align: start; }
html[dir="rtl"] :is(video,.player-progress,.zen-progress) { direction: ltr; }
html[dir="rtl"] .uno-settings-menu a[aria-current] { border-inline-start: 3px solid #70B8A5; }
:lang(ja), :lang(ko), :lang(zh-Hans), :lang(hi) { word-break: normal; }
.uno-settings .row-title, .uno-settings-menu a { overflow-wrap: anywhere; }
video.subtitle-large::cue { font-size: 150%; }
video.subtitle-high-contrast::cue { color: #fff; background: #000; font-weight: 700; }
video.subtitle-cinema::cue { color: #ffe9a6; background: rgba(0,0,0,.72); }
