/* Webfont sources provided by Noonnu; attribution appears in the team credits. */
@font-face {
  font-family: 'GyeongbokgungSumunjangTitle';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2511-3@1.0/Sumunjang_TitleL.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GyeongbokgungSumunjangTitle';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2511-3@1.0/Sumunjang_TitleM.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GyeongbokgungSumunjangTitle';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2511-3@1.0/Sumunjang_TitleB.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GounBatang';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/GowunBatang-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GounBatang';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/GowunBatang-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* All reading copy and controls use the body tokens; headings are explicit. */
#screen :is(h1, h2, h3, h4, h5, h6),
.character-dialog :is(h1, h2, h3, h4, h5, h6),
.wordmark, .portrait-mark {
  font-family: var(--heading);
}
#screen :is(h1, h2, h3, h4, h5, h6) :is(span, em, strong, b) {
  font-family: inherit;
}
.font-credits { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.font-credits p { font-size: 13px; line-height: 1.9; word-break: keep-all; overflow-wrap: anywhere; }
.font-credits a { text-decoration: underline; text-underline-offset: 3px; }
