/* Shared with the standalone legal pages. Source: docs/visual-style.md. */
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic-variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "LXGW WenKai";
  src: url("/fonts/lxgw-wenkai.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "LXGW WenKai TC";
  src: url("/fonts/lxgw-wenkai-tc.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("/fonts/noto-sans-sc.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Klee One";
  src: url("/fonts/klee-one.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Gowun Batang";
  src: url("/fonts/gowun-batang.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --tm-navy: #172E43;
  --tm-ink: #172E43;
  --tm-paper: #F7EDDB;
  --tm-terracotta: #AF4A32;
  --tm-gold: #DCB15F;
  --tm-glass: #254B66;
  --tm-muted: #34434D;
  --tm-action: #912E1E;
  --tm-surface: #FCF6EB;
  --tm-inset: #EFE3CD;
  --tm-line: #172e4326;
  --tm-header-veil: #f7eddbed;
  --tm-toolbar-veil: #f7eddbf5;
  --tm-surface-veil: #fcf6ebed;
  --tm-visual-wash: #f3e9d9dc;
  --tm-focus-ring: #912e1e20;
  --tm-night-panel: #172E43;
  --tm-on-night: #F7EDDB;
  --tm-body-font: "Manrope", sans-serif;
  --tm-title-font: "Fraunces", Georgia, serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --tm-ink: #F0E7D8;
  --tm-paper: #101D29;
  --tm-terracotta: #E6A086;
  --tm-muted: #B5C1CA;
  --tm-action: #F0A38A;
  --tm-surface: #192B39;
  --tm-inset: #142433;
  --tm-line: #f0e7d82e;
  --tm-header-veil: #101d29ed;
  --tm-toolbar-veil: #101d29f5;
  --tm-surface-veil: #192b39ed;
  --tm-visual-wash: #101d29dc;
  --tm-focus-ring: #f0a38a33;
  --tm-night-panel: #0B1620;
}
@media print {
  :root[data-theme] {
    color-scheme: light;
    --tm-ink: #172E43;
    --tm-paper: white;
    --tm-muted: #34434D;
    --tm-action: #912E1E;
    --tm-terracotta: #AF4A32;
    --tm-inset: #f2f2f2;
    --tm-line: #172e4326;
  }
}
:root:lang(zh-CN) {
  --tm-body-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --tm-title-font: "LXGW WenKai", "Noto Sans SC", serif;
}
:root:lang(zh-TW) {
  --tm-body-font: "PingFang TC", "Microsoft JhengHei", "Noto Sans SC", sans-serif;
  --tm-title-font: "LXGW WenKai TC", "PingFang TC", serif;
}
:root:lang(ja) {
  --tm-body-font: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --tm-title-font: "Klee One", "Hiragino Mincho ProN", serif;
}
:root:lang(ko) {
  --tm-body-font: "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --tm-title-font: "Gowun Batang", "Apple SD Gothic Neo", serif;
}
:root:lang(hi) {
  --tm-body-font: "Kohinoor Devanagari", "Nirmala UI", "Noto Sans Devanagari", sans-serif;
  --tm-title-font: var(--tm-body-font);
}
:root:lang(ar) {
  --tm-body-font: "Geeza Pro", "Noto Naskh Arabic", Tahoma, sans-serif;
  --tm-title-font: var(--tm-body-font);
}
