/* MorphSwift - 全站页脚 */
.ms-site-footer {
	padding: 56px 0 0;
	background-color: var(--ms-footer-bg, #0b1220);
	color: var(--ms-footer-text, #ffffff);
	border-top: 1px solid color-mix(in srgb, var(--ms-footer-text, currentColor) 12%, transparent);
}

.ms-site-footer__inner {
	display: grid;
	gap: 40px 48px;
	align-items: start;
	padding: 0;
}

.ms-site-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: inherit;
}

.ms-site-footer__logo--image,
.ms-site-footer__logo--both {
	display: inline-flex;
	align-items: center;
}

.ms-site-footer__logo-img {
	display: block;
	width: 200px;
	height: 60px;
	max-height: none;
	min-height: 0;
}

.ms-site-footer__logo-text {
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	color: inherit;
}

.ms-site-footer__widget-text {
	margin: 12px 0 0;
	max-width: 28ch;
	font-size: 0.875rem;
	line-height: 1.6;
	color: color-mix(in srgb, currentColor 62%, transparent);
}

.ms-site-footer__contact {
	justify-self: end;
	width: 100%;
	max-width: 320px;
}

.ms-site-footer__contact-static {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.7;
	color: color-mix(in srgb, currentColor 72%, transparent);
	white-space: pre-line;
}

.ms-site-footer__contact-items {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ms-site-footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.ms-site-footer__contact-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: color-mix(in srgb, currentColor 72%, transparent);
}

.ms-site-footer__contact-icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

.ms-site-footer__contact-text,
.ms-site-footer__contact-link {
	font-size: 0.875rem;
	line-height: 1.6;
	color: color-mix(in srgb, currentColor 72%, transparent);
}

.ms-site-footer__contact-link {
	text-decoration: none;
	transition: color 0.2s;
}

.ms-site-footer__contact-link:hover {
	color: inherit;
	text-decoration: underline;
}

.ms-site-footer__contact-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 4px;
}

.ms-site-footer__contact-input {
	width: 100%;
	padding: 8px 12px;
	background: transparent;
	color: inherit;
	font-size: 0.875rem;
}

.ms-site-footer__contact-input::placeholder {
	color: color-mix(in srgb, currentColor 45%, transparent);
}

.ms-site-footer__contact-input:focus {
	outline: none;
	border-color: color-mix(in srgb, currentColor 35%, transparent);
}

.ms-site-footer__contact-btn {
	position: absolute;
	top: 0;
	right: 0;
	padding: 8px 16px;
	border: none;
	background: transparent;
	color: black;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s;
}

.ms-site-footer__contact-btn:hover:not(:disabled) {
	opacity: 0.92;
}

.ms-site-footer__contact-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.ms-site-footer__contact-feedback {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.ms-site-footer__contact-feedback--success {
	color: #86efac;
}

.ms-site-footer__contact-feedback--error {
	color: inherit;
}

.ms-site-footer__col-title {
	margin: 0 0 16px;
	font-size: 0.9375rem;
	font-weight: 600;
	color: inherit;
}

.ms-site-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ms-site-footer__links li {
	margin-bottom: 10px;
}

.ms-site-footer__links a {
	color: color-mix(in srgb, currentColor 62%, transparent);
	font-size: 0.875rem;
	text-decoration: none;
	transition: color 0.2s;
}

.ms-site-footer__links a:hover {
	color: inherit;
	text-decoration: none;
}

.ms-site-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	padding: 24px 0 32px;
	border-top: 1px solid color-mix(in srgb, currentColor 8%, transparent);
	margin-top: 40px;
}

.ms-site-footer__copyright {
	margin: 0;
	font-size: 0.8125rem;
	color: color-mix(in srgb, currentColor 45%, transparent);
}

.ms-site-footer__licenses {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
}

.ms-site-footer__license-link {
	font-size: 0.8125rem;
	color: color-mix(in srgb, currentColor 45%, transparent);
	text-decoration: none;
	transition: color var(--ms-transition, 0.2s);
}

.ms-site-footer__license-link:hover {
	color: inherit;
	text-decoration: underline;
}

.ms-site-footer__social {
	display: flex;
	gap: 12px;
}

.ms-site-footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: color-mix(in srgb, currentColor 10%, transparent);
	color: inherit;
	transition: background var(--ms-transition, 0.2s);
}

.ms-site-footer__social-link:hover {
	background: color-mix(in srgb, currentColor 20%, transparent);
	color: inherit;
}

.ms-site-footer__back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--ms-primary, #3b82f6);
	color: var(--ms-on-primary, #fff);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
	z-index: 50;
	transition: all var(--ms-transition, 0.2s);
}

.ms-site-footer__back-to-top:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgb(0 0 0 / 0.2);
}

.ms-footer-contact-email {
	border: 1px solid var(--bg_color);
}

@media (max-width: 575px) {
	.ms-site-footer__inner {
		grid-template-columns: 1fr !important;
		gap: 32px;
	}

	.ms-site-footer__contact {
		justify-self: stretch;
		max-width: none;
	}

	.ms-site-footer__bottom {
		flex-direction: column;
		text-align: center;
	}
}
