/* Reacciones de lectores — píldora flotante con botones circulares */
.chse-react--orbit {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	background: var(--surface, #fff);
	border: 1px solid var(--line, #EBDFF7);
	border-radius: 100px;
	padding: 9px 20px 9px 11px;
	box-shadow: var(--shadow-lg, 0 24px 60px -20px rgba(42,17,64,.42));
	max-width: 100%;
}
.chse-react__row { display: flex; gap: 8px; }

.chse-react__btn {
	position: relative;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1.5px solid var(--line, #EBDFF7);
	background: var(--bg, #FDF8FF);
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: transform .18s cubic-bezier(.2,1.4,.4,1), border-color .18s ease, background .18s ease, box-shadow .18s ease;
	animation: chse-orbit-in .5s cubic-bezier(.2,1.6,.4,1) backwards;
}
.chse-react__btn:nth-child(1) { animation-delay: .05s; }
.chse-react__btn:nth-child(2) { animation-delay: .12s; }
.chse-react__btn:nth-child(3) { animation-delay: .19s; }
.chse-react__btn:nth-child(4) { animation-delay: .26s; }
.chse-react__btn:nth-child(5) { animation-delay: .33s; }
@keyframes chse-orbit-in {
	from { transform: scale(0) rotate(-30deg); opacity: 0; }
	to { transform: scale(1) rotate(0); opacity: 1; }
}
.chse-react__btn:hover {
	transform: translateY(-6px) scale(1.14) rotate(-8deg);
	border-color: var(--turq, #2ED9CE);
	box-shadow: 0 14px 30px -10px rgba(42,17,64,.4);
	z-index: 2;
}
.chse-react__btn.is-active {
	background: linear-gradient(135deg, var(--coral, #F7941D), var(--mango, #FFC93C));
	border-color: transparent;
	box-shadow: 0 10px 26px -8px rgba(247,148,29,.6);
}
.chse-react__emoji { font-size: 1.15rem; line-height: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.1)); }

.chse-react__count {
	position: absolute;
	bottom: -6px;
	right: -5px;
	background: linear-gradient(135deg, var(--sea, #8E24AA), var(--pink, #C2199A));
	color: #fff;
	font-family: var(--font-d, inherit);
	font-weight: 800;
	font-size: .6rem;
	line-height: 1;
	padding: 3px 6px;
	border-radius: 100px;
	border: 2px solid var(--surface, #fff);
	box-shadow: 0 4px 10px -3px rgba(42,17,64,.4);
}
.chse-react__count:empty { display: none; }

.chse-react__title {
	font-family: var(--font-d, inherit);
	font-weight: 800;
	font-size: .86rem;
	display: flex;
	flex-direction: column;
	gap: 2px;
	white-space: nowrap;
}
.chse-react__total { font-size: .74rem; font-weight: 600; color: var(--muted, #6F5C85); }
.chse-react__total:empty::before { content: "Sé el primero en reaccionar"; }

/* Animación al reaccionar */
.chse-react__btn.is-pop .chse-react__emoji { animation: chse-pop .45s cubic-bezier(.2,1.6,.4,1); }
@keyframes chse-pop {
	0% { transform: scale(1); }
	40% { transform: scale(1.8) rotate(-14deg); }
	100% { transform: scale(1); }
}

/* Emoji flotante que sube */
.chse-react-float {
	position: absolute;
	left: 50%;
	top: -6px;
	transform: translateX(-50%);
	font-size: 1.5rem;
	pointer-events: none;
	animation: chse-float-up 1s ease forwards;
	z-index: 5;
}
@keyframes chse-float-up {
	0% { opacity: 1; transform: translate(-50%, 0) scale(1); }
	100% { opacity: 0; transform: translate(-50%, -60px) scale(1.8) rotate(14deg); }
}

/* Mini resumen en tarjetas */
.chse-react-mini {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: .82rem;
	font-weight: 700;
	color: var(--muted, #6F5C85);
}
.chse-react-mini span { font-size: .95rem; }
.chse-react-mini b { margin-left: 4px; }

@media (max-width: 680px) {
	.chse-react--orbit { flex-direction: column; gap: 10px; border-radius: 26px; padding: 14px 16px; }
	.chse-react__btn { width: 40px; height: 40px; }
	.chse-react__emoji { font-size: 1.1rem; }
	.chse-react__title { align-items: center; text-align: center; white-space: normal; }
}
