/* Use the homepage's locally available Traditional Chinese serif faces. */
@font-face {
  font-family: "Noto Serif TC Local";
  src: local("Noto Serif TC"), local("Songti TC"), local("PMingLiU");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+2E80-9FFF,U+F900-FAFF,U+FE10-FE4F,U+FF00-FFEF,U+20000-323AF;
}
html:lang(zh-Hant) body,
html:lang(zh-Hant) body :where(*) {
  font-family: "Noto Serif TC Local", Georgia, "Times New Roman", "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU", serif !important;
}

/* Paint underneath the content so diagrams and highlighter marks stay crisp. */
#panel-task1 tbody tr td:first-child,
#panel-task2:not(.is-admin) tbody tr td.prompt-cell,
dialog, .login-dialog, .highlight-dialog {
  background-image: linear-gradient(105deg,rgba(255,250,236,.74),rgba(255,250,236,.62) 55%,rgba(255,250,236,.12)),url("./parchment-grain.webp") !important;
  background-size: auto, 640px 640px;
  background-repeat: no-repeat, repeat;
}
