.sclc-consent-manager-link {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 999980;
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 7px 13px;
	border: 1px solid rgba(139, 92, 246, .72);
	border-radius: 999px;
	background: rgba(13, 9, 32, .9);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
	backdrop-filter: blur(16px) saturate(140%);
	color: #f7f2ff !important;
	font: 650 12px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-decoration: none !important;
	transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.sclc-consent-manager-link:hover,
.sclc-consent-manager-link:focus-visible {
	background: #1a1036;
	border-color: #b79cff;
	color: #fff !important;
	transform: translateY(-1px);
}

.sclc-consent-layer {
	position: fixed;
	inset: 0;
	z-index: 999990;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: 20px;
	pointer-events: none;
}

.sclc-consent-layer[data-sclc-manage="1"] {
	align-items: center;
	justify-content: center;
	background: rgba(5, 2, 18, .72);
	backdrop-filter: blur(8px);
	pointer-events: auto;
}

.sclc-consent-dialog {
	position: relative;
	width: min(470px, 100%);
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 21px;
	border: 1px solid rgba(167, 139, 250, .38);
	border-radius: 20px;
	background: linear-gradient(145deg, rgba(23, 15, 49, .97), rgba(10, 7, 25, .97));
	box-shadow: 0 24px 70px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .035);
	backdrop-filter: blur(24px) saturate(145%);
	color: #f4efff;
	font: 14px/1.52 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	pointer-events: auto;
	transition: width .2s ease;
}

.sclc-consent-layer[data-sclc-expanded="1"] .sclc-consent-dialog,
.sclc-consent-layer[data-sclc-manage="1"] .sclc-consent-dialog {
	width: min(620px, 100%);
}

.sclc-consent-dialog h2 {
	margin: 0 42px 9px 0;
	color: #fff;
	font-size: clamp(21px, 2.4vw, 25px);
	font-weight: 720;
	letter-spacing: -.025em;
	line-height: 1.15;
}

.sclc-consent-dialog p {
	margin: 0 0 14px;
	color: #d0c7e3;
}

.sclc-consent-dialog a {
	color: #c4b5fd;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sclc-consent-close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border: 1px solid rgba(196, 181, 253, .42);
	border-radius: 50%;
	color: #fff !important;
	font-size: 23px;
	line-height: 1;
	text-decoration: none !important;
}

.sclc-consent-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 15px 0 10px;
}

.sclc-consent-button,
.sclc-consent-details > summary {
	box-sizing: border-box;
	min-height: 42px;
	border: 1px solid rgba(183, 156, 255, .82);
	border-radius: 11px;
	font: 700 13px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	cursor: pointer;
	transition: border-color .18s ease, filter .18s ease, transform .18s ease;
}

.sclc-consent-button {
	width: 100%;
	padding: 10px 15px;
}

.sclc-consent-button:disabled {
	cursor: wait;
	filter: saturate(.72);
	opacity: .66;
	transform: none;
}

.sclc-consent-reject {
	background: linear-gradient(135deg, #7642ee, #8b4df2);
	color: #fff;
}

.sclc-consent-accept,
.sclc-consent-save {
	background: linear-gradient(135deg, #7642ee, #8b4df2);
	color: #fff;
}

.sclc-consent-button:hover,
.sclc-consent-button:focus-visible,
.sclc-consent-details > summary:hover,
.sclc-consent-details > summary:focus-visible {
	outline: 2px solid #eadcff;
	outline-offset: 2px;
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.sclc-consent-details {
	margin-top: 9px;
	border-top: 1px solid rgba(167, 139, 250, .22);
	padding-top: 10px;
}

.sclc-consent-details > summary {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 15px;
	background: rgba(32, 20, 62, .62);
	color: #fff;
	list-style-position: inside;
}

.sclc-consent-details[open] > summary {
	margin-bottom: 9px;
}

.sclc-consent-category {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 8px 0;
	padding: 12px;
	border: 1px solid rgba(167, 139, 250, .24);
	border-radius: 12px;
	background: rgba(21, 16, 39, .68);
	color: #fff;
}

.sclc-consent-category strong,
.sclc-consent-category span {
	display: block;
}

.sclc-consent-category span {
	margin-top: 2px;
	color: #cfc4e6;
	font-size: 12px;
}

.sclc-consent-category input[type="checkbox"] {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: #8b5cf6;
}

.sclc-consent-category .sclc-consent-always {
	flex: 0 0 auto;
	margin: 0;
	color: #c4b5fd;
	font-weight: 700;
}

.sclc-consent-save {
	margin-top: 10px;
}

.sclc-consent-dialog .sclc-consent-retention {
	margin: 10px 0 0;
	color: #ada2c4;
	font-size: 11px;
	text-align: center;
}

.sclc-consent-status {
	margin: 9px 0 0 !important;
	color: #ddd3ef !important;
	font-size: 12px;
	font-weight: 650;
	text-align: center;
}

@media (max-width: 620px) {
	.sclc-consent-layer {
		align-items: flex-end;
		justify-content: center;
		padding: 9px;
	}

	.sclc-consent-dialog {
		width: 100%;
		max-height: calc(100vh - 18px);
		padding: 18px;
		border-radius: 17px;
	}

	.sclc-consent-layer[data-sclc-expanded="1"] .sclc-consent-dialog,
	.sclc-consent-layer[data-sclc-manage="1"] .sclc-consent-dialog {
		width: 100%;
	}

	.sclc-consent-actions {
		grid-template-columns: 1fr;
	}

	.sclc-consent-category {
		align-items: flex-start;
	}

	.sclc-consent-manager-link {
		right: 10px;
		bottom: 10px;
		min-height: 34px;
		padding: 6px 10px;
		font-size: 0;
		opacity: .84;
	}

	.sclc-consent-manager-link::after {
		content: "Cookies";
		font: 700 11px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
		letter-spacing: .01em;
	}

	body.home .sclc-consent-manager-link {
		right: 16px;
		bottom: calc(82px + env(safe-area-inset-bottom, 0px));
	}

	.sclc-consent-manager-link:hover,
	.sclc-consent-manager-link:focus-visible {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sclc-consent-dialog,
	.sclc-consent-manager-link,
	.sclc-consent-button,
	.sclc-consent-details > summary {
		transition: none;
	}

	.sclc-consent-layer[data-sclc-manage="1"] {
		backdrop-filter: none;
	}
}
