/* 移动端基础重置 - 兼容微信内置浏览器 */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 0.14rem;
    line-height: 1.5;
    color: #333;
    background-color: #f5f6f8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
    border: 0;
}

button,
input,
textarea,
select {
    font: inherit;
    outline: none;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #bbb;
}

/* 安全区域（刘海屏） */
@supports (padding: env(safe-area-inset-bottom)) {
    .m-page {
        padding-bottom: env(safe-area-inset-bottom);
    }
}
