@-webkit-keyframes ty-rotate {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

@keyframes ty-rotate {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

@-webkit-keyframes ty-processing {
  0% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
    opacity: 0.5; }
  100% {
    -webkit-transform: scale(2.8);
            transform: scale(2.8);
    opacity: 0; } }

@keyframes ty-processing {
  0% {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
    opacity: 0.5; }
  100% {
    -webkit-transform: scale(2.8);
            transform: scale(2.8);
    opacity: 0; } }

.ty-badge {
  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;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  line-height: 1; }
  .ty-badge__count {
    box-sizing: border-box;
    display: inline-block;
    z-index: 10;
    position: absolute;
    -webkit-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    border-radius: 18px;
    box-shadow: 0 0 0 1.5px #fff;
    min-width: 18px;
    min-height: 18px;
    line-height: 18px;
    padding: 0 5px;
    color: #fff;
    font-weight: normal;
    font-size: 12px;
    white-space: nowrap;
    text-align: center; }
  .ty-badge__custom {
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transform: translateX(50%) translateY(-50%);
            transform: translateX(50%) translateY(-50%); }
  .ty-badge__dot {
    box-sizing: border-box;
    display: inline-block;
    z-index: 10;
    position: absolute;
    -webkit-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    border-radius: 18px;
    box-shadow: 0 0 0 1.5px #fff;
    width: 6px;
    height: 6px;
    line-height: 6px; }
    .ty-badge__dot_wave:after {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background-color: inherit;
      content: '';
      -webkit-animation: ty-processing 1.2s infinite ease-in-out;
              animation: ty-processing 1.2s infinite ease-in-out; }
  .ty-badge_no-wrap .ty-badge__count, .ty-badge_no-wrap .ty-badge__dot {
    display: block;
    -webkit-transform: none;
            transform: none;
    position: relative; }
