/* Ported from background-gradient-animation (Tailwind) — scoped to shortcode shell */

/* Main brand: #6D52A2 → rgb(109, 82, 162) */
.cq-gradient-shell {
	--gradient-background-start: rgb(145, 115, 205);
	--gradient-background-end: rgb(42, 28, 88);
	--first-color: 109, 82, 162;
	--second-color: 200, 120, 255;
	--third-color: 130, 160, 255;
	--fourth-color: 85, 55, 140;
	--fifth-color: 190, 170, 255;
	--pointer-color: 150, 110, 220;
	--size: 80%;
	--blending-value: hard-light;
	--cq-panel-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
	--cq-panel-border: rgba(255, 255, 255, 0.22);
	--cq-panel-shadow: 0 24px 70px rgba(18, 9, 44, 0.38);
	--cq-brand: #6d52a2;
	--cq-brand-strong: #5b4390;
	--cq-brand-soft: #8e73c3;
	--cq-brand-light: #dacdff;
	--cq-text-soft: rgba(255, 255, 255, 0.9);

	box-sizing: border-box;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	width: 100vw;
	max-width: 100vw;
	height: auto;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	top: 0;
	background: linear-gradient(
		40deg,
		var(--gradient-background-start),
		var(--gradient-background-end)
	);
	background-color: var(--gradient-background-end);
	isolation: isolate;
}

.cq-gradient-shell::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(circle at 20% 15%, rgba(190, 170, 255, 0.35) 0%, rgba(190, 170, 255, 0) 28%),
		linear-gradient(40deg, var(--gradient-background-start), var(--gradient-background-end));
	pointer-events: none;
}

.cq-gradient-shell__svg {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
	z-index: 0;
}

.cq-gradient-shell__content {
	position: relative;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
	min-height: 100vh;
	min-height: 100svh;
	width: 100%;
	padding: 1.25rem 1.25rem 1.5rem;
	box-sizing: border-box;
	pointer-events: none;
}

.cq-gradient-shell__logo {
	position: absolute;
	top: 0.85rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 2rem);
	max-width: min(960px, 100%);
	pointer-events: none;
	box-sizing: border-box;
}

.cq-gradient-shell__logo-img {
	display: block;
	max-height: clamp(44px, 8vh, 76px);
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 12px 24px rgba(17, 8, 42, 0.35));
}

.cq-gradient-shell--has-logo .cq-gradient-shell__content {
	padding-top: clamp(5.25rem, 11vh, 6.75rem);
}

.cq-gradient-shell__content .cq-questionnaire,
.cq-gradient-shell__content .cq-questionnaire--empty,
.cq-gradient-shell__content .cq-intro-steps,
.cq-gradient-shell__content .cq-final-screen,
.cq-gradient-shell__content .cq-thank-screen {
	pointer-events: auto;
}

.cq-intro-steps {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1120px;
	height: auto;
	min-height: 0;
	box-sizing: border-box;
}

.cq-main-screen {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-height: 0;
}

.cq-main-screen__card {
	width: min(100%, 760px);
	border: 1px solid var(--cq-panel-border);
	background:
		radial-gradient(circle at top, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 48%),
		var(--cq-panel-bg);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-radius: 32px;
	padding: clamp(1.5rem, 3vw, 2.35rem);
	color: #fff;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	box-shadow: var(--cq-panel-shadow);
	box-sizing: border-box;
}

.cq-main-screen__heading {
	margin: 0 0 0.75rem;
	font-size: clamp(1.7rem, 3.8vw, 2.85rem);
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
	text-align: center;
	letter-spacing: -0.03em;
}

.cq-main-screen__heading br {
	line-height: inherit;
}

.cq-main-screen__text {
	margin: 0 0 1.35rem;
	font-size: clamp(1rem, 1.8vw, 1.08rem);
	line-height: 1.6;
	text-align: center;
	color: var(--cq-text-soft);
}

.cq-main-screen__text p {
	margin: 0 0 0.75rem;
	text-align: center;
}

.cq-main-screen__text p:last-child {
	margin-bottom: 0;
}

.cq-main-screen__btn {
	display: inline-block;
	margin-top: 0.25rem;
	padding: 0.9rem 2.2rem;
	min-width: 12rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: #fff !important;
	background: linear-gradient(135deg, var(--cq-brand-soft) 0%, var(--cq-brand) 55%, var(--cq-brand-strong) 100%);
	border: 1px solid rgba(255, 255, 255, 0.28) !important;
	border-radius: 19px !important;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	box-shadow:
		0 18px 30px rgba(26, 12, 58, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.15s ease;
}

.cq-main-screen__btn:hover,
.cq-main-screen__btn:focus {
	background: linear-gradient(135deg, #9c81d1 0%, var(--cq-brand) 52%, #543b88 100%);
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.4) !important;
	outline: none;
	box-shadow:
		0 22px 36px rgba(33, 15, 73, 0.34),
		0 0 0 1px rgba(255, 255, 255, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
	transform: translateY(-1px);
}

.cq-main-screen__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.cq-main-screen__btn:active {
	transform: scale(0.98);
}

.cq-questions-screen {
	width: 100%;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

.cq-final-screen {
	width: 100%;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

.cq-final-screen__card {
	width: 100%;
	max-width: 620px;
	border: 1px solid var(--cq-panel-border);
	background:
		radial-gradient(circle at top, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 48%),
		var(--cq-panel-bg);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-radius: 28px;
	padding: clamp(1.4rem, 2.6vw, 2rem);
	color: #fff;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
	box-shadow: var(--cq-panel-shadow);
}

.cq-final-screen__heading {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
	text-align: center;
}

.cq-final-screen__text {
	margin: 0 0 1.25rem;
	font-size: 1.05rem;
	line-height: 1.55;
	text-align: center;
	color: var(--cq-text-soft);
}

.cq-final-screen__text p {
	margin: 0 0 0.75rem;
	text-align: center;
}

.cq-final-screen__error {
	margin: 0 0 1rem;
	padding: 0.65rem 0.85rem;
	background: rgba(180, 40, 40, 0.35);
	border: 1px solid rgba(255, 120, 120, 0.5);
	border-radius: 8px;
	color: #fff;
	text-align: center;
}

.cq-final-screen__alert {
	background: rgba(200, 140, 30, 0.38);
	border: 1px solid rgba(255, 210, 130, 0.55);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.cq-questions-screen__alert {
	width: 100%;
	max-width: min(640px, 94vw);
	margin: 0 auto 1rem;
	padding: 0.75rem 1rem;
	box-sizing: border-box;
	background: rgba(109, 82, 162, 0.34);
	border: 1px solid rgba(218, 205, 255, 0.45);
	border-radius: 16px;
	color: #fff;
	text-align: center;
	font-size: 0.98rem;
	line-height: 1.45;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.cq-final-screen__form {
	margin-top: 0.5rem;
	text-align: left;
}

.cq-final-screen__field {
	margin-bottom: 1rem;
}

.cq-final-screen__field--checkbox {
	margin-bottom: 0.85rem;
}

.cq-final-screen__label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.95);
}

.cq-final-screen__input {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.75rem 0.95rem;
	font-size: 1rem;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.11);
	color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cq-final-screen__input:focus {
	outline: 2px solid var(--cq-brand-light);
	outline-offset: 1px;
	border-color: rgba(255, 255, 255, 0.42);
}

.cq-final-screen__check {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.95rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
	cursor: pointer;
	text-align: left;
}

.cq-final-screen__check input {
	margin-top: 0.2rem;
	flex-shrink: 0;
	accent-color: #6d52a2;
}

.cq-final-screen__link {
	color: #f0e8ff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cq-final-screen__link:hover {
	color: #fff;
}

.cq-final-screen__actions {
	margin-top: 1.5rem;
	display: flex;
	justify-content: center;
}

.cq-thank-screen {
	width: 100%;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 0;
}

.cq-thank-screen__card {
	width: 100%;
	max-width: 620px;
	border: 1px solid var(--cq-panel-border);
	background:
		radial-gradient(circle at top, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 48%),
		var(--cq-panel-bg);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-radius: 28px;
	padding: clamp(1.4rem, 2.6vw, 2rem);
	color: #fff;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
	box-shadow: var(--cq-panel-shadow);
}

.cq-thank-screen__heading {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	font-weight: 700;
	line-height: 1.35;
	color: #fff;
	text-align: center;
}

.cq-thank-screen__text {
	margin: 0 0 1.25rem;
	font-size: 1.05rem;
	line-height: 1.55;
	text-align: center;
	color: var(--cq-text-soft);
}

.cq-thank-screen__text p {
	margin: 0 0 0.75rem;
	text-align: center;
}

.cq-thank-screen__actions {
	margin-top: 1.5rem;
	display: flex;
	justify-content: center;
}

.cq-gradient-shell__blobs {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	filter: blur(16px);
}

.cq-gradient-shell--safari .cq-gradient-shell__blobs {
	filter: blur(40px);
}

.cq-gradient-shell__blob {
	position: absolute;
	mix-blend-mode: var(--blending-value);
	width: var(--size);
	height: var(--size);
	top: calc(50% - var(--size) / 2);
	left: calc(50% - var(--size) / 2);
	opacity: 1;
}

.cq-gradient-shell__blob--first {
	background: radial-gradient(
		circle at center,
		rgb(var(--first-color)) 0,
		rgb(var(--first-color)) 50%
	);
	transform-origin: center center;
	animation: cq-move-vertical 30s ease infinite;
}

.cq-gradient-shell__blob--second {
	background: radial-gradient(
		circle at center,
		rgba(var(--second-color), 0.8) 0,
		rgba(var(--second-color), 0) 50%
	);
	transform-origin: calc(50% - 400px);
	animation: cq-move-in-circle 20s reverse infinite;
}

.cq-gradient-shell__blob--third {
	background: radial-gradient(
		circle at center,
		rgba(var(--third-color), 0.8) 0,
		rgba(var(--third-color), 0) 50%
	);
	transform-origin: calc(50% + 400px);
	animation: cq-move-in-circle 40s linear infinite;
}

.cq-gradient-shell__blob--fourth {
	background: radial-gradient(
		circle at center,
		rgba(var(--fourth-color), 0.8) 0,
		rgba(var(--fourth-color), 0) 50%
	);
	transform-origin: calc(50% - 200px);
	animation: cq-move-horizontal 40s ease infinite;
	opacity: 0.7;
}

.cq-gradient-shell__blob--fifth {
	background: radial-gradient(
		circle at center,
		rgba(var(--fifth-color), 0.8) 0,
		rgba(var(--fifth-color), 0) 50%
	);
	transform-origin: calc(50% - 800px) calc(50% + 800px);
	animation: cq-move-in-circle 20s ease infinite;
}

.cq-gradient-shell__interactive {
	position: absolute;
	background: radial-gradient(
		circle at center,
		rgba(var(--pointer-color), 0.8) 0,
		rgba(var(--pointer-color), 0) 50%
	);
	mix-blend-mode: var(--blending-value);
	width: 100%;
	height: 100%;
	top: -50%;
	left: -50%;
	opacity: 0.7;
	will-change: transform;
}

/* Questionnaire — “Who Wants to Be a Millionaire” style */
.cq-gradient-shell .cq-questionnaire {
	width: 100%;
	margin: 0;
	color: #fff;
	text-align: center;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.cq-gradient-shell .cq-questionnaire--game {
	max-width: 980px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1.1rem;
}

.cq-gradient-shell .cq-questionnaire--empty {
	color: rgba(255, 255, 255, 0.85);
	text-align: center;
	font-size: 1.125rem;
	max-width: 640px;
}

.cq-millionaire-round {
	width: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cq-millionaire-round:last-child {
	margin-bottom: 0;
}

.cq-millionaire-question-bar {
	margin: 0 0 0.95rem;
	padding: 1rem 1.2rem;
	width: 100%;
	max-width: 760px;
	font-size: clamp(1rem, 2.1vw, 1.24rem);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: 0.02em;
	color: #fff;
	text-align: center;
	text-transform: none;
	text-shadow:
		0 0 20px rgba(109, 82, 162, 0.3),
		0 2px 6px rgba(0, 0, 0, 0.6);
	background: linear-gradient(180deg, rgba(158, 129, 208, 0.96) 0%, rgba(109, 82, 162, 0.96) 52%, rgba(81, 59, 128, 0.98) 100%);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 26px;
	box-shadow:
		0 18px 36px rgba(25, 12, 54, 0.24),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cq-millionaire-answers {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.8rem;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	align-items: stretch;
}

@media (min-width: 640px) {
	.cq-millionaire-answers {
		grid-template-columns: 1fr 1fr;
		gap: 1rem 1.25rem;
	}
}

.cq-millionaire-answer {
	position: relative;
	width: 100%;
	text-align: left;
}

.cq-millionaire-answer__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

.cq-millionaire-answer__label {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.9rem;
	width: 100%;
	min-height: 3.55rem;
	padding: 0.82rem 1rem 0.82rem 0.88rem;
	box-sizing: border-box;
	cursor: pointer;
	color: #fff;
	font-weight: 600;
	font-size: clamp(0.94rem, 1.75vw, 1rem);
	line-height: 1.35;
	text-align: left;
	background: linear-gradient(180deg, rgba(147, 117, 205, 0.92) 0%, rgba(109, 82, 162, 0.96) 55%, rgba(84, 59, 135, 0.98) 100%);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 19px;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		0 12px 24px rgba(22, 10, 47, 0.22);
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.15s ease,
		background 0.2s ease;
}

.cq-millionaire-answer__letter {
	flex-shrink: 0;
	width: 2.35rem;
	height: 2.35rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-size: 1rem;
	color: var(--cq-brand-strong);
	background: linear-gradient(145deg, #ffffff 0%, #efe7ff 45%, #d7c2ff 100%);
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.9);
	box-shadow:
		0 8px 14px rgba(20, 10, 42, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.5);
	text-shadow: none;
}

.cq-millionaire-answer__text {
	flex: 1;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.cq-millionaire-answer__label:hover {
	border-color: rgba(255, 255, 255, 0.34);
	box-shadow:
		0 18px 30px rgba(30, 14, 65, 0.28),
		0 0 0 1px rgba(255, 255, 255, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.15);
	background: linear-gradient(180deg, rgba(157, 128, 211, 0.96) 0%, rgba(120, 91, 177, 0.98) 50%, rgba(89, 63, 141, 1) 100%);
	transform: translateY(-1px);
}

.cq-millionaire-answer__input:focus-visible + .cq-millionaire-answer__label {
	outline: 2px solid #fff;
	outline-offset: 3px;
	border-color: rgba(255, 255, 255, 0.34);
	box-shadow:
		0 18px 30px rgba(30, 14, 65, 0.28),
		0 0 0 1px rgba(255, 255, 255, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.15);
	background: linear-gradient(180deg, rgba(157, 128, 211, 0.96) 0%, rgba(120, 91, 177, 0.98) 50%, rgba(89, 63, 141, 1) 100%);
}

.cq-millionaire-answer__input:checked + .cq-millionaire-answer__label {
	border-color: #ffffff;
	box-shadow:
		0 22px 36px rgba(31, 15, 69, 0.34),
		0 0 0 1px rgba(255, 255, 255, 0.12),
		inset 0 0 24px rgba(255, 255, 255, 0.12);
	background: linear-gradient(180deg, rgba(170, 144, 220, 0.98) 0%, rgba(109, 82, 162, 1) 52%, rgba(84, 59, 135, 1) 100%);
}

.cq-millionaire-answer__input:checked + .cq-millionaire-answer__label::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1rem;
	width: 0.9rem;
	height: 0.9rem;
	border-radius: 50%;
	background: #ffffff;
	box-shadow:
		0 0 0 4px rgba(255, 255, 255, 0.2),
		0 0 14px rgba(255, 255, 255, 0.75);
	transform: translateY(-50%);
}

.cq-millionaire-answer__input:checked + .cq-millionaire-answer__label .cq-millionaire-answer__letter {
	background: linear-gradient(145deg, #ffffff 0%, #f4eeff 50%, #ddccff 100%);
	box-shadow: 0 0 14px rgba(255, 255, 255, 0.55);
}

.cq-millionaire-answer__label:active {
	transform: scale(0.99);
}

.cq-questionnaire__footer {
	margin-top: 0.35rem;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

@media (max-height: 860px) {
	.cq-gradient-shell__content {
		padding-top: 4.75rem;
		padding-bottom: 1rem;
	}

	.cq-gradient-shell__logo-img {
		max-height: 56px;
	}

	.cq-main-screen__card,
	.cq-final-screen__card,
	.cq-thank-screen__card {
		padding: 1.25rem 1.3rem;
		border-radius: 24px;
	}

	.cq-main-screen__heading,
	.cq-final-screen__heading,
	.cq-thank-screen__heading {
		margin-bottom: 0.55rem;
	}

	.cq-main-screen__text,
	.cq-final-screen__text,
	.cq-thank-screen__text {
		margin-bottom: 1rem;
		line-height: 1.45;
	}

	.cq-millionaire-question-bar {
		margin-bottom: 0.75rem;
		padding: 0.85rem 1rem;
	}

	.cq-millionaire-answers {
		gap: 0.7rem;
	}

	.cq-millionaire-answer__label {
		min-height: 3.15rem;
		padding: 0.72rem 0.9rem 0.72rem 0.8rem;
	}

	.cq-questionnaire__footer {
		margin-top: 0.15rem;
	}
}

@media (max-width: 767px) {
	.cq-gradient-shell__content {
		padding-left: 0.9rem;
		padding-right: 0.9rem;
	}

	.cq-gradient-shell--has-logo .cq-gradient-shell__content {
		padding-top: 5rem;
	}

	.cq-main-screen__card,
	.cq-final-screen__card,
	.cq-thank-screen__card {
		border-radius: 24px;
	}

	.cq-millionaire-question-bar {
		border-radius: 22px;
	}
}

@media (max-width: 1024px) {
	.cq-gradient-shell {
		min-height: 100dvh;
		overflow-x: hidden;
		overflow-y: visible;
	}

	.cq-gradient-shell__content,
	.cq-intro-steps {
		min-height: 100svh;
		min-height: 100dvh;
	}
}

@keyframes cq-move-horizontal {
	0% {
		transform: translateX(-50%) translateY(-10%);
	}
	50% {
		transform: translateX(50%) translateY(10%);
	}
	100% {
		transform: translateX(-50%) translateY(-10%);
	}
}

@keyframes cq-move-in-circle {
	0% {
		transform: rotate(0deg);
	}
	50% {
		transform: rotate(180deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

@keyframes cq-move-vertical {
	0% {
		transform: translateY(-50%);
	}
	50% {
		transform: translateY(50%);
	}
	100% {
		transform: translateY(-50%);
	}
}

/* Optional Google Fonts (class on .cq-gradient-shell from PHP) */
.cq-gradient-shell.cq-font--inter {
	font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.cq-gradient-shell.cq-font--open-sans {
	font-family: "Open Sans", system-ui, -apple-system, sans-serif;
}

.cq-gradient-shell.cq-font--lato {
	font-family: "Lato", system-ui, -apple-system, sans-serif;
}

.cq-gradient-shell.cq-font--montserrat {
	font-family: "Montserrat", system-ui, -apple-system, sans-serif;
}

.cq-gradient-shell.cq-font--merriweather {
	font-family: "Merriweather", Georgia, "Times New Roman", serif;
}

.cq-gradient-shell.cq-font--roboto {
	font-family: "Roboto", system-ui, -apple-system, sans-serif;
}

.cq-gradient-shell.cq-font--source-sans-3 {
	font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
}

/* 2026 redesign: interactive step experience */
.cq-gradient-shell,
.cq-gradient-shell * {
	font-family: "Poppins", system-ui, -apple-system, sans-serif;
}

.cq-gradient-shell {
	--cq-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0.08) 100%);
	--cq-surface-strong: linear-gradient(180deg, rgba(144, 114, 214, 0.46) 0%, rgba(80, 55, 140, 0.36) 100%);
	--cq-stroke: rgba(255, 255, 255, 0.18);
	--cq-glow: rgba(143, 111, 255, 0.45);
	--cq-text: #fff;
	--cq-text-soft-2: rgba(255, 255, 255, 0.74);
	--cq-card-radius: 28px;
}

.cq-gradient-shell::after {
	content: "";
	position: absolute;
	inset: auto auto 8% 8%;
	width: 28vw;
	height: 28vw;
	min-width: 180px;
	min-height: 180px;
	max-width: 360px;
	max-height: 360px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(116, 188, 255, 0.22) 0%, rgba(116, 188, 255, 0) 68%);
	filter: blur(30px);
	animation: cq-float-orb 16s ease-in-out infinite;
	pointer-events: none;
	z-index: 0;
}

.cq-gradient-shell__content {
	padding-top: clamp(5.25rem, 10vh, 6.5rem);
	padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

.cq-gradient-shell__logo {
	top: 1rem;
}

.cq-gradient-shell__logo-img {
	max-height: clamp(52px, 8vh, 88px);
}

.cq-intro-steps,
.cq-main-screen,
.cq-questions-screen,
.cq-final-screen,
.cq-thank-screen {
	width: 100%;
}

.cq-main-screen,
.cq-final-screen,
.cq-thank-screen {
	animation: cq-fade-up 0.45s ease both;
}

.cq-main-screen__card,
.cq-final-screen__card,
.cq-thank-screen__card {
	width: min(100%, 760px);
	border-radius: 32px;
	background:
		radial-gradient(circle at top, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 38%),
		var(--cq-surface);
	border: 1px solid var(--cq-stroke);
	box-shadow:
		0 28px 60px rgba(11, 6, 30, 0.38),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
}

.cq-main-screen__card {
	max-width: 760px;
}

.cq-main-screen__heading,
.cq-final-screen__heading,
.cq-thank-screen__heading {
	margin-bottom: 0.85rem;
	font-weight: 800;
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.cq-main-screen__text,
.cq-final-screen__text,
.cq-thank-screen__text {
	max-width: 38rem;
	margin-left: auto;
	margin-right: auto;
	color: var(--cq-text-soft-2);
	font-size: clamp(1rem, 1.7vw, 1.08rem);
	line-height: 1.7;
}

.cq-main-screen__btn {
	position: relative;
	overflow: hidden;
	padding: 0.95rem 2.35rem;
	border-radius: 999px !important;
	background: linear-gradient(135deg, rgba(178, 151, 243, 0.94) 0%, rgba(109, 82, 162, 0.96) 52%, rgba(73, 47, 129, 0.96) 100%);
	box-shadow:
		0 18px 36px rgba(34, 18, 72, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cq-main-screen__btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -130%;
	width: 60%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
	transform: skewX(-24deg);
	transition: left 0.45s ease;
}

.cq-main-screen__btn:hover::before,
.cq-main-screen__btn:focus::before {
	left: 150%;
}

.cq-main-screen__btn:hover,
.cq-main-screen__btn:focus {
	transform: translateY(-2px) scale(1.01);
	box-shadow:
		0 24px 40px rgba(37, 18, 80, 0.38),
		0 0 24px rgba(143, 111, 255, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.cq-main-screen__btn:active {
	transform: scale(0.985);
}

.cq-questions-screen {
	justify-content: center;
}

.cq-questionnaire--game {
	max-width: 980px;
}

.cq-questionnaire__shell {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	width: 100%;
}

.cq-questionnaire__progress {
	display: none;
}

.cq-questionnaire__progress-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.85rem;
}

.cq-questionnaire__eyebrow,
.cq-question-card__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.88rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: rgba(255, 255, 255, 0.68);
}

.cq-questionnaire__progress-copy {
	font-size: 0.92rem;
	font-weight: 600;
	color: #fff;
}

.cq-questionnaire__progress-bar {
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
}

.cq-questionnaire__progress-fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, #9b83ef 0%, #8f6fff 55%, #6fc8ff 100%);
	box-shadow: 0 0 18px rgba(111, 200, 255, 0.42);
	transition: width 0.34s ease;
}

.cq-questionnaire__viewport {
	position: relative;
	width: 100%;
	min-height: 42rem;
}

.cq-millionaire-round {
	position: absolute;
	inset: 0;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: translateX(26px) scale(0.98);
	filter: blur(12px);
	pointer-events: none;
	transition:
		opacity 0.32s ease,
		transform 0.32s ease,
		filter 0.32s ease;
}

.cq-millionaire-round.is-active {
	opacity: 1;
	transform: translateX(0) scale(1);
	filter: blur(0);
	pointer-events: auto;
}

.cq-millionaire-round.is-entering-prev {
	transform: translateX(-26px) scale(0.98);
}

.cq-millionaire-round.is-leaving-next {
	transform: translateX(-32px) scale(0.97);
}

.cq-millionaire-round.is-leaving-prev {
	transform: translateX(32px) scale(0.97);
}

.cq-question-card {
	width: min(100%, 760px);
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.cq-question-card__header,
.cq-millionaire-answer,
.cq-question-card__footer-progress,
.cq-questionnaire__footer {
	opacity: 0;
	transform: translateY(18px);
}

.cq-millionaire-round.is-revealed .cq-question-card__header {
	animation: cq-reveal-up 0.42s ease forwards;
}

.cq-millionaire-round.is-revealed .cq-millionaire-answer:nth-child(1) {
	animation: cq-reveal-up 0.42s ease 0.08s forwards;
}

.cq-millionaire-round.is-revealed .cq-millionaire-answer:nth-child(2) {
	animation: cq-reveal-up 0.42s ease 0.14s forwards;
}

.cq-millionaire-round.is-revealed .cq-millionaire-answer:nth-child(3) {
	animation: cq-reveal-up 0.42s ease 0.2s forwards;
}

.cq-millionaire-round.is-revealed .cq-millionaire-answer:nth-child(4) {
	animation: cq-reveal-up 0.42s ease 0.26s forwards;
}

.cq-millionaire-round.is-revealed .cq-millionaire-answer:nth-child(5) {
	animation: cq-reveal-up 0.42s ease 0.32s forwards;
}

.cq-millionaire-round.is-revealed .cq-millionaire-answer:nth-child(6) {
	animation: cq-reveal-up 0.42s ease 0.38s forwards;
}

.cq-millionaire-round.is-revealed .cq-question-card__footer-progress {
	animation: cq-reveal-up 0.42s ease 0.42s forwards;
}

.cq-millionaire-round.is-revealed .cq-questionnaire__footer {
	animation: cq-reveal-up 0.42s ease 0.48s forwards;
}

.cq-question-card__header {
	margin-bottom: 1.5rem;
	padding: 1.85rem 2rem 1.55rem;
	border-radius: 34px;
	background:
		linear-gradient(135deg, rgba(203, 166, 255, 0.22) 0%, rgba(137, 175, 255, 0.16) 100%),
		linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.08));
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow:
		0 24px 54px rgba(12, 6, 32, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	text-align: center;
}

.cq-millionaire-question-bar {
	margin: 0.6rem 0 0.7rem;
	padding: 0;
	max-width: none;
	background: none;
	border: 0;
	box-shadow: none;
	font-size: clamp(2.15rem, 5vw, 3.55rem);
	line-height: 1.08;
	letter-spacing: -0.04em;
	text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cq-question-card__subtitle {
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: clamp(1rem, 1.75vw, 1.12rem);
}

.cq-millionaire-answers {
	gap: 1rem 1.15rem;
	max-width: none;
}

@media (min-width: 760px) {
	.cq-millionaire-answers {
		grid-template-columns: 1fr 1fr;
	}
}

.cq-millionaire-answer__label {
	position: relative;
	align-items: flex-start;
	gap: 1rem;
	min-height: 100%;
	padding: 1.15rem 1.25rem;
	border-radius: 26px;
	background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow:
		0 14px 36px rgba(21, 6, 60, 0.22),
		inset 0 1px 0 rgba(255,255,255,0.25);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	touch-action: manipulation;
}

.cq-millionaire-answer__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.38rem;
	min-width: 0;
}

.cq-millionaire-answer__text {
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.38;
	color: rgba(255,255,255,0.74);
	word-break: break-word;
}

.cq-millionaire-answer__meta {
	display: none;
	word-break: break-word;
}

.cq-millionaire-answer__check {
	display: none;
}

.cq-millionaire-answer__letter {
	width: 3rem;
	height: 3rem;
	font-size: 1.05rem;
	background: rgba(255,255,255,0.88);
	color: #5d41a5;
	box-shadow: 0 8px 22px rgba(12, 2, 45, 0.18);
	transition: transform 0.22s ease;
}

.cq-millionaire-answer__title {
	display: block;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.18;
	color: #fff;
}

.cq-millionaire-answer__label:hover {
	transform: translateY(-5px) scale(1.015);
	border-color: rgba(255,255,255,0.55);
	box-shadow:
		0 22px 48px rgba(21, 6, 60, 0.34),
		0 0 28px rgba(204, 137, 255, 0.26);
}

.cq-millionaire-answer__label:hover .cq-millionaire-answer__letter {
	transform: scale(1.08);
}

.cq-millionaire-answer__input:checked + .cq-millionaire-answer__label {
	background: linear-gradient(135deg, rgba(214, 157, 255, 0.34), rgba(92, 169, 255, 0.22));
	border-color: rgba(255,255,255,0.78);
	box-shadow:
		0 24px 56px rgba(21, 6, 60, 0.38),
		0 0 36px rgba(198, 132, 255, 0.42);
}

.cq-millionaire-answer__input:checked + .cq-millionaire-answer__label::after {
	display: none;
}

.cq-millionaire-answer__input:checked + .cq-millionaire-answer__label .cq-millionaire-answer__check {
	background: linear-gradient(180deg, #fff 0%, #d9cbff 100%);
	border-color: rgba(255, 255, 255, 0.88);
	box-shadow:
		0 0 0 4px rgba(143, 111, 255, 0.14),
		0 0 18px rgba(143, 111, 255, 0.34);
}

.cq-millionaire-answer__input:checked + .cq-millionaire-answer__label .cq-millionaire-answer__check::before {
	content: "";
	display: block;
	width: 0.4rem;
	height: 0.7rem;
	margin: 0.16rem auto 0;
	border-right: 2px solid #5d41a5;
	border-bottom: 2px solid #5d41a5;
	transform: rotate(45deg);
}

.cq-question-card__feedback {
	display: none;
}

.cq-question-card__footer-progress {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 1.7rem auto 0;
	width: min(100%, 620px);
	padding: 0;
	border: 0;
	background: transparent;
}

.cq-question-card__footer-progress--form {
	margin-top: 1.35rem;
	margin-bottom: 0.15rem;
}

.cq-question-card__footer-progress-title {
	flex-shrink: 0;
	font-size: 0.84rem;
	font-weight: 500;
	color: rgba(255,255,255,0.7);
}

.cq-question-card__footer-progress-bar {
	flex: 1;
	height: 10px;
	border-radius: 999px;
	background: rgba(255,255,255,0.16);
	overflow: hidden;
	box-shadow: inset 0 1px 4px rgba(0,0,0,0.18);
}

.cq-question-card__footer-progress-fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, #f2c5ff, #8dc6ff);
	box-shadow: 0 0 20px rgba(173, 216, 255, 0.65);
	transition: width 0.34s ease;
}

.cq-question-card__footer-progress-label {
	flex-shrink: 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: rgba(255,255,255,0.7);
}

.cq-questionnaire__footer {
	margin-top: 1.1rem;
	gap: 0.85rem;
	justify-content: center;
	align-items: center;
}

.cq-questionnaire__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	appearance: none;
	border: 1px solid rgba(255,255,255,0.35);
	background: linear-gradient(180deg, rgba(255,255,255,0.26), rgba(255,255,255,0.08));
	color: #fff;
	border-radius: 999px;
	padding: 0.95rem 2.35rem;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 16px 35px rgba(18, 4, 58, 0.22);
	transition: transform 220ms ease, opacity 220ms ease, box-shadow 220ms ease;
	touch-action: manipulation;
}

.cq-questionnaire__nav:hover:not(:disabled),
.cq-questionnaire__nav:focus-visible:not(:disabled) {
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 18px 44px rgba(18, 4, 58, 0.3), 0 0 28px rgba(255,255,255,0.2);
}

.cq-questionnaire__nav:disabled {
	opacity: 0.45;
	cursor: default;
}

.cq-questionnaire__nav--ghost.is-hidden {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.cq-main-screen__btn--shine {
	min-width: 22rem;
	opacity: 0.65;
	box-shadow: 0 16px 35px rgba(18, 4, 58, 0.22);
	transform: none;
}

.cq-main-screen__btn--shine.is-active,
.cq-main-screen__btn--shine:not([disabled]) {
	opacity: 1;
	box-shadow: 0 18px 44px rgba(18, 4, 58, 0.3), 0 0 28px rgba(255,255,255,0.18);
}

.cq-main-screen__btn--shine[disabled] {
	opacity: 0.65;
	cursor: default;
}

.cq-main-screen__btn {
	touch-action: manipulation;
}

.cq-final-screen__card,
.cq-thank-screen__card {
	max-width: 720px;
}

.cq-final-screen__label {
	margin-bottom: 0.45rem;
	font-size: 0.88rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.72);
}

.cq-final-screen__input {
	padding: 0.92rem 1rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 0.98rem;
}

.cq-final-screen__input:focus {
	box-shadow:
		0 0 0 4px rgba(143, 111, 255, 0.16),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cq-final-screen__check {
	padding: 0.95rem 1rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.cq-final-screen__check input {
	accent-color: #8f6fff;
}

.cq-final-screen__actions,
.cq-thank-screen__actions {
	margin-top: 1.2rem;
}

.cq-final-screen__error,
.cq-questions-screen__alert {
	border-radius: 18px;
	background: rgba(255, 113, 154, 0.18);
	border-color: rgba(255, 152, 183, 0.38);
}

.cq-thank-screen__heading::before {
	content: "🔥";
	display: block;
	margin-bottom: 0.55rem;
	font-size: 1.4rem;
}

@media (max-width: 860px) {
	.cq-questionnaire__viewport {
		min-height: 46rem;
	}
}

@media (max-width: 900px) {
	.cq-question-card,
	.cq-main-screen__card,
	.cq-final-screen__card,
	.cq-thank-screen__card {
		width: min(100%, 820px);
	}
}

@media (max-width: 759px) {
	.cq-gradient-shell__content {
		padding-left: 0.95rem;
		padding-right: 0.95rem;
	}

	.cq-questionnaire__viewport {
		min-height: 52rem;
	}

	.cq-question-card__header {
		padding: 1.35rem 1.1rem 1.2rem;
	}

	.cq-millionaire-question-bar {
		font-size: clamp(1.55rem, 8vw, 2.3rem);
	}

	.cq-questionnaire__footer {
		flex-direction: column;
	}

	.cq-question-card__footer-progress {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.cq-questionnaire__nav,
	.cq-main-screen__btn {
		width: 100%;
		justify-content: center;
	}

	.cq-main-screen__btn--shine {
		min-width: 0;
	}

	.cq-millionaire-answer__label {
		padding: 1rem 1rem 1rem 0.95rem;
		border-radius: 24px;
	}

	.cq-millionaire-answer__letter {
		width: 3rem;
		height: 3rem;
		font-size: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cq-gradient-shell::after,
	.cq-main-screen,
	.cq-final-screen,
	.cq-thank-screen,
	.cq-millionaire-round,
	.cq-main-screen__btn,
	.cq-main-screen__btn::before,
	.cq-millionaire-answer__label,
	.cq-millionaire-answer__letter,
	.cq-questionnaire__progress-fill,
	.cq-question-card__feedback {
		animation: none !important;
		transition: none !important;
	}
}

@keyframes cq-fade-up {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes cq-reveal-up {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes cq-float-orb {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(22px, -18px, 0) scale(1.08);
	}
}

/* XP feedback layer -------------------------------------------------------
 * Visual only: values are configured as data attributes in the shortcode
 * markup. Logo stays controlled from the plugin settings; brand/background
 * colors remain grouped in the CSS variables at the top of this file.
 */
.cq-xp-stage {
	position: fixed;
	inset: 0;
	z-index: 1200;
	overflow: hidden;
	pointer-events: none;
	contain: layout paint;
}

.cq-xp-burst {
	position: absolute;
	right: -18rem;
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	min-width: 10.5rem;
	padding: 0.6rem 0.9rem 0.6rem 0.65rem;
	box-sizing: border-box;
	color: #fff;
	background: linear-gradient(135deg, rgba(35, 20, 73, 0.94), rgba(109, 82, 162, 0.92));
	border: 1px solid rgba(255, 255, 255, 0.62);
	border-radius: 999px;
	box-shadow:
		0 18px 48px rgba(18, 6, 50, 0.42),
		0 0 32px rgba(218, 205, 255, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	opacity: 0;
	will-change: transform, opacity;
	animation: cq-xp-flight 1.55s cubic-bezier(0.16, 0.8, 0.22, 1) forwards;
}

.cq-xp-burst__icon {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	flex: 0 0 2.75rem;
	font-size: 1.35rem;
	line-height: 1;
	background: rgba(255, 255, 255, 0.94);
	border: 2px solid rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	box-shadow: 0 8px 20px rgba(20, 8, 48, 0.28);
	text-shadow: none;
}

.cq-xp-burst__score {
	font-size: clamp(1rem, 2vw, 1.22rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.04em;
	white-space: nowrap;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.cq-final-screen__field--marketing {
	margin-top: 0.2rem;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.07);
}

@keyframes cq-xp-flight {
	0% {
		opacity: 0;
		transform: translate3d(0, 32px, 0) rotate(0deg) scale(0.82);
	}
	14% {
		opacity: 1;
		transform: translate3d(-20rem, 0, 0) rotate(0deg) scale(1.05);
	}
	62% {
		opacity: 1;
		transform: translate3d(-52vw, -34px, 0) rotate(var(--cq-xp-tilt, -5deg)) scale(1);
	}
	100% {
		opacity: 0;
		transform: translate3d(calc(-100vw - 20rem), -105px, 0) rotate(var(--cq-xp-tilt, -5deg)) scale(0.86);
	}
}

@media (max-width: 759px) {
	.cq-xp-burst {
		right: -14rem;
		min-width: 9.25rem;
		padding: 0.52rem 0.78rem 0.52rem 0.55rem;
	}

	.cq-xp-burst__icon {
		width: 2.35rem;
		height: 2.35rem;
		flex-basis: 2.35rem;
		font-size: 1.12rem;
	}

	@keyframes cq-xp-flight {
		0% {
			opacity: 0;
			transform: translate3d(0, 24px, 0) rotate(0deg) scale(0.82);
		}
		16% {
			opacity: 1;
			transform: translate3d(-15rem, 0, 0) rotate(0deg) scale(1.03);
		}
		65% {
			opacity: 1;
			transform: translate3d(-62vw, -28px, 0) rotate(var(--cq-xp-tilt, -5deg)) scale(0.98);
		}
		100% {
			opacity: 0;
			transform: translate3d(calc(-100vw - 15rem), -82px, 0) rotate(var(--cq-xp-tilt, -5deg)) scale(0.85);
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	.cq-xp-burst {
		right: 1rem;
		animation: cq-xp-reduced 0.9s ease-out forwards !important;
	}
}

@keyframes cq-xp-reduced {
	0% { opacity: 0; transform: scale(0.96); }
	20%, 75% { opacity: 1; transform: scale(1); }
	100% { opacity: 0; transform: scale(0.98); }
}

/* 1.10.1 interaction and layout fixes -----------------------------------
 * - Keep active panels in normal document flow so their real height is used.
 * - Remove nested viewport-height rules that caused large blank areas.
 * - Clip the visual XP layer so its flight path never expands page scrolling.
 */
.cq-gradient-shell {
	overflow-x: clip !important;
	overflow-y: visible !important;
	max-width: 100vw;
}

.cq-gradient-shell__content {
	height: auto !important;
	min-height: 100svh;
	min-height: 100dvh;
	justify-content: center;
}

.cq-intro-steps {
	height: auto !important;
	min-height: 0 !important;
	flex: 0 0 auto;
}

.cq-main-screen,
.cq-questions-screen,
.cq-final-screen,
.cq-thank-screen {
	flex: 0 0 auto !important;
	height: auto !important;
	min-height: 0 !important;
}

.cq-questionnaire__viewport {
	position: relative;
	height: auto !important;
	min-height: 0 !important;
	overflow: visible;
}

.cq-millionaire-round {
	position: relative !important;
	inset: auto !important;
}

.cq-millionaire-round[hidden],
.cq-main-screen[hidden],
.cq-questions-screen[hidden],
.cq-final-screen[hidden],
.cq-thank-screen[hidden] {
	display: none !important;
}

.cq-final-screen__card {
	margin: 0 auto;
}

.cq-xp-stage {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	height: 100dvh;
	max-width: 100vw;
	max-height: 100dvh;
	overflow: clip;
	contain: strict;
}

.cq-xp-burst {
	right: 0;
	max-width: min(18rem, calc(100vw - 1rem));
	animation-name: cq-xp-flight-safe;
}

@keyframes cq-xp-flight-safe {
	0% {
		opacity: 0;
		transform: translate3d(110%, 30px, 0) rotate(0deg) scale(0.84);
	}
	16% {
		opacity: 1;
		transform: translate3d(-1rem, 0, 0) rotate(0deg) scale(1.04);
	}
	66% {
		opacity: 1;
		transform: translate3d(-34vw, -30px, 0) rotate(var(--cq-xp-tilt, -5deg)) scale(1);
	}
	100% {
		opacity: 0;
		transform: translate3d(-58vw, -86px, 0) rotate(var(--cq-xp-tilt, -5deg)) scale(0.88);
	}
}

@media (max-width: 759px) {
	.cq-gradient-shell__content {
		min-height: 100svh;
		min-height: 100dvh;
	}

	.cq-xp-burst {
		right: 0;
		animation-name: cq-xp-flight-safe-mobile;
	}

	@keyframes cq-xp-flight-safe-mobile {
		0% {
			opacity: 0;
			transform: translate3d(110%, 22px, 0) rotate(0deg) scale(0.84);
		}
		18% {
			opacity: 1;
			transform: translate3d(-0.65rem, 0, 0) rotate(0deg) scale(1.02);
		}
		68% {
			opacity: 1;
			transform: translate3d(-28vw, -24px, 0) rotate(var(--cq-xp-tilt, -5deg)) scale(0.98);
		}
		100% {
			opacity: 0;
			transform: translate3d(-52vw, -68px, 0) rotate(var(--cq-xp-tilt, -5deg)) scale(0.88);
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	.cq-xp-burst {
		right: 1rem;
		animation-name: cq-xp-reduced !important;
	}
}

/* 1.10.3 Evolution campaign branding and semantic typography -----------
 * Font files are expected in assets/fonts/ using the original filenames:
 * - Didot.ttc (Bold face from the collection)
 * - Montserrat-Italic-VariableFont_wght.ttf
 *
 * The selectors follow meaning rather than the current wording, so edited
 * copy keeps the correct hierarchy automatically.
 */
@font-face {
	font-family: "CQ Didot";
	src:
		local("Didot Bold"),
		local("Didot-Bold"),
		url("./fonts/Didot.ttc#Didot-Bold") format("collection"),
		url("./fonts/Didot.ttc#3") format("collection");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}

@font-face {
	font-family: "CQ Montserrat";
	src:
		local("Montserrat Italic"),
		local("Montserrat"),
		url("./fonts/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
}

.cq-gradient-shell {
	--cq-campaign-yellow: #fefd01;
	--cq-campaign-purple: #291749;
	--cq-campaign-white: #ffffff;
	--cq-heading-font: "CQ Didot", Didot, "Didot LT STD", "Bodoni 72", "Bodoni MT", Bodoni, "Times New Roman", serif;
	--cq-copy-font: "CQ Montserrat", Montserrat, Arial, sans-serif;
	background: #b40047 url("./evolution-background.png") center bottom / cover no-repeat;
	background-attachment: fixed;
	font-family: var(--cq-copy-font);
	font-style: italic;
	font-weight: 400;
	font-synthesis: none;
}

.cq-gradient-shell::before {
	background:
		linear-gradient(180deg, rgba(41, 23, 73, 0.06) 0%, rgba(41, 23, 73, 0.14) 58%, rgba(19, 8, 33, 0.34) 100%),
		url("./evolution-background.png") center bottom / cover no-repeat;
	background-attachment: fixed;
}

.cq-gradient-shell__blobs,
.cq-gradient-shell::after {
	display: none !important;
}

/* 1) Heading/title: Didot Bold + yellow. */
.cq-main-screen__heading,
.cq-final-screen__heading,
.cq-thank-screen__heading,
.cq-millionaire-question-bar,
.cq-main-screen__text :is(h1, h2),
.cq-final-screen__text :is(h1, h2),
.cq-thank-screen__text :is(h1, h2) {
	font-family: var(--cq-heading-font) !important;
	font-style: normal !important;
	font-weight: 700 !important;
	color: var(--cq-campaign-yellow) !important;
	letter-spacing: -0.025em;
	text-shadow: 0 3px 18px rgba(41, 23, 73, 0.48);
	font-synthesis: none;
}

/* 2) Subheading/emphasis/button/field label: Montserrat SemiBold Italic. */
.cq-question-card__subtitle,
.cq-millionaire-answer__title,
.cq-final-screen__label,
.cq-main-screen__btn,
.cq-questionnaire__nav,
.cq-main-screen__text :is(h3, h4, h5, h6, strong, b),
.cq-final-screen__text :is(h3, h4, h5, h6, strong, b),
.cq-thank-screen__text :is(h3, h4, h5, h6, strong, b) {
	font-family: var(--cq-copy-font) !important;
	font-style: italic !important;
	font-weight: 600 !important;
	color: var(--cq-campaign-white);
	font-synthesis: none;
}

/* 3) Normal/body/supporting text: Montserrat Italic. */
.cq-main-screen__text,
.cq-final-screen__text,
.cq-thank-screen__text,
.cq-main-screen__text :is(p, li, span, a),
.cq-final-screen__text :is(p, li, span, a),
.cq-thank-screen__text :is(p, li, span, a),
.cq-millionaire-answer__text,
.cq-millionaire-answer__meta,
.cq-questionnaire__eyebrow,
.cq-question-card__eyebrow,
.cq-questionnaire__progress-copy,
.cq-question-card__footer-progress-title,
.cq-question-card__footer-progress-label,
.cq-final-screen__check,
.cq-questions-screen__alert,
.cq-final-screen__error {
	font-family: var(--cq-copy-font) !important;
	font-style: italic !important;
	font-weight: 400;
	font-synthesis: none;
}

/* Keep semantic emphasis at semibold even when nested in body elements. */
.cq-main-screen__text :is(strong, b),
.cq-final-screen__text :is(strong, b),
.cq-thank-screen__text :is(strong, b) {
	font-weight: 600 !important;
}

/* Emoji/icon glyphs must not inherit the campaign text font. */
.cq-millionaire-answer__letter,
.cq-xp-burst__icon {
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
	font-style: normal !important;
	font-weight: 400 !important;
}

/* Glass panels allow the artwork to remain visible. */
.cq-main-screen__card,
.cq-final-screen__card,
.cq-thank-screen__card,
.cq-question-card__header {
	background: linear-gradient(180deg, rgba(41, 23, 73, 0.34), rgba(41, 23, 73, 0.18));
	border-color: rgba(255, 255, 255, 0.48);
	box-shadow:
		0 28px 64px rgba(22, 7, 36, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* #291749 at 60% with a white-to-yellow 1px gradient border. */
.cq-main-screen__btn,
.cq-questionnaire__nav,
.cq-millionaire-answer__label {
	color: var(--cq-campaign-white) !important;
	border: 1px solid transparent !important;
	background:
		linear-gradient(rgba(41, 23, 73, 0.60), rgba(41, 23, 73, 0.60)) padding-box,
		linear-gradient(105deg, var(--cq-campaign-white), var(--cq-campaign-yellow)) border-box !important;
	box-shadow:
		0 16px 38px rgba(20, 6, 34, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cq-main-screen__btn:hover,
.cq-main-screen__btn:focus,
.cq-questionnaire__nav:hover:not(:disabled),
.cq-questionnaire__nav:focus-visible:not(:disabled),
.cq-millionaire-answer__label:hover,
.cq-millionaire-answer__input:checked + .cq-millionaire-answer__label {
	background:
		linear-gradient(rgba(41, 23, 73, 0.76), rgba(41, 23, 73, 0.76)) padding-box,
		linear-gradient(105deg, var(--cq-campaign-white), var(--cq-campaign-yellow)) border-box !important;
	border-color: transparent !important;
	box-shadow:
		0 20px 48px rgba(20, 6, 34, 0.38),
		0 0 26px rgba(254, 253, 1, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* White fields at 15% opacity with a 1px white stroke. */
.cq-final-screen__input {
	background: rgba(255, 255, 255, 0.15) !important;
	border: 1px solid var(--cq-campaign-white) !important;
	color: var(--cq-campaign-white) !important;
	font-family: var(--cq-copy-font) !important;
	font-style: italic !important;
	font-weight: 400;
	font-synthesis: none;
}

.cq-final-screen__input::placeholder {
	color: rgba(255, 255, 255, 0.68);
}

.cq-final-screen__input:focus {
	outline: 2px solid var(--cq-campaign-yellow);
	outline-offset: 2px;
	box-shadow: 0 0 0 4px rgba(254, 253, 1, 0.13);
}

.cq-final-screen__check,
.cq-final-screen__field--marketing {
	background: rgba(255, 255, 255, 0.15) !important;
	border: 1px solid var(--cq-campaign-white) !important;
}

.cq-final-screen__check input {
	accent-color: var(--cq-campaign-yellow);
}

.cq-final-screen__link {
	color: var(--cq-campaign-yellow) !important;
}

.cq-question-card__footer-progress-fill,
.cq-questionnaire__progress-fill {
	background: linear-gradient(90deg, var(--cq-campaign-white), var(--cq-campaign-yellow));
	box-shadow: 0 0 18px rgba(254, 253, 1, 0.38);
}

.cq-millionaire-answer__letter {
	color: var(--cq-campaign-purple);
	background: rgba(255, 255, 255, 0.94);
	border-color: var(--cq-campaign-yellow);
}

.cq-xp-burst {
	background:
		linear-gradient(rgba(41, 23, 73, 0.78), rgba(41, 23, 73, 0.78)) padding-box,
		linear-gradient(105deg, var(--cq-campaign-white), var(--cq-campaign-yellow)) border-box;
	border: 1px solid transparent;
}

.cq-xp-burst__score {
	font-family: var(--cq-copy-font) !important;
	font-style: italic !important;
	font-weight: 600;
	color: var(--cq-campaign-yellow);
	font-synthesis: none;
}

@media (max-width: 767px) {
	.cq-gradient-shell,
	.cq-gradient-shell::before {
		background-position: center bottom;
		background-attachment: scroll;
	}
}

/* Build 1.11.7: prevent delayed mobile taps from selecting an answer during the intro transition. */
.cq-questions-screen--input-locked .cq-millionaire-answers {
	pointer-events: none !important;
}

/* v1.11.8: progress indicator on the successful thank-you screen. */
.cq-question-card__footer-progress--thank {
	margin-top: 1.5rem;
	margin-bottom: 0.25rem;
}


/* v1.11.9: contact and thank-you progress bars live outside a question round.
 * The shared reveal animation sets every .cq-question-card__footer-progress to
 * opacity: 0 and only reveals progress bars nested inside .cq-millionaire-round.
 * Force these two standalone progress indicators to remain visible. */
.cq-final-screen .cq-question-card__footer-progress--form,
.cq-thank-screen .cq-question-card__footer-progress--thank {
	display: flex !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	animation: none !important;
}

.cq-final-screen .cq-question-card__footer-progress--form .cq-question-card__footer-progress-fill,
.cq-thank-screen .cq-question-card__footer-progress--thank .cq-question-card__footer-progress-fill {
	display: block !important;
}
