@charset "UTF-8";
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Iosevka";
  src: url("/fonts/Iosevka-Bold.woff2") format("woff2"), url("/fonts/Iosevka-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Iosevka";
  src: url("/fonts/Iosevka.woff2") format("woff2"), url("/fonts/Iosevka.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("/fonts/SourceSerifPro-Regular.woff2") format("woff2"), url("/fonts/SourceSerifPro-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("/fonts/SourceSerifPro-Bold.woff2") format("woff2"), url("/fonts/SourceSerifPro-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("/fonts/SourceSerifPro-It.woff2") format("woff2"), url("/fonts/SourceSerifPro-It.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("/fonts/SourceSerifPro-BoldIt.woff2") format("woff2"), url("/fonts/SourceSerifPro-BoldIt.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}
.post-list {
  font-family: "Source Serif Pro", serif;
}
.post-list .post-list-item {
  border-radius: 4px;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  padding: 1.4rem;
  padding-bottom: 4rem;
  position: relative;
  background: #f8f8f8;
}
.post-list .post-list-item.no-summary {
  padding-bottom: 1.4rem;
}
.post-list .post-list-item.exclusive {
  border: 1px solid goldenrod;
}
.post-list .post-list-item .post-blocks {
  display: flex;
  flex-direction: column;
}
.post-list .post-list-item .post-blocks .post-block.big {
  flex-basis: 60%;
}
.post-list .post-list-item .post-blocks .post-block.small {
  padding-top: 0.2em;
  padding-bottom: 0.4em;
  flex-grow: 1;
  text-align: right;
}
.post-list .post-list-item .post-link {
  font-family: "Bitter", sans-serif;
  font-size: 1.3rem;
  color: inherit;
  font-weight: bold;
  font-weight: normal;
  display: block;
  text-decoration: none;
}
@media (min-width: 1200px) {
  .post-list .post-list-item .post-link {
    font-size: 1.6rem;
  }
}
.post-list .post-list-item .post-metadata {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: left;
}
.post-list .post-list-item .post-metadata, .post-list .post-list-item .post-metadata a, .post-list .post-list-item .post-metadata a:visited {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}
.post-list .post-list-item .post-metadata > * {
  margin-right: 1em;
}
.post-list .post-list-item .post-summary {
  padding-top: 1em;
  font-size: 1.1rem;
  line-height: 1.6;
  padding-right: 1em;
}
@media (min-width: 600px) {
  .post-list .post-list-item .post-summary {
    font-size: 1.2rem;
  }
}
.post-list .post-list-item .post-summary.snippet {
  line-break: anywhere;
}
.post-list .post-list-item .post-summary p, .post-list .post-list-item .post-summary pre, .post-list .post-list-item .post-summary ul {
  margin-bottom: 1.25rem;
}
.post-list .post-list-item .post-summary code {
  font-size: 1rem;
}
.post-list .post-list-item .post-summary ul li {
  margin-left: 2em;
}
.post-list .post-list-item .post-summary img, .post-list .post-list-item .post-summary video, .post-list .post-list-item .post-summary pre, .post-list .post-list-item .post-summary iframe, .post-list .post-list-item .post-summary figure, .post-list .post-list-item .post-summary .tip, .post-list .post-list-item .post-summary .youtube-embed {
  display: none;
}
.post-list .post-list-item .post-summary h1, .post-list .post-list-item .post-summary h2, .post-list .post-list-item .post-summary h3, .post-list .post-list-item .post-summary h4, .post-list .post-list-item .post-summary h5, .post-list .post-list-item .post-summary h6 {
  font-size: 1.2rem;
  padding-bottom: 0.4em;
}
.post-list .post-list-item .post-summary b {
  background: #d7c7e3;
  padding: 2px;
  color: #000000;
  font-weight: normal;
}
.post-list .post-list-item .read-more {
  position: absolute;
  right: 1em;
  bottom: 1em;
}

body.dark-mode .post-list .post-list-item {
  background: #333;
}
body.dark-mode .post-list .post-list-item .post-metadata, body.dark-mode .post-list .post-list-item .post-metadata a, body.dark-mode .post-list .post-list-item .post-metadata a:visited {
  color: #b3b3b3;
}

.page-section {
  margin-bottom: 1.2rem;
  font-weight: normal;
  line-height: 1.8em;
  font-size: 1.2rem;
}
.page-section > *, .page-section > picture > * {
  max-width: min(780px, 100%);
  margin: 0 auto;
}
.page-section > .full-width, .page-section > .responsive-table, .page-section > picture > .full-width, .page-section > picture > .responsive-table {
  display: block;
  max-width: min(780px, 100%);
  margin: 0 auto;
  padding-bottom: 1.2em;
}
@media (min-width: 1200px) {
  .page-section > .full-width, .page-section > .responsive-table, .page-section > picture > .full-width, .page-section > picture > .responsive-table {
    max-width: min(1400px, 70vw);
  }
}
.page-section > .responsive-table, .page-section > picture > .responsive-table {
  overflow-x: auto;
}
.page-section > .responsive-table table, .page-section > picture > .responsive-table table {
  width: auto;
  margin: 0 auto;
}
@media (min-width: 1200px) {
  .page-section > pre, .page-section > picture > pre {
    max-width: min(1000px, 70vw);
  }
}
.page-section > p > video {
  max-width: 100%;
}
.page-section h1 a {
  text-decoration: none;
}
.page-section h1 a, .page-section h1 a:visited {
  color: inherit;
}
.page-section h1 a:hover {
  text-decoration: underline;
}
.page-section .page-title {
  font-weight: normal;
  padding-bottom: 0.2em;
}
.page-section .page-metadata {
  line-height: 1.6;
  font-size: 1.2rem;
}
.page-section .page-metadata, .page-section .page-metadata a {
  color: #666;
}
@media (min-width: 600px) {
  .page-section {
    font-size: 1.3rem;
  }
}
@media (min-width: 1200px) {
  .page-section {
    font-size: 1.4rem;
  }
}
.page-section h1, .page-section h2, .page-section h3, .page-section h4, .page-section h5, .page-section h6 {
  font-family: "Bitter", sans-serif;
  font-weight: bold;
  padding-top: 0.4rem;
  padding-bottom: 0.8rem;
}
.page-section p, .page-section pre, .page-section ul, .page-section ol, .page-section blockquote, .page-section .tip, .page-section pre, .page-section > picture > img, .page-section img.full-width {
  margin-bottom: 1.8rem;
}
.page-section ul ul {
  margin-bottom: 0;
}
.page-section ul li, .page-section ol li {
  margin-left: 2em;
  line-height: 1.6;
}
.page-section figure {
  width: 100%;
  background: #fafafa;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #eaeaea;
}
.page-section figure figcaption {
  font-size: 1.05rem;
  padding: 0.4em 0.8em;
  font-family: "Source Serif Pro", serif;
}
.page-section figure figcaption h4 {
  font-family: "Source Serif Pro", serif;
  padding: 0;
  font-size: inherit;
  font-weight: normal;
  line-height: 1.8;
  margin-top: 0.2em;
}
.page-section figure figcaption p:last-child {
  margin-bottom: 0;
}
.page-section figure img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  position: static;
  margin: auto;
}
.page-section .footnote-definition {
  text-indent: 1em;
}
.page-section .footnote-definition .footnote-definition-label {
  float: left;
}
.page-section .youtube-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 1em;
}
.page-section .youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.page-section table {
  margin-bottom: 2rem;
  width: 100%;
  border: 1px solid #e5e5e5;
  border-collapse: collapse;
}
.page-section td, .page-section th {
  padding: 0.25rem 0.5rem;
  border: 1px solid #e5e5e5;
}
.page-section tbody tr:nth-child(odd) td, .page-section tbody tr:nth-child(odd) th {
  background-color: #f7f7f7;
}
.page-section .reddit-button-container {
  display: flex;
  justify-content: center;
}
.page-section .reddit-button-container .inline-icon-container {
  margin-right: 0.8em;
}
.page-section strong {
  font-weight: bold;
}
.page-section .asciicast {
  text-align: center;
}
.page-section ul li, .page-section ol li {
  margin-bottom: 0.4rem;
}
.page-section code, .page-section pre {
  font-size: 1.2rem;
  font-family: "Iosevka", monospace;
  font-variant-ligatures: none;
  overflow-x: auto;
}
@media (max-width: 599px) {
  .page-section code, .page-section pre {
    font-size: 0.85rem;
  }
}
.page-section pre {
  font-size: inherit;
}
.page-section pre span {
  display: inline-block;
}
.page-section .dialog {
  display: flex;
  flex-direction: row;
  padding-bottom: 1em;
  font-size: 1.2rem;
}
.page-section .dialog .dialog-head {
  align-self: flex-start;
  flex-basis: 48px;
  width: 48px;
  height: 48px;
  margin: 0.2em 0.4em;
  flex-shrink: 0;
}
.page-section .dialog .dialog-head img, .page-section .dialog .dialog-head svg {
  width: 100%;
  height: auto;
}
.page-section .dialog .dialog-head.round img, .page-section .dialog .dialog-head.round svg {
  border-radius: 50%;
}
.page-section .dialog .dialog-text {
  max-width: 600px;
  align-self: flex-start;
  border-radius: 3px;
  padding: 0.4rem 0.8rem;
}
.page-section .dialog .dialog-text > :last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
.page-section .dialog .dialog-text {
  background-color: #fef6fa;
  border: 1px solid #ff81c5;
}
.page-section .dialog.bear .dialog-text {
  background-color: #fefdf6;
  border: 1px solid #ffeb81;
}
.page-section .dialog.amos .dialog-text {
  background-color: #f6f9ff;
  border: 1px solid #cce3f9;
}
.page-section .dialog.amos, .page-section .dialog.right {
  flex-direction: row-reverse;
}
.page-section .tip, .page-section .recap {
  border-radius: 4px;
  padding: 0.4rem 0.8rem;
  background-color: #fefdf6;
  border: 1px solid #ffeb81;
}
.page-section .tip.recap, .page-section .recap.recap {
  border-color: #c6dbff;
  background-color: #f5f9ff;
}
.page-section .tip p, .page-section .tip ul li, .page-section .tip ol li, .page-section .recap p, .page-section .recap ul li, .page-section .recap ol li {
  font-size: 1.2rem;
}
.page-section .tip pre, .page-section .recap pre {
  width: 100%;
  margin-left: 0;
  transform: none;
}
.page-section .tip .tip-header, .page-section .recap .tip-header {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-top: 0.2em;
  margin-bottom: 0.6em;
}
.page-section .tip img.bear, .page-section .tip svg, .page-section .recap img.bear, .page-section .recap svg {
  margin-left: 0;
  transform: none;
  margin-right: 0.5em;
  width: 3rem;
  height: 3rem;
}
.page-section .tip p:last-child, .page-section .tip ul:last-child, .page-section .recap p:last-child, .page-section .recap ul:last-child {
  margin-bottom: 0;
}
.page-section blockquote {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  color: #2d2d2d;
  background: #fbfbfb;
  border-left: 0.25rem solid #e5e5e5;
}
@media (max-width: 599px) {
  .page-section blockquote {
    font-size: 0.95rem;
  }
}
.page-section blockquote p:last-child {
  margin-bottom: 0;
}
.page-section.small {
  font-size: 1.2rem;
}
.page-section span.local-datetime {
  font-weight: bold;
}
.page-section .patreon-credits {
  font-family: "Source Serif Pro", serif;
  line-height: 1.6;
  font-size: 0.7em;
}
.page-section .patreon-plug {
  padding-top: 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.3rem;
}
@media (max-width: 599px) {
  .page-section .patreon-plug {
    font-size: 1rem;
  }
}

body.dark-mode .page-section img[src*="svg"] {
  filter: invert(83.6%) hue-rotate(180deg);
}

.series-info {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  flex-direction: row;
  align-items: center;
  margin-top: 2em;
  padding: 1em;
  background: #f8f8f8;
  border-radius: 4px;
  font-size: 0.95rem;
}
.series-info.bottom {
  margin-bottom: 2em;
}
.series-info .series-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.series-info p {
  margin-bottom: 0.2em;
}
.series-info select {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  flex-grow: 1;
  font-size: 0.95rem;
  max-width: 100%;
  text-overflow: ellipsis;
  background: white;
  border-radius: 4px;
  border: 1px solid #ccc;
  color: #383838;
  padding: 0.4em 0.6em;
  font-weight: bold;
}
.series-info .part-nav-bottom-buttons {
  display: flex;
  flex-direction: row;
  justify-content: start;
}
.series-info p:last-child {
  margin-bottom: 0;
}

.page-settings {
  font-size: 1.2rem;
}
.page-settings label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  display: block;
  line-height: 1.6;
}
.page-settings p {
  padding-top: 1em;
}

.buttons {
  margin-top: 1em;
  display: flex;
  justify-content: flex-start;
}

body.dark-mode .series-info {
  background: #333;
}
body.dark-mode .series-info select {
  background: #333;
  border-color: #666666;
  color: inherit;
}
body.dark-mode .page-section .page-metadata, body.dark-mode .page-section .page-metadata a {
  color: #b3b3b3;
}
body.dark-mode .page-section blockquote {
  background: #3a3939;
  border-color: #5d5d5d;
  color: inherit;
}
body.dark-mode .page-section tbody tr:nth-child(odd) td, body.dark-mode .page-section tbody tr:nth-child(odd) th {
  background-color: #3e3d3d;
}
body.dark-mode .page-section .tip, body.dark-mode .page-section .tip.recap {
  background-color: #333333;
  border-color: #5e6067;
}
body.dark-mode .page-section .tip .tip-header {
  color: white;
}
body.dark-mode .page-section .tip svg {
  fill: white;
}
body.dark-mode .page-section .dialog .dialog-head svg * {
  fill: white !important;
}
body.dark-mode .page-section .dialog .dialog-text {
  background-color: #3c0721;
  border: 1px solid #5c0031;
}
body.dark-mode .page-section .dialog.bear .dialog-text {
  background-color: #26241c;
  border-color: #736624;
}
body.dark-mode .page-section .dialog.amos .dialog-text {
  background-color: #333333;
  border-color: #5e6067;
}
body.dark-mode .page-section figure {
  background: #333;
  border-color: #555;
}

body.ligatures-enabled .page-body code, body.ligatures-enabled .page-body pre {
  font-variant-ligatures: normal;
}

body.debug-mode .page-section {
  border: 1px solid red;
}
body.debug-mode .page-section p {
  border: 1px solid green;
}
body.debug-mode .page-section img {
  border: 1px solid blue;
}
body.debug-mode .page-section h1, body.debug-mode .page-section h2, body.debug-mode .page-section h3, body.debug-mode .page-section h4, body.debug-mode .page-section h5, body.debug-mode .page-section h6 {
  border: 1px solid pink;
}

.nav {
  background: #8153a5;
  box-shadow: 0 0 1px 0 rgba(129, 83, 165, 0.08), 0 6px 12px 0 rgba(129, 83, 165, 0.07), 0 1px 1px 0 rgba(129, 83, 165, 0.07);
}

.nav-content {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 0.8rem;
  color: white;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
@media (max-width: 599px) {
  .nav-content.in-search .header-nav a {
    display: none;
  }
  .nav-content.in-search .header-nav {
    flex-grow: 100;
  }
  .nav-content.in-search .header-nav .header-search-container {
    flex-grow: 1;
  }
}
.nav-content .nav-filler {
  flex-grow: 1;
}
.nav-content.top {
  margin-bottom: 2em;
}
@media (max-width: 599px) {
  .nav-content.top {
    padding-right: 0;
    padding-left: 0.4rem;
  }
}
.nav-content a, .nav-content a:visited {
  color: white;
}
.nav-content .header-credits {
  padding: 1.4em;
}
.nav-content .header-filler {
  flex-grow: 1;
}
.nav-content .header-session {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  justify-content: flex-end;
}
@media (max-width: 599px) {
  .nav-content .header-session {
    margin-left: 0.8em;
  }
}
.nav-content .header-session .user-avatar {
  width: 1.8em;
  height: 1.8em;
  border-radius: 50%;
  margin-right: 0.5em;
  vertical-align: middle;
}
@media (max-width: 599px) {
  .nav-content .header-session .user-avatar {
    margin-right: 0;
  }
}
@media (max-width: 599px) {
  .nav-content .header-session .user-full-name {
    display: none;
  }
}
.nav-content .header-session li a {
  text-decoration: none;
  padding: 1rem;
}
@media (max-width: 599px) {
  .nav-content .header-session li a {
    padding: 0.8rem;
  }
}
.nav-content .header-session ul {
  background: #664283;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.nav-content .header-session li {
  color: #fff;
  background: #664283;
  display: block;
  float: left;
  position: relative;
  text-decoration: none;
  transition-duration: 0.5s;
  white-space: nowrap;
}
.nav-content .header-session li a {
  display: inline-block;
  color: #fff;
  width: 100%;
}
.nav-content .header-session li:hover, .nav-content .header-session li:focus-within {
  background: #744a94;
  cursor: pointer;
}
.nav-content .header-session li:focus-within a {
  outline: none;
}
.nav-content .header-session ul li ul {
  background: #8153a5;
  visibility: hidden;
  opacity: 0;
  min-width: 5rem;
  position: absolute;
  transition: all 0.2s ease;
  right: 0;
  display: none;
}
@media (min-width: 600px) {
  .nav-content .header-session ul li ul {
    left: 0;
  }
}
.nav-content .header-session ul li:hover > ul, .nav-content .header-session ul li:focus-within > ul, .nav-content .header-session ul li ul:hover, .nav-content .header-session ul li ul:focus {
  visibility: visible;
  opacity: 1;
  display: block;
}
.nav-content .header-session ul li ul li {
  clear: both;
  width: 100%;
}
.nav-content .search-box {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  height: 36px;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
}
.nav-content .header-user {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nav-content .header-nav {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  align-self: stretch;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  font-size: 1rem;
}
.nav-content .header-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background: none;
  padding: 0 0.3em;
}
.nav-content .header-nav a:hover {
  background: #744a94;
}
@media (min-width: 600px) {
  .nav-content .header-nav a {
    padding: 0 0.8em;
  }
}
@media (max-width: 599px) {
  .nav-content .header-nav a.hide-when-small {
    display: none;
  }
}
.nav-content .header-search-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-content .header-search {
  margin-left: 0.8em;
  width: 100%;
  position: relative;
}
.nav-content .header-search .header-search-icon {
  position: absolute;
  left: 8px;
  top: 0px;
  height: 36px;
  line-height: 36px;
  font-size: 1.2rem;
  color: #6a6a6a;
}
.nav-content .header-search .header-search-icon svg {
  width: auto;
  height: 60%;
  margin-top: 30%;
  fill: #6a6a6a;
}
.nav-content .header-search .header-search-icon:hover {
  cursor: pointer;
}
.nav-content .header-search input[type="search"] {
  width: 100%;
  text-indent: 1.5em;
  background: #e3d8ec;
  transition: background 0.4s;
}
.nav-content .header-search input[type="search"]:focus {
  outline: none;
  background: white;
}

body.dark-mode .nav-content a, body.dark-mode .nav-content a:visited {
  color: white;
}

.page-section code {
  font-size: 1.1rem;
  background: #fff0e4;
  border-radius: 4px;
  padding: 0.05em 0.2em;
  margin: 0 0.05em;
}

body.dark-mode .page-section code {
  background: #444d56;
}

.page-section pre {
  border-radius: 4px;
  line-height: 1;
  padding: 0;
  border: 1px solid #ffd1ac;
  position: relative;
}
.page-section pre, .page-section pre code {
  background-color: #fffcf9;
}
.page-section pre code {
  padding: 0;
  background-color: transparent;
  border-radius: initial;
}
.page-section pre .code-container {
  padding: 0.8rem;
  line-height: 1.1;
}
.page-section pre div.language-tag {
  display: block;
  float: left;
  background: #ffd1ac;
  color: #a04100;
  padding: 0.2em 0.5em;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 0 0 8px 0;
}
.page-section pre div.language-tag + .code-container {
  clear: both;
}

body.dark-mode .page-section pre {
  border-color: #444d56;
}
body.dark-mode .page-section pre, body.dark-mode .page-section pre code {
  background-color: #2f363d;
}
body.dark-mode .page-section pre div.language-tag {
  background: #444d56;
  color: #fafbfc;
}

pre code i {
  font-style: normal;
}

body:not(.dark-mode) pre code i.hh0 {
  color: #6f42c1;
}
body:not(.dark-mode) pre code i.hh1 {
  color: #005cc5;
}
body:not(.dark-mode) pre code i.hh2 {
  color: #f66a0a;
}
body:not(.dark-mode) pre code i.hh3 {
  color: #f66a0a;
}
body:not(.dark-mode) pre code i.hh4 {
  font-weight: bold;
}
body:not(.dark-mode) pre code i.hh5 {
  color: #d73a49;
}
body:not(.dark-mode) pre code i.hh6 {
  color: #1b1f23;
}
body:not(.dark-mode) pre code i.hh7 {
  color: #1b1f23;
}
body:not(.dark-mode) pre code i.hh8 {
  color: #1b1f23;
}
body:not(.dark-mode) pre code i.hh9 {
  color: #1b1f23;
}
body:not(.dark-mode) pre code i.hh10 {
  color: #005cc5;
}
body:not(.dark-mode) pre code i.hh11 {
  color: #005cc5;
}
body:not(.dark-mode) pre code i.hh12 {
  color: #1b1f23;
}
body:not(.dark-mode) pre code i.hh13 {
  color: #d73a49;
}
body:not(.dark-mode) pre code i.hh14 {
  color: #d73a49;
}
body:not(.dark-mode) pre code i.hh15 {
  color: #6f42c1;
}
body:not(.dark-mode) pre code i.hh16 {
  color: #6f42c1;
}
body:not(.dark-mode) pre code i.hh17 {
  color: #6f42c1;
}
body:not(.dark-mode) pre code i.hh18 {
  color: #6a737d;
}
body:not(.dark-mode) pre code i.hh19 {
  color: #6f42c1;
}
body:not(.dark-mode) pre code i.hh20 {
  color: #cb2431;
}

body.dark-mode pre code i.hh0 {
  color: #b392f0;
}
body.dark-mode pre code i.hh1 {
  color: #79b8ff;
}
body.dark-mode pre code i.hh2 {
  color: #ffab70;
}
body.dark-mode pre code i.hh3 {
  color: #ffab70;
}
body.dark-mode pre code i.hh4 {
  font-weight: bold;
}
body.dark-mode pre code i.hh5 {
  color: #f97583;
}
body.dark-mode pre code i.hh6 {
  color: white;
}
body.dark-mode pre code i.hh7 {
  color: white;
}
body.dark-mode pre code i.hh8 {
  color: white;
}
body.dark-mode pre code i.hh9 {
  color: white;
}
body.dark-mode pre code i.hh10 {
  color: #9ecbff;
}
body.dark-mode pre code i.hh11 {
  color: #9ecbff;
}
body.dark-mode pre code i.hh12 {
  color: white;
}
body.dark-mode pre code i.hh13 {
  color: #f97583;
}
body.dark-mode pre code i.hh14 {
  color: #f97583;
}
body.dark-mode pre code i.hh15 {
  color: #b392f0;
}
body.dark-mode pre code i.hh16 {
  color: #b392f0;
}
body.dark-mode pre code i.hh17 {
  color: #b392f0;
}
body.dark-mode pre code i.hh18 {
  color: #6a737d;
}
body.dark-mode pre code i.hh19 {
  color: #b392f0;
}
body.dark-mode pre code i.hh20 {
  color: #ea4a5a;
}

.gate-box {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 1em;
  padding: 0.8rem 1rem;
  line-height: 1.6;
  border-radius: 4px;
  border: 1px solid #cacada;
  background: repeating-linear-gradient(45deg, #f3f3f3 0, #f3f3f3 40px, #f7f7f7 40px, #f7f7f7 80px);
}
.gate-box p:last-child {
  margin-bottom: 0;
}
.gate-box.friend {
  background: #e1ffda;
  border-color: #92cc5b;
}
.gate-box.error {
  background: #ffdadd;
  border-color: #cc5b5b;
}
.gate-box .buttons {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: -1em;
}
.gate-box .buttons > * {
  margin-top: 1em;
}
.gate-box .buttons .button.hollow {
  border: 1px solid #868686 !important;
  background: #fafafa !important;
}
.gate-box .buttons .button.hollow * {
  color: #313131 !important;
}
.gate-box h4 {
  padding-top: 0;
}
.gate-box .spacer {
  flex-basis: 1em;
}

.atcb-list {
  border: 1px solid;
}

.atcb-list .atcb-item {
  padding: 6px 12px;
  margin-left: 0;
}

.atcb-list .atcb-item-link:hover {
  text-decoration: underline;
}

body.dark-mode .gate-box {
  border: 1px solid #141414;
  background: repeating-linear-gradient(45deg, #181818 0, #181818 40px, #212121 40px, #212121 80px);
}
body.dark-mode .gate-box .buttons .button.hollow {
  border: 1px solid #525252 !important;
  background: #313131 !important;
}
body.dark-mode .gate-box .buttons .button.hollow * {
  color: #c9c9c9 !important;
}
body.dark-mode .atcb-list {
  border: 1px solid #141414;
}
body.dark-mode .atcb-list, body.dark-mode .atcb-list .atcb-item {
  background: #212121;
}

.addtocalendar var {
  display: none;
}

.addtocalendar {
  position: relative;
  display: inline-block;
  background: transparent !important;
}

.atcb-link {
  display: block;
  outline: none !important;
  cursor: pointer;
}

.atcb-link:active ~ ul, .atcb-link:focus ~ ul, .atcb-list:hover {
  visibility: visible;
}

.atcb-list {
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  width: 170px;
  z-index: 1;
}

.atcb-item, .atcb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
}

.atcb-item {
  float: none;
  text-align: left;
}

.atcb-item-link {
  text-decoration: none;
  outline: none;
  display: block;
}

.atcb-item.hover, .atcb-item:hover {
  position: relative;
  z-index: 1;
  cursor: pointer;
  text-decoration: none;
  outline: none;
}

body {
  font-family: "Source Serif Pro", serif;
}

body.dark-mode {
  background: #2a2a2a;
  color: #fafafa;
}

.light-switch {
  font-size: 1.5rem;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 100;
  opacity: 0.3;
  transition: opacity 0.2s;
}
.light-switch:hover {
  opacity: 1;
}
.light-switch:after {
  content: "🌞";
}

body.dark-mode .light-switch:after {
  content: "🌚";
}

.content {
  margin: 0 auto;
  padding: 0 15px;
  margin-bottom: 4em;
  min-height: 100%;
}
@media (max-width: 599px) {
  .content {
    overflow-x: hidden;
  }
}

a {
  color: #2b55cc;
  text-decoration-width: 1px;
  text-decoration-thickness: 1px;
}

body.dark-mode a {
  color: #7bbcff;
}

.content {
  font-family: "Source Serif Pro", serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Bitter", sans-serif;
  font-weight: normal;
}

h1 {
  font-size: 1.5rem;
}
@media (min-width: 600px) {
  h1 {
    font-size: 1.7rem;
  }
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1.1rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 1rem;
}

.button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  font-weight: bold;
  font-size: 0.92rem;
  border-radius: 4px;
  background: #2f2f2f;
  padding: 0 1em;
  height: 36px;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
}
.button, .button:visited {
  color: white;
}
.button, .button:hover {
  text-decoration: none;
}
.button.disabled {
  cursor: disabled;
  background: #eaeaea;
}
.button img {
  margin-right: 0.7em;
  width: 1.5em;
  height: 1.5em;
}

body.dark-mode .button {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  font-weight: bold;
  font-size: 0.92rem;
  border-radius: 4px;
  background: #2f2f2f;
  padding: 0 1em;
  height: 36px;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3f3f3f;
}
body.dark-mode .button, body.dark-mode .button:visited {
  color: white;
}
body.dark-mode .button, body.dark-mode .button:hover {
  text-decoration: none;
}
body.dark-mode .button.disabled {
  cursor: disabled;
  background: #eaeaea;
}

.medium-and-up {
  display: none;
}
@media (min-width: 600px) {
  .medium-and-up {
    display: initial;
  }
}

.pagination {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 0 1px 0 rgba(166, 132, 193, 0.08), 0 6px 12px 0 rgba(166, 132, 193, 0.07), 0 1px 1px 0 rgba(166, 132, 193, 0.07);
  background: #a684c1;
  color: white;
  border-radius: 4px;
  font-size: 1rem;
  margin: 2em auto;
  display: flex;
  align-items: center;
}
.pagination .pagination-section {
  flex-grow: 1;
  display: flex;
  flex-basis: 33%;
  justify-content: center;
}
.pagination .pagination-section:first-child {
  justify-content: flex-start;
}
.pagination .pagination-section:first-child a {
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}
.pagination .pagination-section:last-child {
  justify-content: flex-end;
}
.pagination .pagination-section:last-child a {
  border-left: 1px solid rgba(255, 255, 255, 0.4);
}
.pagination a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  font-weight: bold;
  font-size: 0.92rem;
  border-radius: 4px;
  background: #2f2f2f;
  padding: 0 1em;
  height: 36px;
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
}
.pagination a, .pagination a:visited {
  color: white;
}
.pagination a, .pagination a:hover {
  text-decoration: none;
}
.pagination a.disabled {
  cursor: disabled;
  background: #eaeaea;
}

.bottom-nav {
  padding: 2em 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

hr {
  border-top: 1px solid #bdbdbd;
  margin: 2em auto;
  background: none;
}

.tags-list {
  font-size: 1.4rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.tags-list a {
  text-decoration: none;
}
.tags-list > * {
  padding-right: 0.4em;
  padding-bottom: 0.4em;
}

pre.debug {
  border: 1px solid darkred;
  padding: 0.5em;
  margin: 0.5em;
}

.inline-icon-container svg {
  width: 1em;
  height: 1em;
  fill: white;
}

.hire-me {
  font-size: 1.4rem;
  line-height: 1.6;
  padding: 1em;
  border: 2px solid;
  border-radius: 4px;
  background: #ffeef1;
  border-color: #ffccd5;
}
.hire-me h3 {
  font-size: 1.5rem;
  padding-bottom: 0.8em;
  font-weight: bold;
}
.hire-me p {
  padding-bottom: 0.8em;
}
.hire-me p:last-child {
  padding-bottom: 0;
}

body.dark-mode .hire-me {
  background: #3a2629;
  border-color: #682f39;
}

.future-indicator, .draft-indicator, .ongoing-indicator, .complete-indicator {
  margin-left: 0.2rem;
  color: white;
  background: #f35858;
  padding: 1px 8px;
  border-radius: 4px;
}

.ongoing-indicator {
  background: #d69b18;
}

.complete-indicator {
  background: #8989ff;
}

body.dark-mode .future-indicator, body.dark-mode .draft-indicator {
  background: #ff7777;
  color: black;
}
body.dark-mode .ongoing-indicator {
  background: #f9c550;
  color: black;
}
body.dark-mode .complete-indicator {
  background: #93a4de;
  color: black;
}
