/* Font sources and redistribution terms are listed in /assets/notices/fonts.txt. */
@font-face {
  font-family: "MSSJ Code Latin";
  src: url("./fonts/mssj-code-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: "Gyeonggi Title Common";
  src: url("./fonts/Title_Medium-common.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Gyeonggi Title Common";
  src: url("./fonts/Title_Bold-common.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Gyeonggi Title";
  src: url("./fonts/Title_Medium.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Gyeonggi Title";
  src: url("./fonts/Title_Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans KR Common";
  src: url("./fonts/NotoSansKR-common.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("./fonts/NotoSansKR-extra.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+3400-9FFF, U+F900-FAFF, U+FB00-FB04, U+1F100-1F1AC, U+1F200-1F202, U+1F210-1F251, U+20000-30FFF;
}
@font-face {
  font-family: "Noto Sans KR";
  src: url("./fonts/NotoSansKR.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-33FF, U+A960-A97F, U+AC00-D7FF, U+FE00-FFEF;
}
@font-face {
  font-family: "D2Coding";
  src: url("./fonts/D2Coding-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nanum Pen Script";
  src: url("./fonts/nanum-pen-script-korean-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nanum Pen Script";
  src: url("./fonts/nanum-pen-script-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF;
}
:root {
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --panel-inset: clamp(var(--space-4), 3vw, var(--space-8));
  --control-size: 44px;
  --support-size: .875rem;
  --prose-leading: 1.65;
  --wiki-reading-font: "Noto Sans KR Common", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --book-title-font: "Gyeonggi Title Common", "Gyeonggi Title", var(--wiki-reading-font);
  --book-body-font: var(--book-title-font);
  --book-code-font: "MSSJ Code Latin", "D2Coding", monospace;
  --book-signature-font: "Nanum Pen Script", "Noto Sans KR Common", "Noto Sans KR", cursive;
  --signature-offset: .1em;
}
body { font-family: var(--book-body-font); }
h1, h2, h3, h4 { font-family: var(--book-title-font); }
code, kbd, samp, pre { font-family: var(--book-code-font); }
/* Center the visible pen strokes inside their line without moving the control. */
.signature-ink { position: relative; inset-block-start: var(--signature-offset); }
