/* 基础样式 */

*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  display: block;
  height: 100%;
}

body {
  height: 100%;
  font-family: 'Chinese Quote', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
    'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif,
    'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}

/* 滚动条样式 */
body::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

body::-webkit-scrollbar-track {
  background: rgba(255, 192, 203, 0.1);
  border-radius: 3px;
}

body::-webkit-scrollbar-thumb {
  background: rgba(255, 108, 139, 0.6);
  border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 77, 117, 0.8);
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  outline: none;
  text-decoration: none;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td {
  padding: 0;
  margin: 0;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

fieldset,
img {
  border: 0;
}

del,
ins {
  text-decoration: none;
}

ol,
ul,
li {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

textarea {
  resize: none;
}

input:-internal-autofill-selected {
  transition: background-color 5000s ease-in-out 0s !important;
}