@import 'tailwindcss';
@import 'fumadocs-ui/css/neutral.css';
@import 'fumadocs-ui/css/preset.css';

:root {
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  --font-display: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
}

html {
  scrollbar-gutter: stable;
}

@media (min-width: 60rem) and (max-width: 79.999rem) {
  #nd-docs-layout:has(#nd-toc) {
    --fd-toc-width: 220px;
  }

  #nd-toc {
    display: flex;
  }

  [data-toc-popover] {
    display: none;
  }
}

body {
  font-family: var(--font-body);
}

html > body[data-scroll-locked] {
  margin-right: 0px !important;
  --removed-body-scroll-bar-size: 0px !important;
}
