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

@font-face {
  font-family: 'Herkules';
  font-style: normal;
  font-weight: normal;
  src: url('./asset/font/Herkules.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'ranking_font';
  font-style: normal;
  font-weight: normal;
  src: url('./asset/font/ranking_font.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'about_dialog_title';
  font-style: normal;
  font-weight: normal;
  src: url('./asset/font/about_dialog_title.ttf') format('truetype');
  font-display: swap;
}

/* 为常用字体添加回退方案 */
body {
  font-family: 'NotoSansCJKsc', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 修复NotoSansCJKsc-Medium缺失问题，使用Regular替代 */
[class*="NotoSansCJKsc-Medium"] {
  font-family: 'NotoSansCJKsc', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 500;
}