/* Layout follows the selected writing direction; the registered logo is unchanged. */
.language-control{display:flex;align-items:center;gap:6px;flex-shrink:0}
.language-control select{background:#161616;color:#fff;border:1px solid #444;border-radius:8px;padding:8px 10px;min-height:40px;font-size:14px;max-width:128px;cursor:pointer}
.language-control select:focus-visible{outline:2px solid var(--brand-yellow);outline-offset:3px}
.auth-modal .dialog-head{justify-content:space-between}
.dialog-head .language-control{display:none}
.auth-modal .dialog-head .language-control{display:flex}
.language-notice{font-size:14px;color:var(--muted)}
html[lang="en"] body{font-family:Inter,Arial,sans-serif;line-height:1.5}
html[dir="ltr"] .sidebar{right:auto;left:0;border-left:0;border-right:1px solid var(--line)}
html[dir="ltr"] .workspace{margin-right:0;margin-left:238px}
html[dir="ltr"] :is(.nav-item,.creator,.account,.gift-promo,.explore-card,.room-card){text-align:left}
html[dir="ltr"] :is(.tiny-live,.new-dot,.account i,.feed-index){margin-right:0;margin-left:auto}
html[dir="ltr"] .scene-label{right:auto;left:20px}
html[dir="ltr"] .post-caption{right:83px;left:22px}
html[dir="ltr"] .post-actions{left:auto;right:15px}
html[dir="ltr"] .feed-arrows{left:auto;right:-58px}
html[dir="ltr"] .follow-pill{margin-right:0;margin-left:4px}
html[dir="ltr"] .rule-list{padding-right:0;padding-left:23px}
html[dir="ltr"] .report-option input{margin-left:0;margin-right:8px}
html[dir="ltr"] .signin-chevron{transform:scaleX(-1)}
html[dir="ltr"] [data-icon="arrow"]{transform:scaleX(-1)}
html[dir="ltr"] .post-bottom button{font-family:Inter,Arial,sans-serif}
html[dir="ltr"] .live-demo-chat{border-right:0;border-left:2px solid #666;padding-right:0;padding-left:13px}
.nav-item,.topbar,.platform-row,.room-card{min-width:0}
.nav-item span,.platform-row strong,.room-card strong{overflow-wrap:anywhere}
.sidebar{overflow-y:auto;scrollbar-width:thin}
.topbar{flex-wrap:wrap;height:auto;min-height:85px;padding-top:12px;padding-bottom:12px}
.search-wrap{flex:1;min-width:150px;max-width:365px}
.top-actions{gap:12px;flex-wrap:wrap}
.gift-tile strong{overflow-wrap:anywhere}
[dir="auto"]{unicode-bidi:plaintext}
@media(min-width:1500px){html[dir="ltr"] .workspace{margin-left:260px}}
@media(max-width:1190px){html[dir="ltr"] .workspace{margin-left:206px}.top-actions{gap:8px}}
@media(max-width:980px){.topbar .preview-badge{display:none}}
@media(max-width:650px){html[dir="ltr"] .workspace{margin:0}.topbar{min-height:56px;padding-top:7px;padding-bottom:7px;flex-wrap:nowrap}.top-actions{flex-wrap:nowrap;gap:6px}.language-control select{padding:5px 6px;min-height:36px;font-size:14px;max-width:105px}.top-actions>.icon-button{display:none}html[dir="ltr"] .post-caption{left:18px;right:76px}html[dir="ltr"] .post-actions{right:10px;left:auto}.auth-modal .dialog-head{flex-shrink:0}}
@media(max-width:360px){.topbar{padding-inline:8px;gap:6px}.header-signin{padding-inline:8px}.language-control select{max-width:96px}.gift-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
