/*
 * Inline code (`...`) — match GitHub .markdown-body code (light/dark)
 * Same article as: https://github.com/gerryyang2025/awesome-share/blob/master/_posts/2019-02-22-docker-in-action.markdown
 */
#post-body :not(pre) > code,
.post-content :not(pre) > code,
#post-content :not(pre) > code,
article .content :not(pre) > code,
main .content :not(pre) > code,
.content :not(pre) > code {
  padding: 0.2em 0.4em;
  margin: 0;
  font-size: 85%;
  line-height: 1.45;
  white-space: break-spaces;
  word-break: break-word;
  color: #24292e;
  background-color: rgba(175, 184, 193, 0.2);
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-weight: 400;
  vertical-align: text-bottom;
}

/* Blockquote: keep code “pill” ink like GitHub, not muted body text */
blockquote :not(pre) > code {
  color: #24292e;
}

[data-theme="dark"] #post-body :not(pre) > code,
[data-theme="dark"] .post-content :not(pre) > code,
[data-theme="dark"] #post-content :not(pre) > code,
[data-theme="dark"] article .content :not(pre) > code,
[data-theme="dark"] main .content :not(pre) > code,
[data-theme="dark"] .content :not(pre) > code,
.theme-dark #post-body :not(pre) > code,
.theme-dark .post-content :not(pre) > code,
.theme-dark #post-content :not(pre) > code,
.theme-dark article .content :not(pre) > code,
.theme-dark main .content :not(pre) > code,
.theme-dark .content :not(pre) > code {
  color: #e6edf3;
  background-color: rgba(110, 118, 129, 0.4);
}

[data-theme="dark"] blockquote :not(pre) > code,
.theme-dark blockquote :not(pre) > code {
  color: #e6edf3;
}
