.pttq-quiz {
	font-family: Inter, system-ui, sans-serif;
}

.pttq-open {
	display: inline-block;
	border: 0;
	border-radius: 30px;
	background: #3e7355;
	color: #fff;
	font-family: Inter, system-ui, sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 14px 28px;
	cursor: pointer;
}

.pttq-open:hover {
	background: #28563d;
}

.pttq-style-host {
	display: contents;
}

.pttq-overlay {
	--pttq-card: #fefef3;
	--pttq-ink: #242a1f;
	--pttq-soft: #63684f;
	--pttq-green: #3e7355;
	--pttq-green-dark: #28563d;
	--pttq-tint: #e9efe3;
	--pttq-line: #e1dcc8;
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 40px 18px 48px;
	background: rgba(23, 27, 18, 0.72);
	overflow: auto;
	box-sizing: border-box;
}

.pttq-overlay *,
.pttq-overlay *::before,
.pttq-overlay *::after {
	box-sizing: border-box;
}

.pttq-card {
	position: relative;
	width: 100%;
	max-width: 600px;
	margin-top: 24px;
	padding: 26px 34px 34px;
	border-radius: 6px;
	background: var(--pttq-card);
	color: var(--pttq-ink);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
	font-family: Inter, system-ui, sans-serif;
}

.pttq-card.is-pending {
	overflow: hidden;
}

.pttq-strings {
	display: none;
}

.pttq-pending {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--pttq-card);
}

.pttq-pending::before {
	content: "";
	width: 28px;
	height: 28px;
	border: 2px solid var(--pttq-tint);
	border-top-color: var(--pttq-green);
	border-radius: 50%;
	animation: pttq-spin 0.7s linear infinite;
}

@keyframes pttq-spin {
	to {
		transform: rotate(360deg);
	}
}

.pttq-card-head {
	display: grid;
	align-items: center;
	margin-bottom: 26px;
}

.pttq-eyebrow {
	grid-area: 1 / 1;
	min-width: 0;
	padding-right: 42px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-align: left;
	color: var(--pttq-soft);
}

.pttq-close {
	grid-area: 1 / 1;
	justify-self: end;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--pttq-line);
	border-radius: 4px;
	background: transparent;
	color: var(--pttq-soft);
	cursor: pointer;
}

.pttq-close svg {
	width: 13px;
	height: 13px;
}

.pttq-progress {
	display: flex;
	gap: 5px;
	justify-content: center;
	margin-bottom: 22px;
}

.pttq-progress i {
	display: block;
	width: 18px;
	height: 3px;
	border-radius: 2px;
	background: var(--pttq-line);
}

.pttq-progress i.is-done {
	background: #b7c4a6;
}

.pttq-progress i.is-now {
	width: 28px;
	background: var(--pttq-green);
}

.pttq-meta,
.pttq-sub {
	text-align: center;
	color: var(--pttq-soft);
}

.pttq-meta {
	margin-bottom: 8px;
	font-size: 13px;
}

.pttq-title {
	margin: 0 0 30px;
	font-family: Fraunces, Georgia, serif;
	font-size: clamp(24px, 4.6vw, 32px);
	font-weight: 500;
	line-height: 1.28;
	text-align: center;
	color: var(--pttq-ink);
}

.pttq-sub {
	margin: -16px 0 24px;
	font-size: 14px;
}

.pttq-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pttq-opt,
.pttq-chip,
.pttq-next,
.pttq-back,
.pttq-ghost {
	font-family: inherit;
	cursor: pointer;
}

.pttq-opt {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	padding: 16px 20px;
	border: 1px solid var(--pttq-line);
	border-radius: 5px;
	background: transparent;
	color: var(--pttq-ink);
	font-size: 16px;
	text-align: left;
}

.pttq-opt.is-selected {
	border-color: var(--pttq-green);
	background: var(--pttq-tint);
}

.pttq-icon {
	display: flex;
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--pttq-soft);
}

.pttq-opt.is-selected .pttq-icon {
	color: var(--pttq-green-dark);
}

.pttq-icon svg {
	width: 20px;
	height: 20px;
}

.pttq-chipgrid {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.pttq-chip {
	padding: 10px 16px;
	border: 1px solid var(--pttq-line);
	border-radius: 20px;
	background: transparent;
	color: var(--pttq-ink);
	font-size: 14px;
}

.pttq-chip.is-selected {
	border-color: var(--pttq-green);
	background: var(--pttq-green);
	color: #fff;
}

.pttq-nav {
	margin-top: 28px;
}

.pttq-next {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 30px;
	background: var(--pttq-green);
	color: #fff;
	font-size: 14.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	padding: 16px 26px;
}

.pttq-next:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.pttq-next:hover:not(:disabled) {
	background: var(--pttq-green-dark);
}

.pttq-back {
	display: block;
	width: 100%;
	margin: 14px 0 0;
	border: 0;
	background: none;
	color: var(--pttq-soft);
	font-size: 13px;
	text-align: center;
	text-decoration: underline;
}

.pttq-result-head {
	text-align: center;
}

.pttq-leaf {
	display: block;
	width: 32px;
	height: 32px;
	margin: 0 auto 14px;
	color: var(--pttq-green);
}

.pttq-result-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

.pttq-result {
	display: flex;
	flex-direction: column;
	padding: 16px 18px;
	border: 1px solid var(--pttq-line);
	border-radius: 6px;
}

.pttq-result.is-top {
	border-color: var(--pttq-green);
	background: var(--pttq-tint);
}

.pttq-result-main {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.pttq-result-main img {
	width: 72px;
	height: 72px;
	flex: none;
	object-fit: cover;
	border-radius: 4px;
	background: #fff;
}

.pttq-result-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.pttq-result-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: baseline;
	gap: 12px;
	margin: 0;
}

.pttq-result-name {
	min-width: 0;
	font-family: Fraunces, Georgia, serif;
	font-size: 18px;
	font-weight: 500;
	text-align: left;
}

.pttq-result-score {
	min-width: 0;
	color: var(--pttq-soft);
	font-size: 13px;
	line-height: 1.4;
	text-align: right;
}

.pttq-price,
.pttq-price .price,
.pttq-price p,
.pttq-price span,
.pttq-price bdi,
.pttq-price ins,
.pttq-price del {
	display: inline;
	float: none;
	position: static;
	margin: 0;
	padding: 0;
	color: var(--pttq-soft);
	font-size: 14px;
	line-height: 1.4;
	text-align: inherit;
}

.pttq-price {
	display: block;
}

.pttq-price del {
	opacity: 0.7;
	margin-right: 6px;
}

.pttq-bar {
	display: block;
	height: 4px;
	margin: 2px 0;
	overflow: hidden;
	border-radius: 3px;
	background: var(--pttq-line);
}

.pttq-bar span {
	display: block;
	height: 100%;
	background: var(--pttq-green);
}

.pttq-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

.pttq-badge {
	padding: 3px 9px;
	border: 1px solid rgba(62, 115, 85, 0.2);
	border-radius: 12px;
	background: rgba(62, 115, 85, 0.1);
	color: var(--pttq-green-dark);
	font-size: 11.5px;
}

.pttq-view {
	display: inline-block;
	margin: 2px 0 0;
	color: var(--pttq-green-dark);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.4;
	text-decoration: none;
}

.pttq-foot {
	margin-top: 20px;
}

.pttq-ghost {
	display: block;
	width: 100%;
	text-align: center;
	padding: 13px 20px;
	border: 1px solid var(--pttq-line);
	border-radius: 30px;
	background: transparent;
	color: var(--pttq-soft);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
}

.pttq-message {
	text-align: center;
	color: var(--pttq-soft);
}

@media (max-width: 520px) {
	.pttq-card {
		padding: 22px 20px 26px;
	}
}
