/* Article Fan – 本文直下カード（会話風）＋ハート演出 */

.nettoge-article-fan.-fan-card {
	margin: 1.25rem 0 1.5rem;
}

.nettoge-article-fan__shell {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, clamp(96px, 26vw, 140px)) minmax(0, 1fr);
	gap: 1rem 1.25rem;
	align-items: center;
	padding: 1rem 1.15rem;
	border-radius: 12px;
	background: color-mix(in srgb, var(--color_gray, #f5f5f5) 78%, transparent);
	border: 1px solid color-mix(in srgb, var(--color_border, #ddd) 85%, transparent);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
	overflow: visible;
}

@media (max-width: 600px) {
	.nettoge-article-fan__shell {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 0.95rem 1rem;
	}

	.nettoge-article-fan__portrait {
		justify-self: center;
	}

	.nettoge-article-fan__actions {
		justify-content: center;
	}

	.nettoge-article-fan__counts,
	.nettoge-article-fan__headline {
		text-align: center;
	}
}

.nettoge-article-fan__portrait {
	margin: 0;
	width: clamp(96px, 26vw, 140px);
}

.nettoge-article-fan__portrait-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
	object-fit: cover;
	aspect-ratio: 1;
	background: #111;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nettoge-article-fan__portrait-placeholder {
	width: 100%;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: color-mix(in srgb, var(--color_gray, #e5e5e5) 90%, #111);
	color: #444;
	font-size: 2rem;
	font-weight: 700;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.nettoge-article-fan__body {
	min-width: 0;
}

.nettoge-article-fan__headline {
	margin: 0 0 0.65rem;
	font-size: clamp(0.95rem, 2.6vw, 1.05rem);
	line-height: 1.55;
	font-weight: 600;
}

.nettoge-article-fan__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.6rem;
}

.nettoge-article-fan__btn-yes {
	appearance: none;
	cursor: pointer;
	font: inherit;
	padding: 0.45rem 1.35rem;
	border-radius: 999px;
	border: 2px solid #1a1a1a;
	background: #fff;
	color: #111;
	font-weight: 600;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.nettoge-article-fan__btn-yes:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 3px 0 rgba(0, 0, 0, 0.12);
}

.nettoge-article-fan__btn-yes:active:not(:disabled) {
	transform: translateY(0);
	box-shadow: none;
}

.nettoge-article-fan__btn-yes:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	box-shadow: none;
}

.nettoge-article-fan__counts {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
	color: color-mix(in srgb, var(--color_text, #222) 92%, transparent);
}

.nettoge-article-fan__message {
	margin: 0.45rem 0 0;
	min-height: 1.35em;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--color_main, #c62828);
	font-weight: 600;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.nettoge-article-fan__message.is-visible {
	opacity: 1;
}

/* Floating hearts */
@keyframes nettogeArticleFanHeartFloat {
	0% {
		transform: translate(-50%, 0) rotate(-6deg) scale(0.85);
		opacity: 0;
	}
	12% {
		opacity: 0.95;
	}
	100% {
		transform: translate(calc(-50% + var(--nettoge-heart-drift, 0px)), -86px) rotate(10deg) scale(1.1);
		opacity: 0;
	}
}

.nettoge-article-fan__heart {
	position: absolute;
	bottom: 35%;
	left: 50%;
	z-index: 2;
	pointer-events: none;
	font-size: 1.35rem;
	line-height: 1;
	color: #e91e63;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
	animation: nettogeArticleFanHeartFloat 1.15s ease-out forwards;
	will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
	.nettoge-article-fan__heart {
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
	}
}
