.wcqg {
	--wcqg-track: rgba(227, 194, 197, 0.45);
	--wcqg-fill: #e8cfd1;
	--wcqg-dot: #edd9db;
	--wcqg-dot-active: #dfbcc0;
	--wcqg-dot-core: rgba(255, 255, 255, 0.45);
	--wcqg-text: currentColor;
	margin-top: 14px;
	width: 100%;
	max-width: 520px;
}

.wcqg__labels {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--wcqg-text);
}

.wcqg__label {
	flex: 1 1 0;
	text-align: center;
	white-space: nowrap;
}

.wcqg__track {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 28px;
}

.wcqg__track::before {
	content: "";
	position: absolute;
	left: 10px;
	right: 10px;
	top: 50%;
	height: 6px;
	border-radius: 999px;
	transform: translateY(-50%);
	background: var(--wcqg-track);
}

.wcqg__fill {
	position: absolute;
	left: 10px;
	top: 50%;
	height: 6px;
	width: 0;
	border-radius: 999px;
	transform: translateY(-50%);
	background: var(--wcqg-fill);
	transition: width 0.2s ease;
}

.wcqg__dot {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--wcqg-dot);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.wcqg__dot-core {
	display: block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--wcqg-dot-core);
}

.wcqg__dot.is-active {
	background: var(--wcqg-dot-active);
	transform: scale(1.04);
}

@media (max-width: 640px) {
	.wcqg__labels {
		font-size: 10px;
		gap: 8px;
	}

	.wcqg__track {
		height: 24px;
	}

	.wcqg__dot {
		width: 24px;
		height: 24px;
	}

	.wcqg__dot-core {
		width: 10px;
		height: 10px;
	}
}

@media (prefers-color-scheme: dark) {
	.wcqg {
		--wcqg-track: rgba(199, 164, 168, 0.25);
		--wcqg-fill: #c7999f;
		--wcqg-dot: #6e5357;
		--wcqg-dot-active: #d1a4a9;
		--wcqg-dot-core: rgba(255, 255, 255, 0.4);
		--wcqg-text: #f6eaea;
	}
}

.wcqg-editor-notice {
	padding: 12px 14px;
	border: 1px dashed #c7b4b6;
	border-radius: 8px;
	color: #6e5357;
	font-size: 13px;
}
