:root {
}

.container .chat-btn {
  display: inline-block;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  user-select: none;
  transition: all .3s cubic-bezier(.645, .045, .355, 1);
  flex-shrink: 0;
  border-radius: 22px;
  border: 1px solid #3f66f6;
  color: #3f66f6;
  font-size: 12px;
  line-height: 12px;
  padding: 4px 15px;
}

.container .chat-btn:active, .container .chat-btn:hover {
  border: 1px solid #3f66f6;
  background-color: #3f66f6;
  color: #fff;
}

.post-comp, .row-item-box {
  display: flex;
  height: 20px;
  overflow: visible;
}

.row-item-box {
  margin-top: 10px;
}

.similar .row-item-box .text {
  margin-top: 0;
}

.post-comp .chat-btn {
  margin: 0 10px 0 10px;
}

@media (min-width: 768px) {
  .container .chat-btn {
    display: none;
    border: 1px solid #3f66f6;
    background-color: #3f66f6;
    color: #fff;
    font-size: 12px;
    border-radius: 26px;
    padding: 6px 20px;
  }

  .container .chat-btn:active, .container .chat-btn:hover {
    background-color: #6584f7;
    border: 1px solid #6584f7;
  }

  .post:hover .chat-btn, .row-item:hover .chat-btn {
    display: inline-block;
  }

  .post-comp .chat-btn {
    margin: 0 10px 0 0;
  }

  .row-item-box .chat-btn {
    margin: 0 0 0 10px;
  }


  .h-chat-warp .chat-btn {
    transform: translateY(-4px);
  }
}

.chat-btn--detail {
  display: inline-block;
  vertical-align: middle;
  background: #3f66f6;
  color: #fff;
  line-height: 38px;
  width: 136px;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
}

.chat-btn--detail:hover, .chat-btn--detail:focus {
  text-decoration: none;
}

.chat-btn--detail.plain {
  box-sizing: border-box;
  border: 1px solid #3f66f6;
  background: transparent;
  color: #3f66f6;
  line-height: 36px;
}

.chat-btn--detail.plain:hover {
  background: #3f66f6;
  color: #fff;
}

.baseinfo .btn_box .sq_btn {
  margin-left: 10px;
}

@media (min-width: 768px) {
  .chat-btn--detail {
    margin-left: 40px;
    width: 172px;
    line-height: 50px;
  }

  .chat-btn--detail.plain {
    line-height: 48px;
  }

  .baseinfo .btn_box .sq_btn {
    margin-left: 40px;
  }
}
