/* ===== 维汉双语：切换按钮样式 + RTL 布局适配 ===== */

/* 右上角语言切换按钮 */
.lang-btn{display:flex;align-items:center;justify-content:center;flex:none;min-width:42px;height:32px;padding:0 10px;border-radius:11px;background:var(--card,#fff);border:1px solid var(--line,#EDEFF3);font-size:11px;font-weight:800;color:var(--primary,#FF5A36);cursor:pointer;box-shadow:var(--shadow,none);line-height:1;white-space:nowrap;}
.lang-btn:active{transform:scale(.94);}

/* 维语模式：阿拉伯字母字体 + 轻微行高 */
html[lang="ug"] body{font-family:'Noto Naskh Arabic','Noto Sans Arabic','Segoe UI',Tahoma,system-ui,sans-serif;}
html[lang="ug"] .phone{line-height:1.6;}

/* RTL：绝对定位元素镜像 */
html[dir="rtl"] .back{left:auto !important;right:16px !important;transform:scaleX(-1);}
html[dir="rtl"] .vip-close{right:auto !important;left:14px !important;}

/* RTL：行内箭头符号翻转 */
html[dir="rtl"] .menu .row .ar{transform:scaleX(-1);}
html[dir="rtl"] .more{transform:scaleX(-1);}

/* RTL：flex 强制推位元素翻转 */
html[dir="rtl"] .game .dl{margin-left:0 !important;margin-right:auto !important;}
html[dir="rtl"] .pc-dl{margin-left:0 !important;margin-right:auto !important;}
html[dir="rtl"] .dl-item .act{margin-left:0 !important;margin-right:auto !important;}

/* RTL：文本对齐跟随（个别显式 left 的补齐） */
html[dir="rtl"] .desc{text-align:right !important;}
html[dir="rtl"] .clean-tip{text-align:center !important;}
html[dir="rtl"] .vip-foot{text-align:center !important;}
