html.theme-dark,
html.theme-dark body {
  background: #050505 !important;
  color: #e8e8e8 !important;
}

html.theme-dark body,
html.theme-dark main,
html.theme-dark section,
html.theme-dark article,
html.theme-dark table,
html.theme-dark tbody,
html.theme-dark tr,
html.theme-dark td,
html.theme-dark th,
html.theme-dark .entry,
html.theme-dark .card,
html.theme-dark .panel,
html.theme-dark .tooltip,
html.theme-dark .definition,
html.theme-dark .modal-content {
  color: #e8e8e8;
}

html.theme-dark a,
html.theme-dark .dict-word,
html.theme-dark .headerlink a,
html.theme-dark .danger,
html.theme-dark .status-code,
html.theme-dark button.linklike {
  color: #d64a4a !important;
}

html.theme-dark a:visited {
  color: #b63c3c !important;
}

html.theme-dark input,
html.theme-dark textarea,
html.theme-dark select,
html.theme-dark button,
html.theme-dark pre,
html.theme-dark code,
html.theme-dark .tooltip,
html.theme-dark .definition,
html.theme-dark .entry,
html.theme-dark .card,
html.theme-dark .panel,
html.theme-dark table,
html.theme-dark td,
html.theme-dark th {
  background-color: #111 !important;
  color: #e8e8e8 !important;
  border-color: #3b3b3b !important;
}

html.theme-dark tr:nth-child(even),
html.theme-dark .muted-row,
html.theme-dark .secondary,
html.theme-dark .deleted-entry,
html.theme-dark .pending-entry {
  background-color: #0b0b0b !important;
}

html.theme-dark .entry.hidden,
html.theme-dark .entry.hidden .word,
html.theme-dark .entry.shadowed,
html.theme-dark .entry.shadowed .word {
  color: #d0d0d0 !important;
}

html.theme-dark .entry.hidden .word.missing,
html.theme-dark .entry.shadowed .word.missing {
  color: #d64a4a !important;
}

html.theme-dark .muted,
html.theme-dark .meta,
html.theme-dark .time,
html.theme-dark .duration,
html.theme-dark #reveal-counter,
html.theme-dark #unlock-counter {
  color: #aaa !important;
}

html.theme-dark hr {
  border-color: #333 !important;
}

html.theme-dark svg {
  background: #050505 !important;
}

html.theme-dark svg text {
  fill: #e8e8e8 !important;
}

html.theme-dark svg line {
  stroke: #fff !important;
}

html.theme-dark svg .node circle {
  stroke: #d64a4a !important;
}

html.theme-dark img {
  filter: brightness(.85) contrast(1.05);
}
