html.carol-dark-background,
html.carol-dark-background body {
  background-color: #1f2937 !important;
}

html.carol-dark-background .header,
html.carol-dark-background .nav-hamburger-list {
  background-color: rgba(17, 24, 39, 0.98) !important;
}

html.carol-dark-background .nav-hamburger-list {
  border-bottom-color: #0f172a;
  border-top-color: #0f172a;
}

html.carol-dark-background .nav-links .nav-link a,
html.carol-dark-background .nav-hamburger-list .nav-item a {
  color: #e5e7eb;
}

html.carol-dark-background .nav-links .nav-link a:hover,
html.carol-dark-background .nav-hamburger-list .nav-item a:hover {
  color: #fca5a5;
}

html.carol-dark-background .nav-links .nav-link a svg,
html.carol-dark-background .nav-links .nav-link a svg path,
html.carol-dark-background .nav-hamburger-list .nav-item a svg,
html.carol-dark-background .nav-hamburger-list .nav-item a svg path {
  stroke: currentColor;
  fill: currentColor;
}

html.carol-dark-background a {
  color: #fca5a5;
}

html.carol-dark-background a:hover {
  color: #fecaca;
}

html.carol-dark-background .post-content a,
html.carol-dark-background .home-content a {
  color: inherit;
}

html.carol-dark-background .post-tags .post-tag a,
html.carol-dark-background .tags-list .post-tags .post-tag a,
html.carol-dark-background .prev-post a,
html.carol-dark-background .next-post a,
html.carol-dark-background #toc ul li a {
  color: #d1d5db;
}

html.carol-dark-background .post-tags .post-tag a:hover,
html.carol-dark-background .tags-list .post-tags .post-tag a:hover,
html.carol-dark-background .prev-post a:hover,
html.carol-dark-background .next-post a:hover,
html.carol-dark-background #toc ul li a:hover,
html.carol-dark-background #toc ul li a.active {
  color: #fecaca;
}

html.carol-dark-background .gk-social-icons-list .gk-social-icon,
html.carol-dark-background .gk-social-icons-list .gk-social-icon a,
html.carol-dark-background .gk-social-icons-list .gk-social-icon a:visited {
  color: #d1d5db;
  fill: #d1d5db;
}

html.carol-dark-background .gk-social-icons-list .gk-social-icon a:hover,
html.carol-dark-background .gk-social-icons-list .gk-social-icon a:hover svg,
html.carol-dark-background .gk-social-icons-list .gk-social-icon a:hover svg path {
  color: #fca5a5;
  fill: #fca5a5;
}

html.carol-dark-background .nav-links .nav-icons-divider {
  color: #0f172a;
}

html.carol-dark-background .header-shadow {
  box-shadow: rgb(15, 23, 42) 0px 1px 5px;
}

html.carol-dark-background .post-content {
  line-height: 1.8;
}

html.carol-dark-background .post-content > * + * {
  margin-top: 1rem;
}

html.carol-dark-background .post-content h1,
html.carol-dark-background .post-content h2,
html.carol-dark-background .post-content h3,
html.carol-dark-background .post-content h4,
html.carol-dark-background .post-content h5 {
  color: #fff7f7;
  letter-spacing: 0.2px;
}

html.carol-dark-background .post-content h2 {
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  padding-bottom: 0.35rem;
}

html.carol-dark-background .post-content p,
html.carol-dark-background .post-content li {
  color: #e5e7eb;
}

html.carol-dark-background .post-content ul,
html.carol-dark-background .post-content ol {
  padding-left: 1.4rem;
}

html.carol-dark-background .post-content li + li {
  margin-top: 0.35rem;
}

html.carol-dark-background .post-content blockquote {
  background: rgba(15, 23, 42, 0.36);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-left: 4px solid #fca5a5;
  border-radius: 14px;
  color: #d1d5db;
  margin: 24px 0;
  padding: 14px 18px;
}

html.carol-dark-background .post-content blockquote p:last-child {
  margin-bottom: 0;
}

html.carol-dark-background .post-content table {
  background: rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  display: inline-table;
  font-size: 0.92rem;
  max-width: 100%;
  overflow: hidden;
  overflow-x: auto;
  width: auto;
}

html.carol-dark-background .post-content table thead {
  background: rgba(30, 41, 59, 0.82);
  color: #fff7f7;
}

html.carol-dark-background .post-content table td,
html.carol-dark-background .post-content table th {
  padding: 0.62rem 0.78rem;
  vertical-align: top;
}

html.carol-dark-background .post-content table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

html.carol-dark-background .post-content hr {
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  margin: 2rem 0;
}

html.carol-dark-background .post-content img {
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

html.carol-dark-background .mermaid {
  background: rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  margin: 24px 0;
  overflow-x: auto;
  padding: 14px;
}

html.carol-dark-background .mermaid svg {
  display: block;
  margin: 0 auto;
}

html.carol-dark-background .mermaid text,
html.carol-dark-background .mermaid .label,
html.carol-dark-background .mermaid .nodeLabel {
  fill: #e5e7eb !important;
  color: #e5e7eb !important;
}

html.carol-dark-background .mermaid .node rect,
html.carol-dark-background .mermaid .node circle,
html.carol-dark-background .mermaid .node ellipse,
html.carol-dark-background .mermaid .node polygon,
html.carol-dark-background .mermaid .label-container,
html.carol-dark-background .mermaid .cluster rect {
  fill: #111827 !important;
  stroke: rgba(248, 113, 113, 0.72) !important;
  stroke-width: 1.25px !important;
}

html.carol-dark-background .mermaid .cluster rect {
  fill: rgba(15, 23, 42, 0.3) !important;
  stroke: rgba(148, 163, 184, 0.28) !important;
}

html.carol-dark-background .mermaid .edgePath .path,
html.carol-dark-background .mermaid .flowchart-link,
html.carol-dark-background .mermaid .messageLine0,
html.carol-dark-background .mermaid .messageLine1 {
  stroke: #cbd5e1 !important;
}

html.carol-dark-background .mermaid .marker,
html.carol-dark-background .mermaid marker,
html.carol-dark-background .mermaid .arrowheadPath {
  fill: #cbd5e1 !important;
  stroke: #cbd5e1 !important;
}

html.carol-dark-background .mermaid .edgeLabel rect {
  fill: rgba(17, 24, 39, 0.96) !important;
}

html.carol-dark-background .mermaid .edgeLabel text {
  fill: #e5e7eb !important;
}
