@font-face {
  font-family: 'Manrope';
  src: url('https://static.pro.coins.xyz/resource/static_web/fonts/CnsManrope-Regular.ttf');
}
@font-face {
  font-family: 'Manrope';
  font-weight: 500;
  src: url('https://static.pro.coins.xyz/resource/static_web/fonts/CnsManrope-Medium.ttf');
}
@font-face {
  font-family: 'Manrope';
  src: url('https://static.pro.coins.xyz/resource/static_web/fonts/CnsManrope-SemiBold.ttf');
  font-weight: 600;
}
@font-face {
  font-family: 'Manrope';
  src: url('https://static.pro.coins.xyz/resource/static_web/fonts/CnsManrope-Bold.ttf');
  font-weight: 700;
}


:root {
  --spot-page-background: #FFFFFF;
  --spot-module-padding-color: #F5F6FA;
  --spot-module-background-color: #FFFFFF;
  --foreground: #131B26;
}


html,
body {
  font-family:
    'Manrope',
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    Fira Sans,
    Droid Sans,
    Helvetica Neue,
    sans-serif;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* 当 data-theme 明确为 dark：强制暗色（覆盖系统） */
html[data-theme="dark"] {
  color-scheme: dark;
  --spot-page-background: #000000;
  --spot-module-padding-color: #1B1B1C;
  --spot-module-background-color: #000000;
  --foreground: #FAFAFA;
}



html body {
  background: var(--spot-page-background);
  color: var(--foreground);
}

button {
  font-family: 'Manrope';
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}


/* 全局滚动条样式 */
*::-webkit-scrollbar-track {
  width: 6px;
  height: 6px;
  background-color: transparent;
}
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: transparent;
}
*::-webkit-scrollbar-thumb {
  background-color: rgba(156, 163, 175, 0.5);
  border-radius: 6px;
}

/* Firefox滚动条样式 */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 163, 175, 0.5) transparent;
}
