/***************/
/* MEYER RESET */
/***************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul, dl {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  --color-text: #24292e;
  --color-text-light: #586069;
  --color-text-lighter: #6a737d;
  --color-bg: #fff;
  --color-border: #e1e4e8;
  --color-link: #0366d6;
  --color-tag-bg: #f1f8ff;
  --color-tag-text: #0366d6;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}

.header-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.site-name:hover {
  color: var(--color-link);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.site-nav a:hover {
  color: var(--color-link);
  text-decoration: none;
}

.main-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  min-height: calc(100vh - 140px);
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-lighter);
}

.post-entry {
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}

.post-entry:first-child {
  padding-top: 0;
}

.post-entry-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.post-entry-title a {
  color: var(--color-text);
}

.post-entry-title a:hover {
  color: var(--color-link);
}

.post-entry-meta {
  font-size: 0.85rem;
  color: var(--color-text-lighter);
  margin-bottom: 8px;
}

.post-entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.post-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.78rem;
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  border-radius: 3px;
}

.post-tag:hover {
  background: #def;
  text-decoration: none;
}

.post-entry-summary {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 10px;
}

.post-read-more {
  font-size: 0.9rem;
  color: var(--color-link);
}

.post-read-more:hover {
  text-decoration: underline;
}

.empty-state {
  text-align: center;
  padding: 60px 0;
  color: var(--color-text-lighter);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 32px 0 0;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.pagination a {
  color: var(--color-link);
}

.article-full {
  padding: 8px 0;
}

.article-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.article-meta {
  font-size: 0.85rem;
  color: var(--color-text-lighter);
  margin-bottom: 12px;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.article-content {
  line-height: 1.8;
  font-size: 1.05rem;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.article-content h1 {
  font-size: 1.6rem;
}

.article-content h2 {
  font-size: 1.35rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 6px;
}

.article-content h3 {
  font-size: 1.15rem;
}

.article-content p {
  margin-bottom: 1em;
}

.article-content pre {
  background: #f6f8fa;
  border-radius: 4px;
  padding: 16px;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1em;
}

.article-content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: #f6f8fa;
  padding: 2px 6px;
  border-radius: 3px;
}

.article-content pre code {
  background: none;
  padding: 0;
}

.article-content blockquote {
  border-left: 3px solid var(--color-border);
  margin: 0 0 1em 0;
  padding: 0 0 0 1em;
  color: var(--color-text-light);
}

.article-content table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1em;
}

.article-content th,
.article-content td {
  border: 1px solid var(--color-border);
  padding: 8px 12px;
  text-align: left;
}

.article-content th {
  background: #f6f8fa;
  font-weight: 600;
}

.article-content img {
  max-width: 100%;
}

.article-content ul,
.article-content ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.article-content li {
  margin-bottom: 0.3em;
}

.back-link {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.back-link a {
  color: var(--color-text-lighter);
  font-size: 0.9rem;
}

.page h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 24px 0;
}

.page-content {
  line-height: 1.8;
  font-size: 1.05rem;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.page-content h2 {
  font-size: 1.35rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 6px;
}

.page-content h3 {
  font-size: 1.15rem;
}

.page-content h4 {
  font-size: 1.05rem;
}

.page-content p {
  margin-bottom: 1em;
}

.page-content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: #f6f8fa;
  padding: 2px 6px;
  border-radius: 3px;
}

.page-content pre {
  background: #f6f8fa;
  border-radius: 4px;
  padding: 16px;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1em;
}

.page-content pre code {
  background: none;
  padding: 0;
}

.page-content blockquote {
  border-left: 3px solid var(--color-border);
  margin: 0 0 1em 0;
  padding: 0 0 0 1em;
  color: var(--color-text-light);
}

.page-content img {
  max-width: 100%;
}

.page-content ul,
.page-content ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

.page-content li {
  margin-bottom: 0.3em;
}

.archives {
  margin-top: 0;
}

.archive-group {
  margin-bottom: 32px;
}

.archive-heading {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-border);
}

.archive-list {
  list-style: none;
  padding: 0;
}

.archive-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
  font-size: 0.95rem;
}

.archive-item time {
  font-size: 0.85rem;
  color: var(--color-text-lighter);
  min-width: 24px;
}

.archive-item a {
  color: var(--color-text);
}

.archive-item a:hover {
  color: var(--color-link);
}

.tags {
  margin-top: 0;
}

.tag-section {
  margin-bottom: 32px;
}

.tag-section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-border);
}

.tag-section ul {
  list-style: none;
  padding: 0;
}

.tag-section li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
  font-size: 0.95rem;
}

.tag-section li time {
  font-size: 0.82rem;
  color: var(--color-text-lighter);
  white-space: nowrap;
}

.label {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.label a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  border-radius: 3px;
  font-size: 0.88rem;
}

.label .count {
  margin-left: 4px;
  opacity: 0.6;
  font-size: 0.8rem;
}

@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    gap: 14px;
  }

  .main-content {
    padding: 24px 16px 48px;
  }

  .post-entry {
    padding: 24px 0;
  }

  .article-title {
    font-size: 1.5rem;
  }
}
pre, code {
  font-family: "Menlo", "Courier New", "Monaco", "Spoqa Han Sans", monospace;
}

code.highlighter-rouge {
  font-size: 90%;
  color: #364fc7;
  background-color: #f1f3f5;
  padding: .1em .2em;
  border-radius: 3px;
}

pre.highlight {
  font-size: 14px;
  padding: .45em .45em .45em .625em;
  border: 1px solid #dee2e6;
  border-radius: 3px;
  margin: 1em 0;
  overflow: scroll;
}

.highlight {
  background: #f8f9fa;
}

.highlight .c {
  color: #999988;
  font-style: italic;
}

/* Comment */
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}

/* Error */
.highlight .k {
  font-weight: bold;
}

/* Keyword */
.highlight .o {
  font-weight: bold;
}

/* Operator */
.highlight .cm {
  color: #999988;
  font-style: italic;
}

/* Comment.Multiline */
.highlight .cp {
  color: #999999;
  font-weight: bold;
}

/* Comment.Preproc */
.highlight .c1 {
  color: #999988;
  font-style: italic;
}

/* Comment.Single */
.highlight .cs {
  color: #999999;
  font-weight: bold;
  font-style: italic;
}

/* Comment.Special */
.highlight .gd {
  color: #000000;
  background-color: #ffdddd;
}

/* Generic.Deleted */
.highlight .gd .x {
  color: #000000;
  background-color: #ffaaaa;
}

/* Generic.Deleted.Specific */
.highlight .ge {
  font-style: italic;
}

/* Generic.Emph */
.highlight .gr {
  color: #aa0000;
}

/* Generic.Error */
.highlight .gh {
  color: #999999;
}

/* Generic.Heading */
.highlight .gi {
  color: #000000;
  background-color: #ddffdd;
}

/* Generic.Inserted */
.highlight .gi .x {
  color: #000000;
  background-color: #aaffaa;
}

/* Generic.Inserted.Specific */
.highlight .go {
  color: #888888;
}

/* Generic.Output */
.highlight .gp {
  color: #555555;
}

/* Generic.Prompt */
.highlight .gs {
  font-weight: bold;
}

/* Generic.Strong */
.highlight .gu {
  color: #aaaaaa;
}

/* Generic.Subheading */
.highlight .gt {
  color: #aa0000;
}

/* Generic.Traceback */
.highlight .kc {
  font-weight: bold;
}

/* Keyword.Constant */
.highlight .kd {
  font-weight: bold;
}

/* Keyword.Declaration */
.highlight .kp {
  font-weight: bold;
}

/* Keyword.Pseudo */
.highlight .kr {
  font-weight: bold;
}

/* Keyword.Reserved */
.highlight .kt {
  color: #445588;
  font-weight: bold;
}

/* Keyword.Type */
.highlight .m {
  color: #009999;
}

/* Literal.Number */
.highlight .s {
  color: #d14;
}

/* Literal.String */
.highlight .na {
  color: #008080;
}

/* Name.Attribute */
.highlight .nb {
  color: #0086B3;
}

/* Name.Builtin */
.highlight .nc {
  color: #445588;
  font-weight: bold;
}

/* Name.Class */
.highlight .no {
  color: #008080;
}

/* Name.Constant */
.highlight .ni {
  color: #800080;
}

/* Name.Entity */
.highlight .ne {
  color: #990000;
  font-weight: bold;
}

/* Name.Exception */
.highlight .nf {
  color: #990000;
  font-weight: bold;
}

/* Name.Function */
.highlight .nn {
  color: #555555;
}

/* Name.Namespace */
.highlight .nt {
  color: #000080;
}

/* Name.Tag */
.highlight .nv {
  color: #008080;
}

/* Name.Variable */
.highlight .ow {
  font-weight: bold;
}

/* Operator.Word */
.highlight .w {
  color: #bbbbbb;
}

/* Text.Whitespace */
.highlight .mf {
  color: #009999;
}

/* Literal.Number.Float */
.highlight .mh {
  color: #009999;
}

/* Literal.Number.Hex */
.highlight .mi {
  color: #009999;
}

/* Literal.Number.Integer */
.highlight .mo {
  color: #009999;
}

/* Literal.Number.Oct */
.highlight .sb {
  color: #d14;
}

/* Literal.String.Backtick */
.highlight .sc {
  color: #d14;
}

/* Literal.String.Char */
.highlight .sd {
  color: #d14;
}

/* Literal.String.Doc */
.highlight .s2 {
  color: #d14;
}

/* Literal.String.Double */
.highlight .se {
  color: #d14;
}

/* Literal.String.Escape */
.highlight .sh {
  color: #d14;
}

/* Literal.String.Heredoc */
.highlight .si {
  color: #d14;
}

/* Literal.String.Interpol */
.highlight .sx {
  color: #d14;
}

/* Literal.String.Other */
.highlight .sr {
  color: #009926;
}

/* Literal.String.Regex */
.highlight .s1 {
  color: #d14;
}

/* Literal.String.Single */
.highlight .ss {
  color: #990073;
}

/* Literal.String.Symbol */
.highlight .bp {
  color: #999999;
}

/* Name.Builtin.Pseudo */
.highlight .vc {
  color: #008080;
}

/* Name.Variable.Class */
.highlight .vg {
  color: #008080;
}

/* Name.Variable.Global */
.highlight .vi {
  color: #008080;
}

/* Name.Variable.Instance */
.highlight .il {
  color: #009999;
}

/* Literal.Number.Integer.Long */
