.yunzi-customer-hotline {
	position: fixed;
	top: 50%;
	right: 1.25rem;
	z-index: 900;
	transform: translateY(-50%);
}

.yunzi-customer-hotline-trigger {
	position: relative;
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	gap: 0.2rem;
	width: 4rem;
	height: 4rem;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 0.5rem;
	background: #225de8;
	box-shadow: 0 0.65rem 1.75rem rgba(15, 39, 69, 0.2);
	color: #ffffff;
	text-decoration: none;
	transition: background-color 180ms ease, box-shadow 180ms ease;
}

.yunzi-customer-hotline-trigger:hover {
	background: #184cc9;
	box-shadow: 0 0.8rem 2rem rgba(15, 39, 69, 0.24);
}

.yunzi-customer-hotline-trigger:focus-visible {
	outline: 3px solid rgba(38, 99, 235, 0.32);
	outline-offset: 3px;
}

.yunzi-customer-hotline-icon {
	display: block;
	font-size: 1.2rem;
	line-height: 1;
}

.yunzi-customer-hotline-label {
	display: block;
	color: #ffffff;
	font-size: 0.7rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}

.yunzi-customer-hotline-panel {
	position: absolute;
	top: 50%;
	right: calc(100% + 0.75rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.35rem;
	width: 11.5rem;
	min-height: 4.75rem;
	padding: 0.9rem 1rem;
	border: 1px solid #dce3ec;
	border-radius: 0.5rem;
	background: #ffffff;
	box-shadow: 0 0.75rem 2rem rgba(15, 39, 69, 0.16);
	opacity: 0;
	pointer-events: none;
	transform: translate(0.5rem, -50%);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
	visibility: hidden;
	white-space: nowrap;
}

.yunzi-customer-hotline-panel::after {
	position: absolute;
	top: 50%;
	right: -0.4rem;
	width: 0.75rem;
	height: 0.75rem;
	border-top: 1px solid #dce3ec;
	border-right: 1px solid #dce3ec;
	background: #ffffff;
	content: '';
	transform: translateY(-50%) rotate(45deg);
}

.yunzi-customer-hotline-trigger:hover .yunzi-customer-hotline-panel,
.yunzi-customer-hotline-trigger:focus-visible .yunzi-customer-hotline-panel {
	opacity: 1;
	transform: translate(0, -50%);
	visibility: visible;
}

.yunzi-customer-hotline-panel > span {
	color: #65758a;
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.35;
}

.yunzi-customer-hotline-panel strong {
	color: #0f2745;
	font-family: 'Inter', 'Noto Sans SC', sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.25;
}

@media (max-width: 768px) {
	.yunzi-customer-hotline {
		top: auto;
		right: 0.75rem;
		bottom: calc(0.75rem + env(safe-area-inset-bottom));
		transform: none;
	}

	.yunzi-customer-hotline-trigger {
		width: 3.75rem;
		height: 3.75rem;
	}

	.yunzi-customer-hotline-panel {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yunzi-customer-hotline-trigger,
	.yunzi-customer-hotline-panel {
		transition: none;
	}
}

@media print {
	.yunzi-customer-hotline {
		display: none;
	}
}
