/**
 * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
 * http://cssreset.com
 */
/* #region 所有 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video,
input {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: inherit; /* 100% */
  font-weight: inherit; /* normal */
  vertical-align: baseline;

  /* custom */
  word-break: break-all;
}
/* #endregion */

/* #region 重置旧版浏览器 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* #endregion */

/* ---- ---- custom ---- ---- */

/* #region 伪元素 */

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track-piece {
  background-color: rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 6px;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:vertical {
  height: 5px;
  background-color: rgba(125, 125, 125, 0.7);
  -webkit-border-radius: 6px;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:horizontal {
  width: 5px;
  background-color: rgba(125, 125, 125, 0.7);
  -webkit-border-radius: 6px;
  border-radius: 6px;
}

body {
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: transparent;
}

/* #endregion  */

/* #region 基本元素 */
html {
  /* background-color: rgba(0, 0, 0, 0.04); */
  /* 阻止双击缩放，去除300ms点击延迟 */
  touch-action: manipulation;
}

html,
body {
  width: 100%;
  height: 100%;
  font-size: 14px;
}

li {
  list-style: none;
}

/* div绘制为按钮时，需要加入此项 */
a,
button,
input,
textarea,
label,
select {
  /* 仅有输入框有 focus 事件 */
  /* :focus { outline: none; } */
  outline: none;
  /* 阻止双击缩放，去除300ms点击延迟 */
  touch-action: manipulation;
  /* 去除 ios 默认样式 */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input {
  width: 24em;
}
[type='button'],
[type='reset'],
[type='submit'],
[type='date'],
[type='datetime-local'] {
  width: auto;
}
[type='color'] {
  width: 44px;
}
[type='radio'],
[type='checkbox'] {
  width: 16px;
  height: 16px;
}
[type='radio'] {
  border-radius: 8px;
}
[type='radio']:checked,
[type='checkbox']:checked {
  background-color: #1890ff;
}
[type='range'] {
  -webkit-appearance: slider-horizontal;
  -moz-appearance: slider-horizontal;
  appearance: slider-horizontal;
}
/* input::placeholder {
  color:rgba(0, 0, 0, 0.45);
}
input::placeholder-shown {
  color:rgba(0, 0, 0, 0.45);
} */

a {
  color: #1890ff;
  text-decoration: none;
  background-color: transparent;
  cursor: pointer;
  transition: color 0.3s;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

button,
select {
  margin: 0;
  border: 1px solid rgba(0, 0, 0, 0.85);
  border-radius: 2px;
  user-select: none;
  white-space: nowrap;
  cursor: pointer;
}

button {
  background-color: rgba(0, 0, 0, 0.04);
}

input,
textarea {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}

textarea {
  resize: vertical;
}

label {
  cursor: pointer; /* 含有禁用控件时，需手动修改为 not-allowed */
}

img,
svg {
  flex: none;
}

/* #endregion */
