.tn-cookie {
	position: fixed;
	inset: auto 16px 16px 16px;
	z-index: 10050;
	display: grid;
	justify-items: stretch;
	pointer-events: none;
}

.tn-cookie[hidden] {
	display: none !important;
}

.tn-cookie__panel {
	pointer-events: auto;
	width: min(560px, 100%);
	margin-inline: auto 0;
	padding: 22px 22px 18px;
	border: 1px solid rgba(244, 241, 234, 0.14);
	border-radius: 14px;
	background: #141a22;
	color: #f4f1ea;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
	font-family: var(--ds-font-body, Manrope, sans-serif);
}

.tn-cookie__panel h2 {
	margin: 0 0 10px;
	font-family: var(--ds-font-display, "Barlow Condensed", sans-serif);
	font-size: 1.55rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tn-cookie__panel p {
	margin: 0 0 12px;
	color: #b8c0ca;
	font-size: 14px;
	line-height: 1.55;
}

.tn-cookie__policy a {
	color: #3174ff;
}

.tn-cookie__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.tn-cookie__actions .button {
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 8px;
	background: #3174ff;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.tn-cookie__reject,
.tn-cookie__settings,
.tn-cookie__back {
	background: transparent !important;
	border: 1px solid rgba(244, 241, 234, 0.22) !important;
	color: #f4f1ea !important;
}

.tn-cookie__cat {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 10px;
	align-items: start;
	margin: 0 0 12px;
	color: #d7dee6;
	font-size: 14px;
	line-height: 1.45;
}

.tn-cookie__cat input {
	margin-top: 3px;
}

@media (max-width: 640px) {
	.tn-cookie {
		inset: auto 10px 10px 10px;
	}

	.tn-cookie__panel {
		margin-inline: 0;
		padding: 18px 16px 14px;
	}

	.tn-cookie__actions .button {
		flex: 1 1 100%;
	}
}
