html {
  overflow-x: hidden;
}
body {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.2rem;
  font-family:
    "Noto Serif",
    "Noto Serif CJK SC",
    "Source Han Serif SC",
    "Songti SC",
    SimSun,
    serif;
  line-height: 1.8;
  font-size: 16px;
  color: #222;
  text-align: justify;
  text-autospace: normal;
}
h1, h2, h3, h4 {
  line-height: 1.3;
}
p {
  margin: 1em 0;
}
strong,b {
  font-family:
    system-ui,
    -apple-system,
    "Noto Sans CJK SC",
    sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}
img {
  max-width: 100%;
  height: auto;
}
/* inline code '`' */
code {
  font-family:
    "SFMono-Regular",
    Menlo,
    Monaco,
    Consolas,
    monospace;
  background-color: #ccc;
  font-size: 0.88rem;
  padding: 0.1rem 0.4rem;
  border-radius: 0.3rem;
}
/* codeblock '```' */
figure.highlight {
  overflow-x: auto;
  background: #f5f5f5;
  border-radius: 6px;
  padding: 1rem;
  font-family:
    "SFMono-Regular",
    Menlo,
    Monaco,
    Consolas,
    monospace;
    font-size: 0.9em;
    line-height: 1.6;
}
figure.highlight pre {
  margin: 0;
}
/* blockquote '> ' */
blockquote {
  margin: 1.5em 0;
  padding: 0.5em 1em;
  border-left: 4px solid #888;
  background: #f7f7f7;
  color: #555;
}
/* footnote */
#footnotelist ol {
  padding-left: 2em;
}
#footnotelist li {
  list-style-type: decimal;
  margin-bottom: .5em;
}
/* table */
table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
th,td {
padding: 0.5em 0.8em;
border: 1px solid #ccc;
}
/* mobile */
@media (max-width: 600px) {
  body {
    padding: 1rem;
    font-size: 15px;
  }

  figure.highlight {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    border-radius: 0;
  }
}
