@font-face {
  font-family: 'HeianSerif';
  src: url('/web/fonts/NotoSerifSC-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: block;
}
@font-face {
  font-family: 'HeianSerif';
  src: url('/web/fonts/NotoSerifSC-Black.otf') format('opentype');
  font-weight: 900;
  font-display: block;
}
@font-face {
  font-family: 'HeianBrush';
  src: url('/web/fonts/MaShanZheng-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: block;
}

:root {
  --ink-0: #04060a;
  --ink-1: #080c14;
  --ink-2: #0e1522;
  --ink-3: #9aa7bb;
  --ink-4: #5d6b80;
  --gold-0: #f7e6bf;
  --gold-1: #d9b678;
  --gold-2: #a5824a;
  --blue: #4ea8ff;
  --blue-dim: #1c4a7d;
  --red: #ff5c6c;
  --red-dim: #7d2531;
  --jade: #58c8b4;
  --f-display: 'HeianSerif', 'Microsoft YaHei UI', serif;
  --f-brush: 'HeianBrush', 'Microsoft YaHei UI', serif;
  --f-ui: 'Microsoft YaHei UI', 'Segoe UI', system-ui, sans-serif;
}

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

html, body {
  background: var(--ink-0);
  color: #e8eef8;
  font-family: var(--f-ui);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font-family: inherit; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(212,175,106,.22); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,175,106,.4); }
::-webkit-scrollbar-track { background: transparent; }
