.wfi-consent,
.wfi-consent *,
.wfi-choices {
	box-sizing: border-box;
}

.wfi-consent {
	position: fixed;
	left: 50%;
	bottom: 20px;
	z-index: 100000;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 16px;
	align-items: center;
	width: min(760px, calc(100vw - 40px));
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	background:
		radial-gradient(circle at 2% 0%, rgba(241, 8, 82, 0.22), transparent 34%),
		rgba(15, 15, 20, 0.97);
	box-shadow: 0 24px 70px rgba(11, 3, 29, 0.26);
	color: #fff;
	font-family: "Poppins", Arial, sans-serif;
	opacity: 0;
	transform: translate(-50%, 16px);
	transition: opacity 220ms ease, transform 220ms ease;
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}

.wfi-consent.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

.wfi-consent[hidden],
.wfi-choices[hidden],
.wfi-consent [hidden] {
	display: none !important;
}

.wfi-consent__mark {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.07);
}

.wfi-consent__mark span {
	position: relative;
	width: 16px;
	height: 16px;
	border: 2px solid #ff316e;
	border-radius: 50%;
}

.wfi-consent__mark span::after {
	position: absolute;
	right: -5px;
	bottom: -4px;
	width: 7px;
	height: 2px;
	border-radius: 10px;
	background: #ff316e;
	content: "";
	transform: rotate(45deg);
}

.wfi-consent__copy strong {
	display: block;
	margin-bottom: 2px;
	font-size: 0.8rem;
	line-height: 1.3;
}

.wfi-consent__copy p {
	margin: 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 0.68rem;
	line-height: 1.5;
}

.wfi-consent__copy a,
.wfi-consent__text-button,
.wfi-consent__reset {
	margin-left: 5px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	background: transparent;
	color: rgba(255, 255, 255, 0.86);
	font: inherit;
	cursor: pointer;
}

.wfi-consent__details {
	grid-column: 1 / -1;
	padding: 14px 4px 1px 54px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.65);
}

.wfi-consent__details > p {
	margin: 0 0 7px;
	color: #fff;
	font-size: 0.68rem;
}

.wfi-consent__details ul {
	display: grid;
	gap: 3px;
	margin: 0;
	padding-left: 16px;
	font-size: 0.61rem;
	line-height: 1.55;
}

.wfi-consent__details > div {
	display: flex;
	gap: 12px;
	margin-top: 9px;
}

.wfi-consent__details a,
.wfi-consent__details button {
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	background: none;
	color: rgba(255, 255, 255, 0.84);
	font: inherit;
	font-size: 0.6rem;
	cursor: pointer;
}

.wfi-consent__signal {
	margin-top: 4px !important;
	color: #d9ffab !important;
}

.wfi-consent__actions {
	display: flex;
	gap: 8px;
}

.wfi-button {
	min-height: 40px;
	padding: 0 15px;
	border: 0;
	border-radius: 9px;
	font-size: 0.67rem;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.wfi-button:hover {
	transform: translateY(-1px);
}

.wfi-button--quiet {
	border: 1px solid rgba(255, 255, 255, 0.17);
	background: #fff;
	color: #16151d;
}

.wfi-button--quiet:hover {
	background: #f1f1f3;
}

.wfi-button--primary {
	background: linear-gradient(112deg, #f10852 0%, #bd0870 52%, #6f0a79 100%);
	box-shadow: 0 10px 24px rgba(241, 8, 82, 0.22);
	color: #fff;
}

.wfi-button:disabled {
	opacity: 0.42;
	cursor: not-allowed;
	transform: none;
}

.wfi-choices {
	position: fixed;
	right: 14px;
	bottom: 12px;
	z-index: 99999;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 10px;
	border: 1px solid rgba(16, 16, 21, 0.12);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 8px 24px rgba(16, 16, 21, 0.08);
	color: #64646f;
	font-family: "Poppins", Arial, sans-serif;
	font-size: 0.58rem;
	font-weight: 700;
	cursor: pointer;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.wfi-choices span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #e4124d;
	box-shadow: 0 0 0 3px rgba(228, 18, 77, 0.1);
}

.wfi-consent button:focus-visible,
.wfi-consent a:focus-visible,
.wfi-choices:focus-visible {
	outline: 3px solid #9ee346;
	outline-offset: 3px;
}

@media (max-width: 760px) {
	.wfi-consent {
		left: 10px;
		right: 10px;
		bottom: 10px;
		grid-template-columns: auto minmax(0, 1fr);
		width: calc(100vw - 20px);
		padding: 14px;
		border-radius: 14px;
		transform: translateY(16px);
	}

	.wfi-consent.is-visible {
		transform: translateY(0);
	}

	.wfi-consent__mark {
		align-self: start;
		width: 34px;
		height: 34px;
	}

	.wfi-consent__actions {
		grid-column: 1 / -1;
	}

	.wfi-consent__details {
		padding-left: 0;
	}

	.wfi-button {
		flex: 1;
	}

	.wfi-choices {
		left: 14px;
		right: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wfi-consent,
	.wfi-button {
		transition: none;
	}
}
