.discord-md-rendered {
  white-space: normal !important;
  overflow-wrap: anywhere;
}

.discord-md-source-hidden {
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.discord-md-source-hidden > :not(.discord-md-overlay),
.discord-md-source-hidden > :not(.discord-md-overlay) * {
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.discord-md-overlay {
  display: contents;
}

.discord-md-rendered .discord-md-paragraph {
  margin: 0;
  white-space: normal;
}

.discord-md-rendered span.discord-md-paragraph,
.discord-md-rendered span.discord-md-heading,
.discord-md-rendered span.discord-md-subtext,
.discord-md-rendered span.discord-md-list,
.discord-md-rendered span.discord-md-quote,
.discord-md-rendered code.discord-md-codeblock,
.discord-md-rendered .discord-md-list-item {
  display: block;
}

.discord-md-rendered .discord-md-paragraph + .discord-md-paragraph {
  margin-top: 0.65em;
}

.discord-md-rendered span.discord-md-paragraph + span.discord-md-paragraph {
  margin-top: 0.65em;
}

.discord-md-rendered .discord-md-heading {
  color: inherit;
  font-weight: 700;
  line-height: 1.25;
  margin: 0.55em 0 0.3em;
}

.discord-md-rendered h1.discord-md-heading {
  font-size: 1.45em;
}

.discord-md-rendered h2.discord-md-heading {
  font-size: 1.2em;
}

.discord-md-rendered h3.discord-md-heading {
  font-size: 1.05em;
}

.discord-md-rendered .discord-md-heading-1 {
  font-size: 1.45em;
}

.discord-md-rendered .discord-md-heading-2 {
  font-size: 1.2em;
}

.discord-md-rendered .discord-md-heading-3 {
  font-size: 1.05em;
}

.discord-md-rendered .discord-md-subtext {
  color: #b5bac1;
  display: block;
  font-size: 0.85em;
  line-height: 1.25;
}

.discord-md-rendered .discord-md-quote {
  border-left: 4px solid #4e5058;
  box-sizing: border-box;
  color: #dbdee1;
  margin: 0.35em 0;
  padding: 0.1em 0 0.1em 0.75em;
}

.discord-md-rendered .discord-md-quote .discord-md-paragraph {
  margin: 0;
}

.discord-md-rendered .discord-md-list {
  margin: 0.3em 0;
  padding-left: 1.5em;
}

.discord-md-rendered .discord-md-list li {
  padding-left: 0.1em;
}

.discord-md-rendered .discord-md-code {
  background: #2b2d31;
  border: 1px solid #3f4147;
  border-radius: 4px;
  color: #dbdee1;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9em;
  padding: 0.12em 0.35em;
  white-space: pre-wrap;
}

.discord-md-rendered .discord-md-codeblock {
  background: #2b2d31;
  border: 1px solid #3f4147;
  border-radius: 4px;
  box-sizing: border-box;
  color: #dbdee1;
  margin: 0.45em 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.65em 0.8em;
  white-space: pre;
}

.discord-md-rendered code.discord-md-codeblock {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9em;
}

.discord-md-rendered .discord-md-codeblock code {
  background: transparent;
  border: 0;
  color: inherit;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9em;
  padding: 0;
}

.discord-md-rendered .discord-md-link {
  color: #00a8fc;
  text-decoration: none;
}

.discord-md-rendered a.discord-md-link:hover {
  text-decoration: underline;
}

.discord-md-rendered .discord-md-mention {
  background: rgba(88, 101, 242, 0.3);
  border-radius: 3px;
  color: #c9cdfb;
  cursor: default;
  font-weight: 500;
  padding: 0 2px;
  white-space: nowrap;
}

.discord-md-rendered .discord-md-mention-everyone {
  background: rgba(242, 63, 67, 0.25);
  border-radius: 3px;
  color: #f23f43;
  font-weight: 600;
  padding: 0 2px;
  white-space: nowrap;
}

.discord-md-rendered .discord-md-mention:hover,
.discord-md-rendered .discord-md-mention-everyone:hover {
  background: rgba(88, 101, 242, 0.55);
}

.discord-md-rendered .discord-md-spoiler {
  background: #202225;
  border-radius: 3px;
  color: transparent;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.12s ease, background 0.12s ease;
  user-select: none;
}

.discord-md-rendered .discord-md-spoiler:hover,
.discord-md-rendered .discord-md-spoiler:focus-visible,
.discord-md-rendered .discord-md-spoiler.is-revealed {
  background: rgba(32, 34, 37, 0.45);
  color: inherit;
  outline: none;
  user-select: text;
}

.discord-md-rendered .discord-md-timestamp {
  color: #949ba4;
  font-size: 0.9em;
  white-space: nowrap;
}

.discord-md-rendered .discord-md-emoji {
  height: 1.35em;
  object-fit: contain;
  vertical-align: -0.3em;
  width: 1.35em;
}
