html {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* 修改字体加载策略，添加font-display: swap避免阻塞 */
/* 定义英文字体 */
@font-face {
  font-family: 'Times';
  src: url('../fonts/Times.woff2') format('woff2'),
       url('../fonts/Times.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* 允许使用系统字体作为回退，直到自定义字体加载完成 */
}

/* 定义中文字体 */
@font-face {
  font-family: 'LXGW';
  src: url('../fonts/LXGW.woff2') format('woff2'),
       url('../fonts/LXGW.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* 允许使用系统字体作为回退 */
}

/* 保留其他原有样式 */
body {
  margin: 0;
  padding: 20px;
  background-color: #f0f2f5;
  color: #333;
  font-family: 'Times', 'LXGW', sans-serif;
}