/* Locale layout uses direction, never a transform: charts and numbers stay readable. */
:root{--st-locale-font:system-ui,-apple-system,"Segoe UI","Noto Sans","Noto Sans Arabic","Noto Sans CJK SC",sans-serif}
html[dir="rtl"] body,html[lang^="zh"] body,html[lang="ja"] body,html[lang="ko"] body{font-family:var(--st-locale-font)}
.st-locale-picker{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.65rem 1rem;max-width:100%;color:inherit}
.st-locale-picker input,.st-locale-picker select{min-width:0;max-width:100%;padding:.4rem;border:1px solid #526076;border-radius:6px;background:#101b2a;color:#fff}
.st-locale-picker select{max-width:18rem}
.st-locale-notice{margin:.5rem 1rem;padding:.55rem .8rem;border:1px solid #435673;border-radius:6px;color:#d5deea;background:#112033;font-size:.85rem}
[data-language-search]{width:100%;padding:.5rem;margin-block-end:.5rem}
html[dir="rtl"] body{text-align:start;margin-left:0;margin-right:0}
html[dir="rtl"] .st-sidebar{left:auto;right:0;border-right:0;border-left:1px solid rgba(255,255,255,.08)}
html[dir="rtl"] .st-main{margin-left:0;margin-right:260px}
html[dir="rtl"] .st-menu a{border-left:0;padding-inline:12px}
html[dir="rtl"] .mobile-menu-book-btn{left:auto;right:14px}
html[dir="rtl"] .mobile-slide-menu{left:auto;right:-310px;border-right:0;border-left:1px solid #385776;transition:right .25s ease}
html[dir="rtl"] .mobile-slide-menu.active{left:auto;right:0}
html[dir="rtl"] .text-start{text-align:right!important}
html[dir="rtl"] .text-end{text-align:left!important}
html[dir="rtl"] .ms-auto{margin-left:0!important;margin-right:auto!important}
html[dir="rtl"] .me-auto{margin-right:0!important;margin-left:auto!important}
html[dir="rtl"] .form-select{padding-right:.75rem;padding-left:2.25rem;background-position:left .75rem center}
html[dir="rtl"] .form-check{padding-left:0;padding-right:1.5em}
html[dir="rtl"] .form-check .form-check-input{float:right;margin-left:0;margin-right:-1.5em}
html[dir="rtl"] .dropdown-menu{text-align:right}
html[dir="rtl"] input[type="number"],html[dir="rtl"] input[type="email"],html[dir="rtl"] input[type="url"],html[dir="rtl"] input[name*="api"],
html[dir="rtl"] code,html[dir="rtl"] pre,html[dir="rtl"] .st-ltr,html[dir="rtl"] .tv-lightweight-charts,
html[dir="rtl"] [data-coin-analysis],html[dir="rtl"] .st-bot-symbol-button{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .st-bot-table td,html[dir="rtl"] .st-bot-table th{text-align:start}
html[dir="rtl"] td[data-number],html[dir="rtl"] .st-pos-pnl{direction:ltr;unicode-bidi:isolate}
@media(max-width:900px){html[dir="rtl"] .st-main{margin-inline:0;width:100%}.st-locale-picker{padding:.5rem}.st-locale-picker input{flex:1 1 9rem}.st-locale-picker select{flex:1 1 12rem}}

html[dir="rtl"] #tradingChart,html[dir="rtl"] #rsiChart,html[dir="rtl"] #macdChart{direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .st-bot-table-wrap td{unicode-bidi:plaintext}
html[dir="rtl"] input[type="tel"]{direction:ltr;unicode-bidi:isolate}
