pre {
  position: relative;
  background: #0d1117;
  color: #c9d1d9;
  border: 1px solid #30363d;
  overflow: auto;
}

html,
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.25;
}



.card.is-featured {
  border: 1px solid rgba(255, 193, 7, 0.6);
  box-shadow: 0 0.25rem 0.75rem rgba(255, 193, 7, 0.15);
  background-color: #ffffff;
}

.card.is-featured .card-img-top,
.card.is-featured .rounded {
  border: 1px solid rgba(255, 193, 7, 0.2);
}

pre code {
  color: inherit;
}

.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid #30363d;
  border-radius: 999px;
  background: #161b22;
  color: #8b949e;
  font: inherit;
  font-size: 12px;
  padding: 6px 10px;
  cursor: pointer;
}

.copy-btn:hover {
  color: #c9d1d9;
}

img {
  max-width: 100%;
  height: auto;
}

.article img {
  width: auto !important;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.article img.lazy-img {
  max-width: 100%;
  width: auto !important;
  background: #f3f4f6;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 200ms linear;
}

.article img.lazy-img.is-loaded,
.article img.lazy-img.is-error {
  opacity: 1;
}

.entry-container {
  max-width: 1440px;
}

.blog.single .card-body {
  padding: 20px;
}

.icontent + .icontent {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #e5e5e5;
}

.post-nav {
  display: flex;
  gap: 16px;
  margin: 28px 0 0 0;
}

.post-nav a {
  flex: 1;
  display: block;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
}

.post-nav a:hover {
  border-color: #d6d6d6;
}

.post-nav .label {
  display: block;
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 6px;
}

.post-nav .title {
  display: block;
  font-weight: 600;
  line-height: 1.35;
}

.related-cats-grid {
  columns: 2;
  column-gap: 18px;
}

.related-cats-grid > li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 8px;
}

@media (max-width: 991.98px) {
  .related-cats-grid {
    columns: 1;
  }
}

.media-placeholder {
  aspect-ratio: 900 / 474;
  background: #f3f4f6;
  overflow: hidden;
}

.media-placeholder {
  position: relative;
}

.media-placeholder::before {
  content: "";
  display: block;
  padding-top: 52.6666667%;
}

.media-placeholder > a {
  position: absolute;
  inset: 0;
  display: block;
}

.media-placeholder img {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0 !important;
  transition: opacity 200ms linear;
}

.media-placeholder img.is-loaded {
  opacity: 1 !important;
}

.media-placeholder img.is-error {
  opacity: 1 !important;
  filter: grayscale(1);
}

.download-verify-details > summary {
  list-style: none;
}

.download-verify-details > summary::-webkit-details-marker {
  display: none;
}

[data-page-anchor] {
  height: 1px;
  width: 100%;
}

.skeleton {
  background: #f3f4f6;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: skeleton-shimmer 1.1s infinite;
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

.skeleton-line {
  height: 12px;
  margin-top: 10px;
}

.skeleton-line.tight {
  margin-top: 8px;
}

.skeleton-line.w-90 {
  width: 90%;
}

.skeleton-line.w-70 {
  width: 70%;
}

.skeleton-line.w-55 {
  width: 55%;
}

.skeleton-meta {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.skeleton-meta .skeleton {
  height: 10px;
}

.skeleton-meta .date {
  width: 88px;
}

.skeleton-meta .author {
  width: 110px;
}

.infinite-sentinel {
  display: block;
  text-align: center;
  padding: 18px 0 0 0;
  min-height: 24px;
}

.infinite-sentinel.is-active {
  display: block;
}

.infinite-sentinel.is-done {
  display: block;
  padding-bottom: 10px;
}

.infinite-sentinel > span {
  visibility: hidden;
}

.infinite-sentinel.is-active > span {
  visibility: visible;
}

.entry-sentinel {
  height: 1px;
}

.nav-details {
  position: relative;
}

.nav-details > summary {
  list-style: none;
}

.nav-details > summary::-webkit-details-marker {
  display: none;
}

.nav-panel {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.35);
  padding: 12px;
  z-index: 9999;
}

.nav-panel-inner {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 2px;
  height: calc(100vh - 24px);
  max-width: 420px;
  margin-left: auto;
  overflow: auto;
  padding: 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.nav-panel-inner::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.nav-panel-head {
  padding: 8px 10px 10px 10px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 6px;
}

.nav-panel-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.nav-details-inline {
  position: relative;
}

.nav-panel.nav-panel-cats {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  max-height: 60vh;
  overflow: auto;
  background: #ffffff;
  inset: auto;
  padding: 8px;
  z-index: 10000;
}

.nav-details-cats {
  margin-top: 6px;
}

.nav-details-cats > summary {
  list-style: none;
}

.nav-details-cats > summary::-webkit-details-marker {
  display: none;
}

.nav-cats-list {
  padding-left: 10px;
  border-left: 1px solid #e5e5e5;
  margin-top: 6px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.nav-cats-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body.menu-open {
  overflow: hidden;
}

.nav-panel .nav-link {
  display: block;
  padding: 8px 10px;
  border-radius: 2px;
}

.nav-panel .nav-link:hover {
  background: #f6f7f9;
}

@media (max-width: 575.98px) {
  .display-1 {
    font-size: 2.1rem;
  }

  .lead {
    font-size: 1rem;
  }
}

.home-cats .btn {
  white-space: nowrap;
}
