.online{
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 100;
}

.online-sidebar-panel {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
	padding: 8px 6px;
	background: rgba(22, 30, 34, 0.94);
	border-radius: 12px 0 0 12px;
	box-shadow: -6px 6px 28px rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-right: none;
	backdrop-filter: blur(10px);
}

.bottom_tools {
	position: relative;
}

.bottom_tools > * {
	font: 0/0 a;
	display: block;
	margin-top: 0;
	color: transparent;
	border: 0;
	background-color: transparent;
	text-shadow: none;
}

.qr_img {
	position: absolute;
	top: 50%;
	right: calc(100% + 12px);
	transform: translateY(-50%);
	max-width: none;
	display: none;
	width: 148px;
	height: 148px;
	padding: 8px;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

#scrollUp,
.online-back-top {
	width: 44px;
	height: 44px;
	margin: 4px 0 0;
	border-radius: 8px;
	background: linear-gradient(135deg, #df1d1d 0%, #c81919 100%);
	background-image: none !important;
	box-shadow: 0 4px 14px rgba(223, 29, 29, 0.35);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

#scrollUp::before,
.online-back-top::before {
	content: "\f077";
	font-family: FontAwesome;
	font-size: 16px;
	line-height: 44px;
	display: block;
	text-align: center;
	color: #ffffff;
}

#scrollUp:hover,
.online-back-top:hover {
	background: linear-gradient(135deg, #c81919 0%, #b01515 100%) !important;
	background-image: none !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(223, 29, 29, 0.45);
}

.qr_tool {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08) !important;
	background-image: none !important;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease;
}

.qr_tool::before {
	content: "\f029";
	font-family: FontAwesome;
	font-size: 18px;
	line-height: 44px;
	display: block;
	text-align: center;
	color: #ffffff;
}

.qr_tool:hover {
	background: rgba(37, 211, 102, 0.85) !important;
	background-image: none !important;
	transform: translateX(-3px);
}

/* Header social icons - SVG based */
.header-socials .w-socials-item-link:after {
	display: none !important;
	content: none !important;
}

.header-socials .w-socials-item-link-hover {
	background: transparent !important;
}

/* X / sharing icons elsewhere */
.w-socials-item.twitter .w-socials-item-link:after {
	content: "" !important;
	display: block !important;
	font-family: inherit !important;
	line-height: inherit !important;
	position: relative !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: 0.85em 0.85em !important;
}

.l-header .w-socials-item.twitter .w-socials-item-link:after {
	line-height: 2em !important;
	background-size: 14px 14px !important;
}

.w-socials-item.twitter .w-socials-item-link-hover {
	background-color: rgba(255, 255, 255, 0.12) !important;
}

.w-sharing-item.twitter .w-sharing-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	vertical-align: top !important;
}

.w-sharing.type_solid .w-sharing-item.twitter .w-sharing-icon,
.w-sharing.type_outlined .w-sharing-item.twitter .w-sharing-icon {
	height: 2.4rem !important;
}

.w-sharing-item.twitter .w-sharing-icon:before {
	content: "" !important;
	display: block !important;
	width: 1em !important;
	height: 1em !important;
	font-family: inherit !important;
	line-height: 1 !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: contain !important;
}

/* 描边样式：白底上使用品牌色图标 */
.w-sharing.type_outlined .w-sharing-item.twitter .w-sharing-icon:before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2355acee' d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") !important;
}

/* 实心样式 & 描边悬停：深色/彩色底上使用白色图标 */
.w-sharing.type_solid .w-sharing-item.twitter .w-sharing-icon:before,
.no-touch .w-sharing.type_outlined .w-sharing-item.twitter:hover .w-sharing-icon:before,
.w-sharing.type_simple .w-sharing-item.twitter:hover .w-sharing-icon:before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") !important;
}

/* 简洁样式：默认半透明，悬停时显示品牌色 */
.w-sharing.type_simple .w-sharing-item.twitter .w-sharing-icon:before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2355acee' d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E") !important;
}

.yb_bar.social-x-icon {
	font-size: 0 !important;
	line-height: 44px !important;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background-color: rgba(255, 255, 255, 0.08);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M7 7l10 10M17 7L7 17' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	background-size: 18px 18px !important;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.online-sidebar-item:hover .social-x-icon {
	background-color: #000000 !important;
	transform: translateX(-3px);
}

.header-socials .w-socials-item .w-socials-item-link:after {
	display: none !important;
	content: none !important;
	background: none !important;
}

.header-socials .w-socials-item .w-socials-item-link-hover {
	background: transparent !important;
}