:root {
	--mcpq-black: #000;
	--mcpq-dark: #050505;
	--mcpq-surface: rgba(14, 14, 14, 0.84);
	--mcpq-surface-strong: rgba(8, 8, 8, 0.94);
	--mcpq-line: rgba(255, 255, 255, 0.08);
	--mcpq-line-strong: rgba(220, 38, 38, 0.48);
	--mcpq-text: #f5f5f5;
	--mcpq-muted: rgba(245, 245, 245, 0.62);
	--mcpq-faint: rgba(245, 245, 245, 0.36);
	--mcpq-brand: #dc2626;
	--mcpq-brand-soft: rgba(220, 38, 38, 0.14);
	--mcpq-brand-glow: rgba(220, 38, 38, 0.34);
	--mcpq-font-ja: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--mcpq-font-en: "Cormorant Garamond", Georgia, serif;
}

.mcpq-standalone-body {
	margin: 0;
	background: #000;
	color: var(--mcpq-text);
	font-family: var(--mcpq-font-ja);
	overflow-x: hidden;
	-webkit-tap-highlight-color: transparent;
}

.mcpq-app,
.mcpq-app *,
.mcpq-app *::before,
.mcpq-app *::after {
	box-sizing: border-box;
}

.mcpq-app {
	position: relative;
	min-height: 100vh;
	background:
		linear-gradient(135deg, rgba(70, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0) 30%),
		linear-gradient(225deg, rgba(112, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 34%),
		#000;
	color: var(--mcpq-text);
	font-family: var(--mcpq-font-ja);
	line-height: 1.8;
	overflow-x: hidden;
	isolation: isolate;
}

.mcpq-embedded {
	min-height: 780px;
	margin: 0;
}

.mcpq-noise {
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.032;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mcpq-cursor-glow {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 0;
	width: 720px;
	height: 720px;
	max-width: 86vw;
	max-height: 86vw;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(220, 38, 38, 0.08), rgba(0, 0, 0, 0) 63%);
	transform: translate(-50%, -50%);
	pointer-events: none;
	transition: left 0.12s ease-out, top 0.12s ease-out;
}

.mcpq-background {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 22%),
		linear-gradient(90deg, rgba(220, 38, 38, 0.08), rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 74%, rgba(220, 38, 38, 0.06)),
		#000;
}

.mcpq-main {
	position: relative;
	z-index: 10;
	width: min(100%, 840px);
	min-height: 100vh;
	margin: 0 auto;
	padding: 56px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mcpq-screen {
	display: none;
	width: 100%;
	min-height: 520px;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mcpq-screen-active {
	display: flex;
	opacity: 1;
	transform: translateY(0);
}

.mcpq-intro,
.mcpq-quiz,
.mcpq-result {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.mcpq-kicker,
.mcpq-share-label,
.mcpq-card-kicker {
	margin: 0;
	color: var(--mcpq-brand);
	font-family: var(--mcpq-font-en);
	font-size: 0.92rem;
	font-weight: 600;
	text-transform: uppercase;
}

.mcpq-title {
	min-height: 4.8rem;
	margin: 20px 0 24px;
	color: #fff;
	font-size: 2.65rem;
	font-weight: 800;
	line-height: 1.45;
	text-shadow: 0 0 18px rgba(220, 38, 38, 0.24);
}

.mcpq-char {
	display: inline-block;
	opacity: 0;
	filter: blur(4px);
	transform: translateY(18px);
	transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
}

.mcpq-char.is-visible {
	opacity: 1;
	filter: blur(0);
	transform: translateY(0);
}

.mcpq-divider {
	width: 1px;
	height: 64px;
	margin: 0 auto 30px;
	background: linear-gradient(180deg, var(--mcpq-brand), rgba(220, 38, 38, 0));
}

.mcpq-lead {
	max-width: 620px;
	margin: 0 auto 24px;
	color: var(--mcpq-muted);
	font-size: 1rem;
	font-weight: 500;
	line-height: 2.2;
}

.mcpq-intro-note {
	width: min(100%, 620px);
	margin: 0 auto 34px;
	padding: 14px 18px;
	border-top: 1px solid rgba(220, 38, 38, 0.28);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(8, 8, 8, 0.42);
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.82rem;
	line-height: 1.9;
}

.mcpq-diagnosis-selector {
	width: min(100%, 720px);
	margin: 0 auto 34px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	text-align: left;
}

.mcpq-diagnosis-card {
	position: relative;
	min-height: 158px;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: linear-gradient(180deg, rgba(18, 18, 18, 0.74), rgba(6, 6, 6, 0.9));
	color: inherit;
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.mcpq-diagnosis-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.54), transparent);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.mcpq-diagnosis-card:hover,
.mcpq-diagnosis-card:focus-visible,
.mcpq-diagnosis-card.is-selected {
	border-color: rgba(220, 38, 38, 0.5);
	background: linear-gradient(180deg, rgba(42, 12, 14, 0.62), rgba(8, 8, 8, 0.94));
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42), 0 0 20px rgba(220, 38, 38, 0.14);
	transform: translateY(-2px);
	outline: none;
}

.mcpq-diagnosis-card:hover::before,
.mcpq-diagnosis-card:focus-visible::before,
.mcpq-diagnosis-card.is-selected::before {
	opacity: 1;
}

.mcpq-diagnosis-badge {
	display: inline-flex;
	margin-bottom: 10px;
	padding: 4px 8px;
	border: 1px solid rgba(220, 38, 38, 0.4);
	color: rgba(255, 255, 255, 0.76);
	font-family: var(--mcpq-font-en);
	font-size: 0.68rem;
	text-transform: uppercase;
}

.mcpq-diagnosis-card strong {
	display: block;
	color: #fff;
	font-size: 1.02rem;
	line-height: 1.55;
}

.mcpq-diagnosis-card p {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.52);
	font-size: 0.8rem;
	line-height: 1.7;
}

.mcpq-button,
.mcpq-share-button,
.mcpq-back,
.mcpq-option {
	appearance: none;
	border-radius: 0;
	font: inherit;
	cursor: pointer;
}

.mcpq-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 56px;
	padding: 15px 28px;
	border: 1px solid rgba(220, 38, 38, 0.38);
	background: transparent;
	color: #fff;
	font-size: 0.96rem;
	font-weight: 700;
	text-decoration: none;
	overflow: hidden;
	transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease, color 0.35s ease;
}

.mcpq-button::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(220, 38, 38, 0), rgba(220, 38, 38, 0.88));
	transform: translateX(-102%);
	transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

.mcpq-button:hover,
.mcpq-button:focus-visible {
	border-color: var(--mcpq-brand);
	box-shadow: 0 0 22px rgba(220, 38, 38, 0.28);
	outline: none;
}

.mcpq-button:hover::before,
.mcpq-button:focus-visible::before {
	transform: translateX(0);
}

.mcpq-button-primary {
	width: min(100%, 320px);
}

.mcpq-button-ghost,
.mcpq-button-plain {
	border-color: rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.78);
}

.mcpq-button-plain::before {
	background: rgba(255, 255, 255, 0.06);
}

.mcpq-share-block {
	margin-top: 52px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.mcpq-share-label {
	color: rgba(255, 255, 255, 0.32);
	font-size: 0.72rem;
}

.mcpq-share-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.mcpq-share-button {
	position: relative;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	background: rgba(10, 10, 10, 0.72);
	color: rgba(255, 255, 255, 0.48);
	font-family: var(--mcpq-font-en);
	font-size: 0.82rem;
	font-weight: 700;
	overflow: hidden;
	transition: color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.mcpq-share-button::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle, rgba(220, 38, 38, 0.4), rgba(220, 38, 38, 0) 64%);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.mcpq-share-button:hover,
.mcpq-share-button:focus-visible {
	color: #fff;
	border-color: rgba(220, 38, 38, 0.52);
	box-shadow: 0 5px 20px rgba(220, 38, 38, 0.24);
	transform: translateY(-2px);
	outline: none;
}

.mcpq-share-button:hover::before,
.mcpq-share-button:focus-visible::before {
	opacity: 1;
}

.mcpq-quiz {
	align-items: stretch;
}

.mcpq-quiz-head {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 16px;
	align-items: center;
	width: 100%;
	margin-bottom: 32px;
}

.mcpq-back {
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.35);
	color: rgba(255, 255, 255, 0.7);
	font-size: 2rem;
	line-height: 1;
	transition: opacity 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.mcpq-back:hover,
.mcpq-back:focus-visible {
	border-color: var(--mcpq-line-strong);
	color: #fff;
	outline: none;
}

.mcpq-back[disabled] {
	opacity: 0.24;
	pointer-events: none;
}

.mcpq-progress-wrap {
	width: 100%;
}

.mcpq-progress-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	color: rgba(255, 255, 255, 0.48);
	font-family: var(--mcpq-font-en);
	font-size: 0.92rem;
}

.mcpq-progress-track {
	position: relative;
	width: 100%;
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
}

.mcpq-progress-bar {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: var(--mcpq-brand);
	box-shadow: 0 0 10px var(--mcpq-brand), 0 0 20px rgba(220, 38, 38, 0.55);
	transition: width 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.mcpq-question-panel,
.mcpq-result-hero,
.mcpq-analysis-panel,
.mcpq-recommendations,
.mcpq-next-steps,
.mcpq-note,
.mcpq-disclaimer {
	position: relative;
	background: linear-gradient(180deg, rgba(20, 20, 20, 0.84), rgba(8, 8, 8, 0.94));
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.72);
}

.mcpq-question-panel::before,
.mcpq-result-hero::before,
.mcpq-analysis-panel::before,
.mcpq-recommendations::before,
.mcpq-next-steps::before,
.mcpq-note::before,
.mcpq-disclaimer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.52), transparent);
}

.mcpq-question-panel {
	min-height: 440px;
	padding: 42px;
	text-align: left;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.mcpq-question-panel.is-changing {
	opacity: 0;
	transform: translateY(12px);
}

.mcpq-question-kicker {
	margin-bottom: 22px;
	color: rgba(220, 38, 38, 0.86);
}

.mcpq-question-text {
	min-height: 108px;
	margin: 0 0 30px;
	color: #fff;
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.75;
	text-shadow: 0 0 14px rgba(255, 255, 255, 0.12);
}

.mcpq-options {
	display: grid;
	gap: 12px;
}

.mcpq-option {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 16px;
	align-items: center;
	min-height: 64px;
	width: 100%;
	padding: 16px 18px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(255, 255, 255, 0.025);
	color: rgba(255, 255, 255, 0.8);
	text-align: left;
	overflow: hidden;
	transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease, color 0.35s ease;
}

.mcpq-option::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: var(--mcpq-brand);
	transition: width 0.35s ease;
}

.mcpq-option:hover,
.mcpq-option:focus-visible,
.mcpq-option.is-selected {
	border-color: rgba(220, 38, 38, 0.44);
	background: rgba(220, 38, 38, 0.08);
	color: #fff;
	transform: translateY(-1px);
	outline: none;
}

.mcpq-option:hover::after,
.mcpq-option:focus-visible::after,
.mcpq-option.is-selected::after {
	width: 100%;
}

.mcpq-option-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(220, 38, 38, 0.38);
	color: var(--mcpq-brand);
	font-family: var(--mcpq-font-en);
	font-size: 1.05rem;
}

.mcpq-option-label {
	font-size: 0.96rem;
	line-height: 1.55;
}

.mcpq-option-mark {
	width: 14px;
	height: 14px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 50%;
}

.mcpq-option.is-selected .mcpq-option-mark {
	border-color: var(--mcpq-brand);
	background: radial-gradient(circle, var(--mcpq-brand) 0 42%, transparent 45%);
}

.mcpq-ripple {
	position: absolute;
	border-radius: 50%;
	background: rgba(220, 38, 38, 0.38);
	transform: scale(0);
	animation: mcpq-ripple 0.6s linear;
	pointer-events: none;
}

@keyframes mcpq-ripple {
	to {
		opacity: 0;
		transform: scale(4);
	}
}

.mcpq-result {
	gap: 28px;
	padding: 12px 0 28px;
}

.mcpq-result-hero {
	width: 100%;
	padding: 44px 38px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.mcpq-score-ring {
	position: relative;
	width: 190px;
	height: 190px;
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mcpq-score-ring::before {
	content: "";
	position: absolute;
	inset: 22px;
	border-radius: 50%;
	background: rgba(220, 38, 38, 0.14);
	filter: blur(20px);
}

.mcpq-score-ring svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
	overflow: visible;
}

.mcpq-ring-base,
.mcpq-ring-value {
	fill: none;
	stroke-width: 2;
}

.mcpq-ring-base {
	stroke: rgba(255, 255, 255, 0.08);
}

.mcpq-ring-value {
	stroke: var(--mcpq-brand);
	stroke-dasharray: 283;
	stroke-dashoffset: 283;
	filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.8));
	transition: stroke-dashoffset 1.4s ease;
}

.mcpq-score-center {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.mcpq-score-center span {
	color: rgba(255, 255, 255, 0.42);
	font-size: 0.82rem;
}

.mcpq-score-center strong {
	color: #fff;
	font-family: var(--mcpq-font-en);
	font-size: 4.2rem;
	font-weight: 400;
	line-height: 1;
	text-shadow: 0 0 14px rgba(255, 255, 255, 0.36);
}

.mcpq-result-title {
	margin: 0 0 22px;
	color: #fff;
	font-size: 2.15rem;
	font-weight: 800;
	line-height: 1.5;
}

.mcpq-result-desc {
	max-width: 680px;
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.98rem;
	line-height: 2.05;
	text-align: center;
	white-space: pre-line;
}

.mcpq-result-grid {
	width: 100%;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 18px;
	align-items: stretch;
}

.mcpq-analysis-panel {
	min-height: 360px;
	padding: 26px;
	text-align: left;
}

.mcpq-analysis-panel h3,
.mcpq-recommendations h3 {
	margin: 0 0 20px;
	color: #fff;
	font-size: 1.06rem;
	font-weight: 700;
}

.mcpq-analysis-panel canvas {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 640 / 420;
}

.mcpq-scale-bars {
	display: grid;
	gap: 16px;
}

.mcpq-scale-row {
	display: grid;
	gap: 7px;
}

.mcpq-scale-row-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.9rem;
}

.mcpq-scale-row-head strong {
	color: #fff;
	font-size: 0.94rem;
}

.mcpq-scale-track {
	position: relative;
	height: 4px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.mcpq-scale-fill {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: linear-gradient(90deg, rgba(220, 38, 38, 0.42), var(--mcpq-brand));
	box-shadow: 0 0 14px rgba(220, 38, 38, 0.44);
	transition: width 0.9s ease;
}

.mcpq-scale-desc {
	margin: 0;
	color: rgba(255, 255, 255, 0.46);
	font-size: 0.78rem;
	line-height: 1.7;
}

.mcpq-actions {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.mcpq-actions .mcpq-button {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	font-size: 0.84rem;
}

.mcpq-result-share {
	margin-top: 20px;
}

.mcpq-recommendations,
.mcpq-next-steps,
.mcpq-note {
	width: 100%;
	padding: 28px;
	text-align: left;
}

.mcpq-next-steps h3 {
	margin: 8px 0 20px;
	color: #fff;
	font-size: 1.12rem;
	line-height: 1.6;
}

.mcpq-next-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.mcpq-next-card {
	min-height: 220px;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.025);
}

.mcpq-next-card span {
	display: inline-flex;
	margin-bottom: 14px;
	color: rgba(220, 38, 38, 0.82);
	font-family: var(--mcpq-font-en);
	font-size: 1.2rem;
}

.mcpq-next-card strong {
	display: block;
	margin-bottom: 10px;
	color: #fff;
	font-size: 0.98rem;
}

.mcpq-next-card p,
.mcpq-next-note {
	margin: 0;
	color: rgba(255, 255, 255, 0.56);
	font-size: 0.84rem;
	line-height: 1.85;
}

.mcpq-book-card {
	border-color: rgba(220, 38, 38, 0.26);
	background: linear-gradient(180deg, rgba(72, 13, 18, 0.22), rgba(255, 255, 255, 0.025));
}

.mcpq-book-card a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin-top: 18px;
	padding: 9px 14px;
	border: 1px solid rgba(220, 38, 38, 0.44);
	color: #fff;
	text-decoration: none;
	font-size: 0.84rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.mcpq-book-card a:hover,
.mcpq-book-card a:focus-visible {
	border-color: var(--mcpq-brand);
	background: rgba(220, 38, 38, 0.12);
	box-shadow: 0 0 18px rgba(220, 38, 38, 0.2);
	outline: none;
}

.mcpq-next-note {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mcpq-disclaimer {
	position: relative;
	z-index: 10;
	width: min(100% - 32px, 840px);
	margin: 0 auto 18px;
	padding: 30px;
	text-align: left;
	scroll-margin-top: 24px;
}

.mcpq-disclaimer h2 {
	margin: 8px 0 16px;
	color: #fff;
	font-size: 1.35rem;
	line-height: 1.6;
}

.mcpq-disclaimer p:not(.mcpq-kicker) {
	margin: 0 0 12px;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.9rem;
	line-height: 1.95;
}

.mcpq-disclaimer .mcpq-credit-note {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	color: rgba(255, 255, 255, 0.46);
	font-size: 0.78rem;
}

.mcpq-recommend-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.mcpq-recommend-card a {
	display: block;
	min-height: 190px;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.025);
	color: inherit;
	text-decoration: none;
	transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.mcpq-recommend-card a:hover,
.mcpq-recommend-card a:focus-visible {
	border-color: rgba(220, 38, 38, 0.42);
	background: rgba(220, 38, 38, 0.06);
	transform: translateY(-2px);
	outline: none;
}

.mcpq-recommend-card strong {
	display: block;
	margin: 10px 0 8px;
	color: #fff;
	font-size: 0.95rem;
	line-height: 1.7;
}

.mcpq-recommend-card p,
.mcpq-note p,
.mcpq-muted {
	margin: 0;
	color: rgba(255, 255, 255, 0.56);
	font-size: 0.84rem;
	line-height: 1.85;
}

.mcpq-note strong {
	display: block;
	margin-bottom: 8px;
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.9rem;
}

.mcpq-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 100;
	max-width: calc(100vw - 32px);
	padding: 14px 22px;
	border: 1px solid rgba(220, 38, 38, 0.56);
	background: rgba(5, 5, 5, 0.94);
	color: #fff;
	box-shadow: 0 0 24px rgba(220, 38, 38, 0.22);
	font-size: 0.86rem;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 12px);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.mcpq-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

.mcpq-footer {
	position: relative;
	z-index: 10;
	width: min(100%, 840px);
	margin: -18px auto 0;
	padding: 20px 24px 40px;
	text-align: center;
}

.mcpq-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 14px;
	margin-bottom: 12px;
	color: rgba(255, 255, 255, 0.13);
}

.mcpq-footer a {
	color: rgba(255, 255, 255, 0.34);
	font-size: 0.72rem;
	text-decoration: none;
	transition: color 0.25s ease;
}

.mcpq-footer a:hover,
.mcpq-footer a:focus-visible {
	color: rgba(220, 38, 38, 0.88);
	outline: none;
}

.mcpq-footer p {
	margin: 0;
	color: rgba(255, 255, 255, 0.22);
	font-family: var(--mcpq-font-en);
	font-size: 0.7rem;
	text-transform: uppercase;
}

@media (max-width: 760px) {
	.mcpq-main {
		min-height: 100svh;
		padding: 36px 16px;
	}

	.mcpq-screen {
		min-height: 520px;
	}

	.mcpq-title {
		min-height: auto;
		font-size: 1.65rem;
		line-height: 1.8;
	}

	.mcpq-lead {
		font-size: 0.9rem;
		line-height: 2.05;
	}

	.mcpq-diagnosis-selector {
		grid-template-columns: 1fr;
		margin-bottom: 26px;
	}

	.mcpq-diagnosis-card {
		min-height: 0;
		padding: 17px;
	}

	.mcpq-quiz-head {
		grid-template-columns: 38px 1fr;
		gap: 10px;
		margin-bottom: 20px;
	}

	.mcpq-back {
		width: 38px;
		height: 38px;
	}

	.mcpq-question-panel,
	.mcpq-result-hero,
	.mcpq-analysis-panel,
	.mcpq-recommendations,
	.mcpq-next-steps,
	.mcpq-note,
	.mcpq-disclaimer {
		padding: 24px 18px;
	}

	.mcpq-question-text {
		min-height: 136px;
		font-size: 1.18rem;
		line-height: 1.9;
	}

	.mcpq-option {
		grid-template-columns: auto 1fr auto;
		gap: 10px;
		min-height: 62px;
		padding: 13px 12px;
	}

	.mcpq-option-label {
		font-size: 0.86rem;
	}

	.mcpq-score-ring {
		width: 168px;
		height: 168px;
	}

	.mcpq-score-center strong {
		font-size: 3.5rem;
	}

	.mcpq-result-title {
		font-size: 1.45rem;
	}

	.mcpq-result-desc {
		text-align: left;
		font-size: 0.9rem;
	}

	.mcpq-result-grid,
	.mcpq-actions,
	.mcpq-next-grid,
	.mcpq-recommend-grid {
		grid-template-columns: 1fr;
	}

	.mcpq-next-card {
		min-height: 0;
	}

	.mcpq-actions .mcpq-button {
		font-size: 0.9rem;
	}

	.mcpq-recommend-card a {
		min-height: 0;
	}

	.mcpq-footer {
		padding-bottom: 30px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mcpq-app *,
	.mcpq-app *::before,
	.mcpq-app *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
