/* Cireni right-side float rail — adapted from DEVDIY diy-contact-online (footer.css)
   Read-only source: /www/wwwroot/devdiy.cn/.../footer/section/contact.php + footer.css
   Avoid overlap with #chat-trigger / Aurora (bottom-right) and mobile dock.
   Desktop only; hidden ≤768px.
*/
.cireni-float-wrapper {
	position: fixed;
	right: 0;
	bottom: 220px;
	z-index: 99990;
	color: #666;
	pointer-events: none;
	opacity: 1;
	transform: translateX(0);
	transition: opacity .3s ease, transform .3s ease;
}
.cireni-float-wrapper.is-hiding {
	opacity: 0;
	transform: translateX(24px);
	pointer-events: none;
}
.cireni-float-wrapper * {
	pointer-events: auto;
	box-sizing: border-box;
}
.cireni-float-rail {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	padding: 0;
	background: transparent;
}
.cireni-float-rail__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}
.cireni-float-close {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	width: 16px;
	min-width: 16px;
	min-height: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: #334155;
	color: #E2E8F0;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
	font-size: 12px;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}
.cireni-float-close span { display: block; font-weight: 500; }
.cireni-float-close:hover { background: #1E293B; color: #fff; }
.cireni-float-rail__list > li {
	position: relative;
	width: 64px;
	margin: 0;
	overflow: visible;
}
.cireni-float-diagnose {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 64px !important;
	height: 72px !important;
	padding: 8px 4px 6px !important;
	border-radius: 8px 0 0 0 !important;
	background: linear-gradient(135deg, var(--cireni-accent, #0284c7) 0%, #0369a1 50%, var(--cireni-teal, #0d9488) 140%) !important;
	color: #fff !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.cireni-float-diagnose:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 14px rgba(2, 132, 199, 0.32) !important;
	filter: brightness(1.05);
	color: #fff !important;
}
.cireni-float-diagnose .cireni-float-icon,
.cireni-float-diagnose .cireni-float-icon svg {
	display: block;
	width: 20px;
	height: 20px;
	color: #fff;
}
.cireni-float-diagnose .name {
	display: block;
	width: 100%;
	padding: 0 2px;
	margin: 0;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
}
.cireni-float-wechat-a {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 64px !important;
	height: 64px !important;
	padding: 8px 4px 6px !important;
	border-radius: 0 0 0 8px !important;
	background: #475569 !important;
	color: #F8FAFC !important;
	text-decoration: none !important;
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.cireni-float-wechat-a:hover {
	background: #334155 !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18) !important;
	color: #fff !important;
}
.cireni-float-wechat-a .cireni-float-icon,
.cireni-float-wechat-a .cireni-float-icon svg {
	display: block;
	width: 20px;
	height: 20px;
	color: #F8FAFC;
}
.cireni-float-wechat-a .name {
	display: block;
	width: 100%;
	padding: 0 2px;
	margin: 0;
	color: #F8FAFC;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
}
.cireni-float-pop-wechat {
	display: block;
	position: absolute !important;
	right: calc(100% + 12px) !important;
	left: auto !important;
	top: 0 !important;
	width: 160px;
	padding: 12px 10px !important;
	box-sizing: border-box;
	background: #fff !important;
	border: 1px solid #eee !important;
	border-radius: 6px;
	text-align: center;
	color: #666;
	font-size: 13px;
	line-height: 1.4;
	box-shadow: 0 8px 24px rgba(0,0,0,.18);
	z-index: 10000000;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(10px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.cireni-float-pop-wechat img {
	display: block;
	width: 140px;
	height: 140px;
	margin: 0 auto 6px !important;
	object-fit: cover;
}
.cireni-float-item-wechat:hover .cireni-float-pop-wechat,
.cireni-float-item-wechat:focus-within .cireni-float-pop-wechat {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(0);
}
.cireni-float-wrapper.is-collapsed { display: none !important; }
@media (max-width: 768px) {
	.cireni-float-wrapper { display: none !important; }
}
