/* Material Symbols Rounded — 本地托管(变量字体,需要 font-variation-settings) */
@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url('/static/fonts/material-symbols-rounded.woff2') format('woff2'),
       url('/static/fonts/material-symbols-rounded.ttf') format('truetype-variations');
}

/* 通配 — 任何元素加 .ms 或 .material-symbols-rounded 即生效 */
.ms,
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded' !important;
  font-weight: normal !important;
  font-style: normal !important;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  /* 关键 1:开启连字 — 让 "home"/"category" 等字符串映射成图标 glyph */
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  /* 关键 2:可变字体 4 个轴 — 没这一行,变量字体不会渲染图标 */
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  -webkit-font-smoothing: antialiased;
}
