/* 不依赖 Google Fonts CDN，图标字体本地托管，避免内网超时与 material 名称乱显 */
body,
.font-headline,
.headline-font,
.font-manrope,
.font-body {
  font-family: system-ui, -apple-system, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB',
    Roboto, Arial, sans-serif !important;
}

@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('./fonts/MaterialSymbolsOutlined.ttf') format('truetype');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  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-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-outlined[data-fill='1'],
.material-symbols-outlined.ms-fill {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* stitch 回复弹窗 — 与 后台ui页面/页面1/stitch_/回复弹窗/回复弹窗.html 同源 */
.modal-shadow {
  box-shadow: 0 24px 48px -12px rgba(0, 52, 102, 0.08);
}
.scrollbar-hide::-webkit-scrollbar {
  width: 4px;
}
.scrollbar-hide::-webkit-scrollbar-track {
  background: transparent;
}
.scrollbar-hide::-webkit-scrollbar-thumb {
  background-color: #e0e3e5;
  border-radius: 4px;
}
#modalRoot .material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
#modalRoot .material-symbols-outlined.ms-fill {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
#modalRoot [data-msg-stitch-panel] .font-headline {
  font-family: Manrope, 'Microsoft YaHei', 'PingFang SC', sans-serif;
}
