/* =========================================================
   Reader Reactions
   One-click emoji reaction bar. Matches the same Jost-uppercase +
   gold-accent language as Post Views Lite's badge and widget.
   ========================================================= */

.reader-reactions-bar {
	--rr-ink: #14130f;
	--rr-ink-soft: #6b6862;
	--rr-gold: #D4A373;
	--rr-border: rgba(20, 19, 15, 0.10);
	--rr-surface: #faf9f6;
	--rr-active-bg: rgba(212, 163, 115, 0.14);

	max-width: 640px;
	margin: 48px auto;
	padding: 32px 24px;
	border-radius: 16px;
	background: var(--rr-surface);
	border: 1px solid var(--rr-border);
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.reader-reactions-heading {
	font-family: 'GFSDidot', 'Didot', Georgia, "Iowan Old Style", serif;
	font-style: italic;
	font-size: 17px;
	color: var(--rr-ink);
	margin-bottom: 20px;
}

.reader-reactions-buttons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.reader-reactions-btn {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 12px 16px;
	min-width: 76px;
	background: #ffffff;
	border: 1px solid var(--rr-border);
	border-radius: 12px;
	cursor: pointer;
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, background 0.2s ease;
}

.reader-reactions-btn:hover {
	transform: translateY(-2px);
	border-color: rgba(212, 163, 115, 0.4);
}

.reader-reactions-btn.is-active {
	background: var(--rr-active-bg);
	border-color: var(--rr-gold);
}

.reader-reactions-btn.reader-reactions-just-tapped {
	animation: reader-reactions-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes reader-reactions-pop {
	0%   { transform: scale(1); }
	40%  { transform: scale(1.18); }
	100% { transform: scale(1); }
}

.reader-reactions-emoji {
	font-size: 22px;
	line-height: 1;
}

.reader-reactions-label {
	font-family: 'Jost', -apple-system, sans-serif;
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rr-ink-soft);
}

.reader-reactions-btn.is-active .reader-reactions-label {
	color: var(--rr-gold);
}

.reader-reactions-count {
	font-family: 'Jost', -apple-system, sans-serif;
	font-size: 11px;
	font-weight: 700;
	color: var(--rr-ink);
}

/* --- Reduced motion --- */

@media (prefers-reduced-motion: reduce) {
	.reader-reactions-btn {
		transition-duration: 0.01ms !important;
	}
	.reader-reactions-btn.reader-reactions-just-tapped {
		animation: none;
	}
}
