/* Floating customer service */
.cs-widget {
	position: fixed;
	right: 30px;
	bottom: 208px;
	z-index: 1000;
}

.cs-tiles {
	display: flex;
	flex-direction: column;
	border-radius: 0;
	overflow: visible;
	gap: 1px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
}

.cs-tile {
	width: 65px;
	height: 75px;
	background: #2677F5;
	color: #fff;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: background-color .18s ease;
	border-radius: 0;
	position: relative;
}

.cs-tile:hover,
.cs-tile:focus-visible {
	background: #FF8000;
	outline: none;
}

.cs-icon {
	width: 26px;
	height: 26px;
	stroke: #fff;
	stroke-width: 2.1;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cs-tile svg {
	fill: none;
}

.cs-bottom-img {
	width: 28px;
	height: 28px;
	display: block;
	object-fit: contain;
	pointer-events: none;
}

.cs-pop {
	position: absolute;
	right: calc(100% + 10px);
	top: 50%;
	transform: translateY(-50%) translateX(8px);
	opacity: 0;
	pointer-events: none;
	background: #ffffff;
	color: #111827;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
	transition: opacity .15s ease, transform .15s ease;
}

.cs-tile:hover .cs-pop,
.cs-tile:focus-visible .cs-pop {
	opacity: 1;
	transform: translateY(-50%) translateX(0);
}

.cs-tile--phone .cs-icon {
	fill: #fff;
	stroke: none;
}

/* 左侧提示框样式 */
.cs-tooltip {
	position: absolute;
	right: calc(100% + 10px);
	top: 50%;
	transform: translateY(-50%) translateX(10px);
	width: 174px;
	height: 75px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
	opacity: 0;
	visibility: hidden;
	transition: all .25s ease;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 16px;
	pointer-events: none;
}

.cs-tooltip::after {
	content: '';
	position: absolute;
	right: -6px;
	top: 50%;
	transform: translateY(-50%);
	border-width: 6px 0 6px 6px;
	border-style: solid;
	border-color: transparent transparent transparent #fff;
}

.cs-tooltip-title {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
}

.cs-tooltip-desc {
	font-size: 12px;
	color: #666;
}

.cs-tile:hover .cs-tooltip,
.cs-tile:focus-visible .cs-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) translateX(0);
}

/* 完美解决：纯二维码、无重影、无背景、必显示 */
.cs-tile:nth-child(2) .cs-tooltip {
	all: unset !important;
	/* 清空所有冲突样式 */
	position: absolute !important;
	right: calc(100% + 38px) !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	display: block !important;
	width: 75px !important;
	height: 75px !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transition: opacity 0.3s !important;
	z-index: 9999 !important;
}

.cs-tile:nth-child(2):hover .cs-tooltip {
	opacity: 1 !important;
	visibility: visible !important;
}

.cs-tile:nth-child(2) .cs-tooltip * {
	display: none !important;
	/* 隐藏里面所有文字 */
}

.cs-tile:nth-child(2) .cs-tooltip img {
	display: block !important;
	width: 75px !important;
	height: 75px !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	object-fit: contain !important;
}

.cs-tile:nth-child(2) .cs-tooltip::after {
	display: none !important;
}

/* 完美解决：纯二维码、无重影、无背景、必显示 */
.cs-tile:nth-child(3) .cs-tooltip {
	all: unset !important;
	/* 清空所有冲突样式 */
	position: absolute !important;
	right: calc(100% + 38px) !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	display: block !important;
	width: 75px !important;
	height: 75px !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transition: opacity 0.3s !important;
	z-index: 9999 !important;
}

.cs-tile:nth-child(3):hover .cs-tooltip {
	opacity: 1 !important;
	visibility: visible !important;
}

.cs-tile:nth-child(3) .cs-tooltip * {
	display: none !important;
	/* 隐藏里面所有文字 */
}

.cs-tile:nth-child(3) .cs-tooltip img {
	display: block !important;
	width: 75px !important;
	height: 75px !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	object-fit: contain !important;
}

.cs-tile:nth-child(3) .cs-tooltip::after {
	display: none !important;
}