.slh-hub {
	--slh-accent: #22c55e;
	--slh-surface: #101612;
	--slh-text: #f7faf8;
	--slh-muted: #aab7ae;
	box-sizing: border-box;
	color: var(--slh-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	position: relative;
	z-index: 30;
}

.slh-hub *,
.slh-hub *::before,
.slh-hub *::after {
	box-sizing: inherit;
}

.slh-hub--footer {
	background-color: var(--slh-surface);
	background:
		radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--slh-accent) 20%, transparent), transparent 42%),
		var(--slh-surface);
	border-top: 1px solid #26332a;
	border-top: 1px solid color-mix(in srgb, var(--slh-accent) 35%, #26332a);
	margin-top: 2rem;
	padding: 1.25rem 1rem;
	width: 100%;
}

.slh-hub--floating {
	background: var(--slh-surface);
	background: color-mix(in srgb, var(--slh-surface) 94%, transparent);
	border: 1px solid #26332a;
	border: 1px solid color-mix(in srgb, var(--slh-accent) 30%, #26332a);
	border-radius: 18px;
	bottom: 18px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
	left: 50%;
	max-width: calc(100vw - 24px);
	padding: 10px 14px;
	position: fixed;
	transform: translateX(-50%);
	width: max-content;
}

.slh-hub__inner {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin: 0 auto;
	max-width: 1180px;
}

.slh-hub__heading {
	color: var(--slh-muted);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.slh-hub__links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.slh-hub__links li {
	margin: 0;
	padding: 0;
}

.slh-link {
	align-items: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	color: var(--slh-text);
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 700;
	gap: 0.45rem;
	line-height: 1;
	min-height: 40px;
	padding: 0.4rem 0.72rem 0.4rem 0.45rem;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.slh-link:hover,
.slh-link:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--slh-accent);
	color: #fff;
	transform: translateY(-2px);
}

.slh-link:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--slh-accent) 45%, transparent);
	outline-offset: 2px;
}

.slh-link__mark {
	align-items: center;
	background: var(--slh-accent);
	border-radius: 50%;
	color: #07120a;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 900;
	height: 28px;
	justify-content: center;
	letter-spacing: -0.04em;
	width: 28px;
}

.slh-link--facebook .slh-link__mark {
	background: #1877f2;
	color: #fff;
}

.slh-link--youtube .slh-link__mark {
	background: #ff0033;
	color: #fff;
	font-size: 0.64rem;
}

.slh-link--x .slh-link__mark {
	background: #050505;
	border: 1px solid rgba(255, 255, 255, 0.24);
	color: #fff;
}

.slh-link--linkedin .slh-link__mark {
	background: #0a66c2;
	color: #fff;
	font-size: 0.7rem;
}

.slh-link--twitch .slh-link__mark {
	background: #9146ff;
	color: #fff;
}

@media (max-width: 640px) {
	.slh-hub__inner {
		flex-direction: column;
		gap: 0.75rem;
	}

	.slh-hub--floating .slh-hub__heading,
	.slh-hub--floating .slh-link__label {
		display: none;
	}

	.slh-hub--floating .slh-link {
		min-height: 38px;
		padding: 0.3rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.slh-link {
		transition: none;
	}
}
