:root .dse-quiz {
	max-width: 1000px;
}

:root .dse-quiz .dse-quiz__card {
	position: relative;
}

:root .dse-quiz .dse-quiz__eyebrow {
	margin: 0;
	color: var(--dse-primary);
	font-size: 13px;
	line-height: 20px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

:root .dse-quiz .dse-quiz__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--dse-space-3);
}

:root .dse-quiz .dse-quiz__buttons .dse-btn {
	height: auto;
	min-height: 56px;
	padding: 12px 28px;
}

:root .dse-quiz .dse-quiz__embed.is-copied {
	border-color: var(--dse-success);
	color: var(--dse-success);
}

:root .dse-quiz [tabindex="-1"]:focus {
	outline: none;
}

:root .dse-quiz .dse-quiz__start {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	min-height: 440px;
}

:root .dse-quiz .dse-quiz__start-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px var(--dse-tool-pad) 48px 48px;
}

:root .dse-quiz .dse-quiz__title {
	margin: var(--dse-space-3) 0 var(--dse-space-4);
	color: var(--dse-ink);
	font-family: inherit;
	font-size: 40px;
	line-height: 46px;
	font-weight: 800;
	letter-spacing: -0.02em;
	text-transform: none;
}

:root .dse-quiz .dse-quiz__lede {
	margin: 0 0 var(--dse-space-5);
	color: var(--dse-ink-muted);
	font-size: 18px;
	line-height: 30px;
}

:root .dse-quiz .dse-quiz__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--dse-space-2);
	margin: 0 0 var(--dse-space-6);
	padding: 0;
	list-style: none;
}

:root .dse-quiz .dse-quiz__meta li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 6px 14px;
	border: 1px solid var(--dse-line);
	border-radius: var(--dse-radius-full);
	background: var(--dse-surface);
	color: var(--dse-ink);
	font-size: 14px;
	line-height: 20px;
	font-weight: 700;
}

:root .dse-quiz .dse-quiz__meta .dse-icon {
	width: 16px;
	height: 16px;
	color: var(--dse-primary);
	stroke-width: 2.5;
}

:root .dse-quiz .dse-quiz__start-art {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 40px 32px 32px;
	background: var(--dse-surface-dark);
}

:root .dse-quiz .dse-quiz__orb {
	position: absolute;
	border-radius: var(--dse-radius-full);
	pointer-events: none;
}

:root .dse-quiz .dse-quiz__orb--lg {
	top: -90px;
	right: -100px;
	width: 300px;
	height: 300px;
	background: var(--dse-accent);
	opacity: 0.9;
}

:root .dse-quiz .dse-quiz__orb--sm {
	bottom: -50px;
	left: -40px;
	width: 150px;
	height: 150px;
	background: var(--dse-primary);
}

:root .dse-quiz .dse-quiz__bubble {
	position: relative;
	z-index: 1;
	max-width: 260px;
	margin: 0 0 var(--dse-space-4);
	padding: 14px 18px;
	border-radius: var(--dse-radius-lg);
	background: var(--dse-surface);
	color: var(--dse-ink);
	font-size: 15px;
	line-height: 22px;
	box-shadow: var(--dse-shadow-md);
}

:root .dse-quiz .dse-quiz__bubble strong {
	display: block;
	margin-bottom: 2px;
	font-size: 16px;
	font-weight: 800;
}

:root .dse-quiz .dse-quiz__bubble::after {
	position: absolute;
	bottom: -8px;
	left: 50%;
	width: 16px;
	height: 16px;
	background: inherit;
	content: "";
	transform: translateX(-50%) rotate(45deg);
}

:root .dse-quiz .dse-quiz__start-art .dse-quiz__pippa {
	position: relative;
	z-index: 1;
}

:root .dse-quiz .dse-quiz__progress {
	padding-top: var(--dse-space-5);
}

:root .dse-quiz .dse-quiz__progress .dse-tool__step {
	min-width: 112px;
}

:root .dse-quiz .dse-quiz__pct {
	flex: none;
	min-width: 40px;
	color: var(--dse-ink-muted);
	font-size: 13px;
	line-height: 20px;
	font-weight: 800;
	text-align: right;
}

:root .dse-quiz .dse-quiz__ask {
	display: flex;
	align-items: center;
	gap: var(--dse-space-3);
	margin-bottom: var(--dse-space-3);
}

:root .dse-quiz .dse-quiz__badge,
:root .dse-quiz .dse-quiz__tag {
	display: inline-flex;
	padding: 4px 12px;
	border-radius: var(--dse-radius-full);
	background: var(--dse-surface-tint);
	color: var(--dse-primary-hover);
	font-size: 13px;
	line-height: 20px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

:root .dse-quiz .dse-quiz__statement {
	margin: 0 0 28px;
	color: var(--dse-ink);
	font-size: 30px;
	line-height: 40px;
	font-weight: 800;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

:root .dse-quiz .dse-quiz__answers {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--dse-space-4);
}

:root .dse-quiz .dse-quiz__answer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	height: 88px;
	margin: 0;
	padding: 0 var(--dse-space-5);
	border: 2px solid var(--dse-line);
	border-radius: var(--dse-radius-lg);
	background: var(--dse-surface);
	color: var(--dse-ink);
	font: 800 22px/28px var(--dse-font-sans);
	transition: transform 0.15s, border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

:root .dse-quiz .dse-quiz__answer:hover {
	box-shadow: var(--dse-shadow-sm);
	color: var(--dse-ink);
	transform: translateY(-2px);
}

:root .dse-quiz .dse-quiz__answer:active {
	transform: translateY(1px);
}

:root .dse-quiz .dse-quiz__answer--true:hover {
	border-color: var(--dse-success);
	background: var(--dse-success-soft);
}

:root .dse-quiz .dse-quiz__answer--false:hover {
	border-color: var(--dse-danger);
	background: var(--dse-danger-soft);
}

:root .dse-quiz .dse-quiz__answer-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--dse-radius-full);
}

:root .dse-quiz .dse-quiz__answer-icon .dse-icon {
	width: 24px;
	height: 24px;
	stroke-width: 3;
}

:root .dse-quiz .dse-quiz__answer--true .dse-quiz__answer-icon {
	background: var(--dse-success-soft);
	color: var(--dse-success);
}

:root .dse-quiz .dse-quiz__answer--false .dse-quiz__answer-icon {
	background: var(--dse-danger-soft);
	color: var(--dse-danger);
}

:root .dse-quiz .dse-quiz__answer:hover .dse-quiz__answer-icon {
	background: var(--dse-surface);
}

:root .dse-quiz .dse-quiz__hint {
	margin: 20px 0 0;
	color: var(--dse-ink-muted);
	font-size: 15px;
	line-height: 24px;
	text-align: center;
}

:root .dse-quiz .dse-quiz__verdict {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: var(--dse-space-5);
	padding: 18px 24px 18px 18px;
	border-radius: var(--dse-radius-lg);
	background: var(--dse-success-soft);
}

:root .dse-quiz .is-wrong .dse-quiz__verdict {
	background: var(--dse-warning-soft);
}

:root .dse-quiz .dse-quiz__verdict .dse-quiz__tag {
	background: var(--dse-surface);
	color: var(--dse-success);
}

:root .dse-quiz .is-wrong .dse-quiz__verdict .dse-quiz__tag {
	color: var(--dse-warning);
}

:root .dse-quiz .dse-quiz__verdict-title {
	margin: 6px 0 2px;
	color: var(--dse-ink);
	font-family: inherit;
	font-size: 28px;
	line-height: 34px;
	font-weight: 800;
	letter-spacing: -0.015em;
}

:root .dse-quiz .dse-quiz__verdict p {
	margin: 0;
	color: var(--dse-ink);
	font-size: 16px;
	line-height: 26px;
}

:root .dse-quiz .dse-quiz__quote {
	margin: 0 0 var(--dse-space-5);
	padding: var(--dse-space-4) 20px;
	border: 0;
	border-left: 4px solid var(--dse-primary);
	border-radius: 0 var(--dse-radius-md) var(--dse-radius-md) 0;
	background: var(--dse-surface-alt);
}

:root .dse-quiz .dse-quiz__quote p {
	margin: 0;
	color: var(--dse-ink);
	font-size: 18px;
	line-height: 28px;
	font-weight: 700;
	font-style: normal;
}

:root .dse-quiz .dse-quiz__why p {
	margin: 0;
	color: var(--dse-ink);
	font-size: 17px;
	line-height: 28px;
}

:root .dse-quiz .dse-quiz__why .dse-quiz__why-title {
	margin-bottom: var(--dse-space-2);
	color: var(--dse-ink-muted);
	font-size: 13px;
	line-height: 20px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

:root .dse-quiz .dse-quiz__result {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	align-items: center;
	gap: 40px;
	padding: 40px 48px 44px;
}

:root .dse-quiz .dse-quiz__confetti {
	position: absolute;
	z-index: 2;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

:root .dse-quiz .dse-quiz__result-art {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 24px;
	background: var(--dse-surface-dark);
}

:root .dse-quiz .dse-quiz__result-art .dse-quiz__orb--lg {
	top: -110px;
	right: -110px;
}

:root .dse-quiz .dse-quiz__result-art .dse-quiz__pippa {
	position: relative;
	max-width: 80%;
	height: auto !important;
	aspect-ratio: 1;
}

:root .dse-quiz .dse-quiz__score {
	display: flex;
	align-items: baseline;
	gap: var(--dse-space-2);
	margin: var(--dse-space-2) 0 var(--dse-space-1);
}

:root .dse-quiz .dse-quiz__score-num {
	color: var(--dse-primary);
	font-size: 72px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.03em;
}

:root .dse-quiz .dse-quiz__score-of {
	color: var(--dse-ink-muted);
	font-size: 28px;
	line-height: 1;
	font-weight: 800;
}

:root .dse-quiz .dse-quiz__grade {
	margin: var(--dse-space-3) 0 var(--dse-space-2);
	color: var(--dse-ink);
	font-family: inherit;
	font-size: 30px;
	line-height: 38px;
	font-weight: 800;
	letter-spacing: -0.015em;
}

:root .dse-quiz .dse-quiz__grade-line {
	margin: 0 0 20px;
	color: var(--dse-ink-muted);
	font-size: 17px;
	line-height: 28px;
}

:root .dse-quiz .dse-quiz__dots {
	display: flex;
	flex-wrap: wrap;
	gap: var(--dse-space-2);
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

:root .dse-quiz .dse-quiz__dots li {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	border-radius: var(--dse-radius-full);
}

:root .dse-quiz .dse-quiz__dots .is-right {
	background: var(--dse-success);
	color: var(--dse-surface);
}

:root .dse-quiz .dse-quiz__dots .is-wrong {
	background: var(--dse-danger-soft);
	color: var(--dse-danger);
}

:root .dse-quiz .dse-quiz__dots .dse-icon {
	width: 16px;
	height: 16px;
	stroke-width: 3.5;
}

:root .dse-quiz .dse-quiz__foot {
	margin: 20px 0 0;
	color: var(--dse-ink-muted);
	font-size: 14px;
	line-height: 22px;
}

:root .dse-quiz .dse-quiz__pippa {
	display: inline-block;
	flex: none;
	line-height: 0;
}

:root .dse-quiz .dse-quiz__body {
	fill: var(--dse-brand-main);
}

:root .dse-quiz .dse-quiz__pippa.is-bobbing {
	animation: dse-quiz-bob 3.4s ease-in-out infinite;
	transform-origin: 50% 80%;
}

:root .dse-quiz .dse-quiz__pippa--nervous .dse-quiz__pupils {
	animation: dse-quiz-glance 4.4s ease-in-out infinite;
	transform: translateX(5px);
	transform-box: fill-box;
	transform-origin: center;
}

:root .dse-quiz .dse-quiz__glass {
	animation: dse-quiz-wiggle 4s ease-in-out infinite;
	transform-origin: 0 36px;
}

:root .dse-quiz .dse-quiz__sparkles {
	animation: dse-quiz-sparkle 2.6s ease-in-out infinite;
	transform-origin: 50% 50%;
}

@keyframes dse-quiz-bob {
	0%,
	100% {
		transform: translateY(0) rotate(-1.5deg);
	}

	50% {
		transform: translateY(-10px) rotate(1.5deg);
	}
}

@keyframes dse-quiz-glance {
	0%,
	18% {
		transform: translateX(5px);
	}

	30%,
	54% {
		transform: translateX(-5px);
	}

	66%,
	78% {
		transform: translateX(5px);
	}

	90%,
	100% {
		transform: translateX(-5px);
	}
}

@keyframes dse-quiz-wiggle {
	0%,
	100% {
		transform: rotate(-1deg);
	}

	50% {
		transform: rotate(7deg);
	}
}

@keyframes dse-quiz-sparkle {
	0%,
	100% {
		opacity: 0.45;
		transform: scale(0.96) rotate(0deg);
	}

	50% {
		opacity: 1;
		transform: scale(1.06) rotate(8deg);
	}
}

:root .dse-quiz .dse-quiz__brand {
	display: flex;
	justify-content: center;
	padding: 14px var(--dse-tool-pad);
	border-top: 1px solid var(--dse-line);
	background: var(--dse-surface-alt);
}

:root .dse-quiz .dse-quiz__brand img {
	display: block;
	width: auto;
	height: 30px;
}

:root .dse-tool-embed .dse-quiz {
	max-width: none;
}

@media (max-width: 767px) {
	:root .dse-quiz .dse-quiz__start {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	:root .dse-quiz .dse-quiz__start-copy {
		padding: 32px var(--dse-tool-pad);
	}

	:root .dse-quiz .dse-quiz__start-art {
		order: -1;
		padding: 28px 20px 16px;
	}

	:root .dse-quiz .dse-quiz__start-art .dse-quiz__pippa {
		width: 150px !important;
		height: 150px !important;
	}

	:root .dse-quiz .dse-quiz__title {
		font-size: 30px;
		line-height: 36px;
	}

	:root .dse-quiz .dse-quiz__statement {
		font-size: 24px;
		line-height: 32px;
	}

	:root .dse-quiz .dse-quiz__answers {
		gap: var(--dse-space-3);
	}

	:root .dse-quiz .dse-quiz__answer {
		flex-direction: column;
		gap: 6px;
		height: 104px;
		font-size: 19px;
	}

	:root .dse-quiz .dse-quiz__verdict .dse-quiz__pippa {
		width: 64px !important;
		height: 64px !important;
	}

	:root .dse-quiz .dse-quiz__verdict-title {
		font-size: 23px;
		line-height: 30px;
	}

	:root .dse-quiz .dse-quiz__result {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--dse-space-5);
		padding: 24px var(--dse-tool-pad) 32px;
	}

	:root .dse-quiz .dse-quiz__result-art {
		max-width: 220px;
	}

	:root .dse-quiz .dse-quiz__score-num {
		font-size: 56px;
	}

	:root .dse-quiz .dse-quiz__buttons .dse-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	:root .dse-quiz .dse-quiz__pippa.is-bobbing,
	:root .dse-quiz .dse-quiz__pippa--nervous .dse-quiz__pupils,
	:root .dse-quiz .dse-quiz__glass,
	:root .dse-quiz .dse-quiz__sparkles {
		animation: none;
	}
}
