@font-face {
  font-family:"WenjingKai";
  src:url("/assets/fonts/LXGWWenKaiTC-Medium.ttf") format("truetype");
  font-weight:500;font-style:normal;font-display:swap;
}
@font-face {
  font-family:"WenjingZhenKai";
  src:url("/assets/fonts/LXGWZhenKaiSlabGB-Regular.ttf") format("truetype");
  font-weight:400;font-style:normal;font-display:swap;
}
:root {
  --wenjing-literary:"WenjingKai","Noto Serif TC","Songti TC","PMingLiU",serif;
  --wenjing-stamp:"WenjingZhenKai","WenjingKai","Noto Serif TC","PMingLiU",serif;
}
/* These selectors describe literary content, never dialogue or teaching prose. */
#stage .ui-completion .ui-completion-title,#stage .finale-poem-title,#stage .poem-paper>:is(h2,small),
#stage #lushan-finale .finale-poem p,#baidi-panel .finale-poem p,
#stage #kezhi-world :is(.kezhi-original,.kezhi-original p,.kezhi-poem-pair,.kezhi-echo,.kezhi-whole-poem h2,.kezhi-whole-poem>p),
#stage #jueju-world .jj-caption :is(.jj-original,.jj-full-poem,h2),
#stage #jueju-world .jj-final>p:first-of-type {
  font-family:var(--wenjing-literary);font-weight:500;
}
#stage #kezhi-world :is(.kezhi-original,.kezhi-original p,.kezhi-poem-pair),
#stage #jueju-world .jj-caption :is(.jj-original,.jj-full-poem) {
  font-size:clamp(40px,3.1cqw,46px);line-height:1.5;letter-spacing:.05em;
}
#stage #kezhi-world .kezhi-original p {letter-spacing:.05em;}
#stage .ui-mark,#stage .chapter-mark-award>strong,#stage .guanzhao-mark,
#stage #jueju-world .jj-caption .ui-mark,
#stage #jueju-world[data-state=FINAL_REFLECTION] .jj-caption>strong {font-family:var(--wenjing-stamp);font-weight:400;}
