/* ===========================
   移动端 CSS 样式重置
=========================== */

/* 1. 通用 box-sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
	border: none;
}

/* 2. html 和 body 基础设置 */
html, body {
    width: 100%;
    height: 100%;
    font-size: 16px;      /* 可根据需求调整 */
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #000;
    background-color: #fff;
    -webkit-text-size-adjust: 100%; /* 防止 iOS 自动缩放字体 */
    -webkit-tap-highlight-color: transparent; /* 去掉点击高亮 */
}

/* 3. 图片、视频、canvas 等媒体元素 */
img, video, canvas, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 4. 表单元素 */
input, button, textarea, select {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* 5. 超链接去掉下划线 */
a {
    text-decoration: none;
    color: inherit;
}

/* 6. 列表样式 */
ul, ol {
    list-style: none;
}

/* 7. 清除浮动 */
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/* 8. 禁止用户选择和长按选中高亮 */
body, input, textarea, button {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 9. 滚动条隐藏（可选，根据需求） */
::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* 10. 防止移动端输入框点击自动放大（iOS） */
input, textarea {
    font-size: 16px;
}
