.ping{color:#a5e5ed;background:#1b3239;padding:1px 3px;border-radius:2px;font-weight:550}
.ping.role{color:var(--rc,#a5e5ed);background:rgba(143,227,242,.09)}
.emoji{width:1.3em;height:1.3em;object-fit:contain;vertical-align:-.28em;margin:0 .04em;display:inline-block}
mark.hl{background:#ffe9a8;color:#20262b;border-radius:2px;padding:0 .12em;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.rich-embed mark.hl{background:#f4dd9a}
.rich-media{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;margin-top:10px;max-width:100%;min-width:0}
.rich-media img,.rich-media video{display:block;max-width:100%;height:auto}
.media-image-link{display:block;max-width:min(420px,100%);overflow:hidden;background:#171d20;border-radius:4px}
.media-image{max-height:340px;width:auto;object-fit:contain}
.media-video,.media-audio{width:min(420px,100%);min-width:0}
.media-video video{width:100%;max-height:320px;background:#040607;border-radius:4px}
.media-audio audio{width:100%}
.media-video>a,.media-audio>a{display:block;margin-top:5px;font-size:12px;color:#9ba9ad;overflow-wrap:anywhere}
.file-tile{display:inline-flex;align-items:center;gap:10px;max-width:100%;padding:9px 12px;background:#171c1e;border-radius:3px;color:#d6e2e4;font-size:12px;overflow-wrap:anywhere}
.file-tile span{color:#96dce8}
.rich-embed{width:min(430px,100%);min-width:0;padding:12px 15px;background:#151a1c;border-left:3px solid #65848a;border-radius:3px;color:#e3e9e9;overflow-wrap:anywhere}
.embed-source,.rich-embed small{display:block;color:#a0acae;font-size:12px;margin-bottom:5px}
.embed-title{display:block;color:#b5ebf1;font-weight:650;font-size:13.5px;line-height:1.4;margin-bottom:5px}
.embed-description,.embed-field{font-size:13px;line-height:1.55;white-space:normal}
.embed-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.embed-field strong,.embed-field span{display:block}
.embed-field strong{font-weight:600;margin-bottom:3px}
.embed-picture{max-width:100%;max-height:260px;object-fit:contain;margin-top:10px;border-radius:2px}
@media(max-width:560px){.rich-media,.rich-embed,.media-video,.media-audio,.media-image-link{width:100%;max-width:100%}.embed-fields{grid-template-columns:1fr}}
