/*
 * 系统字体配置
 * 使用完全免费的系统字体栈，确保最佳性能和兼容性
 */

:root {
  /* 系统字体栈 - 完全免费，无需加载外部资源 */
  --font-system: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;

  /* 代码字体 - 用于调试信息和技术文本 */
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

/* 全局字体设置 */
* {
  font-family: var(--font-system);
}

/* 确保所有文本元素都使用系统字体 */
body, p, div, span, h1, h2, h3, h4, h5, h6,
input, textarea, select, button,
table, th, td, label, a {
  font-family: var(--font-system);
}

/* 代码和调试相关元素使用等宽字体 */
code, pre, .debug-info, .console-output {
  font-family: var(--font-mono);
}

/* 确保图标字体正常工作 */
.fas, .far, .fab, .fa {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands';
}

/* 移动端优化 */
@media (max-width: 768px) {
  * {
    font-family: var(--font-system);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}





