@charset "UTF-8";
section#comments .comment {
  display: grid;
  column-gap: 1rem;
  grid-template-areas: "avatar name" "avatar time" "avatar post" "...... card" "...... interactions";
  grid-template-columns: min-content;
  justify-items: start;
  margin: 2em auto 2em -1em;
  padding: 1em;
}
section#comments .comment .avatar-link {
  grid-area: avatar;
  height: 4rem;
  position: relative;
  width: 4rem;
}
section#comments .comment .avatar-link .avatar {
  height: 100%;
  width: 100%;
}
section#comments .comment .avatar-link.op::after {
  background-color: var(--secondary-accent-color);
  border-radius: 50%;
  bottom: -0.25rem;
  color: var(--secondary-accent-contrast);
  content: "✓";
  display: block;
  font-size: 1.25rem;
  font-weight: bold;
  height: 1.5rem;
  line-height: 1.5rem;
  position: absolute;
  right: -0.25rem;
  text-align: center;
  width: 1.5rem;
}
section#comments .comment .author {
  align-items: center;
  cursor: default;
  display: flex;
  font-weight: bold;
  gap: 0.5em;
  grid-area: name;
}
section#comments .comment .author .instance {
  background-color: var(--faint);
  border-radius: 9999px;
  color: var(--neutral);
  font-size: smaller;
  font-weight: normal;
  padding: 0.25em 0.75em;
}
section#comments .comment .author .instance:hover {
  opacity: 0.8;
  text-decoration: none;
}
section#comments .comment .author .instance.op {
  background-color: var(--secondary-accent-color);
  color: var(--secondary-accent-contrast);
}
section#comments .comment .author .instance.op::before {
  content: "✓";
  font-weight: bold;
  margin-inline-end: 0.25em;
  margin-inline-start: -0.25em;
}
section#comments .comment time {
  grid-area: time;
  line-height: 1.5rem;
}
section#comments .comment time.edited::after {
  content: " *";
}
section#comments .comment main {
  grid-area: post;
  justify-self: stretch;
}
section#comments .comment main p:first-child {
  margin-top: 0.25em;
}
section#comments .comment main p:last-child {
  margin-bottom: 0;
}
section#comments .comment .card {
  color: inherit;
  grid-area: card;
  max-width: 400px;
}
section#comments .comment .card:hover {
  text-decoration: none;
}
section#comments .comment .card figure {
  border-radius: inherit;
  overflow: hidden;
}
section#comments .comment .card figcaption {
  display: grid;
  gap: 0.5em;
  margin: 0;
  padding: 1em;
  text-align: left;
}
section#comments .comment .card figcaption * {
  display: -webkit-box;
  line-height: 1.25;
  margin: 0;
  overflow: hidden;
  padding: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
section#comments .comment:first-of-type .card {
  display: none;
}
section#comments .comment footer {
  display: flex;
  gap: 1.25em;
  grid-area: interactions;
  margin-top: 0.925rem;
}
section#comments .comment footer .faves {
  cursor: default;
}
section#comments .comment footer .faves::before {
  color: var(--accent-color);
  content: "♥";
  margin-inline-end: 0.25em;
}
section#comments .comment footer .boosts {
  cursor: default;
}
section#comments .comment footer .boosts::before {
  color: var(--secondary-accent-color);
  content: "🔁";
  margin-inline-end: 0.25em;
}
section#comments .comment .emoji {
  display: inline;
  height: 1.25em;
  vertical-align: middle;
  width: 1.25em;
}
section#comments .comment .invisible {
  display: none;
}
section#comments .comment .ellipsis::after {
  content: "…";
}
section#comments .comment details summary {
  background-image: linear-gradient(90deg, transparent, transparent 0.4rem, var(--faint) 0.4rem, var(--faint) calc(100% - 0.4rem), transparent calc(100% - 0.4rem), transparent), repeating-linear-gradient(45deg, var(--faint), var(--faint) 0.3rem, var(--accent-color) 0.3rem, var(--accent-color) 0.6rem);
  border-radius: 0.25rem;
  color: inherit;
  cursor: default;
  margin-top: 0.925rem;
  padding: 1em;
}
section#comments .comment details summary::after {
  content: "▸";
  display: inline-block;
  margin-left: 0.5em;
  transition: transform 250ms ease;
}
section#comments .comment details[open] summary::after {
  transform: rotate(90deg);
}

h1, h2, h3, h4, h5 {
  font-family: "Noto Naskh Arabic", serif;
}

a {
  text-decoration: none !important;
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Blockquotes
 */
blockquote {
  color: #828282;
  border-right: 4px solid #e8e8e8;
  padding-right: 15px;
  font-size: 16px;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  direction: ltr;
  font-family: Ubuntu Mono;
  font-size: 16px;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  background-color: #eef;
  text-align: left;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: scroll;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bs-primary-rgb: 172,6,65;
    --bs-primary: rgb(172, 6, 65);
    --bs-body-bg: rgb(30, 32, 33);
  }
}
:root {
  --bs-primary: rgb(233,84,32) !important;
  --bs-primary-rgb:233,84,32 !important;
}

.content-area {
  padding: 30px;
  border-radius: 10px;
  max-width: 800px;
  margin: 0 auto;
}

@media (prefers-color-scheme: light) {
  .content-area {
    background-color: #f5f5f5;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --bs-body-bg: rgb(24,26,27) !important;
  }
  .content-area {
    background-color: rgb(30, 32, 33);
  }
}

/*# sourceMappingURL=main.css.map */