/* Stoner Bot Control Center: Discord-style message preview (v3.1.55).
   Sizes and colors follow Discord's dark theme. The preview window itself (.ms-preview-shell,
   .sb-discord-preview) keeps the app's Midnight Glass look. */

.dp{color:#dbdee1;font-size:15px;line-height:1.375;text-align:left}
.dp .dp-message{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;align-items:start}
.dp .dp-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;background:#1e1f22;display:block}
.dp .dp-body{min-width:0}
.dp .dp-head{display:flex;align-items:center;flex-wrap:wrap;gap:0 6px;min-height:22px;line-height:22px}
.dp .dp-name{color:#f2f3f5;font-size:16px;font-weight:600;letter-spacing:-.01em}
.dp .dp-app{display:inline-flex;align-items:center;height:16px;padding:0 5px;border-radius:4px;background:#5865f2;color:#fff;font-size:10px;font-weight:700;letter-spacing:.02em;line-height:16px;position:relative;top:-1px}
.dp .dp-time{color:#949ba4;font-size:12px;font-weight:500;margin-left:2px}
.dp .dp-content{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:2px}
.dp .dp-empty{margin:4px 0 0;color:#949ba4;font-size:13px}

/* Embed */
.dp .dp-embed{position:relative;max-width:100%;margin-top:6px;border-left:4px solid var(--dp-accent,#b388eb);border-radius:4px;background:#2b2d31;overflow:hidden}
.dp .dp-embed-grid{display:block;padding:8px 14px 14px 12px;min-width:0}
.dp .dp-has-thumb .dp-embed-grid>:not(.dp-embed-thumb):not(.dp-embed-image):not(.dp-embed-footer):not(.dp-embed-fields){margin-right:96px}
.dp .dp-embed-thumb{position:absolute;top:12px;right:14px;width:80px;height:80px;object-fit:contain;border-radius:4px}
.dp .dp-embed-author{display:flex;align-items:center;gap:8px;margin-top:6px;color:#f2f3f5;font-size:14px;font-weight:600;line-height:1.375;overflow-wrap:anywhere}
.dp .dp-embed-author-icon{width:24px;height:24px;border-radius:50%;object-fit:cover;flex:none}
.dp .dp-embed-title{margin-top:8px;color:#f2f3f5;font-size:16px;font-weight:600;line-height:1.375;overflow-wrap:anywhere}
.dp .dp-embed-author+.dp-embed-title{margin-top:8px}
.dp .dp-embed-grid>.dp-embed-title:first-child,.dp .dp-embed-grid>.dp-embed-thumb+.dp-embed-title{margin-top:6px}
.dp .dp-embed-title a{color:#00a8fc;text-decoration:none}
.dp .dp-embed-desc{margin-top:8px;font-size:14px;line-height:1.375;white-space:pre-wrap;overflow-wrap:anywhere}
.dp .dp-embed-grid>.dp-embed-desc:first-child,.dp .dp-embed-grid>.dp-embed-thumb+.dp-embed-desc{margin-top:6px}
.dp .dp-embed-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;margin-top:8px}
.dp .dp-field{grid-column:1/-1;min-width:0;font-size:14px;line-height:1.375}
.dp .dp-field-inline{grid-column:auto}
.dp .dp-field-name{color:#f2f3f5;font-weight:600;margin-bottom:2px;white-space:pre-wrap;overflow-wrap:anywhere}
.dp .dp-field-value{white-space:pre-wrap;overflow-wrap:anywhere}
.dp .dp-embed-image{display:block;max-width:100%;max-height:300px;margin-top:16px;border-radius:4px;object-fit:contain}
.dp .dp-embed-footer{display:flex;align-items:center;gap:8px;margin-top:8px;color:#b5bac1;font-size:12px;font-weight:500;line-height:1.33;overflow-wrap:anywhere}
.dp .dp-embed-footer-icon{width:20px;height:20px;border-radius:50%;object-fit:cover;flex:none}
.dp .dp-embed-image+.dp-embed-footer{margin-top:8px}

/* Discord Markdown */
.dp strong{font-weight:700;color:inherit}
.dp .dp-h{display:block;color:#f2f3f5;font-weight:700;line-height:1.375;margin:8px 0 0}
.dp .dp-h:first-child{margin-top:0}
.dp .dp-h1{font-size:24px}
.dp .dp-h2{font-size:20px}
.dp .dp-h3{font-size:16px}
.dp .dp-embed .dp-h1{font-size:22px}
.dp .dp-subtext{display:block;font-size:12px;color:#949ba4;line-height:1.33}
.dp .dp-quote{display:block;border-left:4px solid #4e5058;padding-left:12px}
.dp .dp-list{display:block;padding-left:8px}
.dp .dp-spoiler{display:inline-block;background:#1e1f22;color:transparent;border-radius:3px;padding:0 4px;user-select:none}
.dp .dp-stamp{background:rgba(255,255,255,.06);border-radius:3px;padding:0 2px}
.dp .dp-mention{color:#c9cdfb;background:rgba(88,101,242,.3);border-radius:3px;padding:0 2px;font-weight:500}
.dp .dp-emoji{width:1.375em;height:1.375em;object-fit:contain;vertical-align:-.3em}
.dp .dp-h .dp-emoji{width:1.2em;height:1.2em;vertical-align:-.2em}
.dp .dp-mention-role{color:var(--dp-role);background:color-mix(in srgb,var(--dp-role) 16%,transparent)}
