.cookie_on {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 9998;
	width: min(820px, calc(100% - 40px));
	background: rgba(17, 17, 17, 0.94);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
	backdrop-filter: blur(14px);
	transform: translateX(-50%);
}

.cookie_on .wrapper {
	display: block;
	min-height: 0;
	overflow: visible;
}

.cookie_content {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
}

.cookie_icon {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
}

.cookie_text {
	font-family: 'Jost', sans-serif;
	font-size: 15px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.88);
}

.cookie_text a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cookie_button button {
	height: 42px;
	min-width: 92px;
	padding: 0 22px;
	border-radius: 999px;
	background: #fff;
	color: #111;
	font-family: 'Jost', sans-serif;
	font-size: 13px;
	font-weight: 500;
	transition: opacity 0.2s ease;
}

.cookie_button button:hover {
	opacity: 0.82;
}

@media (max-width: 720px) {
	.cookie_icon {
		display: none;
	}
	.cookie_text {
		font-size: 13px;
	}
	.cookie_on {
		left: 16px;
		right: 16px;
		bottom: calc(86px + env(safe-area-inset-bottom));
		width: auto;
		transform: none;
		border-radius: 16px;
	}

	.cookie_content {
		gap: 12px;
		padding: 14px;
		display: flex;
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.cookie_button {
		width: 100%;
		grid-column: 2;
	}

	.cookie_button button {
		width: 100%;
	}
}
