html {
  /* rem 基准由 fixrem/rem.js 动态写入；此处为 JS 未执行前的兜底 */
  font-size: 37.5px;
  box-sizing: border-box;
  scroll-behavior: smooth;
  min-height: 100%;
  background: #f2f3f7;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}
.bg-white {
  background: #fff;
}
body {
  background: #f2f3f7;
  font-family: "Alibaba PuHuiTi 3.0";
  font-size: 0.37rem;
  color: var(--textColor);
  font-style: normal;
  font-weight: normal;
  width: 100%;
  min-height: 100vh;
  margin: 0;
}

/* PC 打开 m 域名：375 居中列；不要给 body 加 transform，否则 position:fixed 会跟着整页走 */
html.m-layout-desktop {
  background: #e5e6eb;
}
html.m-layout-desktop body {
  max-width: var(--m-layout-max-width, 375px);
  margin: 0 auto !important;
  box-shadow: 0 0 24px rgba(15, 23, 42, 0.08);
}
html.m-layout-desktop .is-h-dragging {
  cursor: grabbing;
  user-select: none;
}
/* 去除浏览器默认的margin和padding, 自行删减一些不必要的标签 */
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
dl,
dd,
ul,
ol,
th,
td,
button,
figure,
input,
textarea,
form,
pre,
blockquote,
figure {
  margin: 0;
  padding: 0;
}

a {
  cursor: pointer;
  text-decoration: none;
  color: var(--textColor);
}

ol,
ul,
li {
  /* 去除自带的ugly样式。 */
  list-style: none;
}

/* 这些节点部分属性没有继承父节点样式，所有继承一下，并取消outline，外轮廓的效果 */
a,
h1,
h2,
h3,
h4,
h5,
h6,
input,
select,
button,
textarea {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  line-height: inherit;
  color: inherit;
  outline: none;
}

button,
input[type="submit"],
input[type="button"] {
  /* 可点击小手 */
  cursor: pointer;
}

/* 取消部分浏览器数字输入控件的操作按钮 apperance可以改变控件的外观。 */
input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/**
  * 删除Firefox中的内边框和填充。
  */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
  * 让html5中的hidden在IE10中正确显示
  */

[hidden] {
  display: none;
}

/* IE11 禁用清除按钮（叉号） */
input::-ms-clear {
  display: none;
}

/* IE11 禁用显示密码按钮（小眼睛） */
input::-ms-reveal {
  display: none;
}

/* 针对IE11的CSS Hack */
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
  body {
    background: #f2f3f7;
    font-family: "Alibaba PuHuiTi 3.0";
    font-size: 0.37rem;
    color: #4e5969;
  }

  a {
    cursor: pointer;
    text-decoration: none;
    color: #4e5969;
  }
}

textarea::placeholder {
  color: #C9CDD4;
}

img {
  touch-action: manipulation;
  /* 阻止用户缩放 */
}

textarea {
  resize: none !important;
}

.scrollbar-none {
  scrollbar-width: none;
  /* Firefox 64+ 支持 */
  -ms-overflow-style: none;
  /* IE10+ 和 Edge 旧版 */
}

.scrollbar-none::-webkit-scrollbar {
  width: 0;
  /* 隐藏垂直滚动条 */
  height: 0;
  /* 隐藏水平滚动条 */
  display: none;
}

html,
body {
  touch-action: manipulation;
  /* 禁用双击缩放，但保留滚动等操作 */
}

/* 悬浮按钮 */
.float-btn img {
  width: 0.44rem;
  height: 0.44rem;
}

.float-btn div {
  color: #263b5e;
  font-size: 0.4rem;
  line-height: 1;
  font-style: normal;
  font-weight: 700;
  margin-left: 0.05rem;
}

.float-btn {
  padding: 0.21rem;
  border-radius: 0.21rem;
  background: #fff;
  position: fixed;
  right: .32rem;
  bottom: 2rem;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}