/* ==========================================================
   V - MYSTERY CASE — Lavender theme (same family as the T/V series)
   Container lavender #E6E0F8 · white cards · black text
   Buttons #1D4ED8 (hover #1E40AF), white text
   ========================================================== */

.zmc-case {
	--zmc-lav: #E6E0F8;
	--zmc-lav-mid: #B9AEE6;
	--zmc-lav-soft: #F4F1FD;
	--zmc-ink: #000;
	--zmc-muted: #4b4570;
	--zmc-blue: #1D4ED8;
	--zmc-blue-dark: #1E40AF;
	--zmc-ok: #25823b;
	--zmc-bad: #c62828;
	--zmc-sh: 0 2px 6px rgba(60, 40, 120, .14);
	width: 100%;
	max-width: 1200px;
	margin: 25px auto;
	padding: 24px;
	background: var(--zmc-lav);
	border-radius: 22px;
	box-shadow: 0 12px 28px rgba(60, 40, 120, .18), 0 3px 8px rgba(60, 40, 120, .12);
	color: var(--zmc-ink);
	font-family: inherit;
	box-sizing: border-box;
}
.zmc-case * { box-sizing: border-box; }

.zmc-shell { width: 100%; }

/* ---------- Header ---------- */
.zmc-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 4px 4px 14px;
}
.zmc-case-kicker {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	color: var(--zmc-muted);
	margin-bottom: 4px;
}
.zmc-case-title {
	font-size: 25px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--zmc-ink);
}
.zmc-progress {
	flex: 0 0 auto;
	padding: 8px 14px;
	background: #fff;
	border-radius: 999px;
	box-shadow: var(--zmc-sh);
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
}
.zmc-bar {
	height: 8px;
	margin: 0 4px 18px;
	background: rgba(255, 255, 255, .7);
	border-radius: 999px;
	overflow: hidden;
}
.zmc-bar i {
	display: block;
	width: 0;
	height: 100%;
	background: var(--zmc-blue);
	border-radius: 999px;
	transition: width .35s ease;
}

/* ---------- Scene ---------- */
.zmc-content { background: transparent; }
.zmc-scene {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
	gap: 18px;
	align-items: stretch;
}
.zmc-visual {
	min-height: 480px;
	background: #fff;
	border-radius: 18px;
	box-shadow: var(--zmc-sh);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.zmc-visual img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 560px;
	object-fit: contain;
	background: #fff;
}
.zmc-visual-empty span {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--zmc-lav-soft);
	color: var(--zmc-lav-mid);
	font-size: 48px;
	font-weight: 900;
}
.zmc-panel {
	background: #fff;
	border-radius: 18px;
	box-shadow: var(--zmc-sh);
	padding: 28px 26px;
	display: flex;
	flex-direction: column;
}
.zmc-scene-label {
	align-self: flex-start;
	padding: 5px 10px;
	margin-bottom: 14px;
	background: var(--zmc-lav);
	border-radius: 8px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .1em;
	color: var(--zmc-ink);
}
.zmc-panel h2 {
	margin: 0 0 14px;
	font-size: 24px;
	line-height: 1.25;
	color: var(--zmc-ink);
}
.zmc-description {
	font-size: 16px;
	line-height: 1.65;
	color: #222;
	margin-bottom: 20px;
}
.zmc-description p { margin: 0 0 10px; }
.zmc-question {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.45;
	margin-bottom: 14px;
}

/* ---------- Choices ---------- */
.zmc-choices { display: flex; flex-direction: column; gap: 10px; }
.zmc-choice {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 54px;
	padding: 12px 14px;
	background: var(--zmc-lav-soft);
	border: 2px solid transparent;
	border-radius: 14px;
	cursor: pointer;
	font-weight: 700;
	line-height: 1.35;
	transition: border-color .12s ease, background-color .12s ease, transform .12s ease;
}
.zmc-choice:hover { transform: translateY(-1px); border-color: var(--zmc-lav-mid); }
.zmc-choice input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--zmc-blue);
}
.zmc-choice.is-on {
	background: #fff;
	border-color: var(--zmc-blue);
	box-shadow: var(--zmc-sh);
}
.zmc-muted { color: var(--zmc-muted); }

/* ---------- Buttons ---------- */
.zmc-actions { display: flex; gap: 10px; margin-top: 18px; }
.zmc-case .zmc-btn {
	appearance: none;
	-webkit-appearance: none;
	min-height: 46px;
	padding: 12px 26px;
	border: 0;
	border-radius: 10px;
	background: var(--zmc-blue);
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .3px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(60, 40, 120, .22);
	transition: background-color .12s ease, box-shadow .12s ease;
}
.zmc-case .zmc-btn:hover { background: var(--zmc-blue-dark); color: #fff; box-shadow: 0 4px 10px rgba(60, 40, 120, .28); }
.zmc-case .zmc-btn:focus-visible { outline: 3px solid #000; outline-offset: 2px; }
.zmc-case .zmc-btn:disabled { opacity: .5; cursor: default; box-shadow: none; }

/* ---------- Feedback ---------- */
.zmc-feedback {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--zmc-lav-soft);
	border-left: 4px solid var(--zmc-lav-mid);
	font-size: 14px;
	line-height: 1.5;
}
.zmc-feedback.is-bad { background: #fff5f5; border-left-color: var(--zmc-bad); }

/* ---------- Final verdict ---------- */
.zmc-verdict {
	min-height: 440px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	padding: 48px 24px;
	background: #fff;
	border-radius: 18px;
	box-shadow: var(--zmc-sh);
}
.zmc-verdict-mark {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--zmc-ok);
	color: #fff;
	font-size: 34px;
	font-weight: 800;
	margin-bottom: 16px;
	box-shadow: 0 6px 16px rgba(37, 130, 59, .3);
}
.zmc-verdict .zmc-scene-label { align-self: center; }
.zmc-verdict h2 { font-size: 32px; margin: 0 0 12px; color: var(--zmc-ink); }
.zmc-verdict p { max-width: 680px; font-size: 17px; line-height: 1.6; color: #222; margin: 0; }
.zmc-score {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 22px 0;
	padding: 14px 28px;
	background: var(--zmc-lav);
	border-radius: 14px;
}
.zmc-score span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--zmc-muted); }
.zmc-score b { font-size: 36px; font-weight: 900; line-height: 1.1; }

.zmc-empty-front {
	padding: 90px 30px;
	text-align: center;
	color: var(--zmc-muted);
	background: #fff;
	border-radius: 18px;
	box-shadow: var(--zmc-sh);
}
.zmc-error { padding: 24px; background: #fff; border-radius: 14px; color: var(--zmc-bad); }

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
	.zmc-case { padding: 16px; border-radius: 18px; }
	.zmc-header { flex-wrap: wrap; gap: 10px; }
	.zmc-case-title { font-size: 20px; }
	.zmc-scene { grid-template-columns: 1fr; }
	.zmc-visual { min-height: 240px; }
	.zmc-visual img { max-height: 420px; }
	.zmc-panel { padding: 22px 18px; }
	.zmc-actions .zmc-btn { width: 100%; }
	.zmc-verdict { min-height: 360px; }
	.zmc-verdict h2 { font-size: 26px; }
}
