@charset "utf-8";
/* 指定编码 */

/* reset */
body,
div,
h1, h2, h3, h4, h5, h6,
p,
ol, ul, li,
dl, dt,
input,
button,
span,
a,
img,
video,
audio,
:is(div, p, h1, h2, h3, h4, h5, h6, ol, ul, li, dl, dt, span, a, video, audio)::before,
:is(div, p, h1, h2, h3, h4, h5, h6, ol, ul, li, dl, dt, span, a, video, audio)::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  background: none;
}

html,body {
  height: 100%;
}

body {
  line-height: 1.5; /* 推荐行距为文字大小的1.5倍 */
  font-size: 14px;
  font-family: "Microsoft YaHei", "Avenir", "Helvetica", "Arial", "Heiti SC", "sans-serif";
  /* 文字抗锯齿 */
  /* -webkit-font-smoothing: antialiased; 还没遇到 */
}

ul, ol {
/*  ul或li均可  */
  list-style: none;
}

a {
  text-decoration: none;
  /* unset 去掉默认样式 */
  color: unset; /* 去掉默认颜色 */
}

input, textarea {
  border: 0;
  outline: none;
  resize: none; /* 不可调整过大小 */
}

button, input[type=button] {
  /* 已知可iOS、Mac button、nput[type=button]、input该属性默认为auto */
  /* 非button类型input在iOS、Mac Safari、Chrome各不相同，所以input尽量避免使用 */
  /* 去掉iOS按钮默认圆角 */
  appearance: none; 
  -webkit-appearance: none; 
  -moz-appearance: none; 
}


/* common */
.view-scroll {
  /* 滚动平滑过渡 */
  scroll-behavior: smooth;
}

.clearfix::after {
  /* 清除浮动 */
  content: "";
  display: block;
  height: 0;
  visibility: hidden;
  clear: both;
}