/* 全局引入自定义字体 */
@font-face {
  font-family: 'DingTalk JinBuTi'; /* 钉钉进步体 */
  src: url('./assets/DingTalk JinBuTi.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'DingTalk Sans'; /* 钉钉Sans */
  src: url('./assets/DingTalk Sans.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Source Han Sans SC'; /* 思源黑体 */
  src: url('./assets/SourceHanSansSC-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* 设置全局默认字体为思源黑体，兼容回退 */
body {
  font-family: 'Source Han Sans SC', 'DingTalk JinBuTi', 'DingTalk Sans', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Source Han Sans SC', 'DingTalk JinBuTi', 'Microsoft YaHei', Arial, sans-serif;
}

html, body, #root {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #051833;
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 150, 255, 0.5);
  border-radius: 3px;
}
