::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: #fcfaff;
}
::-webkit-scrollbar-thumb {
  background: #ddd6fe;
}
::-webkit-scrollbar-thumb:hover {
  background: #8b5cf6;
}

/* 
  使用用户指定的 mouse.png 光标文件
  PNG 格式兼容性比 ANI 更好，支持 Chrome/Edge/Firefox 等
*/
html, body, #root {
  background-color: #fcfaff;
  color: #2e1065;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* 使用 !important 强制生效，默认热点为左上角 */
  cursor: url('./mouse.png'), auto !important;
}

/* 链接、按钮等交互元素也强制使用该光标 */
a, button, [role="button"], input, select, textarea, label {
  cursor: url('./mouse.png'), pointer !important;
}

.font-serif {
  font-feature-settings: "palt";
  letter-spacing: -0.02em;
}

.character-mask {
  mask-image: linear-gradient(to bottom, 
    rgba(0,0,0,1) 0%, 
    rgba(0,0,0,1) 85%, 
    rgba(0,0,0,0) 100%
  );
  -webkit-mask-image: linear-gradient(to bottom, 
    rgba(0,0,0,1) 0%, 
    rgba(0,0,0,1) 85%, 
    rgba(0,0,0,0) 100%
  );
}