.its-ar-widget {
	max-width: 480px;
	margin: 0 auto;
	text-align: center;
	font-family: inherit;
}

.its-ar-scale {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.its-ar-label {
	font-size: 12px;
	color: #6b7280;
	white-space: nowrap;
}

.its-ar-circles {
	display: flex;
	align-items: center;
	gap: 10px;
	position: relative;
	padding: 0 4px;
}

.its-ar-circles::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 26px;
	right: 26px;
	height: 2px;
	background: #d1d5db;
	transform: translateY(-50%);
	z-index: 0;
}

.its-ar-circle {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid #9ca3af;
	background: #ffffff;
	color: #374151;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	position: relative;
	z-index: 1;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
}

.its-ar-circle:hover:not(:disabled) {
	border-color: #0E96EA;
	background: #e8f4fd;
	color: #0E96EA;
}

.its-ar-circle--selected {
	background: #96C83D !important;
	border-color: #96C83D !important;
	color: #ffffff !important;
}

.its-ar-circle:disabled,
.its-ar-circle:disabled:hover,
.its-ar-circle:disabled:focus,
.its-ar-circle:disabled:active {
	cursor: default;
	border-color: #d1d5db !important;
	background: #ffffff !important;
	color: #9ca3af !important;
	box-shadow: none !important;
}

.its-ar-circle--selected:disabled,
.its-ar-circle--selected:disabled:hover {
	background: #96C83D !important;
	border-color: #96C83D !important;
	color: #ffffff !important;
	opacity: 1;
}

.its-ar-thanks {
	margin-top: 16px;
	animation: itsArFadeIn 0.3s ease;
}

.its-ar-thanks-title {
	font-size: 16px;
	font-weight: 600;
	color: #0070A3;
	margin: 0 0 4px 0;
}

.its-ar-thanks-sub {
	font-size: 14px;
	color: #6b7280;
	margin: 0;
	line-height: 1.5;
}

/* [its_article_rating_avg] — compact inline display */
.its-ar-avg {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 14px;
	color: #6b7280;
	line-height: 1;
}

.its-ar-avg-icon {
	display: inline-flex;
	align-items: center;
	width: 24px;
	height: 24px;
}

.its-ar-avg-icon svg {
	width: 100%;
	height: 100%;
}

.its-ar-avg-label {
	color: #6b7280;
}

.its-ar-avg-value {
	font-weight: 600;
	color: #374151;
}

.its-ar-avg-separator,
.its-ar-avg-max {
	color: #9ca3af;
}

.its-ar-avg-count {
	font-size: 12px;
	color: #9ca3af;
}

@keyframes itsArFadeIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 480px) {
	.its-ar-widget {
		max-width: 100%;
		box-sizing: border-box;
	}

	.its-ar-scale {
		flex-wrap: wrap;
		gap: 4px;
	}

	.its-ar-label {
		order: 1;
		width: auto;
		flex: 1;
	}

	.its-ar-label--left {
		text-align: left;
	}

	.its-ar-label--right {
		text-align: right;
	}

	.its-ar-circles {
		order: 0;
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 360px) {
	.its-ar-circle {
		width: 36px;
		height: 36px;
		font-size: 14px;
	}

	.its-ar-circles {
		gap: 6px;
	}

	.its-ar-circles::before {
		left: 22px;
		right: 22px;
	}
}

@media (max-width: 300px) {
	.its-ar-circle {
		width: 32px;
		height: 32px;
		font-size: 13px;
	}

	.its-ar-circles {
		gap: 4px;
	}

	.its-ar-circles::before {
		left: 20px;
		right: 20px;
	}
}
