.tcc-layer[hidden] {
	display: none !important;
}

.tcc-layer {
	position: fixed;
	z-index: 999999;
	inset: 0;
	pointer-events: none;
	display: flex;
	padding: 22px;
}

.tcc-layer--top-left {
	align-items: flex-start;
	justify-content: flex-start;
}

.tcc-layer--top-center {
	align-items: flex-start;
	justify-content: center;
}

.tcc-layer--top-right {
	align-items: flex-start;
	justify-content: flex-end;
}

.tcc-layer--bottom-left {
	align-items: flex-end;
	justify-content: flex-start;
}

.tcc-layer--bottom-center {
	align-items: flex-end;
	justify-content: center;
}

.tcc-layer--bottom-right {
	align-items: flex-end;
	justify-content: flex-end;
}

.tcc-layer--center {
	align-items: center;
	justify-content: center;
	pointer-events: auto;
	background: var(--tcc-overlay, rgba(0, 0, 0, .45));
}

.tcc-popup {
	box-sizing: border-box;
	width: min(100%, var(--tcc-width, 520px));
	max-height: min(80vh, 720px);
	overflow: auto;
	pointer-events: auto;
	background: var(--tcc-bg, #fff);
	color: var(--tcc-text, #1d2327);
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 12px;
	box-shadow: 0 12px 38px rgba(0, 0, 0, .20);
	padding: 22px;
	font: inherit;
	line-height: 1.55;
}

.tcc-popup__content p {
	margin: 0 0 1em;
}

.tcc-popup__content h1,
.tcc-popup__content h2,
.tcc-popup__content h3,
.tcc-popup__content h4,
.tcc-popup__content h5,
.tcc-popup__content h6 {
	margin: 0 0 .6em;
	line-height: 1.2;
}

.tcc-popup__content ul,
.tcc-popup__content ol {
	margin: 0 0 1em;
	padding-left: 2em;
}

.tcc-popup__content li + li {
	margin-top: .35em;
}

.tcc-popup__content blockquote {
	margin: 0 0 1em;
}

.tcc-popup__content pre {
	max-width: 100%;
	overflow: auto;
}

.tcc-popup__content img,
.tcc-popup__content video,
.tcc-popup__content iframe {
	max-width: 100%;
}

.tcc-popup__content > :first-child {
	margin-top: 0;
}

.tcc-popup__content > :last-child {
	margin-bottom: 0;
}

.tcc-popup__content a {
	color: inherit;
	text-decoration: underline;
}

.tcc-popup__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.tcc-button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 15px;
	border: 1px solid currentColor;
	border-radius: 7px;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.tcc-button--accept {
	background: #2271b1;
	border-color: #2271b1;
	color: #fff;
}

.tcc-button--reject,
.tcc-button--more {
	background: transparent;
	color: var(--tcc-text, #1d2327);
}

.tcc-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.tcc-revision-toggle[hidden] {
	display: none !important;
}

.tcc-revision-toggle {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 999998;
	padding: 9px 14px;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 999px;
	background: #fff;
	color: #1d2327;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
	cursor: pointer;
}

.tcc-revision-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

@media (max-width: 600px) {
	.tcc-layer {
		padding: 12px;
	}

	.tcc-popup {
		width: 100%;
		padding: 18px;
	}

	.tcc-popup__actions {
		flex-direction: column;
	}

	.tcc-button {
		width: 100%;
	}
}
