/*
 * Discord message mockups for the docs (illustrations of what the bot sends).
 * Usage: see docs/MOCKUPS.md. Always dark, like the Discord client default.
 */
.dc {
	--dc-bg: #313338;
	--dc-text: #dbdee1;
	--dc-muted: #949ba4;
	--dc-header: #f2f3f5;
	--dc-container: #2b2d31;
	--dc-sep: #3f4147;
	--dc-btn: #4e5058;
	--dc-blurple: #5865f2;
	--dc-green: #248046;
	--dc-red: #da373c;
	--dc-link: #00a8fc;
	background: var(--dc-bg);
	color: var(--dc-text);
	border-radius: 8px;
	padding: 14px 16px;
	margin: 1.2em 0;
	font-family: "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 0.78rem;
	line-height: 1.375;
	max-width: 640px;
	box-shadow: 0 2px 10px rgb(0 0 0 / 0.25);
}
.dc * { box-sizing: border-box; }
.dc-msg { display: flex; gap: 14px; }
.dc-msg + .dc-msg { margin-top: 14px; }
.dc-avatar {
	width: 40px; height: 40px; border-radius: 50%; flex: none;
	/* Relative to this stylesheet, so it works for every language. */
	background: var(--dc-blurple) url("../branding/icon.png") center / cover no-repeat;
}
.dc-avatar.user {
	background-image: none; display: grid; place-items: center;
	color: #fff; font-weight: 700; font-size: 0.9rem;
}
.dc-body { min-width: 0; flex: 1; }
.dc-author { color: var(--dc-header); font-weight: 600; font-size: 0.82rem; }
.dc-tag {
	display: inline-block; margin-left: 4px; padding: 0 4px; border-radius: 3px;
	background: var(--dc-blurple); color: #fff; font-size: 0.6rem; font-weight: 600;
	vertical-align: 1px;
}
.dc-time { color: var(--dc-muted); font-size: 0.66rem; margin-left: 6px; font-weight: 400; }
.dc-content { margin-top: 2px; white-space: pre-line; }
.dc-slash { color: var(--dc-muted); font-size: 0.7rem; margin-bottom: 4px; }
.dc-slash b { color: var(--dc-link); font-weight: 500; }

/* Components V2 container (or a classic embed): left accent bar. */
.dc-container, .dc-embed {
	margin-top: 6px; background: var(--dc-container); border-radius: 8px;
	border-left: 4px solid var(--accent, var(--dc-blurple));
	padding: 12px 14px; display: flex; flex-direction: column; gap: 8px;
}
.dc-embed { border-radius: 4px; }
.dc-h { color: var(--dc-header); font-weight: 700; font-size: 0.95rem; }
.dc-h3 { color: var(--dc-header); font-weight: 700; font-size: 0.85rem; }
.dc-small { color: var(--dc-muted); font-size: 0.68rem; }
.dc-link { color: var(--dc-link); }
.dc-mention {
	background: rgb(88 101 242 / 0.3); color: #c9cdfb; border-radius: 3px; padding: 0 2px;
}
.dc-code {
	background: #1e1f22; border-radius: 3px; padding: 0 3px; font-family: "JetBrains Mono", monospace;
	font-size: 0.72rem;
}
.dc-quote { border-left: 4px solid #4e5058; padding-left: 10px; }
.dc-sep { height: 1px; background: var(--dc-sep); margin: 2px 0; }
.dc-section { display: flex; gap: 12px; align-items: flex-start; }
.dc-section > :first-child { flex: 1; min-width: 0; }
.dc-thumb { width: 72px; height: 72px; border-radius: 6px; flex: none; background: #1e1f22 center / cover; }
.dc-media { border-radius: 6px; max-width: 100%; display: block; }
.dc-media-placeholder {
	border-radius: 6px; background: linear-gradient(135deg, #3a3f8f, #1e1f22);
	aspect-ratio: 16 / 5; display: grid; place-items: center; color: var(--dc-muted);
}
.dc-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-btn {
	display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 14px;
	border-radius: 8px; background: var(--dc-btn); color: #fff; font-weight: 500;
	font-size: 0.74rem; white-space: nowrap;
}
.dc-btn.primary { background: var(--dc-blurple); }
.dc-btn.success { background: var(--dc-green); }
.dc-btn.danger { background: var(--dc-red); }
.dc-btn.link::after { content: "\2197"; font-size: 0.7rem; opacity: 0.8; }
.dc-btn.disabled { opacity: 0.5; }
.dc-select {
	display: flex; align-items: center; justify-content: space-between; height: 40px;
	padding: 0 12px; border-radius: 8px; background: #1e1f22; border: 1px solid #1e1f22;
	color: var(--dc-muted); max-width: 100%;
}
.dc-select::after { content: "\2304"; font-size: 1rem; margin-top: -6px; }
.dc-options {
	background: #2b2d31; border: 1px solid #1e1f22; border-radius: 8px; padding: 4px;
	display: flex; flex-direction: column;
}
.dc-option { padding: 8px 10px; border-radius: 4px; }
.dc-option.selected, .dc-option:hover { background: #393c41; }
.dc-option small { display: block; color: var(--dc-muted); }
.dc-field-name { color: var(--dc-header); font-weight: 600; }
.dc-ephemeral { color: var(--dc-muted); font-size: 0.66rem; margin-top: 4px; }
.dc-caption { text-align: center; font-size: 0.7rem; opacity: 0.7; margin-top: -0.6em; }
