/* HNC Social — follow buttons, notification bell and list. */

/* ---------- follow button ---------- */

.hnc-follow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font: inherit;
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	padding: 8px 16px;
	min-height: 36px;
	border-radius: var(--hnc-radius, 4px);
	border: 1.5px solid var(--hnc-ink, #0a0a0a);
	background: var(--hnc-ink, #0a0a0a);
	color: var(--hnc-base, #fff);
	cursor: pointer;
	transition: filter .15s ease;
}
.hnc-follow:hover { filter: brightness(1.3); }
.hnc-follow:disabled { opacity: .55; cursor: wait; }

.hnc-follow.is-following {
	background: transparent;
	color: var(--hnc-ink, #0a0a0a);
	border-color: var(--hnc-line, #e4e4e4);
}
.hnc-follow.is-following:hover {
	border-color: #d63638;
	color: #d63638;
	filter: none;
}
.hnc-follow.is-following:hover .hnc-follow__label { visibility: hidden; }
.hnc-follow.is-following:hover::after {
	content: attr(data-unfollow-label);
	position: absolute;
}

.hnc-follow--small {
	font-size: 11px;
	padding: 5px 11px;
	min-height: 28px;
	letter-spacing: .02em;
}

/* ---------- follower stats ---------- */

.hnc-followers {
	display: inline-flex;
	gap: 14px;
	font-size: 13.5px;
	color: var(--hnc-muted, #6b6b6b);
}
.hnc-followers__n {
	font-weight: 700;
	color: var(--hnc-ink, #0a0a0a);
	font-variant-numeric: tabular-nums;
}

/* ---------- bell ---------- */

.hnc-bell {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	color: var(--hnc-header-fg, #fff);
	border-radius: var(--hnc-radius, 4px);
}
.hnc-bell:hover { color: var(--hnc-header-fg, #fff); background: rgba(255, 255, 255, .12); }

.hnc-bell__count {
	position: absolute;
	top: -1px;
	right: -3px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	display: grid;
	place-items: center;
	background: var(--hnc-accent, #ff4500);
	color: #fff;
	border-radius: 999px;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.hnc-bell__count.is-empty { display: none; }

/* ---------- notifications list ---------- */

.hnc-notifs__list { list-style: none; margin: 0; padding: 0; }

.hnc-notif {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 12px 14px;
	border-bottom: 1px solid var(--hnc-line, #e4e4e4);
	border-left: 3px solid transparent;
}
.hnc-notif.is-unread {
	background: var(--hnc-surface, #f4f4f4);
	border-left-color: var(--hnc-accent, #ff4500);
}
.hnc-notif__avatar { border-radius: 50%; }

.hnc-notif__link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	min-width: 0;
	flex-wrap: wrap;
}
.hnc-notif__text { font-size: 14.5px; }
.hnc-notif__time {
	font-size: 12px;
	color: var(--hnc-muted, #6b6b6b);
	white-space: nowrap;
}

/* ---------- empty feed ---------- */

.hnc-emptyfeed {
	text-align: center;
	padding: 40px 20px;
	background: var(--hnc-surface, #f4f4f4);
	border-radius: var(--hnc-radius, 4px);
}
.hnc-emptyfeed p {
	max-width: 46ch;
	margin: 0 auto 16px;
	color: var(--hnc-muted, #6b6b6b);
	font-size: 15px;
}

/* ---------- responsive ---------- */

@media (max-width: 560px) {
	.hnc-notif__link { flex-direction: column; gap: 3px; }
	.hnc-follow { width: 100%; }
	.hnc-follow--small { width: auto; }
}

@media (hover: none) and (pointer: coarse) {
	.hnc-follow { min-height: 44px; }
	.hnc-follow--small { min-height: 32px; }
	.hnc-bell { width: 44px; height: 44px; }
	.hnc-notif__link { min-height: 24px; padding-block: 3px; }
}
