@charset "UTF-8";

:root { --reading: "Yubai WenKai Web", var(--sans); }

/* Reading and writing share the same regular-weight WenKai glyphs.
   Controls, dates, comments and status text keep their existing sans/mono fonts. */
.wordmark,
.section-heading #thoughtsTitle,
.thought-title,
.thought-text,
#composerHeading,
.title-input,
.body-input {
  font-family: var(--reading);
  font-weight: 400;
  font-synthesis: none;
}

.thought-title { line-height: 1.6; letter-spacing: .01em; }
.thought-text,
.thought-text.only-text { line-height: 1.95; letter-spacing: .01em; }
.title-input { font-size: 1.375rem; line-height: 1.6; letter-spacing: .01em; }
.body-input { font-size: 1.125rem; line-height: 1.95; letter-spacing: .01em; }

@media (max-width: 760px) {
  .title-input { font-size: 1.3125rem; }
  .body-input { font-size: 1.0625rem; }
}

@media (max-width: 640px) {
  .thought-text,
  .thought-text.only-text,
  .body-input { font-size: 1.0625rem; line-height: 1.95; }
  .title-input { font-size: 1.25rem; }
}
