.ty-modal {
  position: relative;
  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;
  box-sizing: border-box;
  height: 100vh;
  display: flex;
  justify-content: center;
  top: 100px; }
  .ty-modal__content {
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
    background-clip: padding-box;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 300ms; }
    .ty-modal__content_slide-enter {
      -webkit-transform: translateY(-20px);
              transform: translateY(-20px); }
    .ty-modal__content_slide-enter-done {
      -webkit-transform: translateY(0);
              transform: translateY(0); }
    .ty-modal__content_slide-exit {
      -webkit-transform: translateY(0);
              transform: translateY(0); }
    .ty-modal__content_slide-exit-done {
      -webkit-transform: translateY(-20px);
              transform: translateY(-20px); }
    .ty-modal__content_scale-enter {
      -webkit-transform: scale(0);
              transform: scale(0); }
    .ty-modal__content_scale-enter-done {
      -webkit-transform: scale(1);
              transform: scale(1); }
    .ty-modal__content_scale-exit {
      -webkit-transform: scale(1);
              transform: scale(1); }
    .ty-modal__content_scale-exit-done {
      -webkit-transform: scale(0);
              transform: scale(0); }
  .ty-modal__header {
    box-sizing: border-box;
    padding: 16px 24px;
    color: rgba(0, 0, 0, 0.65);
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    border-radius: 4px 4px 0 0; }
  .ty-modal__title {
    margin: 0;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 500;
    font-size: 16px;
    line-height: 22px; }
  .ty-modal__close-btn {
    cursor: pointer;
    color: rgba(0, 0, 0, 0.45);
    width: 56px;
    height: 56px;
    line-height: 56px;
    position: absolute;
    top: 0;
    right: 0;
    text-align: center; }
  .ty-modal__body {
    box-sizing: border-box;
    padding: 24px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word; }
  .ty-modal__footer {
    box-sizing: border-box;
    padding: 12px 16px;
    text-align: right;
    border-top: 1px solid #e8e8e8;
    border-radius: 0 0 4px 4px; }
  .ty-modal__footer-btn {
    margin-bottom: 0; }
  .ty-modal_centered {
    align-items: center;
    top: 0; }
