.cookie-notice.hidden {
	display: none;
}

.new_up.hidden {
	display: none;
	z-index: 1;
}

.cookie-notice {
	inset: 0;
}

.cookie-backdrop {
	display: none;
}

.cookie-box {
	position: fixed;
	right: 80px;
	bottom: 72px;
	max-width: 640px;
	background: #fff;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 10000;
	outline: none;
}

.flex-row {
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
}
.cookie-text,
.cookie-text a {
	font-size: calc(14px + 2 * ((100vw - 375px) / 1545));
	color: #909090;
	line-height: 1em;
	font-weight: 400;
}

.cookie-ok {
	background: linear-gradient(92.54deg, #185ab1 -16.66%, #224a82 90.71%);
	color: white;
	border: none;
	padding: 4px 20px;
	border-radius: 10px;
	cursor: pointer;
	transition: opacity 0.3s;
	height: 48px;
}

.cookie-ok:hover {
	opacity: 0.6;
}

.visually-hidden {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 768px) {
	.cookie-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.6);
		z-index: 9998;
	}

	.cookie-box {
		left: 50%;
		bottom: 70px;
		transform: translateX(-50%);
		right: auto;
		width: 90%;
		max-width: none;
		border-radius: 12px;
		padding: 18px;
	}

	body.cookie-lock {
		overflow: hidden;
		pointer-events: none;
	}

	body.cookie-lock #cookie-notice {
		pointer-events: auto;
	}
}
.black-theme .cookie-text,
.black-theme .cookie-text a {
	color: #fff;
}
.black-theme .cookie-box {
	background-color: #576783;
}