/* Rodapé ecossistema Shard (shard.games) — requer :root com --border, --text, --text-muted, --header-accent, --surface, --max-w */

.shard-footer {
	margin-top: auto;
	padding: 28px 16px 32px;
	border-top: 1px solid var(--border);
	background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.25) 100%);
}

.shard-footer__inner {
	max-width: var(--max-w);
	margin: 0 auto;
	text-align: center;
}

.shard-footer__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 4px;
	margin: 0 0 18px;
	font-size: 13px;
}

.shard-footer__shard-brand {
	display: flex;
	justify-content: center;
	margin: 0 0 18px;
	padding: 4px 0 0;
}

.shard-footer__shard-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	opacity: 0.9;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.shard-footer__shard-link:hover {
	opacity: 1;
	transform: translateY(-1px);
}

.shard-footer__shard-logo {
	display: block;
	height: auto;
	width: auto;
	max-width: min(200px, 60vw);
	max-height: 36px;
	object-fit: contain;
}

.shard-footer__link {
	color: var(--text-muted);
	text-decoration: none;
	font-weight: 500;
	padding: 4px 6px;
	border-radius: 6px;
	transition: color 0.15s ease, background 0.15s ease;
}

.shard-footer__link:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.04);
}

.shard-footer__link--accent {
	color: var(--header-accent);
}

.shard-footer__link--accent:hover {
	color: #fff;
	background: rgba(126, 184, 218, 0.12);
}

.shard-footer__sep {
	color: var(--border);
	user-select: none;
	padding: 0 2px;
}

.shard-footer__sep--wide {
	display: none;
}

@media (min-width: 640px) {
	.shard-footer__sep--wide {
		display: inline;
		padding: 0 10px;
	}
}

.shard-footer__copy {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.02em;
}

.shard-footer__copy.muted {
	color: var(--text-muted);
}

/* Full-bleed na base (footer fora do .forum-wrap / coluna com max-width), como em shard.games */
body > .shard-footer {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	flex-shrink: 0;
}

.painel-app > .shard-footer {
	width: 100%;
	max-width: none;
	box-sizing: border-box;
	flex-shrink: 0;
}
