/**
 * 本地字体定义
 * 当Google Fonts线上资源无法加载时，使用本地fallback
 */

/* Noto Sans SC - 思源黑体 */
@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('Noto Sans SC Light'), local('思源黑体 Light');
}

@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Noto Sans SC'), local('思源黑体'), local('Source Han Sans SC');
}

@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Noto Sans SC Medium'), local('思源黑体 Medium');
}

@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Noto Sans SC SemiBold'), local('思源黑体 SemiBold');
}

@font-face {
  font-family: 'Noto Sans SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Noto Sans SC Bold'), local('思源黑体 Bold');
}

/* Noto Serif SC - 思源宋体 */
@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Noto Serif SC'), local('思源宋体'), local('Source Han Serif SC');
}

@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Noto Serif SC SemiBold'), local('思源宋体 SemiBold');
}

@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Noto Serif SC Bold'), local('思源宋体 Bold');
}

@font-face {
  font-family: 'Noto Serif SC';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: local('Noto Serif SC Black'), local('思源宋体 Black');
}

/* Fallback字体栈 */
:root {
  --font-body-fallback: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'SimHei', sans-serif;
  --font-display-fallback: 'Noto Serif SC', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'SimSun', serif;
}