/* Display faces are local assets. July Naive includes its original license. */
@font-face {
  font-family: "FontQu Smile";
  src: url("assets/fonts/fontqu-smile.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "July Naive";
  src: url("assets/fonts/july-naive/JulyNaive-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --font-display: "FontQu Smile", "KaiTi", "STKaiti", serif;
  --font-display-en: "July Naive", cursive;
  --font-reading: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-ui: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;

  --text-caption: .875rem;
  --text-small: 1rem;
  --text-body: 1.125rem;
  --text-body-large: 1.25rem;
  --text-character-name: 1.375rem;
  --text-heading: 2rem;
  --text-brand: 2.125rem;

  --line-height-body: 1.8;
  --line-height-heading: 1.3;
}

.entry h1,
.brand,
.panel h1,
.roundtable-header h1,
.journal-page h1,
.counsel-room .counsel-title h1 {
  font-family: var(--font-display);
}

.entry h1,
.brand,
.journal-page h1 {
  font-weight: 700;
  font-synthesis: weight;
}

.entry-english,
.english-translation,
.brand small {
  display: block;
  font-family: var(--font-display-en);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: none;
}

.entry h1 .english-translation {
  margin-top: .28em;
  font-size: .34em;
  line-height: 1.32;
  letter-spacing: .06em;
  color: rgba(255, 249, 232, .92);
}

.entry-body-english {
  margin-top: .5em;
  font-size: .83em;
  line-height: 1.45;
  color: rgba(255, 249, 232, .9);
}

.entry .button small,
.header-actions .button small,
.status-note small {
  display: block;
  font-family: var(--font-ui);
}

.entry .button small {
  margin-top: .28em;
  font-size: .72em;
  line-height: 1.3;
  color: rgba(255, 249, 232, .9);
}

.entry .secondary small { color: #394b3f; }
.header-actions .button { line-height: 1.25; }
.header-actions .button small { margin-top: .24em; font-size: .75em; font-weight: 400; }
.entry-note-english { margin-top: .24em; font-size: .9em; }
.brand { display: flex; flex-direction: column; gap: .16em; }
.brand small { font-size: .5em; letter-spacing: .08em; }
.status-note small { margin: .55em 0 .2em; font-size: .82em; line-height: 1.45; color: #665941; }

@media (max-width: 700px) {
  .entry h1 .english-translation { font-size: .38em; }
  .entry .button small { font-size: .68em; }
  .brand small { font-size: .48em; }
}
