/* Interface follows the selected language; Russian examples always stay LTR. */
html{font-family:Inter,"Segoe UI","Nirmala UI","Microsoft YaHei",Arial,sans-serif}
[lang="ru"]{direction:ltr;unicode-bidi:isolate}
.russian[lang="ru"],.utterance p[lang="ru"],.phrase p[lang="ru"]{text-align:left;direction:ltr}
.translation, .utterance small{unicode-bidi:plaintext;text-align:start}
bdi[lang="ru"]{direction:ltr;unicode-bidi:isolate}
#language{min-width:90px;max-width:132px;font-size:11px;min-height:36px;direction:ltr}
#steps button{text-align:start;overflow-wrap:anywhere;font-size:10px}
.translation-fallback{font-size:10px;line-height:1.45;color:#806340;background:#fff0c9;border:1px solid #ead7a3;border-radius:10px;padding:7px 9px;flex-shrink:0;margin:0 0 8px}
html[lang="hi"] #screen,html[lang="ar"] #screen{line-height:1.6}
html[lang="hi"] .home-kicker,html[lang="ar"] .home-kicker{letter-spacing:0}
html[lang="zh"] .home-intro h2{line-height:1.25}
html[dir="rtl"] body{direction:rtl}
html[dir="rtl"] .brand{direction:ltr}
html[dir="rtl"] .shell[data-hub="false"] aside .brand{right:auto;left:8px}
html[dir="rtl"] .shell[data-hub="false"] #lesson-home{left:auto;right:8px}
html[dir="rtl"] .chapter-list button,html[dir="rtl"] .topic-access-card{text-align:right}
html[dir="rtl"] .topic-access-card{border-left-width:1px;border-right:4px solid #8bc8a5}
html[dir="rtl"] .topic-access-card.paid{border-right-color:#b6a2dc}
html[dir="rtl"] .future-grid article>button,html[dir="rtl"] .voice-strip .author-link{text-align:right}
html[dir="rtl"] .chapter-list button>span:nth-child(2){text-align:right}
html[dir="rtl"] .about-author h3:before{margin-right:0;margin-left:8px}
html[dir="rtl"] .reward-achievement small{margin-left:0;margin-right:auto}
html[dir="rtl"] .reward-close{right:auto;left:8px}
html[dir="rtl"] .author-portrait figcaption{text-align:right}
html[dir="rtl"] audio{direction:ltr}
.about-author p,.about-author .about-lead{overflow-wrap:anywhere}
@media(max-width:380px){#steps button{font-size:9px}.shell[data-hub="false"] aside .brand{font-size:11px}}

html:is([lang="ar"],[lang="hi"]) :is(.eyebrow,.label,.pill,.reward-kicker,.home-kicker){letter-spacing:0}
.paid-pack-summary b{direction:ltr;unicode-bidi:isolate}
.speech-speed{display:inline-flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap;margin:0}.speech-speed[hidden]{display:none}.speech-speed select{width:auto;min-width:70px;padding:7px;border:1px solid #cbd6c8;border-radius:10px;background:#fffdf7;color:#214f42;font:inherit}.shell main>header{flex-wrap:wrap;gap:10px}.speech-speed select:focus-visible{outline:3px solid #e2a83e;outline-offset:2px}
