/* =========================================================
   CoinASX V161 - 仅修复导航顺序
   实际第5项图片 alt 是 funds，不是 assets
   ========================================================= */

/* 1 首页 */
body #app .van-tabbar-item[data-cx161-nav="home"],
body #app .van-tabbar-item:has(img[alt="home"]){
  order:1!important;
}

/* 2 市场 */
body #app .van-tabbar-item[data-cx161-nav="market"],
body #app .van-tabbar-item:has(img[alt="Quotes"]){
  order:2!important;
}

/* 3 交易 */
body #app .van-tabbar-item[data-cx161-nav="trade"],
body #app .van-tabbar-item:has(img[alt="trade"]){
  order:3!important;
}

/* 4 合约 */
body #app .van-tabbar-item[data-cx161-nav="contract"],
body #app .van-tabbar-item:has(img[alt="perpetualContract"]){
  order:4!important;
}

/* 5 资产：兼容 funds / assets / Assets */
body #app .van-tabbar-item[data-cx161-nav="assets"],
body #app .van-tabbar-item:has(img[alt="funds"]),
body #app .van-tabbar-item:has(img[alt="assets"]),
body #app .van-tabbar-item:has(img[alt="Assets"]){
  order:5!important;
}

/* 五项严格等宽，避免视觉错位 */
body #app .van-tabbar.van-tabbar--fixed > .van-tabbar-item,
body #app .bgFooter.van-tabbar > .van-tabbar-item{
  flex:0 0 20%!important;
  width:20%!important;
  min-width:20%!important;
  max-width:20%!important;
}
