.discord-quote       { border-left: 3px solid #4f545c; padding-left: 12px; margin: 4px 0; color: #b9bbbe; }
.discord-codeblock   { background: #2f3136; color: #dcddde; padding: 8px 12px; border-radius: 4px; overflow-x: auto; }
.discord-inline-code { background: #2f3136; color: #dcddde; padding: 1px 4px; border-radius: 3px; font-size: .95em; }
.discord-spoiler     { background: #202225; color: transparent; border-radius: 3px; padding: 0 2px; cursor: pointer; transition: color .15s, background .15s; }
.discord-spoiler:hover { color: inherit; background: rgba(32,34,37,.6); }
.discord-subtext     { font-size: .85em; color: #72767d; margin: 2px 0; }
.discord-list        { margin: 4px 0 4px 24px; }
.discord-emoji       { height: 1.3em; width: 1.3em; vertical-align: middle; }

/* Вложения */
.discord-attachments        { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.discord-attachment         { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.discord-attachment-image img { max-width: 100%; max-height: 400px; border-radius: 4px; display: block; }
.discord-attachment-file    { background: #2f3136; color: #dcddde; padding: 6px 10px; border-radius: 4px; border: 1px solid #202225; }
.discord-attachment-file:hover { background: #36393f; }
.discord-attachment-icon    { font-size: 1.1em; }
.discord-attachment-name    { word-break: break-all; }
.discord-attachment-size    { color: #72767d; font-size: .85em; }
.discord-attachment-note    { color: #72767d; font-size: .85em; white-space: nowrap; }

/* Embed-карточки */
.discord-embed              { background: #2f3136; border-left: 4px solid #4f545c; border-radius: 4px;
                              padding: 10px 12px; margin: 8px 0; max-width: 520px; overflow: hidden; }
.discord-embed-thumbnail    { float: right; max-width: 80px; max-height: 80px; margin: 0 0 8px 12px;
                              border-radius: 4px; object-fit: cover; }
.discord-embed-provider     { font-size: .8em; color: #72767d; text-transform: uppercase; letter-spacing: .02em; }
.discord-embed-title        { font-weight: 600; margin: 2px 0 4px; }
.discord-embed-title a      { color: #00aff4; }
.discord-embed-description  { font-size: .95em; line-height: 1.4; }
.discord-embed-description hr { border: 0; border-top: 1px solid #202225; margin: 8px 0; }
.discord-embed-description h1,
.discord-embed-description h2,
.discord-embed-description h3 { margin: 6px 0 4px; }

/* Контейнер для изоляции цитаты */
.discord-quote-block {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 8px 0;
    clear: both;        /* Сбрасывает обтекание от блока даты */
    overflow: hidden;   /* Создает BFC, не давая цитате расползаться */
}

/* Сама цитата */
.discord-quote-block .discord-quote {
    display: block;
    margin: 0;
    padding: 8px 12px;
    background-color: #2f3136;
    border-left: 4px solid #4f545c;
    border-radius: 4px;
    color: #dcddde;
    font-style: normal;
    overflow-wrap: break-word;
}