@charset "utf-8";

/* 现代 CSS 重置 + 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* 最重要！保证宽高计算正常 */
}

html {
    height: 100%;
    /* 移动端平滑滚动 */
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    font-size: 14px;
    font-family: "Microsoft Yahei", sans-serif;
    color: #231815;
    line-height: 1.5; /* 文字默认行高 */
    -webkit-tap-highlight-color: transparent;
}

/* 列表重置 */
ul, ol {
    list-style: none;
}

/* 链接重置 */
a {
    text-decoration: none;
    color: inherit;
}

/* 图片重置 */
img {
    max-width: 100%;
    vertical-align: middle; /* 去掉底部默认留白 */
    border: none;
}

/* 表单元素统一 */
input, button, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
    background: none;
}

/* 按钮样式统一 */
button {
    cursor: pointer;
}

/* 浮动清理 */
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

/* 通用工具类 */
.fl { float: left; }
.fr { float: right; }
.ov { overflow: hidden; }