/* Cookie Consent 1.7 */
:root {
	--jx-cc-bg: #1c1917;
	--jx-cc-text: #fafaf9;
	--jx-cc-btn-bg: #f59e0b;
	--jx-cc-btn-text: #1c1917;
	--jx-cc-radius: 16px;
	--jx-cc-shadow: 0 18px 50px rgba(28, 25, 23, 0.28);
	--jx-cc-gap: 1rem;
	--jx-cc-z: 10050;
}

.jx-cc {
	position: fixed;
	z-index: var(--jx-cc-z);
	box-sizing: border-box;
	color: var(--jx-cc-text);
	font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.28s ease, transform 0.28s ease;
	pointer-events: none;
}

.jx-cc *,
.jx-cc *::before,
.jx-cc *::after {
	box-sizing: border-box;
}

.jx-cc--visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.jx-cc--hiding {
	opacity: 0;
	pointer-events: none;
}

.jx-cc--hidden {
	display: none;
}

.jx-cc--bottom {
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1rem;
}

.jx-cc--top {
	left: 0;
	right: 0;
	top: 0;
	padding: 1rem;
	transform: translateY(-12px);
}

.jx-cc--top.jx-cc--visible {
	transform: translateY(0);
}

.jx-cc--static {
	position: fixed;
	top: 0;
}

html.jx-cc-push {
	scroll-padding-top: var(--jx-cc-push, 0px);
}

html.jx-cc-push body {
	padding-top: var(--jx-cc-push, 0px);
}

.jx-cc--float {
	width: min(420px, calc(100vw - 2rem));
	padding: 0;
}

.jx-cc--bottom-left {
	left: 1rem;
	bottom: 1rem;
}

.jx-cc--bottom-right {
	right: 1rem;
	bottom: 1rem;
}

.jx-cc--top-left {
	left: 1rem;
	top: 1rem;
	transform: translateY(-12px);
}

.jx-cc--top-right {
	right: 1rem;
	top: 1rem;
	transform: translateY(-12px);
}

.jx-cc--top-left.jx-cc--visible,
.jx-cc--top-right.jx-cc--visible {
	transform: translateY(0);
}

.jx-cc__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--jx-cc-gap);
	width: min(1120px, 100%);
	margin: 0 auto;
	padding: 1.1rem 1.25rem;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
		var(--jx-cc-bg);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--jx-cc-radius);
	box-shadow: var(--jx-cc-shadow);
	backdrop-filter: blur(10px);
}

.jx-cc--float .jx-cc__inner {
	width: 100%;
	flex-direction: column;
	align-items: stretch;
}

.jx-cc__copy {
	flex: 1 1 16rem;
	min-width: 0;
}

.jx-cc--float .jx-cc__copy {
	flex: 0 1 auto;
}

.jx-cc__message {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.55;
	color: inherit;
}

.jx-cc__link {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.jx-cc__link:hover,
.jx-cc__link:focus-visible {
	opacity: 0.88;
}

.jx-cc__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.65rem;
	flex: 0 0 auto;
}

.jx-cc__btn {
	appearance: none;
	border: 1px solid transparent;
	border-radius: 999px;
	min-height: 44px;
	padding: 0.65rem 1.15rem;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 650;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.jx-cc__btn:focus-visible {
	outline: 2px solid var(--jx-cc-btn-bg);
	outline-offset: 3px;
}

.jx-cc__btn:hover {
	transform: translateY(-1px);
}

.jx-cc__btn:active {
	transform: translateY(0);
}

.jx-cc__btn--primary {
	background: var(--jx-cc-btn-bg);
	color: var(--jx-cc-btn-text);
	border-color: var(--jx-cc-btn-bg);
}

.jx-cc__btn--ghost {
	background: transparent;
	color: var(--jx-cc-text);
	border-color: rgba(255, 255, 255, 0.28);
}

.jx-cc__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
}

/* Themes */
.jx-cc--theme-classic .jx-cc__inner {
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(28, 25, 23, 0.22);
}

.jx-cc--theme-edgeless .jx-cc__inner {
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.jx-cc--theme-edgeless.jx-cc--bottom,
.jx-cc--theme-edgeless.jx-cc--top {
	padding: 0;
}

.jx-cc--theme-wire .jx-cc__btn--primary {
	background: transparent;
	color: var(--jx-cc-btn-bg);
	border-color: var(--jx-cc-btn-bg);
}

.jx-cc--theme-wire .jx-cc__btn--primary:hover {
	background: color-mix(in srgb, var(--jx-cc-btn-bg) 14%, transparent);
}

/* Revoke chip */
.jx-cc-revoke {
	position: fixed;
	z-index: calc(var(--jx-cc-z) - 1);
	appearance: none;
	border: 0;
	border-radius: 999px 999px 0 0;
	padding: 0.55rem 0.95rem;
	background: var(--jx-cc-bg);
	color: var(--jx-cc-text);
	font: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: var(--jx-cc-shadow);
	opacity: 0.92;
}

.jx-cc-revoke:hover,
.jx-cc-revoke:focus-visible {
	opacity: 1;
}

.jx-cc-revoke:focus-visible {
	outline: 2px solid var(--jx-cc-btn-bg);
	outline-offset: 2px;
}

.jx-cc-revoke.jx-cc-revoke--bottom,
.jx-cc-revoke.jx-cc-revoke--bottom-left {
	left: 1rem;
	bottom: 0;
	border-radius: 999px 999px 0 0;
}

.jx-cc-revoke.jx-cc-revoke--bottom-right {
	left: auto;
	right: 1rem;
	bottom: 0;
	border-radius: 999px 999px 0 0;
}

.jx-cc-revoke.jx-cc-revoke--top,
.jx-cc-revoke.jx-cc-revoke--top-left {
	left: 1rem;
	top: 0;
	border-radius: 0 0 999px 999px;
}

.jx-cc-revoke.jx-cc-revoke--top-right {
	left: auto;
	right: 1rem;
	top: 0;
	border-radius: 0 0 999px 999px;
}

@media (max-width: 640px) {
	.jx-cc--bottom,
	.jx-cc--top {
		padding: 0.75rem;
	}

	.jx-cc--float {
		left: 0.75rem !important;
		right: 0.75rem !important;
		width: auto;
	}

	.jx-cc__inner {
		padding: 1rem;
	}

	.jx-cc__actions {
		width: 100%;
	}

	.jx-cc__btn {
		flex: 1 1 auto;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jx-cc,
	.jx-cc__btn {
		transition: none;
	}
}
