/* MiSans字体引入 */
@font-face {
    font-family: 'MiSans';
    src: url('/font/MiSans/MiSans-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MiSans';
    src: url('/font/MiSans/MiSans-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MiSans';
    src: url('/font/MiSans/MiSans-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MiSans';
    src: url('/font/MiSans/MiSans-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MiSans';
    src: url('/font/MiSans/MiSans-Normal.otf') format('opentype');
    font-weight: 450;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MiSans';
    src: url('/font/MiSans/MiSans-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MiSans';
    src: url('/font/MiSans/MiSans-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MiSans';
    src: url('/font/MiSans/MiSans-Demibold.otf') format('opentype');
    font-weight: 650;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MiSans';
    src: url('/font/MiSans/MiSans-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MiSans';
    src: url('/font/MiSans/MiSans-Heavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* 基础字体设置 */
body {
    font-family: 'MiSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 标题字体设置 */
h1 {
    font-family: 'MiSans';
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
    color: #333333;
}

h2 {
    font-family: 'MiSans';
    font-weight: 600;
    font-size: 28px;
    line-height: 1.35;
    color: #333333;
}

h3 {
    font-family: 'MiSans';
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
    color: #333333;
}

h4 {
    font-family: 'MiSans';
    font-weight: 500;
    font-size: 20px;
    line-height: 1.45;
    color: #333333;
}

h5 {
    font-family: 'MiSans';
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    color: #333333;
}

h6 {
    font-family: 'MiSans';
    font-weight: 500;
    font-size: 16px;
    line-height: 1.55;
    color: #333333;
}

/* 段落字体设置 */
p {
    font-family: 'MiSans';
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
}

/* 链接字体设置 */
a {
    font-family: 'MiSans';
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* 列表字体设置 */
ul, ol {
    font-family: 'MiSans';
}

li {
    font-family: 'MiSans';
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
}

/* 强调文本 */
strong, b {
    font-family: 'MiSans';
    font-weight: 600;
}

/* 表单元素 */
input, textarea, select, button {
    font-family: 'MiSans';
    font-weight: 400;
    font-size: 16px;
}

/* 导航链接 */
nav a {
    font-family: 'MiSans';
    font-weight: 500;
}

/* 按钮 */
button {
    font-family: 'MiSans';
    font-weight: 500;
}

/* 引用 */
blockquote {
    font-family: 'MiSans';
    font-weight: 400;
    font-style: italic;
}

/* 代码 */
code, pre {
    font-family: 'MiSans', 'Courier New', Courier, monospace;
    font-weight: 400;
}

/* 表格 */
table {
    font-family: 'MiSans';
}

td, th {
    font-family: 'MiSans';
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
}

th {
    font-weight: 600;
}
