/* 秉办多语站 前台切换器样式（前缀 bbml-，可在设置中禁用交主题接管） */

.bbml-switcher {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.bbml-switcher-list .bbml-sw-link {
	display: inline-block;
	padding: 2px 8px;
	margin: 0 2px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 13px;
	line-height: 1.8;
	color: inherit;
	opacity: 0.75;
}

.bbml-switcher-list .bbml-sw-link:hover {
	opacity: 1;
}

.bbml-switcher-list .bbml-sw-active {
	opacity: 1;
	font-weight: 600;
	background: rgba(0, 0, 0, 0.06);
}

.bbml-sw-select {
	padding: 4px 8px;
	border-radius: 4px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	background: transparent;
	font-size: 13px;
	cursor: pointer;
	color: inherit;
}

/* 浮动球 */
.bbml-fab {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9999;
	font-size: 14px;
}

.bbml-fab-toggle {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	background: #2271b1;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.bbml-fab-list {
	position: absolute;
	right: 0;
	bottom: 54px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	min-width: 130px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
	display: none;
}

.bbml-fab.bbml-open .bbml-fab-list {
	display: block;
}

.bbml-fab-list li a {
	display: block;
	padding: 7px 14px;
	text-decoration: none;
	color: #1d2327;
	white-space: nowrap;
}

.bbml-fab-list li a:hover {
	background: #f0f0f1;
}

.bbml-fab-list li a.bbml-sw-active {
	font-weight: 600;
	color: #2271b1;
}

@media (max-width: 600px) {
	.bbml-fab {
		right: 12px;
		bottom: 12px;
	}
	.bbml-fab-toggle {
		width: 42px;
		height: 42px;
	}
}
