@media only screen and (min-width: 320px) {
  html {
    font-size: 17px !important;
  }
}

@media only screen and (min-width: 350px) {
  html {
    font-size: 20px !important;
  }
}

@media only screen and (min-width: 400px) {
  html {
    font-size: 22px !important;
  }
}

@media only screen and (min-width: 800px) {
  html {
    font-size: 16px !important;
  }
}

@media only screen and (min-width: 1500px) {
  html {
    font-size: 20px !important;
  }
}

/* 公用 */

/* 模糊 */
.vague {
  filter: blur(16px);
  -webkit-filter: blur(16px);
}

/* 旋转 */
.rotate_180 {
  transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
}

.rotate_45 {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

/*-------------------------------------------------------------------------------------- */

/*通用*/

html {
  font-size: 20px;
}

body,
div,
ul,
ol,
li,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
form,
span,
input,
textarea,
p,
a {
  margin: 0;
  padding: 0;
  font-family: Microsoft YaHei, -apple-system, BlinkMacSystemFont,
    Helvetica Neue, PingFang SC, Source Han Sans SC, Noto Sans CJK SC,
    WenQuanYi Micro Hei, sans-serif;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
  /* font-weight: var(--common_fontWeight4); */
}

body {
  background-color: #fff;
  width: 100%;
}

html,
body,
div {
  margin: 0;
}

/*input {
  -webkit-appearance: none;
  appearance: none;
}*/
/* 针对 Chrome, Safari 和 Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0; /* 清除一些移动设备上的默认边距 */
}

/* 针对 Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

ul {
  list-style: none;
}

img,
a img {
  vertical-align: middle;
  border: none;
  margin: 0;
  max-width: 100%;
}
img {
  object-fit: cover;
}
a {
  text-decoration: none;
  color: inherit;
}

i,
em {
  font-style: normal;
}

input,
button,
select,
textarea {
  outline: none;
}

a,
button,
input,
label,
div {
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
}

.ty_Cancel_float:after {
  content: "";
  display: block;
  clear: both;
}

.ty_pr {
  position: relative;
}

.ty_pa {
  position: absolute;
}

.ty_w_100 {
  width: 100%;
}

.ty_h_100 {
  height: 100%;
}

.ty_ta_c {
  text-align: center;
}

.ty_ta_l {
  text-align: left;
}

.ty_ta_r {
  text-align: right;
}

.ty_ta_j {
  text-align: justify;
}

.ty_o_hidden {
  overflow: hidden;
}

.ty_o_auto {
  overflow: auto;
}

.ty_d_ib {
  display: inline-block;
}

.ty_d_n {
  display: none !important;
}

.ty_cu {
  cursor: pointer;
}

.ty_m0a {
  margin: 0 auto;
}

/*位置  */

.ty_zi_3 {
  z-index: 3;
}

/*动画时间*/

.ty_animation_time {
  transition: 0.2s cubic-bezier(0, 0, 0.24, 1);
  -moz-transition: 0.2s cubic-bezier(0, 0, 0.24, 1);
  -webkit-transition: 0.2s cubic-bezier(0, 0, 0.24, 1);
  -o-transition: 0.2s cubic-bezier(0, 0, 0.24, 1);
}

/* 文本居中 */

.ty_text_center {
  display: inline-block;
  vertical-align: middle;
}

/*单行文字剪切*/

.ty_restricted_single {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/*多行文字剪切  */

.ty_comment_inner {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--row_number);
  overflow: hidden;
}

/*a标签覆盖链接*/

.ty_lbli_tz {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  opacity: 0;
}

/*相对位置居中*/

.ty_absolute_center {
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

/* 垂直居中 */
.ty_absolute_middle {
  transform: translate(0%, -50%);
  -webkit-transform: translate(0%, -50%);
  -moz-transform: translate(0%, -50%);
  -o-transform: translate(0%, -50%);
}

/*背景图片剧中自适应展示*/

.ty_avatar_universal {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 1;
}

/* flex布局 */
/* 可换行 */

.ty_khh {
  flex-wrap: wrap;
}

/* 等分空间 */

.ty_fkj {
  flex-grow: 1;
}

/* 禁止缩小 */

.ty_xsx {
  flex-shrink: 0;
}

/*左右*/

.ty_about_array {
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
}

/*右*/

.ty_right_array {
  display: flex;
  display: -webkit-flex;
  justify-content: flex-end;
}

/*右倒叙*/

.ty_right_flash {
  display: flex;
  display: -webkit-flex;
  flex-direction: row-reverse;
}

/*左*/

.ty_left_array {
  display: flex;
  display: -webkit-flex;
}

/*左倒叙*/

.ty_left_flash {
  display: flex;
  display: -webkit-flex;
  justify-content: flex-end;
  flex-direction: row-reverse;
}

/*中*/

.ty_middle_array {
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  align-items: center;
}

/*上下*/

.ty_updown_array {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
}

/*上下顶  */

.ty_updown_arraytop {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 居中-居上-居下 */

.ty_jz {
  align-items: center;
  align-content: center;
}

.ty_js {
  align-items: flex-start;
  align-content: flex-start;
}

.ty_jx {
  align-items: flex-end;
  align-content: flex-end;
}

/* 通用jt */
.ty_main_jt {
  width: 0.7rem;
  height: 0.7rem;
  border-right: 1px solid #fff;
  border-top: 1px solid #fff;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  margin-left: 0.5rem;
}

/* 通用下弹窗 */
.ty_window {
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  overflow: auto;
}

.ty_scroll {
  width: 100%;
  height: 100vh;
}

/* 隐藏/显示元素 */
.ty_conceal {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.ty_conceal_show {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.ty_conceal > .ty_animation_time {
  transform: translate(0%, -100%);
}

.ty_conceal_show > .ty_animation_time {
  transform: translate(0%, 0%);
}

/* 关闭/添加按钮 */
.ty_delete {
  width: 1.8rem;
  height: 1.8rem;
  background-color: #808080;
  border-radius: 50%;
  position: relative;
}

.ty_delete::after {
  content: "";
  width: 60%;
  height: 1px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.ty_delete::before {
  content: "";
  width: 1px;
  height: 60%;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}
