/* TRACE UI type 2026-11-24
   Pixel faces stay on characters, scenes, and .logo-pixel marks only.
   All UI text is sans-serif. No external font CDN.
   CJK is not self-hosted: street posts are user-generated, so a glyph
   subset cannot cover them, and full Noto Sans TC/JP/KR (400+600) is
   many megabytes. Latin Inter is also skipped for the same reason
   (almost no extra consistency once -apple-system / system-ui lead).
   Named Inter / Noto / SF Pro are best-effort; devices without them
   fall through to system-ui and the platform CJK UI font
   (PingFang, Yu Gothic, Malgun Gothic, Microsoft JhengHei, etc.).
*/
:root {
  --font-ui: -apple-system, "SF Pro Text", Inter, "Noto Sans TC", "Noto Sans JP", "Noto Sans KR", system-ui, sans-serif;
  --type-xs: 12px;
  --type-sm: 14px;
  --type-md: 16px;
  --type-lg: 22px;
  --weight-regular: 400;
  --weight-emphasis: 600;
}
html[lang="ja"] {
  --font-ui: -apple-system, "SF Pro Text", Inter, "Noto Sans JP", "Noto Sans TC", "Noto Sans KR", system-ui, sans-serif;
}
html[lang="ko"] {
  --font-ui: -apple-system, "SF Pro Text", Inter, "Noto Sans KR", "Noto Sans TC", "Noto Sans JP", system-ui, sans-serif;
}
html,
body {
  font-family: var(--font-ui);
  font-size: var(--type-md);
  font-weight: var(--weight-regular);
  font-variant-numeric: tabular-nums;
  overscroll-behavior: none;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}
.logo-pixel {
  font-family: "TracePixel", var(--font-ui);
  font-weight: 400;
  -webkit-font-smoothing: none;
}

html, body {
  overflow-wrap: break-word;
}
button, a, input, select, textarea, [role="button"] {
  touch-action: manipulation;
}
