/* Preserve the original X5 return chevron with room for both icon and label. */
body:is(.pg_forumdisplay, .pg_guide, .pg_viewthread) #ct .pgb a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 30px;
	padding: 0 10px 0 28px;
	background-image: url(svg/arw_l.svg);
	background-size: 14px 14px;
	background-position: 9px center;
	background-repeat: no-repeat;
	line-height: 20px;
	white-space: nowrap;
}
body:is(.pg_forumdisplay, .pg_guide, .pg_viewthread) #ct .pgb a::before {
	display: none;
}
body:is(.pg_forumdisplay, .pg_guide, .pg_viewthread) #ct .pgb a:hover,
body:is(.pg_forumdisplay, .pg_guide, .pg_viewthread) #ct .pgb a:focus-visible {
	border-color: var(--dz-nvbg);
	background-color: var(--dz-nvbg);
	background-image: url(svg/arw_ls.svg);
	color: var(--dz-ff);
}

/* The existing control still calls setatarget and shows its native checked state. */
.cdbao_x5_compact #atarget {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	box-sizing: border-box;
	height: 26px;
	margin-right: 8px;
	padding: 0 8px;
	border: 1px solid var(--dz-borderb);
	border-radius: var(--dz-radius-s, 6px);
	background: var(--dz-bgf);
	color: var(--dz-fc);
	font-size: 12px;
	line-height: 20px;
	white-space: nowrap;
}
.cdbao_x5_compact #atarget::before {
	flex: 0 0 14px;
	float: none;
	width: 14px;
	height: 14px;
	margin: 0;
	font-size: 14px;
	line-height: 14px;
	color: inherit;
}
.cdbao_x5_compact #atarget.atarget_1,
.cdbao_x5_compact #atarget:hover {
	border-color: var(--dz-nvbg);
	color: var(--dz-nvbg);
	background: var(--dz-bgc);
}
