.ts-cookie-notice {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100000;
	box-sizing: border-box;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 24px;
	padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
	background: var(--tts-primary-color, #333);
	color: #fff;
	transform: translateY(100%);
	transition: transform 0.4s ease;
}

.ts-cookie-notice[hidden] {
	display: none;
}

.ts-cookie-notice.is-visible {
	transform: translateY(0);
}

.ts-cookie-notice__body {
	flex: 1 1 auto;
	min-width: 0;
}

.ts-cookie-notice__title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}

.ts-cookie-notice__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
	overflow-wrap: anywhere;
}

.ts-cookie-notice__text a {
	color: #fff;
	text-decoration: underline;
}

.ts-cookie-notice__button {
	flex: 0 0 auto;
	min-width: 140px;
	min-height: 44px;
	padding: 10px 24px;
	border: 2px solid #fff;
	border-radius: 4px;
	background: #fff;
	color: #333;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

@media (max-width: 767px) {
	.ts-cookie-notice {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 16px;
		padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
	}

	.ts-cookie-notice__button {
		width: 100%;
		min-height: 48px;
	}
}
