/* 手写字体样式定义 */

/* 学生体 - 使用系统字体模拟 */
@font-face {
    font-family: 'student';
    src: local('Microsoft YaHei'), local('PingFang SC'), local('Arial');
    font-weight: normal;
    font-style: normal;
}

/* 钢笔体 - 使用系统字体模拟 */
@font-face {
    font-family: 'pen';
    src: local('Times New Roman'), local('Georgia'), local('serif');
    font-weight: normal;
    font-style: normal;
}

/* 草写体 - 使用系统字体模拟 */
@font-face {
    font-family: 'cursive';
    src: local('Brush Script MT'), local('cursive'), local('fantasy');
    font-weight: normal;
    font-style: italic;
}

/* 毛笔体 - 使用系统字体模拟 */
@font-face {
    font-family: 'brush';
    src: local('STKaiti'), local('KaiTi'), local('serif');
    font-weight: bold;
    font-style: normal;
}

/* 手写字体的通用样式 */
.handwriting-text {
    font-variant-ligatures: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 学生体特殊样式 */
.font-student {
    font-family: 'student', 'Microsoft YaHei', sans-serif;
    letter-spacing: 1px;
    font-weight: 400;
}

/* 钢笔体特殊样式 */
.font-pen {
    font-family: 'pen', 'Times New Roman', serif;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* 草写体特殊样式 */
.font-cursive {
    font-family: 'cursive', 'Brush Script MT', cursive;
    letter-spacing: 2px;
    font-style: italic;
    font-weight: 400;
}

/* 毛笔体特殊样式 */
.font-brush {
    font-family: 'brush', 'STKaiti', serif;
    letter-spacing: 1.5px;
    font-weight: bold;
}

/* 手写效果增强 */
.handwriting-effect {
    text-shadow: 0.5px 0.5px 0.5px rgba(0,0,0,0.1);
}

/* 不同强度的手写效果 */
.effect-light {
    filter: blur(0.2px);
}

.effect-medium {
    filter: blur(0.3px);
    text-shadow: 0.8px 0.8px 0.8px rgba(0,0,0,0.1);
}

.effect-strong {
    filter: blur(0.4px);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.15);
}

.effect-intense {
    filter: blur(0.5px);
    text-shadow: 1.2px 1.2px 1.2px rgba(0,0,0,0.2);
}

.effect-extreme {
    filter: blur(0.6px);
    text-shadow: 1.5px 1.5px 1.5px rgba(0,0,0,0.25);
} 