.hit-switcher {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 16px 0;
	padding: 10px 14px;
	background: #f6f6f7;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	font-size: 14px;
	direction: ltr;
}

.hit-switcher-label {
	font-weight: 600;
	color: #1d2327;
	margin-inline-end: 4px;
}

.hit-btn {
	cursor: pointer;
	border: 1px solid #c3c4c7;
	background: #fff;
	color: #1d2327;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 13px;
	line-height: 1;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.hit-btn:hover {
	background: #f0f0f1;
}

.hit-btn.is-active {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.hit-spinner {
	display: none;
	width: 14px;
	height: 14px;
	border: 2px solid #c3c4c7;
	border-top-color: #2271b1;
	border-radius: 50%;
	animation: hit-spin 0.7s linear infinite;
}

.hit-switcher.is-loading .hit-spinner {
	display: inline-block;
}

.hit-switcher.is-loading .hit-btn {
	opacity: 0.6;
	pointer-events: none;
}

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

.hit-error {
	display: none;
	color: #b32d2e;
	font-size: 13px;
}

.hit-switcher.has-error .hit-error {
	display: inline;
}

.hit-note {
	display: none;
	color: #646970;
	font-size: 12px;
	font-style: italic;
	flex-basis: 100%;
}

.hit-switcher.has-note .hit-note {
	display: block;
}

.hit-original-content[dir="rtl"] {
	text-align: right;
}

.hit-original-content[dir="ltr"] {
	text-align: left;
}
