/* ===================================
   CSS Reset - 重置浏览器默认样式
   =================================== */

/* 基础重置 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HTML和Body */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 标题 */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: inherit;
    line-height: 1.2;
}

/* 段落 */
p {
    margin: 0;
}

/* 列表 */
ul, ol {
    list-style: none;
}

/* 链接 */
a {
    text-decoration: none;
    color: inherit;
}

/* 图片 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 按钮 */
button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* 输入框 */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* 表格 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 其他 */
blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

