/* 图标优化样式 */

/* Material Symbols Outlined 图标优化 */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined', 'Material Symbols Outlined Fallback', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  
  /* 确保图标不会换行 */
  vertical-align: middle;
  
  /* 防止文本选择 */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* 小尺寸图标 */
.material-symbols-outlined.icon-sm {
  font-size: 16px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 16;
}

/* 中等尺寸图标 */
.material-symbols-outlined.icon-md {
  font-size: 20px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

/* 大尺寸图标 */
.material-symbols-outlined.icon-lg {
  font-size: 28px;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 28;
}

/* 实心图标 */
.material-symbols-outlined.icon-filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* 防止图标闪烁 */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v339/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2) format('woff2');
}

/* 预加载字体 */
html {
  font-display: swap;
}

/* 确保字体文件被正确请求 */
body {
  min-height: 100vh;
}