@view-transition {
  navigation: auto;
}

:root {
  color-scheme: light;
  --page-bg: #f6efe6;
  --text-main: #18181b;
  --accent-soft: rgba(244, 63, 94, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
}

body {
  margin: 0;
  color: var(--text-main);
  font-family:
    "SF Pro Display", "Inter", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system,
    BlinkMacSystemFont, sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

code,
pre {
  font-family:
    "SFMono-Regular", "JetBrains Mono", "Fira Code", "Cascadia Code",
    ui-monospace, Menlo, Monaco, Consolas, monospace;
}

::selection {
  background: var(--accent-soft);
  color: var(--text-main);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(63, 63, 70, 0.18);
}
