/* Language direction applies to UI only; canvas/game coordinates stay native. */
html[lang="en"] body{direction:ltr}
html[lang="en"] :is(.settings-window,.settings-content,.settings-menu,.community-room-head,.community-active-identity,.community-home,.community-browser,.community-members-panel,.community-games-panel,.community-chat-panel,.store-product-sheet,.profile-showcase-body,.sd-modal,.sd-room-panel,.pf-header,.pf-tools,.pf-person-info,.pf-chat-identity,.account-summary,.settings-device-row){direction:ltr;text-align:start}
html[lang="en"] :is(.settings-action-row,.settings-action-row label,.store-item-copy,.store-ledger-row,.community-card,.room-card,.profile-editor){direction:ltr;text-align:start}
html[lang="en"] :is(.community-chat-form,#community-chat-form,#sd-chat-form,.pf-compose){direction:ltr!important}
html[lang="en"] :is(.sd-chat-meta,.community-chat-meta){direction:ltr}
html[lang="en"] #sd-chat-input{text-align:left!important}
html[lang="en"] :is(input[type="email"],input[autocomplete="username"],input[type="password"]){direction:ltr;text-align:left}
html[lang="en"] .settings-chevron{transform:scaleX(-1)}
#plazr-language{font:inherit;min-height:42px;max-width:150px;padding:8px 12px;border:1px solid var(--line,#34434d);border-radius:10px;background:var(--panel,#16232c);color:inherit}
.settings-language{display:flex;align-items:center;justify-content:space-between;gap:16px}
html[lang="en"] :is(.sd-chat-text,.community-chat-bubble p,.pf-message-text){unicode-bidi:plaintext}

html[lang="en"] #sd-chat-messages:empty::before{content:"Say hello to the players at your table"}
