#wmg-consent-root,
#wmg-consent-root *,
.wmg-consent-link {
	box-sizing: border-box;
}

#wmg-consent-root[hidden],
#wmg-consent-root [hidden] {
	display: none !important;
}

html.wmg-consent-modal-open,
body.wmg-consent-modal-open {
	overflow: hidden;
}

.wmg-consent {
	--wmg-ink: #182033;
	--wmg-muted: #5f687c;
	--wmg-purple: #5b4dff;
	--wmg-purple-dark: #493ae8;
	--wmg-purple-soft: #f1efff;
	--wmg-cyan: #19bfe6;
	--wmg-line: #e3e6ef;
	--wmg-panel: #ffffff;
	color: var(--wmg-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.55;
	position: relative;
	z-index: 2147482000;
}

.wmg-consent button,
.wmg-consent a,
.wmg-consent input,
.wmg-consent-link {
	font: inherit;
}

.wmg-consent__banner {
	align-items: center;
	background: var(--wmg-panel);
	border: 1px solid rgba(91, 77, 255, 0.2);
	border-radius: 24px;
	bottom: 22px;
	box-shadow: 0 24px 70px rgba(24, 32, 51, 0.18), 0 4px 16px rgba(24, 32, 51, 0.08);
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr) auto;
	left: 24px;
	margin: 0 auto;
	max-width: 1280px;
	padding: 26px 28px;
	position: fixed;
	right: 24px;
	width: auto;
	z-index: 2147482002;
}

.wmg-consent__copy {
	max-width: 750px;
	min-width: 0;
}

.wmg-consent__eyebrow {
	align-items: center;
	color: var(--wmg-purple);
	display: flex;
	font-size: 12px;
	font-weight: 800;
	gap: 9px;
	letter-spacing: 0.13em;
	line-height: 1.35;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.wmg-consent__eyebrow > span {
	background: var(--wmg-cyan);
	border-radius: 999px;
	box-shadow: 0 0 0 6px rgba(25, 191, 230, 0.12);
	display: inline-block;
	flex: 0 0 auto;
	height: 9px;
	width: 9px;
}

.wmg-consent h2,
.wmg-consent h3,
.wmg-consent p {
	color: inherit;
	font-family: inherit;
	text-transform: none;
}

.wmg-consent__banner h2,
.wmg-consent__modal h2 {
	color: var(--wmg-ink);
	font-size: clamp(23px, 2vw, 31px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.12;
	margin: 0 0 9px;
}

.wmg-consent__banner p,
.wmg-consent__modal-intro {
	color: var(--wmg-muted);
	font-size: 15px;
	line-height: 1.55;
	margin: 0;
}

.wmg-consent__links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 9px !important;
}

.wmg-consent__links a {
	color: var(--wmg-ink);
	font-size: 13px;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(91, 77, 255, 0.45);
	text-underline-offset: 3px;
}

.wmg-consent__links a:hover {
	color: var(--wmg-purple);
}

.wmg-consent__actions,
.wmg-consent__modal-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.wmg-consent__actions {
	max-width: 540px;
}

.wmg-consent__button,
.wmg-consent__close,
.wmg-consent__reopen,
.wmg-consent-link {
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	cursor: pointer;
	text-decoration: none;
}

.wmg-consent__button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 999px;
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: 13px 20px;
	text-align: center;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.wmg-consent__button--primary {
	background: linear-gradient(135deg, var(--wmg-purple), #6754ff);
	box-shadow: 0 10px 25px rgba(91, 77, 255, 0.24);
	color: #fff;
}

.wmg-consent__button--primary:hover {
	background: linear-gradient(135deg, var(--wmg-purple-dark), #5946f5);
	color: #fff;
}

.wmg-consent__button--soft {
	background: var(--wmg-purple-soft);
	color: var(--wmg-purple-dark);
}

.wmg-consent__button--soft:hover {
	background: #e7e3ff;
	color: var(--wmg-purple-dark);
}

.wmg-consent__button--outline {
	background: #fff;
	border-color: #cfd4e1;
	color: var(--wmg-ink);
}

.wmg-consent__button--outline:hover {
	border-color: var(--wmg-purple);
	color: var(--wmg-purple-dark);
}

.wmg-consent button:focus-visible,
.wmg-consent a:focus-visible,
.wmg-consent input:focus-visible + span,
.wmg-consent-link:focus-visible {
	outline: 3px solid rgba(25, 191, 230, 0.48);
	outline-offset: 3px;
}

.wmg-consent__overlay {
	align-items: center;
	background: rgba(18, 25, 43, 0.68);
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	padding: 14px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 2147482004;
}

.wmg-consent__modal {
	background: var(--wmg-panel);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 24px;
	box-shadow: 0 30px 90px rgba(9, 14, 29, 0.32);
	max-height: calc(100vh - 28px);
	max-height: calc(100dvh - 28px);
	overflow: auto;
	padding: 28px;
	width: min(650px, calc(100% - 2px));
}

.wmg-consent__modal-header {
	align-items: flex-start;
	display: flex;
	gap: 20px;
	justify-content: space-between;
}

.wmg-consent__modal-header h2 {
	margin-bottom: 0;
}

.wmg-consent__close {
	align-items: center;
	background: #f4f5f9;
	border-radius: 50%;
	color: var(--wmg-ink);
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 28px;
	height: 43px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 3px;
	width: 43px;
}

.wmg-consent__close:hover {
	background: var(--wmg-purple-soft);
	color: var(--wmg-purple-dark);
}

.wmg-consent__modal-intro {
	margin-top: 16px;
}

.wmg-consent__categories {
	border-bottom: 1px solid var(--wmg-line);
	margin-top: 22px;
}

.wmg-consent__category {
	align-items: center;
	background: #fff;
	border-top: 1px solid var(--wmg-line);
	color: var(--wmg-ink);
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin: 0;
	min-width: 0;
	padding: 18px 2px;
}

label.wmg-consent__category {
	cursor: pointer;
}

.wmg-consent__category-copy {
	display: block;
	min-width: 0;
}

.wmg-consent__category h3,
.wmg-consent__category strong {
	color: var(--wmg-ink);
	display: block;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.35;
	margin: 0 0 4px;
}

.wmg-consent__category p,
.wmg-consent__category-copy > span {
	color: var(--wmg-muted);
	display: block;
	font-size: 13px;
	line-height: 1.45;
	margin: 0;
}

.wmg-consent__always {
	background: #edf9fb;
	border-radius: 999px;
	color: #087e98;
	flex: 0 0 auto;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.03em;
	padding: 7px 10px;
	text-transform: uppercase;
}

.wmg-consent__switch {
	display: inline-block;
	flex: 0 0 auto;
	height: 28px;
	position: relative;
	width: 50px;
}

.wmg-consent__switch input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.wmg-consent__switch > span {
	background: #c9ced9;
	border-radius: 999px;
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	transition: background-color 160ms ease;
}

.wmg-consent__switch > span::before {
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 7px rgba(24, 32, 51, 0.22);
	content: "";
	height: 22px;
	left: 3px;
	position: absolute;
	top: 3px;
	transition: transform 160ms ease;
	width: 22px;
}

.wmg-consent__switch input:checked + span {
	background: var(--wmg-purple);
}

.wmg-consent__switch input:checked + span::before {
	transform: translateX(22px);
}

.wmg-consent__modal-actions {
	margin-top: 24px;
}

.wmg-consent__reopen {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(91, 77, 255, 0.25);
	border-radius: 999px;
	bottom: 16px;
	box-shadow: 0 8px 28px rgba(24, 32, 51, 0.14);
	color: var(--wmg-ink);
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	gap: 8px;
	left: 16px;
	line-height: 1.25;
	max-width: calc(100vw - 32px);
	min-height: 42px;
	padding: 10px 14px;
	position: fixed;
	z-index: 2147482001;
}

.wmg-consent__reopen svg {
	color: var(--wmg-purple);
	flex: 0 0 auto;
}

.wmg-consent__reopen:hover {
	border-color: var(--wmg-purple);
	color: var(--wmg-purple-dark);
}

.wmg-consent-link {
	background: transparent;
	color: inherit;
	display: inline;
	font-weight: inherit;
	margin: 0;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 920px) {
	.wmg-consent__banner {
		align-items: stretch;
		gap: 20px;
		grid-template-columns: minmax(0, 1fr);
	}

	.wmg-consent__actions {
		justify-content: flex-start;
		max-width: none;
	}
}

@media (max-width: 620px) {
	.wmg-consent__banner {
		border-radius: 20px;
		bottom: 10px;
		gap: 17px;
		left: 10px;
		max-height: calc(100vh - 20px);
		max-height: calc(100dvh - 20px);
		overflow: auto;
		padding: 21px 18px 18px;
		right: 10px;
	}

	.wmg-consent__banner h2,
	.wmg-consent__modal h2 {
		font-size: 23px;
	}

	.wmg-consent__banner p,
	.wmg-consent__modal-intro {
		font-size: 14px;
	}

	.wmg-consent__actions,
	.wmg-consent__modal-actions {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.wmg-consent__button {
		min-width: 0;
		width: 100%;
	}

	.wmg-consent__modal {
		border-radius: 20px;
		padding: 22px 18px;
	}

	.wmg-consent__modal-header {
		gap: 12px;
	}

	.wmg-consent__category {
		gap: 14px;
	}

	.wmg-consent__always {
		max-width: 104px;
		text-align: center;
	}

	.wmg-consent__reopen {
		bottom: 10px;
		left: 10px;
		max-width: calc(100vw - 20px);
	}
}

@media (max-width: 380px) {
	.wmg-consent__category {
		align-items: flex-start;
	}

	.wmg-consent__always {
		font-size: 9px;
		max-width: 86px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wmg-consent *,
	.wmg-consent *::before,
	.wmg-consent *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	#wmg-consent-root,
	.wmg-consent-link {
		display: none !important;
	}
}
