.ty-input {
  box-sizing: border-box;
  margin: 0;
  position: relative;
  display: inline-block;
  color: rgba(0, 0, 0, 0.65);
  border: 1px solid #d9d9d9;
  transition: all .3s;
  outline: 0;
  border-radius: 3px;
  font-family: Helvetica Neue For Number, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif;
  z-index: 1; }
  .ty-input:hover {
    border-color: #6E41BF; }
  .ty-input:focus {
    border-color: rgba(110, 65, 191, 0.8);
    box-shadow: 0 0 0 2px rgba(110, 65, 191, 0.2); }
  .ty-input::-webkit-input-placeholder {
    color: #BFBFBF; }
  .ty-input:-ms-input-placeholder {
    color: #BFBFBF; }
  .ty-input::-ms-input-placeholder {
    color: #BFBFBF; }
  .ty-input::placeholder {
    color: #BFBFBF; }
  .ty-input_sm {
    font-size: 12px;
    padding: 0 4px;
    line-height: 20px;
    height: 21px; }
  .ty-input_md {
    font-size: 14px;
    padding: 0 8px;
    line-height: 30px;
    height: 31px; }
  .ty-input_lg {
    font-size: 17px;
    padding: 0 11px;
    line-height: 41px;
    height: 42px; }
  .ty-input_disabled {
    cursor: not-allowed;
    background-color: #f4f4f5;
    color: #999;
    border-color: #e7e9eb; }
    .ty-input_disabled:hover {
      border-color: #e7e9eb; }
  .ty-input_block {
    width: 100%;
    display: block; }
  .ty-input-group {
    box-sizing: border-box; }
    .ty-input-group .ty-input:first-child {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0; }
    .ty-input-group .ty-input:last-child {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0; }
    .ty-input-group .ty-input:not(:first-child):not(:last-child) {
      border-radius: 0; }
  .ty-input-group-btn:first-child, .ty-input-group-addon:first-child {
    border-right: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0; }
  .ty-input-group-btn:last-child, .ty-input-group-addon:last-child {
    border-left: 0;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0; }
  .ty-input-group-btn:not(:first-child):not(:last-child), .ty-input-group-addon:not(:first-child):not(:last-child) {
    border-radius: 0;
    border-left: 0;
    border-right: 0; }
  .ty-input-group-addon {
    box-sizing: border-box;
    margin: 0;
    position: relative;
    display: inline-block;
    color: rgba(0, 0, 0, 0.65);
    border: 1px solid #d9d9d9;
    transition: all .3s;
    outline: 0;
    border-radius: 3px;
    background-color: #fafafa; }
    .ty-input-group-addon_sm {
      font-size: 12px;
      padding: 0 4px;
      line-height: 20px;
      height: 21px; }
    .ty-input-group-addon_md {
      font-size: 14px;
      padding: 0 8px;
      line-height: 30px;
      height: 31px; }
    .ty-input-group-addon_lg {
      font-size: 17px;
      padding: 0 11px;
      line-height: 41px;
      height: 42px; }
    .ty-input-group-addon_disabled {
      cursor: not-allowed;
      background-color: #f4f4f5;
      color: #999;
      border-color: #e7e9eb; }
      .ty-input-group-addon_disabled:hover {
        border-color: #e7e9eb; }
  .ty-input-group-btn {
    box-sizing: border-box;
    margin: 0;
    position: relative;
    display: inline-block;
    color: rgba(0, 0, 0, 0.65);
    border: 1px solid #d9d9d9;
    transition: all .3s;
    outline: 0;
    border-radius: 3px;
    z-index: 1;
    cursor: pointer;
    background-color: #6E41BF;
    border-color: #6E41BF;
    color: #fff;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    left: -1px; }
    .ty-input-group-btn_sm {
      font-size: 12px;
      padding: 0 4px;
      line-height: 20px;
      height: 21px; }
    .ty-input-group-btn_md {
      font-size: 14px;
      padding: 0 8px;
      line-height: 30px;
      height: 31px; }
    .ty-input-group-btn_lg {
      font-size: 17px;
      padding: 0 11px;
      line-height: 41px;
      height: 42px; }
    .ty-input-group-btn:hover {
      border-color: transparent;
      background-color: rgba(110, 65, 191, 0.8); }
    .ty-input-group-btn:active {
      background-color: #683db6; }
    .ty-input-group-btn_disabled {
      border-color: transparent;
      cursor: not-allowed;
      background-color: rgba(110, 65, 191, 0.3); }
      .ty-input-group-btn_disabled:hover {
        background-color: rgba(110, 65, 191, 0.3); }
      .ty-input-group-btn_disabled:active {
        background-color: rgba(110, 65, 191, 0.3); }
