.lineup-consent[hidden],
.lineup-consent-reopen[hidden],
.lineup-consent [hidden] {
	display: none !important;
}

.lineup-consent {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: clamp(12px, 2vw, 28px);
	background: rgb(5 5 5 / 38%);
	font-family: inherit;
	pointer-events: none;
}

.lineup-consent__card {
	width: min(1180px, 100%);
	max-height: min(88vh, 760px);
	overflow: auto;
	padding: clamp(22px, 3.5vw, 42px);
	background: #fff;
	color: #050505;
	border: 2px solid #050505;
	box-shadow: 8px 8px 0 #050505;
	pointer-events: auto;
}

.lineup-consent__intro {
	display: grid;
	grid-template-columns: minmax(240px, .62fr) minmax(300px, 1fr);
	column-gap: clamp(26px, 5vw, 76px);
	align-items: start;
}

.lineup-consent__kicker {
	grid-column: 1 / -1;
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.lineup-consent__kicker::before {
	content: '';
	display: inline-block;
	width: 30px;
	height: 7px;
	margin-right: 10px;
	background: #e4f13c;
	transform: skewX(-16deg);
}

.lineup-consent h2 {
	margin: 0;
	font-size: clamp(32px, 4.5vw, 62px);
	line-height: .92;
	letter-spacing: -.055em;
}

.lineup-consent__intro > p:not(.lineup-consent__kicker):not(.lineup-consent__policy) {
	margin: 0;
	font-size: clamp(16px, 1.55vw, 21px);
	line-height: 1.45;
}

.lineup-consent__policy {
	grid-column: 2;
	margin: 10px 0 0;
	font-size: 14px;
	font-weight: 800;
}

.lineup-consent a {
	color: inherit;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.lineup-consent__settings {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-top: 26px;
}

.lineup-consent__purpose {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 116px;
	padding: 18px;
	border: 2px solid #050505;
	background: #fff;
}

.lineup-consent__purpose--required {
	background: #f4f4f1;
}

.lineup-consent__purpose strong,
.lineup-consent__purpose span {
	display: block;
}

.lineup-consent__purpose strong {
	margin-bottom: 6px;
	font-size: 18px;
	line-height: 1;
}

.lineup-consent__purpose div > span {
	font-size: 13px;
	line-height: 1.35;
}

.lineup-consent__switch {
	position: relative;
	flex: 0 0 auto;
}

.lineup-consent__switch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.lineup-consent__switch input + span {
	position: relative;
	width: 54px;
	height: 30px;
	border: 2px solid #050505;
	background: #fff;
	cursor: pointer;
}

.lineup-consent__switch input + span::after {
	content: '';
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	background: #050505;
	transition: transform .16s ease;
}

.lineup-consent__switch input:checked + span {
	background: #e4f13c;
}

.lineup-consent__switch input:checked + span::after {
	transform: translateX(24px);
}

.lineup-consent__switch input:focus-visible + span {
	outline: 3px solid #dfa0ee;
	outline-offset: 3px;
}

.lineup-consent__switch input:disabled + span {
	cursor: not-allowed;
	opacity: .65;
}

.lineup-consent__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 24px;
}

.lineup-consent__button,
.lineup-consent-reopen {
	appearance: none;
	border: 2px solid #050505;
	border-radius: 0;
	background: #fff;
	color: #050505;
	font: inherit;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.15;
	cursor: pointer;
	box-shadow: 4px 4px 0 #050505;
}

.lineup-consent__button {
	min-height: 52px;
	padding: 12px 16px;
}

.lineup-consent__button--accept {
	background: #e4f13c;
}

.lineup-consent__button--settings,
.lineup-consent__button--save {
	background: #dfa0ee;
}

.lineup-consent__button--save {
	grid-column: 1 / -1;
}

.lineup-consent__button:hover,
.lineup-consent__button:focus-visible,
.lineup-consent-reopen:hover,
.lineup-consent-reopen:focus-visible {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 #050505;
}

.lineup-consent__button:focus-visible,
.lineup-consent-reopen:focus-visible {
	outline: 3px solid #ff7fbd;
	outline-offset: 3px;
}

.lineup-consent-reopen {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 2147482000;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	background: #e4f13c;
}

.lineup-consent-reopen svg {
	display: block;
	width: 24px;
	height: 24px;
	pointer-events: none;
}

@media (max-width: 760px) {
	.lineup-consent {
		padding: 8px;
	}

	.lineup-consent__card {
		max-height: 94vh;
		padding: 20px;
		box-shadow: 5px 5px 0 #050505;
	}

	.lineup-consent__intro {
		display: block;
	}

	.lineup-consent h2 {
		margin-bottom: 16px;
	}

	.lineup-consent__policy {
		margin-top: 10px;
	}

	.lineup-consent__settings,
	.lineup-consent__actions {
		grid-template-columns: 1fr;
	}

	.lineup-consent__button--save {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lineup-consent *,
	.lineup-consent-reopen {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
