/**
 * sm1 页脚（简洁）
 */

.sm1-footer {
	margin-top: 56px;
	padding: 28px 0 calc(22px + env(safe-area-inset-bottom, 0px));
	background:
		linear-gradient(180deg, rgba(14, 154, 167, 0.04), transparent 48%),
		var(--sm1-surface);
	border-top: 1px solid var(--sm1-line);
}

.sm1-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.sm1-footer__main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	flex-wrap: wrap;
}

.sm1-footer__brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--sm1-ink);
	min-width: 0;
}

.sm1-footer__brand:hover,
.sm1-footer__brand:focus-visible {
	color: var(--sm1-accent);
}

.sm1-footer__brand-icon {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}

.sm1-footer__brand-name {
	font-size: 17px;
	font-weight: 750;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

.sm1-footer__nav {
	min-width: 0;
}

.sm1-footer__list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sm1-footer__list > li {
	display: inline-flex;
	align-items: center;
}

.sm1-footer__list > li:not(:last-child)::after {
	content: "";
	display: block;
	width: 3px;
	height: 3px;
	margin: 0 10px;
	border-radius: 50%;
	background: var(--sm1-line);
}

.sm1-footer__list a {
	color: var(--sm1-muted);
	font-size: 13px;
	font-weight: 550;
	text-decoration: none;
	line-height: 1.4;
	transition: color 0.2s ease;
}

.sm1-footer__list a:hover,
.sm1-footer__list a:focus-visible {
	color: var(--sm1-ink);
}

.sm1-footer__copy {
	margin: 0;
	padding-top: 14px;
	border-top: 1px solid var(--sm1-line-soft);
	color: var(--sm1-faint);
	font-size: 12px;
	line-height: 1.5;
}

@media (max-width: 640px) {
	.sm1-footer {
		margin-top: 36px;
		padding: 22px 0 calc(18px + env(safe-area-inset-bottom, 0px));
	}

	.sm1-footer__main {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.sm1-footer__brand-name {
		font-size: 16px;
	}

	.sm1-footer__list {
		gap: 4px 2px;
	}

	.sm1-footer__list > li:not(:last-child)::after {
		margin: 0 8px;
	}

	.sm1-footer__list a {
		font-size: 12px;
	}

	.sm1-footer__copy {
		padding-top: 12px;
		font-size: 11px;
	}
}
