.markdown-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
  line-height: 1.5;
  word-wrap: break-word;
}
.markdown-body::before {
  display: table;
  content: "";
}
.markdown-body::after {
  display: table;
  clear: both;
  content: "";
}
.markdown-body > *:first-child {
  margin-top: 0;
}
.markdown-body > *:last-child {
  margin-bottom: 0;
}
.markdown-body a:not([href]) {
  color: inherit;
  text-decoration: none;
}
.markdown-body .absent {
  color: #cb2431;
}
.markdown-body .anchor {
  float: left;
  padding-right: 4px;
  margin-left: -20px;
  line-height: 1;
}
.markdown-body .anchor:focus {
  outline: none;
}
.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table,
.markdown-body pre {
  margin-top: 0;
  margin-bottom: 16px;
}
.markdown-body hr {
  height: 0.25em;
  padding: 0;
  margin: 24px 0;
  background-color: #e1e4e8;
  border: 0;
}
.markdown-body blockquote {
  padding: 0 1em;
  color: #6a737d;
  border-left: 0.25em solid rgb(223.1325301205, 225.9036144578, 229.3674698795);
}
.markdown-body blockquote > :first-child {
  margin-top: 0;
}
.markdown-body blockquote > :last-child {
  margin-bottom: 0;
}
.markdown-body kbd {
  display: inline-block;
  padding: 3px 5px;
  font-size: 11px;
  line-height: 10px;
  color: #444d56;
  vertical-align: middle;
  background-color: #fafbfc;
  border: solid 1px rgb(197.6939759036, 202.6771084337, 208.9060240964);
  border-bottom-color: #959da5;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #959da5;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.25;
}
.markdown-body h1 .octicon-link,
.markdown-body h2 .octicon-link,
.markdown-body h3 .octicon-link,
.markdown-body h4 .octicon-link,
.markdown-body h5 .octicon-link,
.markdown-body h6 .octicon-link {
  color: #1b1f23;
  vertical-align: middle;
  visibility: hidden;
}
.markdown-body h1:hover .anchor,
.markdown-body h2:hover .anchor,
.markdown-body h3:hover .anchor,
.markdown-body h4:hover .anchor,
.markdown-body h5:hover .anchor,
.markdown-body h6:hover .anchor {
  text-decoration: none;
}
.markdown-body h1:hover .anchor .octicon-link,
.markdown-body h2:hover .anchor .octicon-link,
.markdown-body h3:hover .anchor .octicon-link,
.markdown-body h4:hover .anchor .octicon-link,
.markdown-body h5:hover .anchor .octicon-link,
.markdown-body h6:hover .anchor .octicon-link {
  visibility: visible;
}
.markdown-body h1 tt,
.markdown-body h1 code,
.markdown-body h2 tt,
.markdown-body h2 code,
.markdown-body h3 tt,
.markdown-body h3 code,
.markdown-body h4 tt,
.markdown-body h4 code,
.markdown-body h5 tt,
.markdown-body h5 code,
.markdown-body h6 tt,
.markdown-body h6 code {
  font-size: inherit;
}
.markdown-body h1 {
  padding-bottom: 0.3em;
  font-size: 2em;
  border-bottom: 1px solid rgb(233.6603773585, 235.7943396226, 238.6396226415);
}
.markdown-body h2 {
  padding-bottom: 0.3em;
  font-size: 1.5em;
  border-bottom: 1px solid rgb(233.6603773585, 235.7943396226, 238.6396226415);
}
.markdown-body h3 {
  font-size: 1.25em;
}
.markdown-body h4 {
  font-size: 1em;
}
.markdown-body h5 {
  font-size: 0.875em;
}
.markdown-body h6 {
  font-size: 0.85em;
  color: #6a737d;
}

.markdown-body ul,
.markdown-body ol {
  padding-left: 2em;
}
.markdown-body ul.no-list,
.markdown-body ol.no-list {
  padding: 0;
  list-style-type: none;
}
.markdown-body ul ul,
.markdown-body ul ol,
.markdown-body ol ol,
.markdown-body ol ul {
  margin-top: 0;
  margin-bottom: 0;
}
.markdown-body li {
  word-wrap: break-all;
}
.markdown-body li > p {
  margin-top: 16px;
}
.markdown-body li + li {
  margin-top: 0.25em;
}
.markdown-body dl {
  padding: 0;
}
.markdown-body dl dt {
  padding: 0;
  margin-top: 16px;
  font-size: 1em;
  font-style: italic;
  font-weight: 600;
}
.markdown-body dl dd {
  padding: 0 16px;
  margin-bottom: 16px;
}

.markdown-body table {
  display: block;
  width: 100%;
  overflow: auto;
}
.markdown-body table th {
  font-weight: 600;
}
.markdown-body table th,
.markdown-body table td {
  padding: 6px 13px;
  border: 1px solid rgb(223.1325301205, 225.9036144578, 229.3674698795);
}
.markdown-body table tr {
  background-color: #fff;
  border-top: 1px solid rgb(197.6939759036, 202.6771084337, 208.9060240964);
}
.markdown-body table tr:nth-child(2n) {
  background-color: #f6f8fa;
}
.markdown-body table img {
  background-color: transparent;
}

.markdown-body img {
  max-width: 100%;
  box-sizing: content-box;
  background-color: #fff;
}
.markdown-body img[align=right] {
  padding-left: 20px;
}
.markdown-body img[align=left] {
  padding-right: 20px;
}
.markdown-body .emoji {
  max-width: none;
  vertical-align: text-top;
  background-color: transparent;
}
.markdown-body span.frame {
  display: block;
  overflow: hidden;
}
.markdown-body span.frame > span {
  display: block;
  float: left;
  width: auto;
  padding: 7px;
  margin: 13px 0 0;
  overflow: hidden;
  border: 1px solid rgb(223.1325301205, 225.9036144578, 229.3674698795);
}
.markdown-body span.frame span img {
  display: block;
  float: left;
}
.markdown-body span.frame span span {
  display: block;
  padding: 5px 0 0;
  clear: both;
  color: #24292e;
}
.markdown-body span.align-center {
  display: block;
  overflow: hidden;
  clear: both;
}
.markdown-body span.align-center > span {
  display: block;
  margin: 13px auto 0;
  overflow: hidden;
  text-align: center;
}
.markdown-body span.align-center span img {
  margin: 0 auto;
  text-align: center;
}
.markdown-body span.align-right {
  display: block;
  overflow: hidden;
  clear: both;
}
.markdown-body span.align-right > span {
  display: block;
  margin: 13px 0 0;
  overflow: hidden;
  text-align: right;
}
.markdown-body span.align-right span img {
  margin: 0;
  text-align: right;
}
.markdown-body span.float-left {
  display: block;
  float: left;
  margin-right: 13px;
  overflow: hidden;
}
.markdown-body span.float-left span {
  margin: 13px 0 0;
}
.markdown-body span.float-right {
  display: block;
  float: right;
  margin-left: 13px;
  overflow: hidden;
}
.markdown-body span.float-right > span {
  display: block;
  margin: 13px auto 0;
  overflow: hidden;
  text-align: right;
}

.markdown-body code,
.markdown-body tt {
  padding: 0.2em 0.4em;
  margin: 0;
  font-size: 85%;
  background-color: rgba(240, 246, 252, 0.1);
  border-radius: 3px;
}
.markdown-body code br,
.markdown-body tt br {
  display: none;
}
.markdown-body del code {
  text-decoration: inherit;
}
.markdown-body pre {
  word-wrap: normal;
}
.markdown-body pre > code {
  padding: 0;
  margin: 0;
  font-size: 100%;
  word-break: normal;
  white-space: pre;
  background: transparent;
  border: 0;
}
.markdown-body .highlight {
  margin-bottom: 16px;
}
.markdown-body .highlight pre {
  margin-bottom: 0;
  word-break: normal;
}
.markdown-body .highlight pre,
.markdown-body pre {
  padding: 16px;
  overflow: auto;
  font-size: 85%;
  line-height: 1.45;
  background-color: var(--bg-secondary);
  border-radius: 3px;
}
.markdown-body pre code,
.markdown-body pre tt {
  display: inline;
  max-width: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  line-height: inherit;
  word-wrap: normal;
  background-color: transparent;
  border: 0;
}

.markdown-body .csv-data td,
.markdown-body .csv-data th {
  padding: 5px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}
.markdown-body .csv-data .blob-num {
  padding: 10px 8px 9px;
  text-align: right;
  background: #fff;
  border: 0;
}
.markdown-body .csv-data tr {
  border-top: 0;
}
.markdown-body .csv-data th {
  font-weight: 600;
  background: #f6f8fa;
  border-top: 0;
}

.highlight table td {
  padding: 5px;
}

.highlight table pre {
  margin: 0;
}

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

.highlight .cp {
  color: #999999;
  font-weight: bold;
}

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

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

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

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

.highlight .gd {
  color: #000000;
  background-color: #ffdddd;
}

.highlight .ge {
  color: #000000;
  font-style: italic;
}

.highlight .gr {
  color: #aa0000;
}

.highlight .gh {
  color: #999999;
}

.highlight .gi {
  color: #000000;
  background-color: #ddffdd;
}

.highlight .go {
  color: #888888;
}

.highlight .gp {
  color: #555555;
}

.highlight .gs {
  font-weight: bold;
}

.highlight .gu {
  color: #aaaaaa;
}

.highlight .gt {
  color: #aa0000;
}

.highlight .kc {
  color: #000000;
  font-weight: bold;
}

.highlight .kd {
  color: #000000;
  font-weight: bold;
}

.highlight .kn {
  color: #000000;
  font-weight: bold;
}

.highlight .kp {
  color: #000000;
  font-weight: bold;
}

.highlight .kr {
  color: #000000;
  font-weight: bold;
}

.highlight .kt {
  color: #445588;
  font-weight: bold;
}

.highlight .k, .highlight .kv {
  color: #000000;
  font-weight: bold;
}

.highlight .mf {
  color: #009999;
}

.highlight .mh {
  color: #009999;
}

.highlight .il {
  color: #009999;
}

.highlight .mi {
  color: #009999;
}

.highlight .mo {
  color: #009999;
}

.highlight .m, .highlight .mb, .highlight .mx {
  color: #009999;
}

.highlight .sb {
  color: #d14;
}

.highlight .sc {
  color: #d14;
}

.highlight .sd {
  color: #d14;
}

.highlight .s2 {
  color: #d14;
}

.highlight .se {
  color: #d14;
}

.highlight .sh {
  color: #d14;
}

.highlight .si {
  color: #d14;
}

.highlight .sx {
  color: #d14;
}

.highlight .sr {
  color: #009926;
}

.highlight .s1 {
  color: #d14;
}

.highlight .ss {
  color: #990073;
}

.highlight .s {
  color: #d14;
}

.highlight .na {
  color: #008080;
}

.highlight .bp {
  color: #999999;
}

.highlight .nb {
  color: #0086B3;
}

.highlight .nc {
  color: #445588;
  font-weight: bold;
}

.highlight .no {
  color: #008080;
}

.highlight .nd {
  color: #3c5d5d;
  font-weight: bold;
}

.highlight .ni {
  color: #800080;
}

.highlight .ne {
  color: #990000;
  font-weight: bold;
}

.highlight .nf {
  color: #990000;
  font-weight: bold;
}

.highlight .nl {
  color: #990000;
  font-weight: bold;
}

.highlight .nn {
  color: #555555;
}

.highlight .nt {
  color: #000080;
}

.highlight .vc {
  color: #008080;
}

.highlight .vg {
  color: #008080;
}

.highlight .vi {
  color: #008080;
}

.highlight .nv {
  color: #008080;
}

.highlight .ow {
  color: #000000;
  font-weight: bold;
}

.highlight .o {
  color: #000000;
  font-weight: bold;
}

.highlight .w {
  color: #bbbbbb;
}

.highlight {
  background-color: var(--bg-secondary);
}

:root {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #21262d;
  --bg-hover: #30363d;
  --text-primary: #c9d1d9;
  --text-heading: #e6edf3;
  --text-secondary: #8b949e;
  --text-link: #58a6ff;
  --text-link-hover: #79c0ff;
  --text-accent: #d29922;
  --border-color: rgba(148, 163, 184, 0.2);
  --border-hover: rgba(148, 163, 184, 0.4);
  --color-white: #fff;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 160px;
  }
}
h1,
h2,
h3,
h4 {
  color: var(--text-heading);
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

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

.border,
.border-top,
.border-bottom,
.border-gray-light {
  border-color: var(--border-color);
}

hr {
  border: none;
  border-top: 1px solid var(--border-color);
}

li:hover {
  background-color: var(--bg-secondary);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: var(--bg-hover);
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.75rem 1rem;
}

.navbar .nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links li {
  margin: 0;
}

.nav-links li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links li a:hover {
  color: var(--text-link);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }
  .nav-links li a {
    text-align: center;
  }
  .nav-links.open {
    display: flex;
  }
  .navbar {
    position: relative;
  }
}
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-primary);
  padding: 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid var(--border-color);
}

header,
.footer {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  div.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
  }
  div.footer > div {
    margin-bottom: 0.5rem;
  }
  div.footer > div:last-child {
    margin-bottom: 0;
  }
}
@media (min-width: 769px) {
  div.footer {
    justify-content: space-around;
    width: 60%;
    left: 20%;
  }
}
.markdown-body hr {
  height: auto;
  background-color: transparent;
  border: none;
  border-top: 1px solid var(--border-color);
}

.markdown-body h1,
.markdown-body h2 {
  border-bottom-color: var(--border-color);
}

.markdown-body blockquote {
  color: var(--text-secondary);
  border-left-color: var(--border-color);
}

.markdown-body img {
  background-color: transparent;
}

.markdown-body span.frame > span {
  border-color: var(--border-color);
}

.markdown-body span.frame span span {
  color: var(--text-primary);
}

.markdown-body table tr {
  background-color: transparent;
  border-top-color: var(--border-color);
}

.markdown-body table tr:nth-child(2n) {
  background-color: rgba(255, 255, 255, 0.03);
}

.markdown-body h6 {
  color: var(--text-secondary);
}

.markdown-body kbd {
  display: inline-block;
  padding: 3px 5px;
  font-size: 11px;
  line-height: 10px;
  color: var(--text-primary);
  vertical-align: middle;
  background-color: var(--bg-secondary);
  border: solid 1px var(--border-color);
  border-bottom-color: var(--border-hover);
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 var(--border-color);
}

.markdown-body .csv-data .blob-num {
  background: var(--bg-secondary);
}

.markdown-body .csv-data th {
  background: var(--bg-secondary);
}

a.link-gray,
a.link-gray-dark,
a.muted-link {
  color: var(--text-secondary);
}

a.link-gray:hover,
a.link-gray-dark:hover,
a.muted-link:hover {
  color: var(--text-link);
  text-decoration: none;
}

span.text-pending {
  color: var(--text-accent);
}

div.bg-pending {
  background-color: var(--text-accent);
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--text-link);
}

.card-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.4;
}

.card-title:hover {
  color: var(--text-link);
  text-decoration: none;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.post-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.post-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  transition: border-color 0.2s;
}

.post-card:hover {
  border-color: var(--text-link);
}

.category-pill {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.category-tech {
  background: rgba(88, 166, 255, 0.15);
  color: var(--text-link);
  border: 1px solid rgba(88, 166, 255, 0.3);
}

.category-note {
  background: rgba(63, 185, 80, 0.15);
  color: #3fb950;
  border: 1px solid rgba(63, 185, 80, 0.3);
}

.post-card-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.post-card-title:hover {
  color: var(--text-link);
  text-decoration: none;
}

.post-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.post-card-meta span + span::before {
  content: "·";
}

.view-all {
  display: inline-block;
  margin-top: 1rem;
  color: var(--text-link);
  font-size: 0.9rem;
}

.view-all:hover {
  text-decoration: none;
  color: var(--text-link-hover);
}

.page-counter {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.profile-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.profile-card .avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--bg-hover);
  margin-bottom: 1rem;
}

.profile-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.profile-card .bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.profile-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.profile-social {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.profile-counter img {
  max-width: 100%;
}

.home-tags {
  margin-top: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}

.home-tags h2 {
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.home-tags .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-with-sidebar {
  max-width: 900px;
  margin-left: max(16px, (100% - 900px) * 0.3);
}

@media (min-width: 769px) {
  .page-with-sidebar {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
  }
  .page-sidebar {
    position: sticky;
    top: 16px;
    margin-top: 3rem;
  }
}
@media (max-width: 768px) {
  .page-sidebar {
    display: none;
  }
  .page-sidebar.show-on-mobile {
    display: block;
  }
}
.archive-month {
  color: var(--text-heading);
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.archive-month:first-of-type {
  margin-top: 0;
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .link-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem;
  transition: border-color 0.2s;
}

.link-card:hover {
  border-color: var(--text-link);
}

.link-card img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  flex-shrink: 0;
}

.link-card-body {
  flex: 1;
  min-width: 0;
}

.link-card-body a {
  font-weight: 600;
  color: var(--text-heading);
  font-size: 1rem;
}

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

.link-card-body .link-desc {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-card-body .link-note {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--text-accent);
  background: rgba(210, 153, 34, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
}

.classify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 400px;
}

.classify-card {
  display: block;
  text-align: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem 1rem;
  color: var(--text-heading);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.2s;
}

.classify-card:hover {
  border-color: var(--text-link);
  color: var(--text-link);
  text-decoration: none;
}

#searchResults ul {
  list-style: none;
  margin-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#searchResults ul li {
  background: transparent;
  padding: 0;
  margin: 0;
}

#searchResults ul li:hover {
  background: transparent;
}

.tag-pill,
.tag-link {
  display: inline-block;
  padding: 4px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-primary);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.tag-link {
  margin: 0.25rem;
}

.tag-pill:hover,
.tag-link:hover {
  border-color: var(--text-link);
  color: var(--text-link);
  text-decoration: none;
}

.search-form {
  margin-bottom: 20px;
}

.search-input {
  width: 70%;
  padding: 8px;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.search-btn {
  padding: 8px 16px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
}

.search-btn:hover {
  background: var(--bg-tertiary);
}

input {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 6px;
}

.markdown-body pre,
.markdown-body code,
.highlight pre {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
}

.markdown-body pre {
  padding: 16px;
  overflow-x: auto;
}

.markdown-body code {
  background-color: transparent;
  border-radius: 3px;
}

.markdown-body .hljs-keyword,
.markdown-body .hljs-selector-tag,
.markdown-body .hljs-subst {
  color: #f85149;
}

.markdown-body .hljs-string,
.markdown-body .hljs-doctag {
  color: #a5d6ff;
}

.markdown-body .hljs-title,
.markdown-body .hljs-title.class_,
.markdown-body .hljs-title.class_.inherited__,
.markdown-body .hljs-title.function_ {
  color: #d2a8ff;
}

.markdown-body .hljs-number,
.markdown-body .hljs-literal {
  color: #79c0ff;
}

.markdown-body .hljs-built_in,
.markdown-body .hljs-builtin-name {
  color: #ffa657;
}

.markdown-body .hljs-type,
.markdown-body .hljs-selector-id,
.markdown-body .hljs-selector-class,
.markdown-body .hljs-attribute,
.markdown-body .hljs-meta {
  color: #ffa657;
}

.markdown-body .hljs-name,
.markdown-body .hljs-selector-pseudo,
.markdown-body .hljs-selector-tag {
  color: #7ee787;
}

.markdown-body .hljs-variable,
.markdown-body .hljs-params {
  color: #ffa657;
}

.markdown-body .hljs-bullet,
.markdown-body .hljs-symbol,
.markdown-body .hljs-link {
  color: #79c0ff;
}

.markdown-body .hljs-comment,
.markdown-body .hljs-quote,
.markdown-body .hljs-deletion {
  color: var(--text-secondary);
}

.markdown-body .hljs-regexp,
.markdown-body .hljs-addition {
  color: #a5d6ff;
}

.markdown-body .hljs-section,
.markdown-body .hljs-strong {
  font-weight: 600;
}

.markdown-body .hljs-emphasis {
  font-style: italic;
}

.markdown-body table {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-collapse: collapse;
  border-radius: 6px;
  overflow: hidden;
}

.markdown-body table th,
.markdown-body table td {
  border: 1px solid var(--border-color);
  padding: 6px 13px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.markdown-body table th {
  background-color: var(--bg-secondary);
  font-weight: 600;
  text-align: left;
}

.markdown-body table tr:hover {
  background-color: var(--bg-secondary);
}

.code-block-container {
  position: relative;
}

.copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--bg-hover);
  color: var(--text-primary);
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.copy-button:hover {
  opacity: 1;
}

.copy-button.copied {
  background: #238636;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 1rem 0;
}

.share-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-right: 4px;
}

.share-btn {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--border-color);
}

.share-btn:hover {
  text-decoration: none;
  opacity: 0.85;
}

.share-btn.qzone {
  background: #1e5a7a;
  color: var(--color-white);
  border-color: #1e5a7a;
}

.share-btn.qq {
  background: #1a8ce8;
  color: var(--color-white);
  border-color: #1a8ce8;
}

.share-btn.facebook {
  background: #1877f2;
  color: var(--color-white);
  border-color: #1877f2;
}

.share-btn.x {
  background: #1d1d1d;
  color: var(--color-white);
  border-color: #333;
}

.copy-email-btn {
  cursor: pointer;
  font-size: inherit;
  border: 1px solid #4a9eff;
  background: #e8f4ff;
  color: #1a1a2e;
  padding: 6px 16px;
  border-radius: 6px;
}

.offline-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #da3633;
  color: var(--color-white);
  text-align: center;
  padding: 6px 12px;
  font-size: 14px;
  transform: translateY(-100%);
  transition: transform 0.3s;
}

.offline-banner.show {
  transform: translateY(0);
}

.cache-tip {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #238636;
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
  white-space: nowrap;
}

.cache-tip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .cache-tip {
    white-space: normal;
    max-width: 90%;
    text-align: center;
    bottom: 170px;
  }
}
giscus-widget {
  display: block;
  width: 100%;
}

.counter-img {
  display: none;
  width: 0;
  height: 0;
  visibility: hidden;
}

iframe[src*="youtube.com"],
iframe[src*="bilibili.com"] {
  max-width: 800px;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  display: block;
  margin: 0 auto;
}

.pt-3 { padding-top: 16px !important; }
.px-3 { padding-right: 16px !important; padding-left: 16px !important; }
.mt-5 { margin-top: 32px !important; }
.my-5 { margin-top: 32px !important; margin-bottom: 32px !important; }
.text-gray { color: #586069 !important; }


