body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td,
/* 新增HTML5语义标签 */
article,
aside,
section,
nav,
header,
footer,
figure,
figcaption {
  margin: 0;
  padding: 0;
  word-wrap: break-word;
}

body,
html,
input {
  color: rgb(102, 102, 102);
  font: 14px / 1.5 -apple-system, BlinkMacSystemFont, sans-serif, Arial, 微软雅黑, Helvetica, Tahoma, STXihei,
    华文细黑, "Microsoft YaHei", SimSun, 宋体, Heiti, 黑体;
}

body,
html {
  width: 100%;
  height: 100%;
}

html {
  font-size: 100px;
  scroll-padding-top: 58px;
}

header {
  width: 100%;
  min-height: 0.58rem;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  border: none;
}

pre {
  white-space: -moz-pre-wrap;
  /* Mozilla, since 1999 */
  white-space: -o-pre-wrap;
  /* Opera 7 */
  white-space: pre-wrap;
  /* css-3 */
  word-wrap: break-word;
  /* Internet Explorer 5.5+ */
}

h1 {
  font-size: 0.34rem;
}

h2 {
  font-size: 0.26rem;
}

h3 {
  font-size: 0.18rem;
}

h4 {
  font-size: 0.16rem;
}

h5 {
  font-size: 0.14rem;
}

h6 {
  font-size: 0.14rem;
}

input,
label,
img,
th {
  vertical-align: middle;
}

ul,
ol,
li,
dl,
dd {
  list-style: none;
}

/* 点击、选中、激活时 都不显示边框 */
a,
a:focus,
a:active,
a:hover {
  outline: none;
  border: none;
  text-decoration: none;
}

/* 兼容火狐浏览器的额外边框 */
a::-moz-focus-inner {
  border: 0;
}

/* 兼容移动端点击高亮 */
a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

*:focus {
  outline: none;
}

img {
  width: 100%;
  /* 强制100%宽度 */
  height: auto;
  /* 高度自适应比例，避免拉伸 */
  object-fit: cover;
  /* 可选：裁剪图片填满容器（无变形），按需开启 */
  max-width: 100%;
  /* 兼容老旧浏览器，防止溢出 */
}

/* ========== 下面为补充新增 ========== */

* {
  box-sizing: border-box;
}

/* 禁止移动端长按选择文本，按需注释 */
html {
  -webkit-user-select: none;
  user-select: none;
}

/* 允许输入框、文本域选中文字 */
input,
textarea {
  -webkit-user-select: text;
  user-select: text;
}

/* 清除按钮默认样式 */
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* input/textarea 去除默认样式 */
input,
textarea {
  border: none;
  background-color: transparent;
  font-family: inherit;
}

/* input placeholder 占位符样式兼容 */
input::placeholder,
textarea::placeholder {
  color: #999;
  opacity: 1;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #999;
}

/* 媒体标签统一最大宽度 */
video,
svg,
iframe {
  max-width: 100%;
}

/* svg 去除默认inline间隙 */
svg {
  display: block;
}

/* body默认滚动平滑，禁止横向溢出 */
body {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  /* ios惯性滚动 */
}

/* 清除块元素默认上下边距，p重置行高 */
p {
  line-height: 1.5;
}

/* 禁止图片拖拽 */
img {
  -webkit-user-drag: none;
  /* Firefox 及旧版 Safari：禁止选中即可阻止拖拽 */
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* 清除fieldset默认边框内边距 */
fieldset {
  border: 0;
  padding: 0;
}

/* 文本超出省略工具类（可选保留） */
.ellipsis-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}