.stslite-float-contact {
	position: fixed;
	right: 16px;
	bottom: 75px;
	z-index: 1037;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

.stslite-float-contact-toggle {
	width: 52px;
	height: 52px;
	border: none;
	border-radius: 50%;
	background-color: #0068b7;
	color: #fff;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.stslite-float-contact-toggle:hover,
.stslite-float-contact-toggle:focus {
	background-color: #1053a4;
	outline: none;
}

.stslite-float-contact-toggle .fa {
	font-size: 22px;
	line-height: 1;
}

.stslite-float-contact-icon-open {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
}

.stslite-float-contact-icon-svg {
	display: block;
	width: 100%;
	height: 100%;
}

.stslite-float-contact-icon-close {
	display: none;
	font-size: 18px;
}

.stslite-float-contact.is-open .stslite-float-contact-icon-open {
	display: none;
}

.stslite-float-contact.is-open .stslite-float-contact-icon-close {
	display: block;
}

.stslite-float-contact-panel {
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
	pointer-events: none;
	overflow: visible;
}

.stslite-float-contact.is-open .stslite-float-contact-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.stslite-float-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
	overflow: visible;
}

.stslite-float-contact-list > li {
	overflow: visible;
}

.stslite-float-contact-link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: #444;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.stslite-float-contact-link:hover,
.stslite-float-contact-link:focus {
	background-color: #0068b7;
	color: #fff;
	transform: scale(1.05);
	outline: none;
}

.stslite-float-contact-link .fa {
	font-size: 18px;
	line-height: 1;
	color: #fff;
}

.stslite-social-icon-svg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	line-height: 1;
	color: #fff;
}

.stslite-social-icon-svg__img {
	display: block;
	width: 100%;
	height: 100%;
}

.stslite-social-icon-svg__img path {
	fill: currentColor;
}

.stslite-float-contact-link .stslite-social-icon-svg {
	width: 22px;
	height: 22px;
	color: #fff;
}

.stslite-float-contact-link--twitter .stslite-social-icon-svg,
.stslite-float-contact-link--instagram .stslite-social-icon-svg {
	width: 26px;
	height: 26px;
}

.stslite-float-contact-link--twitter .stslite-social-icon-svg__img {
	transform: scale(1.12);
	transform-origin: center;
}

.stslite-float-contact-tip {
	position: absolute;
	right: calc(100% + 10px);
	top: 50%;
	transform: translateY(-50%);
	white-space: nowrap;
	background: rgba(34, 34, 34, 0.92);
	color: #fff;
	font-size: 12px;
	line-height: 1.3;
	padding: 0;
	border-radius: 4px;
	display: none;
	pointer-events: none;
}

.stslite-float-contact-link:hover .stslite-float-contact-tip,
.stslite-float-contact-link:focus .stslite-float-contact-tip {
	display: block;
	padding: 6px 10px;
}

/* 悬浮栏：二维码始终在按钮左侧，避免贴右边缘被裁切 */
.stslite-wechat-qrcode--floating .stslite-wechat-qrcode__popup {
	bottom: auto;
	top: 50%;
	right: calc(100% + 12px);
	left: auto;
	transform: translateY(-50%);
	z-index: 1040;
}

.stslite-wechat-qrcode--floating .stslite-wechat-qrcode__popup::after {
	top: 50%;
	left: 100%;
	margin-top: -6px;
	margin-left: 0;
	border: 6px solid transparent;
	border-left-color: #fff;
	border-top-color: transparent;
}

@media screen and (max-width: 767px) {
	.stslite-float-contact {
		right: 10px;
		bottom: 130px;
	}

	.stslite-float-contact-toggle {
		width: 48px;
		height: 48px;
	}

	.stslite-float-contact-link {
		width: 40px;
		height: 40px;
	}

	.stslite-wechat-qrcode--floating {
		width: 40px;
		height: 40px;
	}

	.stslite-float-contact-tip {
		display: none;
	}
}
