/* Subtwine styles — what a right-to-left interface and mixed scripts need on
   top of the layout above. Loaded last. */
html[dir=rtl] .sentence-row.current:before{left:auto;right:0}
html[dir=rtl] .card-title .icon-btn{margin:-4px 0 -4px -6px}
html[dir=rtl] .dlg-head .icon-btn{margin:-6px 0 -6px -8px}
html[dir=rtl] .work-head .back .i{transform:scaleX(-1)}
html[dir=rtl] .thumb .dur{right:auto;left:8px}
/* A right-to-left window runs the slider from the right, so the played part of
   the custom track has to be painted from the same side. */
html[dir=rtl] .seek::-webkit-slider-runnable-track{background:linear-gradient(to left,var(--accent) var(--seek-played,0%),var(--line-strong) var(--seek-played,0%))}
[data-sentence-source],[data-sentence-translation]{overflow-wrap:anywhere;word-break:normal;unicode-bidi:plaintext}
