/**
 * YGT Reactions — self-contained styles (no external CSS-var dependency).
 * Keeps the legacy .ygt-gc-reactions-* class names so the look matches what
 * readers saw before.
 */
.ygt-gc-reactions-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 10px 15px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	margin: 24px 0;
	font-family: inherit;
}

.ygt-gc-reactions-label {
	font-size: 12px;
	font-weight: 500;
	color: #6b7280;
	flex-shrink: 0;
}

.ygt-gc-reactions-buttons {
	display: flex;
	gap: 2px;
	flex-wrap: wrap;
}

.ygt-gc-reaction-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	padding: 4px 8px;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 6px;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease, border-color .15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.ygt-gc-reaction-btn:hover {
	background: #f3f4f6;
	transform: scale(1.05);
}

.ygt-gc-reaction-btn.active {
	background: #fef3c7;
	border-color: #f59e0b;
}

.ygt-gc-reaction-btn[disabled] {
	opacity: .6;
	cursor: default;
}

.ygt-gc-reaction-icon {
	font-size: 18px;
	line-height: 1;
	transition: transform .2s ease;
}

.ygt-gc-reaction-btn:hover .ygt-gc-reaction-icon {
	transform: scale(1.1);
}

.ygt-gc-reaction-count {
	font-size: 10px;
	font-weight: 600;
	color: #6b7280;
	min-height: 12px;
}

.ygt-gc-reactions-total {
	font-size: 11px;
	color: #9ca3af;
	flex-shrink: 0;
}

/* Short-link share group — sits on the RIGHT of the reaction bar (same white bar) */
.ygt-reactions-share {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	font-family: inherit;
}

.ygt-reactions-share-label {
	font-size: 12px;
	font-weight: 500;
	color: #6b7280;
	flex-shrink: 0;
}

.ygt-reactions-share-url {
	flex: 0 1 220px;
	min-width: 130px;
	font-size: 12px;
	padding: 5px 8px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	color: #374151;
}

.ygt-reactions-share-copy {
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
	color: #374151;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
	-webkit-appearance: none;
	appearance: none;
}

.ygt-reactions-share-copy:hover {
	background: #f3f4f6;
}

.ygt-reactions-share-copy.copied {
	background: #ecfdf5;
	border-color: #10b981;
	color: #047857;
}

@media (max-width: 600px) {
	.ygt-reactions-share {
		margin-left: 0;
		margin-top: 4px;
		width: 100%;
	}
	.ygt-reactions-share-url {
		flex: 1 1 auto;
	}
	.ygt-reactions-share-label {
		display: none;
	}
}
