/* R3：手机端删除资料按钮上移到当前资料卡片右侧 */

@media(max-width:640px){
  .consult-case-summary{
    position:relative!important;
    padding-right:112px!important;
    padding-bottom:0!important;
    min-height:112px!important;
  }

  .xyt-hide-case-btn{
    position:absolute!important;
    right:4px!important;
    top:50%!important;
    bottom:auto!important;
    left:auto!important;
    transform:translateY(-50%)!important;

    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;

    width:auto!important;
    min-width:78px!important;
    height:34px!important;
    padding:0 4px 2px!important;

    border:0!important;
    border-bottom:1px solid rgba(151,87,57,.42)!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;

    color:#8f4b2d!important;
    font-size:14px!important;
    font-weight:800!important;
    letter-spacing:.03em!important;
    line-height:1!important;
    white-space:nowrap!important;
  }

  .xyt-hide-case-btn::before{
    content:"－ ";
    font-weight:800;
  }

  .xyt-hide-case-btn:hover,
  .xyt-hide-case-btn:active{
    color:#a9322b!important;
    border-bottom-color:#a9322b!important;
    background:transparent!important;
  }

  .consult-case-summary-meta{
    max-width:100%!important;
    padding-right:0!important;
  }
}

/* 更窄手机再稍微缩一点，避免挤压 */
@media(max-width:390px){
  .consult-case-summary{
    padding-right:96px!important;
  }

  .xyt-hide-case-btn{
    right:0!important;
    min-width:70px!important;
    font-size:13px!important;
  }
}
