.ib-cookie {
	position: fixed;
	left: 50%;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 8990;
	display: flex;
	align-items: center;
	gap: 16px;
	width: min(760px, calc(100vw - 32px));
	padding: 14px 14px 14px 20px;
	border: 1px solid var(--ib-line, #e4e7ec);
	border-radius: var(--ib-radius, 16px);
	background: var(--ib-bg, #fff);
	color: var(--ib-fg, #0f1115);
	box-shadow: 0 12px 32px rgba(15, 17, 21, .12);
	opacity: 0;
	transform: translate(-50%, 16px);
	transition: opacity .25s ease, transform .25s ease;
}

.ib-cookie.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

.ib-cookie__text {
	flex: 1;
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
}

.ib-cookie__link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ib-cookie__accept {
	flex: none;
	padding: 10px 20px;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.ib-cookie {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 14px 16px;
	}

	.ib-cookie__text {
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ib-cookie {
		transition: none;
	}
}
