
/* =========================================================
   CoinASX Contract Buttons Compact V69
   仅缩小并统一：
   - 全仓 / 100x
   - 开多 / 开空
   - 市价 / 限价
   不改其他 UI / 行情 / K线 / API / 下单逻辑
   ========================================================= */

/* 全仓 / 100x */
.perpetual-open .header-open > .flex.flex-1.pt-34{
  gap:8px!important;
}

.perpetual-open .header-open .w-180,
.perpetual-open .header-open .w-140{
  height:34px!important;
  min-height:34px!important;
  line-height:34px!important;
  border-radius:8px!important;
  font-size:12px!important;
  margin:0!important;
}

.perpetual-open .header-open .select-wrap{
  width:100%!important;
  height:34px!important;
  min-height:34px!important;
  line-height:34px!important;
  padding:0 10px!important;
  border-radius:8px!important;
  font-size:12px!important;
}

/* 开多 / 开空 */
.perpetual-open .w-440 > .flex.items-center.h-66{
  height:38px!important;
  min-height:38px!important;
  padding:3px!important;
  margin-bottom:10px!important;
  border-radius:9px!important;
}

.perpetual-open .w-440 > .flex.items-center.h-66 > p{
  height:32px!important;
  min-height:32px!important;
  line-height:32px!important;
  margin:0!important;
  border-radius:7px!important;
  font-size:13px!important;
  font-weight:700!important;
}

/* 市价 / 限价 */
.perpetual-open .mt-30.mb-30{
  margin-top:0!important;
  margin-bottom:10px!important;
}

.perpetual-open .mt-30.mb-30 > .inputBackground.h-76{
  height:38px!important;
  min-height:38px!important;
  line-height:38px!important;
  padding:0 10px!important;
  border-radius:8px!important;
}

.perpetual-open .mt-30.mb-30 > .inputBackground.h-76 .text-center{
  font-size:13px!important;
  font-weight:700!important;
}

/* 下拉菜单同步缩小 */
.perpetual-open .mt-30.mb-30 .option-box{
  border-radius:8px!important;
  overflow:hidden!important;
}

.perpetual-open .mt-30.mb-30 .option-box > div{
  min-height:30px!important;
  line-height:30px!important;
  padding:0 10px!important;
  font-size:12px!important;
}

/* 小箭头统一 */
.perpetual-open img[alt="select-icon"]{
  width:10px!important;
  height:auto!important;
}

/* 手机继续保持一致 */
@media(max-width:430px){
  .perpetual-open .header-open .w-180,
  .perpetual-open .header-open .w-140,
  .perpetual-open .header-open .select-wrap{
    height:32px!important;
    min-height:32px!important;
    line-height:32px!important;
    font-size:11px!important;
  }

  .perpetual-open .w-440 > .flex.items-center.h-66{
    height:36px!important;
    min-height:36px!important;
  }

  .perpetual-open .w-440 > .flex.items-center.h-66 > p{
    height:30px!important;
    min-height:30px!important;
    line-height:30px!important;
    font-size:12px!important;
  }

  .perpetual-open .mt-30.mb-30 > .inputBackground.h-76{
    height:36px!important;
    min-height:36px!important;
    line-height:36px!important;
  }
}

