.highlight {
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
  color: #eee;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}
/* Name.Builtin.Pseudo */
.highlight .bp {
  color: #cd00cd;
}
/* Comment */
.highlight .c {
  color: #aaa;
}
/* Comment.Single */
.highlight .c1 {
  color: #aaa;
}
/* Comment.Multiline */
.highlight .cm {
  color: #aaa;
}
/* Comment.Preproc */
.highlight .cp {
  color: #aaa;
}
/* Comment.Special */
.highlight .cs {
  color: $#8c4;
  font-weight: bold;
}
/* Error */
.highlight .err {
  color: #eee;
}
/* Generic */
.highlight .g {
  color: #eee;
}
/* Generic.Deleted */
.highlight .gd {
  color: $#8c4;
}
/* Generic.Emph */
.highlight .ge {
  color: #eee;
  font-style: italic;
}
/* Generic.Heading */
.highlight .gh {
  color: #aaa;
  font-weight: bold;
}
/* Generic.Inserted */
.highlight .gi {
  color: #00cd00;
}
/* Generic.Output */
.highlight .go {
  color: #808080;
}
/* Generic.Prompt */
.highlight .gp {
  color: #aaa;
  font-weight: bold;
}
/* Generic.Error */
.highlight .gr {
  color: #ff0000;
}
/* Generic.Strong */
.highlight .gs {
  color: #eee;
  font-weight: bold;
}
/* Generic.Traceback */
.highlight .gt {
  color: #0040d0;
}
/* Generic.Subheading */
.highlight .gu {
  color: #800080;
  font-weight: bold;
}
.highlight .hll {
  background-color: rgba(0, 0, 0, 0.7);
}
/* Literal.Number.Integer.Long */
.highlight .il {
  color: #cd00cd;
}
/* Keyword */
.highlight .k {
  color: #eb0;
}
/* Keyword.Constant */
.highlight .kc {
  color: #eb0;
}
/* Keyword.Declaration */
.highlight .kd {
  color: #eb0;
}
/* Keyword.Namespace */
.highlight .kn {
  color: #eb0;
}
/* Keyword.Pseudo */
.highlight .kp {
  color: #eb0;
}
/* Keyword.Reserved */
.highlight .kr {
  color: #eb0;
}
/* Keyword.Type */
.highlight .kt {
  color: #eb0;
}
/* Literal */
.highlight .l {
  color: #eee;
}
/* Literal.Date */
.highlight .ld {
  color: #eee;
}
/* Literal.Number */
.highlight .m {
  color: #8cf;
}
/* Literal.Number.Float */
.highlight .mf {
  color: #8cf;
}
/* Literal.Number.Hex */
.highlight .mh {
  color: #8cf;
}
/* Literal.Number.Integer */
.highlight .mi {
  color: #8cf;
}
/* Literal.Number.Oct */
.highlight .mo {
  color: #8cf;
}
/* Name */
.highlight .n {
  color: #eee;
}
/* Name.Attribute */
.highlight .na {
  color: #f8f;
}
/* Name.Builtin */
.highlight .nb {
  color: #d80;
}
/* Name.Class */
.highlight .nc {
  color: #00cdcd;
}
/* Name.Decorator */
.highlight .nd {
  color: #eee;
}
/* Name.Exception */
.highlight .ne {
  color: #666699;
  font-weight: bold;
}
/* Name.Function */
.highlight .nf {
  color: #eee;
}
/* Name.Entity */
.highlight .ni {
  color: #eee;
}
/* Name.Label */
.highlight .nl {
  color: #eb0;
}
/* Name.Namespace */
.highlight .nn {
  color: #eee;
}
/* Name.Constant */
.highlight .no {
  color: #eb0;
}
/* Name.Tag */
.highlight .nt {
  color: #4c9;
}
/* Name.Variable */
.highlight .nv {
  color: #00cdcd;
}
/* Name.Other */
.highlight .nx {
  color: #eee;
}
/* Operator */
.highlight .o {
  color: #eee;
}
/* Operator.Word */
.highlight .ow {
  color: #cdcd00;
}
/* Punctuation */
.highlight .p {
  color: #eee;
}
/* Name.Property */
.highlight .py {
  color: #eee;
}
/* Literal.String */
.highlight .s {
  color: #8c4;
}
/* Literal.String.Single */
.highlight .s1 {
  color: #8c4;
}
/* Literal.String.Double */
.highlight .s2 {
  color: #8c4;
}
/* Literal.String.Backtick */
.highlight .sb {
  color: #8c4;
}
/* Literal.String.Char */
.highlight .sc {
  color: #8c4;
}
/* Literal.String.Doc */
.highlight .sd {
  color: #8c4;
}
/* Literal.String.Escape */
.highlight .se {
  color: #8c4;
}
/* Literal.String.Heredoc */
.highlight .sh {
  color: #8c4;
}
/* Literal.String.Interpol */
.highlight .si {
  color: #8c4;
}
/* Literal.String.Regex */
.highlight .sr {
  color: #8ee;
}
/* Literal.String.Symbol */
.highlight .ss {
  color: #d80;
}
/* Literal.String.Other */
.highlight .sx {
  color: #8c4;
}
/* Name.Variable.Class */
.highlight .vc {
  color: #00cdcd;
}
/* Name.Variable.Global */
.highlight .vg {
  color: #00cdcd;
}
/* Name.Variable.Instance */
.highlight .vi {
  color: #00cdcd;
}
/* Text.Whitespace */
.highlight .w {
  color: #eee;
}
/* Other */
.highlight .x {
  color: #eee;
}
.markdown blockquote {
  border-left: 1rem solid #ddd;
  margin: 0 0 1rem;
  padding-left: 1rem;
}
.markdown blockquote > *:last-child {
  margin-bottom: 0;
}
.markdown code {
  background: #f8f8f8;
  border: 1px solid #eee;
  font-size: 90%;
  padding: 2px 3px;
}
.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
  margin: 0 0 1rem;
}
.markdown ol,
.markdown ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
/* Nested lists don't get paragraph margins. */
.markdown ol ol,
.markdown ol ul,
.markdown ul ol,
.markdown ul ol {
  margin: 0;
}
.markdown p {
  margin: 0 0 1rem;
}
.markdown pre {
  background: #f8f8f8;
  margin: 0 -1rem 1rem;
  padding: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
}
.markdown pre.highlight {
  background-color: rgba(0, 0, 0, 0.7);
}
.markdown pre code {
  background: transparent;
  border: none;
  padding: 0;
}
.MarkdownPreview {
  --border-color: #ddd;
  --padding: 1rem;
  --padding2: 0.5rem;
}
.MarkdownPreview textarea {
  /* Prevent bottom margin. */
  display: block;

  /* Match rendered Markdown. */
  padding: var(--padding);
}
.MarkdownPreview--container {
  background: #fff;
  border-top: 1px solid var(--border-color);
  display: flex;
  max-height: 50vh;
  min-height: 11em;
  overflow: auto;
  position: relative;
  z-index: 1;
}
.MarkdownPreview--html {
  background: #fff;
  padding: var(--padding) var(--padding) 0;
}
.MarkdownPreview--loading .MarkdownPreview--html {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 0;
  width: 100%;
}
.MarkdownPreview--loading .MarkdownPreview--html::after {
  content: 'Loading...';
}
.MarkdownPreview--preview .MarkdownPreview--write {
  background: none;
  border-color: transparent;
  border-bottom: 1px solid var(--border-color);
  color: #666;
  text-shadow: 1px 1px 0 #fff;
  -webkit-font-smoothing: antialiased;
}
.MarkdownPreview--preview .MarkdownPreview--write:hover {
  color: #444;
  text-shadow: none;
}
.MarkdownPreview--preview textarea {
  display: none;
}
.MarkdownPreview--preview .MarkdownPreview--markdown {
  background: #fff;
}
.MarkdownPreview--tabs {
  display: flex;
  margin-bottom: -1px;
  padding: 0 var(--padding);
  position: relative;
  z-index: 2;
}
.MarkdownPreview--tabs a {
  /* Remove default <a> styling. */
  color: inherit;
  text-decoration: none;

  background: #fff;
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  cursor: pointer;
  display: inline-block;
  padding: var(--padding2) var(--padding);
}
.MarkdownPreview--write .MarkdownPreview--html {
  display: none;
}
.MarkdownPreview--write .MarkdownPreview--preview {
  background: none;
  border-color: transparent;
  border-bottom: 1px solid var(--border-color);
  color: #666;
  text-shadow: 1px 1px 0 #fff;
  -webkit-font-smoothing: antialiased;
}
.MarkdownPreview--write .MarkdownPreview--preview:hover {
  color: #444;
  text-shadow: none;
}
.tabs--enabled .tabs--tabs {
  display: flex;
}
.tabs--hidden {
  display: none;
}
.tabs--tab {
  border: 1px solid transparent;
  color: #666;
  cursor: pointer;
  padding: 0.6em 0.8em 0.5em;
  text-shadow: 1px 1px 0 #fff;
  transform: translateY(1px);
  /* Pull down to cover the tab border-bottom; */
  -webkit-font-smoothing: antialiased;
}
.tabs--tab:hover {
  color: #444;
  text-shadow: none;
}
.tabs--tab--selected {
  background: linear-gradient(0, #f8f8f8, #fff);
  border: 1px solid #ddd;
  border-bottom: none;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.tabs--tabs {
  border-bottom: 1px solid #ddd;
  display: none;
  margin-bottom: 0.5em;
  padding-left: 2px;
}
:root {
  --black_10: #0000001a;
  --blue-500: rgb(29 78 216);
  --blue-700: rgb(59 130 246);
  --grey-50: rgb(249 250 251);
  --grey-100: rgb(243 244 246);
  --grey-200: rgb(229 231 235);
  --grey-300: rgb(209 213 219);
  --grey-400: rgb(156 163 175);
  --grey-500: rgb(107 114 128);
  --grey-600: rgb(75 85 99);
  --grey-700: rgb(55 65 81);
  --indigo-300: rgb(37 99 235);
  --opacity: 1;
  --slate-300: rgb(203 213 225);
  --slate-500: rgb(100 116 139);
  --text-small: 0.875rem;
  --transparent: #0000;
  --white: #fff;
}
@layer base {
  * {
    box-sizing: border-box;
  }

  html {
    -webkit-text-size-adjust: 100%;
    background: var(--grey-50);
    color: var(--grey-700);
    /* https://css-tricks.com/snippets/css/system-font-stack/ */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
      Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
      'Segoe UI Symbol';
    font-size: 13px;
    line-height: 1.4;
  }

  body {
    margin: 0;
  }

  a {
    color: var(--blue-500);
    text-decoration: inherit;
  }
  a:hover {
    color: var(--blue-700);
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 600;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.2rem;
  }
  h4 {
    font-size: 1.1rem;
  }
  h5 {
    font-size: 1rem;
  }
  h6 {
    font-size: 0.9rem;
  }
}
.account-link {
  align-items: flex-end;
  align-self: flex-start;
  display: flex;
  flex-basis: 12rem;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  text-align: right;
}
.button {
  -webkit-font-smoothing: antialiased;
  background-color: var(--slate-500);
  border: 0;
  border-radius: 9999px;
  color: var(--white);
  cursor: pointer;
  height: 40px;
  padding: 0 2rem;
}
.edit-post--info {
  background: var(--grey-200);
  font-size: var(--text-small);
  margin: 1rem;
  padding: 0.5rem;
}
.edit-post--upload {
  padding: 0.25rem 0.5rem;
}
.edit-post--upload > div {
  align-items: center;
  display: flex;
  margin-bottom: 0.5rem;
}
.edit-post--upload code {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
}
.embed {
  display: flex;
  justify-content: center;
}
.embed img {
  display: block;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}
.footer {
  padding: 1rem;
}
.friendly-link span:last-child {
  color: var(--slate-300);
}
.friendly-link:hover span:last-child {
  color: inherit;
}
.header {
  align-items: baseline;
  background-color: var(--grey-50);
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header::after {
  background-image: linear-gradient(
    to bottom,
    var(--black_10),
    var(--transparent)
  );
  bottom: -4px;
  content: '';
  display: block;
  height: 4px;
  left: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.3s;
  width: 100%;
}
.header h1 {
  font-size: 2.25rem;
  margin: 0;
}
.header > form {
  display: flex;
  flex-grow: 2;
}
.header > .account-link {
  align-self: flex-start;
}
.hidden {
  display: none;
}
.header-shadow::after {
  opacity: 1;
}
.images {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}
.images > * {
  /* In the future it would be great for the height to be equal to its width
   * but this will do for now. */
  max-height: 100px;
}
.images img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}
.input {
  background: var(--white);
  border: 0;
  font-size: 1.125rem;
  line-height: 1.75rem;
  padding: 0.5rem 0.75rem;
  width: 100%;
}
.input:focus {
  outline: 2px solid var(--indigo-300);
  outline-offset: 0;
  outline-width: 1px;
}
.input::-moz-placeholder {
  -webkit-font-smoothing: antialiased;
  color: var(--grey-400);
}
.input::placeholder {
  -webkit-font-smoothing: antialiased;
  color: var(--grey-400);
}
.input-label-block {
  display: block;
  margin-bottom: 0.25rem;
  padding-left: 0.75rem;
}
.input-row {
  margin: 1rem;
}
.link {
  background: inherit;
  border: inherit;
  color: var(--blue-500);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  margin: inherit;
  padding: inherit;
}
.link:hover {
  color: var(--blue-700);
}
@keyframes loading {
  0% {
    background: var(--grey-100);
  }
  50% {
    background: var(--grey-300);
  }
  100% {
    background: var(--grey-100);
  }
}
.loading {
  animation-name: loading;
  animation-duration: 1s;
  animation-iteration-count: infinite;
}
.paginate {
  background: var(--grey-100);
  display: block;
  margin-top: 1rem;
  padding: 1rem;
  text-align: center;
}
.paginate:hover {
  background: var(--grey-200);
}
.post {
  background: var(--white);
  border-radius: 1rem;
  box-shadow:
    0 1px 3px 0 #0000001a,
    0 1px 2px -1px #0000001a;
  flex: 1 0 22rem;
  margin: 0.5rem;
  max-width: 500px;
  overflow: hidden;
  position: relative;
}
.post--body {
  margin: 1rem 0;
  padding: 0 1rem;
}
.post--info {
  display: flex;
  justify-content: space-between;
  margin: 1rem;
}
.post--link {
  color: var(--grey-500);
}
.post--link:hover {
  color: var(--grey-600);
}
.post--link-ordinal {
  font-size: 0.75rem;
  line-height: 1rem;
  vertical-align: text-top;
}
.post--p {
  margin: 1rem;
}
.post--title {
  line-height: 1;
  margin: 1rem;
}
.posts {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
}
.tag {
  border-radius: 999px;
  color: rgba(0, 0, 64, 0.6);
  display: inline-block;
  line-height: 1;
  padding: 0.5rem 0.75rem;
}
.tag:hover {
  box-shadow: inset -1px -1px 1px rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 32, 0.8);
}
