.og-post-rating,
.og-post-rating *,
.og-post-rating *::before,
.og-post-rating *::after {
	box-sizing: border-box;
}

.og-post-rating {
	direction: rtl;
	unicode-bidi: isolate;
	width: 100%;
	margin: 24px 0;
	padding: 22px 26px 16px;
	background: #151d1f;
	border: 1px solid rgba(186, 214, 214, 0.14);
	border-radius: 18px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
	color: #e7eeef;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
}

.og-post-rating__question {
	margin: 0 0 18px;
	direction: rtl;
	text-align: right;
	color: #e7eeef;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.8;
}

.og-post-rating__scale {
	direction: ltr;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	padding: 10px 12px;
	background: #10282b;
	border-radius: 999px;
}

.og-post-rating__score {
	flex: 1 1 0;
	width: auto;
	max-width: 44px;
	min-width: 0;
	height: auto;
	aspect-ratio: 1;
	margin: 0;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	border: 1.5px solid #8aa0a2;
	border-radius: 50%;
	background: transparent;
	background-image: none;
	box-shadow: none;
	color: #f4f7f7;
	font-family: inherit;
	font-size: clamp(11px, 2.6vw, 15px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.og-post-rating__score:hover,
.og-post-rating__score:focus-visible {
	border-color: #d3b06c;
	color: #f3e6c8;
	outline: none;
}

.og-post-rating__score:focus-visible {
	box-shadow: 0 0 0 2px rgba(211, 176, 108, 0.45);
}

.og-post-rating__score.is-selected,
.og-post-rating__score:active {
	background: #d3b06c;
	border-color: #d3b06c;
	color: #1c1408;
	font-weight: 600;
}

.og-post-rating.is-busy .og-post-rating__score {
	cursor: progress;
}

.og-post-rating__labels {
	direction: ltr;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 10px 8px 0;
	color: #8b9ea1;
	font-size: 13px;
	line-height: 1.6;
}

.og-post-rating__label {
	direction: ltr;
	unicode-bidi: isolate;
}

.og-post-rating__label--low {
	text-align: left;
}

.og-post-rating__label--high {
	text-align: right;
}

.og-post-rating__error,
.og-post-rating__noscript {
	margin: 12px 0 0;
	color: #e7b6b6;
	font-size: 13px;
	line-height: 1.6;
	text-align: right;
}

.og-post-rating__error[hidden] {
	display: none;
}

.og-post-rating__noscript {
	color: #8b9ea1;
}

.og-post-rating__thanks {
	display: none;
	padding: 18px 12px 12px;
	text-align: center;
}

.og-post-rating.is-voted .og-post-rating__panel {
	display: none;
}

.og-post-rating.is-voted .og-post-rating__thanks,
.og-post-rating.is-editing .og-post-rating__thanks {
	display: block;
}

.og-post-rating.is-editing .og-post-rating__thanks {
	padding-top: 4px;
}

.og-post-rating.is-editing .og-post-rating__thanks-title,
.og-post-rating.is-editing .og-post-rating__thanks-score {
	display: none;
}

.og-post-rating__thanks-title {
	margin: 0;
	color: #f3f6f5;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.7;
}

.og-post-rating__thanks-score {
	margin: 8px 0 0;
	color: #d3b06c;
	font-size: 14px;
	line-height: 1.6;
}

.og-post-rating__thanks-title:focus {
	outline: none;
}

.og-post-rating__feedback {
	display: none;
	margin-top: 16px;
	text-align: right;
}

.og-post-rating.is-editing .og-post-rating__feedback {
	display: block;
}

.og-post-rating__feedback-question {
	margin: 0 0 12px;
	color: #e7eeef;
	font-size: 14px;
	line-height: 1.7;
}

.og-post-rating__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-start;
}

.og-post-rating__chip {
	margin: 0;
	padding: 6px 12px;
	appearance: none;
	-webkit-appearance: none;
	border: 1px solid #8aa0a2;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: #e7eeef;
	font-family: inherit;
	font-size: 13px;
	line-height: 1.4;
	cursor: pointer;
}

.og-post-rating__chip.is-selected,
.og-post-rating__chip[aria-pressed="true"] {
	background: #d3b06c;
	border-color: #d3b06c;
	color: #1c1408;
	font-weight: 600;
}

.og-post-rating__note {
	display: none;
	width: 100%;
	margin-top: 12px;
	padding: 10px 12px;
	border: 1px solid #3d5558;
	border-radius: 12px;
	background: #10282b;
	color: #e7eeef;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.7;
	resize: vertical;
}

.og-post-rating.is-other .og-post-rating__note {
	display: block;
}

.og-post-rating__feedback-error {
	margin: 10px 0 0;
	color: #e7b6b6;
	font-size: 13px;
}

.og-post-rating__feedback-error[hidden] {
	display: none;
}

.og-post-rating__send {
	margin-top: 12px;
	padding: 8px 16px;
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	border-radius: 999px;
	background: #d3b06c;
	color: #1c1408;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
}

.og-post-rating__send:disabled {
	opacity: 0.6;
	cursor: progress;
}

.og-post-rating__notice {
	direction: rtl;
	margin: 16px 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: #151d1f;
	color: #e7eeef;
	font-size: 14px;
}

@media (max-width: 700px) {
	.og-post-rating {
		padding: 16px 12px 12px;
		border-radius: 14px;
	}

	.og-post-rating__question {
		font-size: 14px;
		margin-bottom: 14px;
	}

	.og-post-rating__scale {
		gap: 4px;
		padding: 8px;
	}

	.og-post-rating__labels {
		margin-top: 8px;
		font-size: 12px;
	}
}
