.language-control{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.45rem .65rem;max-width:100%;margin:.5rem auto;font-family:system-ui,sans-serif;font-size:.82rem;line-height:1.4;color:inherit}
.language-control label{font-weight:600;letter-spacing:normal;text-transform:none}
.language-control select{max-width:15rem;min-height:2.5rem;padding:.4rem .65rem;border:1px solid #a59466;border-radius:.5rem;background:#132a2d;color:#fff4d3;font:inherit;direction:ltr}
.language-control select:focus-visible{outline:3px solid #f5d79b;outline-offset:3px}
.language-status:empty{display:none}.language-status{flex-basis:100%;font-size:.75rem;text-align:center}
#coverLanguage{position:relative;z-index:3;margin-top:0;margin-bottom:.25rem}#settingsLanguage,#healthLanguage{justify-content:flex-start;margin-bottom:1rem}
html[lang="ar"],html[lang="ur"]{font-family:Tahoma,"Noto Sans Arabic",system-ui,sans-serif}
html[lang="hi"],html[lang="bn"]{font-family:system-ui,sans-serif}
html[dir="rtl"] :is(h1,h2,h3,h4,p,label,summary,button){letter-spacing:normal}
html[dir="rtl"] :is(.dialog-head,.setting-row,.profile-heading){text-align:start}
html[dir="rtl"] :is(.close-dialog,.profile-close){margin-inline-start:auto;margin-inline-end:0}
/* Geometry and input directions are game rules, independent of reading order. */
#board,#mosaicBoard,#rankedBoard,svg,.chapter-path,.world-map{direction:ltr;unicode-bidi:isolate}
.player-name-text,.promo-codes strong,input[type="email"],input[type="number"],input[type="datetime-local"],#gamerTagInput{direction:ltr;unicode-bidi:isolate}
:is(.counter,.hard-clock,.ranked-time,.ranked-score,.supply-count) strong{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] :is(.ranked-table td,.ranked-table th){text-align:start}
html[dir="rtl"] :is(input,textarea){text-align:start}
@media(max-width:430px){.language-control{font-size:.76rem}.language-control select{max-width:12.5rem;min-height:2.3rem}}
