// 初始化样式

body {
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: -apple-system,BlinkMacSystemFont,PingFang SC,Segoe UI,Helvetica Neue,Helvetica,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif;
    font-size: $normal-font-size;
}
body, html, #app {
    margin: 0;
    height: 100%;
    position: relative;
}
*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
}
p {
    margin: 0;
}
ul, ol, li {
    margin: 0;
    padding: 0;
    list-style: none;
}
a {
    color: inherit;
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
    line-height: normal;
}
a:active, a:focus, a:hover, button, input, textarea {
    outline: 0;
}
.clearboth:after {
    content: '';
    clear: both;
    display: block;
    height: 0px;
    visibility: hidden;
}
img {
    display: block;
    border: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type="number"]{
  -moz-appearance: textfield;
}
html {
    &.not-macos {
        * {
            ::-webkit-scrollbar {
                width: 6px;
                height: 6px;
                background-color: transparent;
            }
            
            ::-webkit-scrollbar-track {
                background-color: transparent;
            }
            ::-webkit-scrollbar-thumb {
                background-color: rgba(0, 0, 0, .28);
                border-radius: 10px;
            }
        }
    }
}