.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
}

.icon a {
  background: none;
}

.back-links {
  margin-top: 1em;
  font-size: 0.7em;
  line-height: 1.2em;
}

:root {
  --feed-bg-color: rgba(243, 246, 249, 0.6);
  --card-bg-color: #ffffff;
  --tag-background-color: #efefef;
  --over-character-limit-background-color: #ffcccc;

  /* Text */
  --color-blockquote-decorative-quote: #efefef;
  --color-error: #b91c1c;

  /* Borders */
  --image-border-color: rgba(0, 0, 0, 0.05);

  /* Shadows */
  --shadow-1: rgba(0, 0, 0, 0.2) 0px 2px 1px -1px,
    rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 3px 3px 0px;
  --shadow-2: rgba(0, 0, 0, 0.2) 0px 3px 1px -2px,
    rgba(0, 0, 0, 0.14) 0px 2px 2px 0px, rgba(0, 0, 0, 0.12) 0px 1px 5px 0px;

  /* Underlines */
  --image-underline-grey: url(data:image/gif;base64,R0lGODlhAQABAIABAK2trURERCH+EUNyZWF0ZWQgd2l0aCBHSU1QACwAAAAAAQABAAACAkQBADs=);
  --image-underline-hover-grey: url(data:image/gif;base64,R0lGODlhAQABAIABAIiIiERERCH+EUNyZWF0ZWQgd2l0aCBHSU1QACwAAAAAAQABAAACAkQBADs=);

  @media (prefers-color-scheme: dark) {
    --feed-bg-color: #161616;
    --card-bg-color: #222222;
    --image-border-color: rgba(255, 255, 255, 0.05);
    --timestamp-color: #adadad;
    --timestamp-color-hover: #888888;
    --tag-background-color: none;
    --color-blockquote-decorative-quote: #555555;
    --color-error: #f87171;
  }
}

[data-theme='dark'] {
  --feed-bg-color: #161616;
  --card-bg-color: #222222;
  --image-border-color: rgba(255, 255, 255, 0.05);
  --timestamp-color: #adadad;
  --timestamp-color-hover: #888888;
  --tag-background-color: none;
  --color-blockquote-decorative-quote: #555555;
}

/* One Light and One Dark themes from https://github.com/PrismJS/prism-themes 
   MIT License: Copyright (c) 2015 PrismJS
*/

code[class*='language-'],
pre[class*='language-'] {
  background: hsl(230, 1%, 98%);
  color: hsl(230, 8%, 24%);
  font-family: SourceCode, Menlo, Consolas, monospace;
  direction: ltr;
  text-align: left;
  white-space: pre-wrap;
  word-spacing: normal;
  word-break: normal;
  line-height: 1.5;
  -moz-tab-size: 2;
  -o-tab-size: 2;
  tab-size: 2;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

/* Selection */
code[class*='language-']::-moz-selection,
code[class*='language-'] *::-moz-selection,
pre[class*='language-'] *::-moz-selection {
  background: hsl(230, 1%, 90%);
  color: inherit;
}

code[class*='language-']::selection,
code[class*='language-'] *::selection,
pre[class*='language-'] *::selection {
  background: hsl(230, 1%, 90%);
  color: inherit;
}

/* Code blocks */
pre[class*='language-'] {
  padding: 1em;
  margin: 0.5em 0;
  overflow: auto;
  border-radius: 0.3em;
}

/* Inline code */
:not(pre) > code[class*='language-'] {
  padding: 0.2em 0.3em;
  border-radius: 0.3em;
  white-space: normal;
}

.token.comment,
.token.prolog,
.token.cdata {
  color: hsl(230, 4%, 64%);
}

.token.doctype,
.token.punctuation,
.token.entity {
  color: hsl(230, 8%, 24%);
}

.token.attr-name,
.token.class-name,
.token.boolean,
.token.constant,
.token.number,
.token.atrule {
  color: hsl(35, 99%, 36%);
}

.token.keyword {
  color: hsl(301, 63%, 40%);
}

.token.property,
.token.tag,
.token.symbol,
.token.deleted,
.token.important {
  color: hsl(5, 74%, 59%);
}

.token.selector,
.token.string,
.token.char,
.token.builtin,
.token.inserted,
.token.regex,
.token.attr-value,
.token.attr-value > .token.punctuation {
  color: hsl(119, 34%, 47%);
}

.token.variable,
.token.operator,
.token.function {
  color: hsl(221, 87%, 60%);
}

.token.url {
  color: hsl(198, 99%, 37%);
}

/* HTML overrides */
.token.attr-value > .token.punctuation.attr-equals,
.token.special-attr > .token.attr-value > .token.value.css {
  color: hsl(230, 8%, 24%);
}

/* CSS overrides */
.language-css .token.selector {
  color: hsl(5, 74%, 59%);
}

.language-css .token.property {
  color: hsl(230, 8%, 24%);
}

.language-css .token.function,
.language-css .token.url > .token.function {
  color: hsl(198, 99%, 37%);
}

.language-css .token.url > .token.string.url {
  color: hsl(119, 34%, 47%);
}

.language-css .token.important,
.language-css .token.atrule .token.rule {
  color: hsl(301, 63%, 40%);
}

/* JS overrides */
.language-javascript .token.operator {
  color: hsl(301, 63%, 40%);
}

.language-javascript
  .token.template-string
  > .token.interpolation
  > .token.interpolation-punctuation.punctuation {
  color: hsl(344, 84%, 43%);
}

/* JSON overrides */
.language-json .token.operator {
  color: hsl(230, 8%, 24%);
}

.language-json .token.null.keyword {
  color: hsl(35, 99%, 36%);
}

/* MD overrides */
.language-markdown .token.url,
.language-markdown .token.url > .token.operator,
.language-markdown .token.url-reference.url > .token.string {
  color: hsl(230, 8%, 24%);
}

.language-markdown .token.url > .token.content {
  color: hsl(221, 87%, 60%);
}

.language-markdown .token.url > .token.url,
.language-markdown .token.url-reference.url {
  color: hsl(198, 99%, 37%);
}

.language-markdown .token.blockquote.punctuation,
.language-markdown .token.hr.punctuation {
  color: hsl(230, 4%, 64%);
  font-style: italic;
}

.language-markdown .token.code-snippet {
  color: hsl(119, 34%, 47%);
}

.language-markdown .token.bold .token.content {
  color: hsl(35, 99%, 36%);
}

.language-markdown .token.italic .token.content {
  color: hsl(301, 63%, 40%);
}

.language-markdown .token.strike .token.content,
.language-markdown .token.strike .token.punctuation,
.language-markdown .token.list.punctuation,
.language-markdown .token.title.important > .token.punctuation {
  color: hsl(5, 74%, 59%);
}

/* General */
.token.bold {
  font-weight: bold;
}

.token.comment,
.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}

.token.namespace {
  opacity: 0.8;
}

/* Plugin overrides */
/* Selectors should have higher specificity than those in the plugins' default stylesheets */

/* Show Invisibles plugin overrides */
.token.token.tab:not(:empty):before,
.token.token.cr:before,
.token.token.lf:before,
.token.token.space:before {
  color: hsla(230, 8%, 24%, 0.2);
}

/* Toolbar plugin overrides */
/* Space out all buttons and move them away from the right edge of the code block */
div.code-toolbar > .toolbar.toolbar > .toolbar-item {
  margin-right: 0.4em;
}

/* Styling the buttons */
div.code-toolbar > .toolbar.toolbar > .toolbar-item > button,
div.code-toolbar > .toolbar.toolbar > .toolbar-item > a,
div.code-toolbar > .toolbar.toolbar > .toolbar-item > span {
  background: hsl(230, 1%, 90%);
  color: hsl(230, 6%, 44%);
  padding: 0.1em 0.4em;
  border-radius: 0.3em;
}

div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover,
div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus,
div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover,
div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus,
div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover,
div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus {
  background: hsl(230, 1%, 78%); /* custom: darken(--syntax-bg, 20%) */
  color: hsl(230, 8%, 24%);
}

/* Line Highlight plugin overrides */
/* The highlighted line itself */
.line-highlight.line-highlight {
  background: hsla(230, 8%, 24%, 0.05);
}

/* Default line numbers in Line Highlight plugin */
.line-highlight.line-highlight:before,
.line-highlight.line-highlight[data-end]:after {
  background: hsl(230, 1%, 90%);
  color: hsl(230, 8%, 24%);
  padding: 0.1em 0.6em;
  border-radius: 0.3em;
  box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.2); /* same as Toolbar plugin default */
}

/* Hovering over a linkable line number (in the gutter area) */
/* Requires Line Numbers plugin as well */
pre[id].linkable-line-numbers.linkable-line-numbers
  span.line-numbers-rows
  > span:hover:before {
  background-color: hsla(230, 8%, 24%, 0.05);
}

/* Line Numbers and Command Line plugins overrides */
/* Line separating gutter from coding area */
.line-numbers.line-numbers .line-numbers-rows,
.command-line .command-line-prompt {
  border-right-color: hsla(230, 8%, 24%, 0.2);
}

/* Stuff in the gutter */
.line-numbers .line-numbers-rows > span:before,
.command-line .command-line-prompt > span:before {
  color: hsl(230, 1%, 62%);
}

/* Match Braces plugin overrides */
/* Note: Outline colour is inherited from the braces */
.rainbow-braces .token.token.punctuation.brace-level-1,
.rainbow-braces .token.token.punctuation.brace-level-5,
.rainbow-braces .token.token.punctuation.brace-level-9 {
  color: hsl(5, 74%, 59%);
}

.rainbow-braces .token.token.punctuation.brace-level-2,
.rainbow-braces .token.token.punctuation.brace-level-6,
.rainbow-braces .token.token.punctuation.brace-level-10 {
  color: hsl(119, 34%, 47%);
}

.rainbow-braces .token.token.punctuation.brace-level-3,
.rainbow-braces .token.token.punctuation.brace-level-7,
.rainbow-braces .token.token.punctuation.brace-level-11 {
  color: hsl(221, 87%, 60%);
}

.rainbow-braces .token.token.punctuation.brace-level-4,
.rainbow-braces .token.token.punctuation.brace-level-8,
.rainbow-braces .token.token.punctuation.brace-level-12 {
  color: hsl(301, 63%, 40%);
}

/* Diff Highlight plugin overrides */
/* Taken from https://github.com/atom/github/blob/master/styles/variables.less */
pre.diff-highlight > code .token.token.deleted:not(.prefix),
pre > code.diff-highlight .token.token.deleted:not(.prefix) {
  background-color: hsla(353, 100%, 66%, 0.15);
}

pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection,
pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection,
pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection,
pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection {
  background-color: hsla(353, 95%, 66%, 0.25);
}

pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection,
pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection,
pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection,
pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection {
  background-color: hsla(353, 95%, 66%, 0.25);
}

pre.diff-highlight > code .token.token.inserted:not(.prefix),
pre > code.diff-highlight .token.token.inserted:not(.prefix) {
  background-color: hsla(137, 100%, 55%, 0.15);
}

pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection,
pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection,
pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection,
pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection {
  background-color: hsla(135, 73%, 55%, 0.25);
}

pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection,
pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection,
pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection,
pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection {
  background-color: hsla(135, 73%, 55%, 0.25);
}

/* Previewers plugin overrides */
/* Based on https://github.com/atom-community/atom-ide-datatip/blob/master/styles/atom-ide-datatips.less and https://github.com/atom/atom/blob/master/packages/one-light-ui */
/* Border around popup */
.prism-previewer.prism-previewer:before,
.prism-previewer-gradient.prism-previewer-gradient div {
  border-color: hsl(0, 0, 95%);
}

/* Angle and time should remain as circles and are hence not included */
.prism-previewer-color.prism-previewer-color:before,
.prism-previewer-gradient.prism-previewer-gradient div,
.prism-previewer-easing.prism-previewer-easing:before {
  border-radius: 0.3em;
}

/* Triangles pointing to the code */
.prism-previewer.prism-previewer:after {
  border-top-color: hsl(0, 0, 95%);
}

.prism-previewer-flipped.prism-previewer-flipped.after {
  border-bottom-color: hsl(0, 0, 95%);
}

/* Background colour within the popup */
.prism-previewer-angle.prism-previewer-angle:before,
.prism-previewer-time.prism-previewer-time:before,
.prism-previewer-easing.prism-previewer-easing {
  background: hsl(0, 0%, 100%);
}

/* For angle, this is the positive area (eg. 90deg will display one quadrant in this colour) */
/* For time, this is the alternate colour */
.prism-previewer-angle.prism-previewer-angle circle,
.prism-previewer-time.prism-previewer-time circle {
  stroke: hsl(230, 8%, 24%);
  stroke-opacity: 1;
}

/* Stroke colours of the handle, direction point, and vector itself */
.prism-previewer-easing.prism-previewer-easing circle,
.prism-previewer-easing.prism-previewer-easing path,
.prism-previewer-easing.prism-previewer-easing line {
  stroke: hsl(230, 8%, 24%);
}

/* Fill colour of the handle */
.prism-previewer-easing.prism-previewer-easing circle {
  fill: transparent;
}

@media (prefers-color-scheme: dark) {
  code[class*='language-'],
  pre[class*='language-'] {
    background: hsl(220, 13%, 18%);
    color: hsl(220, 14%, 71%);
    text-shadow: 0 1px rgba(0, 0, 0, 0.3);
    font-family: SourceCode, Menlo, Consolas, monospace;
    direction: ltr;
    text-align: left;
    white-space: pre-wrap;
    word-spacing: normal;
    word-break: normal;
    line-height: 1.5;
    -moz-tab-size: 2;
    -o-tab-size: 2;
    tab-size: 2;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
  }

  /* Selection */
  code[class*='language-']::-moz-selection,
  code[class*='language-'] *::-moz-selection,
  pre[class*='language-'] *::-moz-selection {
    background: hsl(220, 13%, 28%);
    color: inherit;
    text-shadow: none;
  }

  code[class*='language-']::selection,
  code[class*='language-'] *::selection,
  pre[class*='language-'] *::selection {
    background: hsl(220, 13%, 28%);
    color: inherit;
    text-shadow: none;
  }

  /* Code blocks */
  pre[class*='language-'] {
    padding: 1em;
    margin: 0.5em 0;
    overflow: auto;
    border-radius: 0.3em;
  }

  /* Inline code */
  :not(pre) > code[class*='language-'] {
    padding: 0.2em 0.3em;
    border-radius: 0.3em;
    white-space: normal;
  }

  /* Print */
  @media print {
    code[class*='language-'],
    pre[class*='language-'] {
      text-shadow: none;
    }
  }

  .token.comment,
  .token.prolog,
  .token.cdata {
    color: hsl(220, 10%, 40%);
  }

  .token.doctype,
  .token.punctuation,
  .token.entity {
    color: hsl(220, 14%, 71%);
  }

  .token.attr-name,
  .token.class-name,
  .token.boolean,
  .token.constant,
  .token.number,
  .token.atrule {
    color: hsl(29, 54%, 61%);
  }

  .token.keyword {
    color: hsl(286, 60%, 67%);
  }

  .token.property,
  .token.tag,
  .token.symbol,
  .token.deleted,
  .token.important {
    color: hsl(355, 65%, 65%);
  }

  .token.selector,
  .token.string,
  .token.char,
  .token.builtin,
  .token.inserted,
  .token.regex,
  .token.attr-value,
  .token.attr-value > .token.punctuation {
    color: hsl(95, 38%, 62%);
  }

  .token.variable,
  .token.operator,
  .token.function {
    color: hsl(207, 82%, 66%);
  }

  .token.url {
    color: hsl(187, 47%, 55%);
  }

  /* HTML overrides */
  .token.attr-value > .token.punctuation.attr-equals,
  .token.special-attr > .token.attr-value > .token.value.css {
    color: hsl(220, 14%, 71%);
  }

  /* CSS overrides */
  .language-css .token.selector {
    color: hsl(355, 65%, 65%);
  }

  .language-css .token.property {
    color: hsl(220, 14%, 71%);
  }

  .language-css .token.function,
  .language-css .token.url > .token.function {
    color: hsl(187, 47%, 55%);
  }

  .language-css .token.url > .token.string.url {
    color: hsl(95, 38%, 62%);
  }

  .language-css .token.important,
  .language-css .token.atrule .token.rule {
    color: hsl(286, 60%, 67%);
  }

  /* JS overrides */
  .language-javascript .token.operator {
    color: hsl(286, 60%, 67%);
  }

  .language-javascript
    .token.template-string
    > .token.interpolation
    > .token.interpolation-punctuation.punctuation {
    color: hsl(5, 48%, 51%);
  }

  /* JSON overrides */
  .language-json .token.operator {
    color: hsl(220, 14%, 71%);
  }

  .language-json .token.null.keyword {
    color: hsl(29, 54%, 61%);
  }

  /* MD overrides */
  .language-markdown .token.url,
  .language-markdown .token.url > .token.operator,
  .language-markdown .token.url-reference.url > .token.string {
    color: hsl(220, 14%, 71%);
  }

  .language-markdown .token.url > .token.content {
    color: hsl(207, 82%, 66%);
  }

  .language-markdown .token.url > .token.url,
  .language-markdown .token.url-reference.url {
    color: hsl(187, 47%, 55%);
  }

  .language-markdown .token.blockquote.punctuation,
  .language-markdown .token.hr.punctuation {
    color: hsl(220, 10%, 40%);
    font-style: italic;
  }

  .language-markdown .token.code-snippet {
    color: hsl(95, 38%, 62%);
  }

  .language-markdown .token.bold .token.content {
    color: hsl(29, 54%, 61%);
  }

  .language-markdown .token.italic .token.content {
    color: hsl(286, 60%, 67%);
  }

  .language-markdown .token.strike .token.content,
  .language-markdown .token.strike .token.punctuation,
  .language-markdown .token.list.punctuation,
  .language-markdown .token.title.important > .token.punctuation {
    color: hsl(355, 65%, 65%);
  }

  /* General */
  .token.bold {
    font-weight: bold;
  }

  .token.comment,
  .token.italic {
    font-style: italic;
  }

  .token.entity {
    cursor: help;
  }

  .token.namespace {
    opacity: 0.8;
  }

  /* Plugin overrides */
  /* Selectors should have higher specificity than those in the plugins' default stylesheets */

  /* Show Invisibles plugin overrides */
  .token.token.tab:not(:empty):before,
  .token.token.cr:before,
  .token.token.lf:before,
  .token.token.space:before {
    color: hsla(220, 14%, 71%, 0.15);
    text-shadow: none;
  }

  /* Toolbar plugin overrides */
  /* Space out all buttons and move them away from the right edge of the code block */
  div.code-toolbar > .toolbar.toolbar > .toolbar-item {
    margin-right: 0.4em;
  }

  /* Styling the buttons */
  div.code-toolbar > .toolbar.toolbar > .toolbar-item > button,
  div.code-toolbar > .toolbar.toolbar > .toolbar-item > a,
  div.code-toolbar > .toolbar.toolbar > .toolbar-item > span {
    background: hsl(220, 13%, 26%);
    color: hsl(220, 9%, 55%);
    padding: 0.1em 0.4em;
    border-radius: 0.3em;
  }

  div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover,
  div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus,
  div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover,
  div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus,
  div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover,
  div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus {
    background: hsl(220, 13%, 28%);
    color: hsl(220, 14%, 71%);
  }

  /* Line Highlight plugin overrides */
  /* The highlighted line itself */
  .line-highlight.line-highlight {
    background: hsla(220, 100%, 80%, 0.04);
  }

  /* Default line numbers in Line Highlight plugin */
  .line-highlight.line-highlight:before,
  .line-highlight.line-highlight[data-end]:after {
    background: hsl(220, 13%, 26%);
    color: hsl(220, 14%, 71%);
    padding: 0.1em 0.6em;
    border-radius: 0.3em;
    box-shadow: 0 2px 0 0 rgba(0, 0, 0, 0.2); /* same as Toolbar plugin default */
  }

  /* Hovering over a linkable line number (in the gutter area) */
  /* Requires Line Numbers plugin as well */
  pre[id].linkable-line-numbers.linkable-line-numbers
    span.line-numbers-rows
    > span:hover:before {
    background-color: hsla(220, 100%, 80%, 0.04);
  }

  /* Line Numbers and Command Line plugins overrides */
  /* Line separating gutter from coding area */
  .line-numbers.line-numbers .line-numbers-rows,
  .command-line .command-line-prompt {
    border-right-color: hsla(220, 14%, 71%, 0.15);
  }

  /* Stuff in the gutter */
  .line-numbers .line-numbers-rows > span:before,
  .command-line .command-line-prompt > span:before {
    color: hsl(220, 14%, 45%);
  }

  /* Match Braces plugin overrides */
  /* Note: Outline colour is inherited from the braces */
  .rainbow-braces .token.token.punctuation.brace-level-1,
  .rainbow-braces .token.token.punctuation.brace-level-5,
  .rainbow-braces .token.token.punctuation.brace-level-9 {
    color: hsl(355, 65%, 65%);
  }

  .rainbow-braces .token.token.punctuation.brace-level-2,
  .rainbow-braces .token.token.punctuation.brace-level-6,
  .rainbow-braces .token.token.punctuation.brace-level-10 {
    color: hsl(95, 38%, 62%);
  }

  .rainbow-braces .token.token.punctuation.brace-level-3,
  .rainbow-braces .token.token.punctuation.brace-level-7,
  .rainbow-braces .token.token.punctuation.brace-level-11 {
    color: hsl(207, 82%, 66%);
  }

  .rainbow-braces .token.token.punctuation.brace-level-4,
  .rainbow-braces .token.token.punctuation.brace-level-8,
  .rainbow-braces .token.token.punctuation.brace-level-12 {
    color: hsl(286, 60%, 67%);
  }

  /* Diff Highlight plugin overrides */
  /* Taken from https://github.com/atom/github/blob/master/styles/variables.less */
  pre.diff-highlight > code .token.token.deleted:not(.prefix),
  pre > code.diff-highlight .token.token.deleted:not(.prefix) {
    background-color: hsla(353, 100%, 66%, 0.15);
  }

  pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection,
  pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection,
  pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection,
  pre
    > code.diff-highlight
    .token.token.deleted:not(.prefix)
    *::-moz-selection {
    background-color: hsla(353, 95%, 66%, 0.25);
  }

  pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection,
  pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection,
  pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection,
  pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection {
    background-color: hsla(353, 95%, 66%, 0.25);
  }

  pre.diff-highlight > code .token.token.inserted:not(.prefix),
  pre > code.diff-highlight .token.token.inserted:not(.prefix) {
    background-color: hsla(137, 100%, 55%, 0.15);
  }

  pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection,
  pre.diff-highlight
    > code
    .token.token.inserted:not(.prefix)
    *::-moz-selection,
  pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection,
  pre
    > code.diff-highlight
    .token.token.inserted:not(.prefix)
    *::-moz-selection {
    background-color: hsla(135, 73%, 55%, 0.25);
  }

  pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection,
  pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection,
  pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection,
  pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection {
    background-color: hsla(135, 73%, 55%, 0.25);
  }

  /* Previewers plugin overrides */
  /* Based on https://github.com/atom-community/atom-ide-datatip/blob/master/styles/atom-ide-datatips.less and https://github.com/atom/atom/blob/master/packages/one-dark-ui */
  /* Border around popup */
  .prism-previewer.prism-previewer:before,
  .prism-previewer-gradient.prism-previewer-gradient div {
    border-color: hsl(224, 13%, 17%);
  }

  /* Angle and time should remain as circles and are hence not included */
  .prism-previewer-color.prism-previewer-color:before,
  .prism-previewer-gradient.prism-previewer-gradient div,
  .prism-previewer-easing.prism-previewer-easing:before {
    border-radius: 0.3em;
  }

  /* Triangles pointing to the code */
  .prism-previewer.prism-previewer:after {
    border-top-color: hsl(224, 13%, 17%);
  }

  .prism-previewer-flipped.prism-previewer-flipped.after {
    border-bottom-color: hsl(224, 13%, 17%);
  }

  /* Background colour within the popup */
  .prism-previewer-angle.prism-previewer-angle:before,
  .prism-previewer-time.prism-previewer-time:before,
  .prism-previewer-easing.prism-previewer-easing {
    background: hsl(219, 13%, 22%);
  }

  /* For angle, this is the positive area (eg. 90deg will display one quadrant in this colour) */
  /* For time, this is the alternate colour */
  .prism-previewer-angle.prism-previewer-angle circle,
  .prism-previewer-time.prism-previewer-time circle {
    stroke: hsl(220, 14%, 71%);
    stroke-opacity: 1;
  }

  /* Stroke colours of the handle, direction point, and vector itself */
  .prism-previewer-easing.prism-previewer-easing circle,
  .prism-previewer-easing.prism-previewer-easing path,
  .prism-previewer-easing.prism-previewer-easing line {
    stroke: hsl(220, 14%, 71%);
  }

  /* Fill colour of the handle */
  .prism-previewer-easing.prism-previewer-easing circle {
    fill: transparent;
  }
}

@charset "UTF-8";
.reading .content-box {
  max-width: 700px;
  max-width: 35rem;
  max-width: 70ch;
}
.reading p {
  margin-top: 0;
}
.reading h3,
.reading h4 {
  margin-bottom: 0.375rem;
}
.reading h3 a,
.reading h4 a {
  color: var(--main-text-color);
}
.reading h3 a:hover,
.reading h4 a:hover {
  color: var(--link-text-hover-color);
}
.reading label {
  display: block;
  font-weight: normal;
}
.reading .filters {
  margin: 1.25rem 0;
}
.reading .filter-box {
  border: 1px solid var(--table-border-color);
  padding: 0.625rem;
  position: relative;
  font-size: 1rem;
}
.reading .filter-box .title {
  padding: 0 0.375rem;
  background-color: var(--bg-color);
  position: absolute;
  top: -0.625rem;
  left: 0.375rem;
  font-weight: bold;
}
.reading .filter-box .button-group {
  display: inline-block;
  margin: 0 0.5rem 0.375rem 0;
}
.reading .filter-box button.tag {
  background-color: var(--accent-color-purple-background);
  padding: 3px;
  margin-right: 2px;
  border-radius: 2px;
  border: 0;
}
.reading .filter-box button.tag:active,
.reading .filter-box button.tag:focus,
.reading .filter-box button.tag:hover {
  cursor: pointer;
  background-color: var(--accent-color-purple-background-hover);
}
.reading .filter-box button[aria-pressed='true'] {
  background-color: var(--accent-color-purple-background-hover);
}
.reading fieldset {
  border: 0;
  padding: 0;
}
.reading .filter-box fieldset {
  border: 1px solid var(--table-border-color);
  padding: 0.5rem;
  max-height: 10rem;
  overflow-y: scroll;
}
.reading .filter-box .search-form {
  margin: 5px 0;
  max-width: 31.25rem;
}
.reading .filter-box .search-form .search-group {
  display: flex;
  justify-content: space-between;
}
.reading .filter-box .search-form input[type='search'] {
  color: var(--main-text-color);
  flex-grow: 1;
  margin-right: 5px;
  border-radius: 0;
  border: 1px solid var(--table-border-color);
  background-color: var(--bg-color);
}
.reading .filter-box .search-form button {
  background-color: var(--button-color);
  color: var(--main-text-color);
  border: 1px solid var(--table-border-color);
  border-radius: 0;
}
.reading .filter-box .search-form button[type='submit']:hover {
  background-color: var(--button-color-hover);
  cursor: pointer;
}
.reading .filter-subtext {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-style: italic;
  margin-top: 5px;
}
.reading button.link-styled {
  background-color: transparent;
  border: none;
  color: var(--main-text-color);
  text-decoration: underline;
  padding: 0 0.375rem;
  font-weight: normal;
  font-style: italic;
}
.reading button.link-styled:hover,
.reading button.link-styled:focus,
.reading button.link-styled:active {
  cursor: pointer;
  background-color: var(--accent-color-purple-background);
}
.reading .article {
  padding-left: 0.625rem;
  border-left: 2px solid var(--accent-color-purple);
  margin-bottom: 1.25rem;
}
.reading .article.flex {
  display: flex;
}
.reading .article.flex .left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.reading .article.flex .right {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  width: 9.5rem;
  margin-left: 1.25rem;
}
.reading .article.flex .right .image {
  max-width: 10rem;
  max-height: 10rem;
}
.reading .article.flex .right .image img {
  max-width: 100%;
  max-height: 100%;
}
.reading .article.flex .right .caption {
  font-size: 1rem;
  text-align: right;
}
.reading .article .tags,
.book .tags {
  font-size: 0.9rem;
  line-height: 1.5rem;
  font-style: italic;
  color: var(--note-text-color);
}
.reading .article.hidden,
.book.hidden {
  display: none;
}
.reading blockquote {
  font-size: 1rem;
  font-style: italic;
  margin-left: 1.25rem;
}
.reading blockquote:before {
  color: var(--blockquote-quote-color);
  content: '“';
  font-size: 3rem;
  line-height: 0.1rem;
  margin-right: 0.25rem;
  vertical-align: -0.4rem;
}

.book .book-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.book .book-cover-link img {
  display: block;
}
.book .subtitle {
  font-size: 1rem;
}
.reading #articlesContainer > .book {
  margin-bottom: 3rem;
}
.book {
  display: flex;
}
.book a.book-cover-link {
  background: none;
}
.book .book-cover {
  max-width: 10rem;
  margin-right: 1.25rem;
}
.book .book-cover.bordered {
  border: 1px solid var(--table-border-color);
}
.book a:focus {
  background-color: transparent;
}
.book .title-and-byline {
  margin: 0.5rem 0;
}
.book .byline {
  font-size: 1rem;
  line-height: 1.5rem;
}
.book .editor-translator {
  font-size: 0.9rem;
}
.book .format {
  font-size: 0.9rem;
  font-style: italic;
}
.book .book-info,
.book .series-info {
  font-size: 0.9rem;
}
.book .book-info {
  line-height: 1.5rem;
}
.book .series-info {
  line-height: 1.5rem;
}
.book .reading-dates {
  font-size: 0.9rem;
  line-height: 1.5rem;
  display: inline-block;
}
.reading .status {
  display: inline-block;
  padding: 0 0.375rem;
  margin-right: 0.375rem;
  font-size: 1rem;
  background-color: var(--note-background-color);
}
.reading #paginator button {
  background-color: transparent;
  font-size: 1rem;
  color: var(--main-text-color);
  border: none;
}
.reading #paginator button:hover,
.reading #paginator button:focus,
.reading #paginator button:active,
.reading #paginator button[aria-pressed] {
  cursor: pointer;
  background-color: var(--accent-color-purple-background-hover);
}
.reading .summary {
  padding-left: 0.625rem;
}
.reading .read-date {
  font-style: italic;
}
.reading .reading-section {
  margin-bottom: 2.5rem;
}
.reading .reading-section .reading-section-body {
  margin-left: 1.25rem;
}
.reading .reading-section .currently-reading {
  margin-top: 1.25rem;
}
.reading .reading-section .currently-reading .status {
  font-size: 1rem;
}
.reading .reading-section .currently-reading .others {
  font-size: 1rem;
  font-style: italic;
}
.reading .reading-section .book {
  margin-top: 0.625rem;
}

.reading .details,
.reading .related-reading {
  padding-left: 0.625rem;
}
.reading .details,
.reading .related-reading,
.reading .target-articles,
.reading .date-block {
  font-size: 1rem;
  line-height: 1.5;
}
.reading .related-reading {
  margin-top: 0.375rem;
}
.reading .related-reading ul,
.reading .target-articles ul {
  display: inline;
  padding: 0;
}
.reading .rss-link {
  display: flex;
  align-items: center;
  font-size: 1rem;
}
.reading .rss-link .rss-icon {
  max-height: 0.9rem;
  margin-right: 0.375rem;
}
.reading i.fa-wikipedia-w {
  margin-right: 0.375rem;
}

@media screen and (max-width: 600px) {
  .reading .details,
  .reading .related-reading {
    padding-left: 0;
  }
  .reading .reading-section .reading-section-body {
    margin-left: 0;
  }
  .book .book-cover {
    max-width: 6rem;
  }
}

.reading. .checkboxes-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.reading .checkboxes-wrapper .checkboxes {
  display: flex;
}
.reading .checkboxes-wrapper .checkboxes .checkbox-group {
  display: flex;
  align-items: center;
  margin-right: 0.375rem;
}
.reading .checkboxes-wrapper .checkboxes .checkbox-group input {
  margin-right: 0.375rem;
}
.reading .checkboxes-wrapper .checkboxes .checkbox-group label {
  display: inline;
}

.feed body,
.micro body,
.home body {
  background-color: var(--feed-bg-color);
}

.feed .content-box {
  margin-left: 40px;
}

h1.site-title {
  margin-bottom: 0.5em;
  line-height: 1.25em;
}

p.site-description {
  margin-top: 0;
}

.hidden {
  display: none;
}

/* Entry ------------------------------------------------------------- */
.entry {
  position: relative;
  width: 100%;
  padding: 1em 1em 0.5em 1em;
  background-color: var(--card-bg-color);
  box-shadow: var(--shadow-1);
  margin-top: 3em;
}

/* Micro entries don't have tabs, so smaller margin */
.micro .entry {
  margin-top: 1em;
}

.standalone .entry {
  margin-top: 0;
}

.entry .break {
  word-break: break-all;
}

/* Header ------------------------------------------------------------ */
.entry header {
  position: relative;
}

.post-icon {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: -2.5em;
  left: -1em;
  width: unset;
  height: unset;
  padding: 0.1em 0.5em 0 0.5em;
  color: var(--timestamp-color);
  background-color: var(--card-bg-color);
  box-shadow: var(--shadow-1);
  z-index: -1;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.post-icon a {
  line-height: 0;
}

.post-icon svg {
  width: 1em;
}

.entry header .description {
  font-size: 0.7em;
  font-style: italic;
  margin-left: 0.5em;
}

/* Content ------------------------------------------------------------ */
.entry h2 {
  margin-bottom: 1em;
}

.entry .content > p {
  margin-top: 0;
}

.entry .content > .media-wrapper {
  margin-top: 1em;
}

.entry .content code,
.entry .content kbd,
.entry .content samp {
  font-size: 1rem;
}

/* Media */
.entry .content .media-wrapper {
  max-width: 40rem;
}

.entry .content .media-wrapper img,
.entry .content .media-wrapper video {
  display: block;
  width: 100%;
}

.entry .content video,
.entry .content iframe {
  max-width: 100%;
}

.entry .content .media-wrapper.full-width {
  max-width: 60rem;
}

.entry .content .media-wrapper.vertical {
  max-height: 40rem;
}

.entry .content .media-wrapper.bordered {
  border: 1px solid var(--image-border-color);
}

.entry .content .media-wrapper.backgrounded {
  background: var(--note-background-color);
  padding: 1em;
}

.entry .content .media-wrapper {
  margin-bottom: 1em;
}

.entry .content .media-wrapper + .media-wrapper {
  margin-bottom: 0;
}

/* Gallery */
figure {
  margin-block: unset;
  margin-inline: unset;
}

.entry .content .media-wrapper.media-wrapper-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: dense;
  gap: 0.1em;
  max-width: unset;
}

.entry .content .media-wrapper-gallery .media-wrapper {
  margin: 0;
}

.entry .content .media-wrapper-gallery .media-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry .content .media-wrapper-gallery .media-wrapper {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* Reading list */
.entry .byline,
.entry .details {
  font-size: 0.7em;
  color: var(--timestamp-color);
}

.entry blockquote {
  position: relative;
  font-size: 1rem;
  line-height: 1.25em;
  z-index: 1;
}

.entry .content > blockquote:before,
.entry .content > .quote > blockquote:before {
  color: var(--color-blockquote-decorative-quote);
  content: '\201C';
  font-family: 'Times New Roman';
  font-size: 5rem;
  font-weight: 700;
  left: -0.25em;
  top: 0.08em;
  position: absolute;
  z-index: -1;
}
.entry .content > blockquote ~ blockquote:before,
.entry .content > .quote ~ .quote blockquote:before {
  content: '';
}

.entry .quote {
  margin-bottom: 1em;
}

.entry .quote blockquote:has(+ cite) {
  margin-bottom: 0;
}

.entry .quote cite {
  font-size: 0.8em;
  margin-left: 3em;
}

.related-post {
  padding-left: 0.5em;
  border-left: 3px solid var(--hr-color);
}

.cdx-social-link {
  padding: 0 0.025em;
}

.cdx-mention-social-group {
  margin-left: 0.05em;
  white-space: nowrap;
}

.cdx-mention-social-group::before {
  content: '(';
  font-size: 0.8em;
  vertical-align: top;
}

.cdx-mention-social-group::after {
  content: ')';
  font-size: 0.8em;
  vertical-align: top;
}

.cdx-social-link .cdx-mention-icon {
  width: 10px;
  height: unset;
}

.cdx-social-link.wikipedia .cdx-mention-icon {
  width: 14px;
}

/* Footer ------------------------------------------------------------ */
.entry .footer {
  font-size: 0.7em;
  border-top: 1px solid var(--hr-color);
  margin-top: 1em;
}

.entry .footer .flex-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 0.5em;
}

.entry .footer .post-meta {
  color: var(--timestamp-color);
}

.entry .footer .post-meta a:hover {
  color: var(--timestamp-color-hover);
}

.post-meta * {
  line-height: 1.2em;
}

.edit-icon {
  background: none;
  width: 12px;
  height: 12px;
  margin-left: 0.2em;
}

/* Social links */
.footer .social-links {
  display: flex;
  position: relative;
  flex-shrink: 0;
  align-items: center;
  margin-left: 0.5em;
}

.social-link {
  position: relative;
  top: 2px;
}

.social-link,
.social-link:hover {
  background: none;
}

.social-link svg {
  height: 14px;
}

.social-link:not(:first-child) {
  margin-left: 0.3em;
}

/* Tags */
.footer .bottomRow {
  display: flex;
  margin-top: 1em;
  line-height: 1em;
  align-items: center;
}

.footer .tags {
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
  line-height: 1em;
}

.entry .tag {
  color: inherit;
  padding: 0.1em 0.2em;
  background-color: var(--tag-background-color);
  font-style: italic;
  margin-bottom: 0.5em;
  text-decoration: none;
}

.entry .tag::before {
  content: '#\2009';
}

.entry .tag:hover {
  color: var(--main-text-color);
  background-color: var(--button-color-hover);
}

.entry .tag:not(:last-child) {
  margin-right: 0.5em;
}

.footer .comments,
.footer .comments a {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--timestamp-color);
  text-decoration: none;
}

.footer .comments-icon svg {
  height: 14px;
}

/* Interactions */
.interactions {
  position: relative;
  width: 100%;
  padding: 1em;
  font-size: 0.7em;
  background-color: var(--card-bg-color);
  box-shadow: var(--shadow-1);
  margin-top: 1em;
}

.replies .p-content,
.replies .p-summary {
  margin-left: 1rem;
  line-height: 1rem;
}

.replies .u-comment:not(:first-child) {
  margin-top: 1rem;
}

/* Manual webmention submit form */
.webmention-submit {
  font-size: 0.7em;
  line-height: 1em;
  margin-top: 2rem;
}

.submit-box {
  display: flex;
  align-items: center;
  margin: 1em 0 0.5em 0;
}

.submit-box input {
  color: var(--main-text-color);
  border: 1px solid var(--table-border-color);
  background-color: var(--bg-color);
  flex-grow: 1;
}

.submit-box button {
  margin-left: 0.5em;
  background-color: var(--button-color);
  color: var(--main-text-color);
  border: 1px solid var(--table-border-color);
  border-radius: 0;
}

#submit-error {
  color: var(--color-error);
}

/* Paginator --------------------------------------------------------------------- */
label[for='paginator'] {
  display: block;
  margin-top: 1em;
}

#paginator {
  outline: 0;
  border: 0;
  padding: 0 !important;
}

#paginator button {
  background-color: transparent;
  font-size: 1rem;
  color: var(--main-text-color);
  border: none;
}

#paginator button:hover,
#paginator button:focus,
#paginator button:active {
  cursor: pointer;
  background-color: var(--accent-color-purple-background-hover);
}

#paginator button[aria-pressed] {
  background-color: var(--accent-color-purple-background);
}

/* Dark mode --------------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  .entry .content .media-wrapper.invert-on-dark img {
    filter: invert(0.85);
  }

  .tag {
    color: var(--timestamp-color);
    background-color: transparent;
  }

  .tag:hover {
    color: var(--timestamp-color-hover);
    background-color: transparent;
  }
}

[data-theme='dark'] .tag {
  color: var(--timestamp-color);
  background-color: transparent;
}
[data-theme='dark'] .tag:hover {
  color: var(--timestamp-color-hover);
  background-color: transparent;
}
[data-theme='dark'] .entry .content .media-wrapper.invert-on-dark img {
  filter: invert(0.85);
}

/* Mobile --------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  h1.site-title {
    margin-top: 0.5em;
    text-align: center;
  }

  .feed .content-box {
    margin-left: 0;
  }

  .feed main {
    padding: 0 0.2em;
  }

  .feed .entry {
    margin-top: 2em;
  }

  .feed.micro .entry {
    margin-top: 1em;
  }

  .entry blockquote {
    margin-inline-start: 30px;
    margin-inline-end: 20px;
  }
}

