/* Only presentation: Complianz owns visibility, reopening and saved consent. */
#cmplz-manage-consent button.cmplz-manage-consent.wyl-consent-settings {
	position: fixed;
	inset: auto auto calc(12px + env(safe-area-inset-bottom, 0px)) calc(12px + env(safe-area-inset-left, 0px));
	width: 44px;
	min-width: 44px;
	height: 44px;
	min-height: 44px;
	margin: 0;
	padding: 10px;
	/* Override the existing banner's custom !important border and shadow. */
	border: 1px solid rgb(164 124 224 / 45%) !important;
	border-radius: 12px;
	background: rgb(16 15 27 / 90%);
	color: #cbb6e8;
	box-shadow: 0 2px 10px rgb(100 61 160 / 12%) !important;
	animation: none;
	transform: none;
	transition: none;
	cursor: pointer;
}
#cmplz-manage-consent .wyl-consent-settings svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linejoin: round;
}
#cmplz-manage-consent button.wyl-consent-settings:focus-visible {
	outline: 2px solid #cbb6e8;
	outline-offset: 3px;
}
#cmplz-manage-consent .wyl-consent-tooltip {
	display: none;
	position: absolute;
	left: 0;
	bottom: calc(100% + 8px);
	padding: 6px 9px;
	border: 1px solid #514362;
	border-radius: 6px;
	background: #11111e;
	color: #f0edf5;
	font-size: 12px;
	line-height: 1.4;
	white-space: nowrap;
	pointer-events: none;
}
@media (hover: hover) and (min-width: 769px) {
	#cmplz-manage-consent .wyl-consent-settings:hover .wyl-consent-tooltip { display: block; }
}
@media (min-width: 769px) {
	#cmplz-manage-consent .wyl-consent-settings:focus-visible .wyl-consent-tooltip { display: block; }
}
@media (max-width: 768px) {
	/* Leave room beside the control when the visitor reaches the page bottom. */
	body:has(.wyl-consent-settings) .site-footer__bottom {
		padding-inline-start: calc(60px + env(safe-area-inset-left, 0px));
		padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
	}
	#cmplz-manage-consent button.cmplz-manage-consent.wyl-consent-settings {
		width: 40px;
		min-width: 40px;
		height: 40px;
		min-height: 40px;
		padding: 9px;
	}
}
/* Never display the reopen control over an open banner or preferences view. */
body:has(.cmplz-cookiebanner.cmplz-show) #cmplz-manage-consent .wyl-consent-settings {
	display: none;
}
