html { background: #faf8f3; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #faf8f3;
  color: #222;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: #0864c7; }
#page {
  max-width: 580px;
  margin: 0 auto;
  padding: 12vh 24px 96px;
}
#menu {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 48px;
}
#menu .home {
  color: #222;
  font-weight: bold;
  text-decoration: none;
}
#menu span a { margin-left: 14px; }
h1 { font-size: 20px; line-height: 1.3; margin: 0 0 6px; color: #111; }
h2 { font-size: 16px; line-height: 1.35; margin: 40px 0 10px; color: #111; }
h3 { font-size: 15px; line-height: 1.35; margin: 24px 0 6px; color: #111; }
.date { color: #888; font-size: 13px; margin: 0 0 28px; }
p { margin: 0 0 15px; }
ul, ol { padding-left: 20px; margin: 0 0 15px; }
li { margin-bottom: 6px; }
ul.plain { margin-top: 24px; }
ul.plain li { margin-bottom: 8px; }
mark { background: #fff1a6; color: inherit; padding: 1px 3px; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.8px;
  line-height: 1.5;
  background: #f2efe7;
  border: 1px solid #e4e0d5;
  padding: 11px 13px;
  margin: 18px 0 20px;
  overflow-x: auto;
}
pre code { background: none; padding: 0; font-size: inherit; }
pre .c { color: #7c7668; }
pre .ok { color: #1b7a3a; }
table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 22px;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
th, td {
  text-align: left;
  padding: 6px 8px 6px 0;
  border-bottom: 1px solid #e4e0d5;
}
th { color: #666; font-weight: normal; border-bottom: 1px solid #cfc8b8; }
td.n, th.n { text-align: right; }
figure { margin: 24px 0 26px; }
figcaption { font-size: 13px; color: #666; line-height: 1.45; margin-top: 8px; }
figcaption b { color: #222; }
.figbox { background: #f2efe7; border: 1px solid #e4e0d5; padding: 12px 14px; }
.bars { margin: 0; font-size: 13px; }
.bars td { padding: 5px 8px 5px 0; border-bottom: 1px solid #e6e2d6; vertical-align: middle; }
.bars tr:last-child td { border-bottom: none; }
.bars td.lbl { width: 124px; white-space: nowrap; }
.bars td.barcell { width: 100%; }
.bars td.num { white-space: nowrap; text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.track { display: flex; height: 11px; background: #e8e4d8; overflow: hidden; }
.seg-pk { background: #0864c7; height: 100%; }
.seg-ct { background: #7fb0e6; height: 100%; }
.seg-ml-pk { background: #8d8a83; height: 100%; }
.seg-ml-ct { background: #c9c4b8; height: 100%; }
.seg-hot { background: #0864c7; height: 100%; }
.katex-display { overflow-x: auto; overflow-y: hidden; margin: 18px 0; }
hr { border: 0; border-top: 1px solid #e4e0d5; margin: 40px 0 20px; }
footer { font-size: 13px; color: #666; line-height: 1.55; }
@media (max-width: 600px) {
  #page { padding-top: 32px; }
  #menu { margin-bottom: 32px; }
}
