.discord {
    font-family: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #36393f;
    color: #dcddde;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    height: 70vh;
    max-width: 700px;
    border-radius: 10px;
    overflow: auto;
}

.discord > * {
    overflow-anchor: none;
}

.discord .anchor {
    overflow-anchor: auto;
    height: 1px;
}

.d-container {
    padding-top: 20px;
    padding-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.discord hr {
    margin: 20px 20px -20px;
    border: none;
    border-bottom: solid 1px transparent;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.discord code {
    background: #2f3136;
    line-height: 1.125rem;
    border: 1px solid #202225;
}

.discord code.inline {
    width: auto;
    height: auto;
    padding: .2em;
    margin: -.2em 0;
    border-radius: 3px;
    font-family: Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;
    border: none;
    white-space: pre-wrap;
}

.d-text-gray {
    color: rgb(84, 110, 122);
}

.d-text-green {
    color: rgb(46, 204, 113);
}

.d-bounded {
    overflow: hidden;
    padding: 20px 0;
}

.d-content {
    padding-left: 80px;
}

.d-header {
    display: flex;
    height: 1.375em;
    align-items: flex-start;
    align-content: normal;
}

.d-header h2 {
    font-weight: inherit;
    font-style: inherit;
    font-family: inherit;
    font-size: 100%;
    color: #72767d;
    margin: 0;
}

.d-timestamp {
    font-weight: 500;
    margin-left: .3em;
    color: #72767d;
    font-size: 0.75rem;
}

.d-username {
    font-size: 1rem;
    line-height: 1.375rem;
    font-weight: 500;
}

.d-tag {
    text-transform: uppercase;
}

.d-tag-bot {
    background: #7289da;
    color: #fff;
    font-size: .625em;
    font-weight: 500;
    height: 1.28em;
    padding: 0.072rem 0.275rem;
    border-radius: 3px;
    line-height: 1.3;
    flex-shrink: 0;
}

.d-avatar {
    padding: 0px 20px 20px 20px;
    position: relative;
    top: 2px;
}

.d-svg-mask {
    position: relative;
    display: block;
    height: 100%;
    width: auto;
    overflow: hidden;
}

.d-avatar-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.d-avatar-wrapper svg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.d-avatar-wrapper svg img:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
}

.d-audio {
    width: 400px;
    height: auto;
    background-color: rgba(47,49,54,.3);
    border: 1px solid rgba(47,49,54,.6);
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.d-audio-metadata {
    display: flex;
}

.d-audio-metadata::before {
    width: 30px;
    content: url(https://discordapp.com/assets/5b0da31dc2b00717c1e35fb1f84f9b9b.svg);
}

.d-link {
    color: #00b0f4;
    text-decoration: none;
}

.d-link:hover {
    text-decoration: underline;
}

.d-audio-metadata a.d-link {
    height: 24px;
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 20px;
    display: block;
}

.d-audio-metadata-content {
    padding: 0 12px;
    flex: 1 1 auto;
    overflow: hidden;
}

.d-audio-metadata-content .small {
    color: #72767d;
    font-size: 12px;
    line-height: 16px;
    top: -8px;
    position: relative;
}

.d-audio-download {
    height: 24px;
    flex: 0 0 auto;
}

.d-audio-download svg {
    color: #4f545c;
}

.d-audio-icon {
    display: block;
    width: 24px;
    height: 24px;
    margin: 4px;
    cursor: pointer;
}

.d-audio-duration {
    word-wrap: none;
    margin: 4px;
    font-size: 12px;
    line-height: 12px;
    font-family: Consolas,Andale Mono WT,Andale Mono,Lucida Console,Lucida Sans Typewriter,DejaVu Sans Mono,Bitstream Vera Sans Mono,Liberation Mono,Nimbus Mono L,Monaco,Courier New,Courier,monospace;
    height: 12px;
    flex: 0 0 auto;
}

.d-audio-controls {
    margin-top: 4px;
    border-radius: 3px;
    width: 100%;
    display: flex;
    background: rgba(0,0,0,.6);
    align-items: center;
}

.d-audio-controls .bar {
    display: flex;
    align-self: stretch;
    width: 100%;
}

.d-audio-controls .bar div {
    flex: 1 1 auto;
    display: flex;
    align-self: stretch;
    margin: 0 7px;
    align-items: center;
    position: relative;
}

.d-audio-controls .bar div div {
    background: rgba(185,187,190,.3);
    flex: 1 1 auto;
    height: 6px;
    align-self: center;
}

.d-audio-controls .bar div div::before {
    background: rgba(185,187,190,.3);
    left: -3px;
    border-radius: 3px 0 0 3px;
}

.d-embed {
    margin-top: 8px;
    border-left: 4px solid #202225;
    background: #2f3136;
    border-radius: 4px;
    display: inline-grid;
    max-width: 520px;
    font-size: 1rem;
}

.d-embed-grid {
    padding: 8px 16px 16px;
    display: inline-grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
}

.d-embed h2 {
    min-width: 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    grid-column: 1/1;
    margin: 0;
    margin-top: 8px;
    padding: 0;
}

.d-embed .description {
    font-size: 0.875rem;
    line-height: 1.125rem;
    font-weight: 400;
    white-space: pre-line;
    grid-column: 1/1;
}

.d-reactions {
    margin-top: 8px;
    display: flex;
    flex: 1;
}

.d-reaction {
    border-radius: 3px;
    margin: 2px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
    padding: 0 6px;
    display: flex;
}

.d-reaction img {
    min-width: auto;
    min-height: auto;
    min-width: 1rem;
    min-height: 1rem;
    margin: 3px 0;
    object-fit: contain;
}

.d-reaction span {
    min-width: 9px;
    font-size: 0.875rem;
    margin-left: 6px;
    text-align: center;
    color: #72767d;
}

@keyframes enter {
    from,
    60%,
    75%,
    90%,
    to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
  
    from {
        opacity: 0;
        transform: translate3d(0, 500px, 0) scaleX(0%);
        height: 0;
    }
  
    60% {
        opacity: 1;
        transform: translate3d(0, -20px, 0) scaleX(100%);
        height: auto;
    }
  
    75% {
        transform: translate3d(0, 10px, 0);
    }
  
    90% {
        transform: translate3d(0, -5px, 0);
    }
  
    to {
        transform: translate3d(0, 0, 0);
    }
}
  
.ani-enter {
    animation-name: enter;
    animation-duration: 0.5s;
    animation-fill-mode: backwards;
}

.d-mention {
    color: #7289da;
}

.d-mentions-me {
    background: rgba(250,166,26,.1);
    border-radius: 0 3px 3px 0;
    /* margin: -.1rem -.2rem .1rem;
    padding: .1rem .2rem; */
}