html.ysa-channel-consent-open,
body.ysa-channel-consent-open {
	overflow: hidden !important;
	overscroll-behavior: none;
}

#data_consent_popup.ysa-channel-consent-overlay {
	position: fixed;
	inset: 0;
	z-index: 2999;
	display: none;
	align-items: flex-end;
	justify-content: stretch;
	box-sizing: border-box;
	width: auto;
	height: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(7, 22, 22, 0.34);
	color: #142724;
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1);
	touch-action: none;
	--ysa-profile-share-accent: #0f766e;
	--ysa-channel-consent-primary-text: #ffffff;
}

#data_consent_popup.ysa-channel-consent-overlay.is-open {
	opacity: 1;
}

#data_consent_popup.ysa-channel-consent-overlay.is-closing {
	opacity: 0;
	pointer-events: none;
}

#data_consent_popup .data_consent.ysa-channel-consent-sheet {
	position: relative;
	top: auto;
	display: flex;
	flex: 0 1 auto;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	max-height: calc(100dvh - 70px);
	margin: 0;
	padding: 0 22px max(20px, env(safe-area-inset-bottom));
	overflow: hidden;
	border: 0;
	border-radius: 24px 24px 0 0;
	background: #fbfcfb;
	color: #142724;
	box-shadow: 0 -14px 42px rgba(9, 28, 26, 0.22);
	text-align: start;
	transform: translateY(28px) scale(0.995);
	transform-origin: bottom center;
	transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
	overscroll-behavior: contain;
	touch-action: pan-y;
}

#data_consent_popup.is-open .data_consent.ysa-channel-consent-sheet {
	transform: translateY(0) scale(1);
}

.ysa-channel-consent-chrome {
	position: relative;
	display: flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
}

.ysa-channel-consent-handle {
	display: block;
	width: 38px;
	height: 4px;
	border-radius: 999px;
	background: #c8d0ce;
}

button.close_data_consent_popup.ysa-channel-consent-close {
	position: absolute;
	inset-block-start: 8px;
	inset-inline-end: -4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	box-shadow: none;
	color: #53615f;
	font: inherit;
	font-size: 20px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

button.close_data_consent_popup.ysa-channel-consent-close:focus-visible {
	outline: none;
	background: #eef4f2;
}

.ysa-channel-consent-heading {
	padding: 8px 4px 0;
}

.ysa-channel-consent-identity {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-block-end: 18px;
}

.ysa-channel-consent-identity-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 12px;
	background: color-mix(in srgb, var(--ysa-profile-share-accent) 12%, #ffffff);
	color: var(--ysa-profile-share-accent);
	font-size: 18px;
}

.ysa-channel-consent-kicker {
	color: var(--ysa-profile-share-accent);
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.25;
}

#data_consent_popup .data_consent_title.ysa-channel-consent-title {
	max-width: 22ch;
	margin: 0;
	color: #142421;
	font-size: clamp(22px, 5.2vw, 29px);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.12;
	text-wrap: balance;
}

#data_consent_popup .data_consent_text.ysa-channel-consent-assurance {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	margin: 22px 4px 4px;
	padding: 14px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--ysa-profile-share-accent) 7%, #ffffff);
	color: #40514e;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.5;
}

.ysa-channel-consent-assurance > i {
	margin-block-start: 2px;
	color: var(--ysa-profile-share-accent);
}

.ysa-channel-consent-assurance-copy,
.ysa-channel-consent-assurance-copy > :first-child {
	margin-block-start: 0;
}

.ysa-channel-consent-assurance-copy > :last-child {
	margin-block-end: 0;
}

#data_consent_popup .data_consent_buttons.ysa-channel-consent-actions {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.35fr);
	gap: 10px;
	padding: 20px 0 0;
}

#data_consent_popup .data_consent_button.ysa-channel-consent-button {
	display: inline-flex;
	min-width: 0;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	box-sizing: border-box;
	margin: 0;
	padding: 12px 15px;
	border-radius: 14px;
	font: inherit;
	font-size: 13.5px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

#data_consent_popup .data_consent_button.ysa-channel-consent-button.decline {
	border: 1px solid #dbe2e0;
	background: #ffffff;
	box-shadow: none;
	color: #394744;
	font-weight: 800;
}

#data_consent_popup .data_consent_button.ysa-channel-consent-button.accept {
	border: 1px solid var(--ysa-profile-share-accent);
	background: var(--ysa-profile-share-accent);
	box-shadow: 0 6px 16px color-mix(in srgb, var(--ysa-profile-share-accent) 24%, transparent);
	color: var(--ysa-channel-consent-primary-text);
}

#data_consent_popup .ysa-channel-consent-button:focus-visible {
	outline: 2px solid var(--ysa-profile-share-accent);
	outline-offset: 2px;
}

#data_consent_popup.is-busy .ysa-channel-consent-button {
	cursor: wait;
	opacity: 0.58;
}

@media (hover: hover) and (pointer: fine) {
	button.close_data_consent_popup.ysa-channel-consent-close:hover,
	#data_consent_popup .ysa-channel-consent-button.decline:hover {
		background: #f0f4f2;
	}

	#data_consent_popup .ysa-channel-consent-button.accept:hover {
		background: var(--ysa-profile-share-accent);
		color: var(--ysa-channel-consent-primary-text);
		filter: brightness(0.94);
	}
}

@media (max-width: 360px) {
	#data_consent_popup .data_consent.ysa-channel-consent-sheet {
		padding-inline: 17px;
	}

	#data_consent_popup .data_consent_buttons.ysa-channel-consent-actions {
		grid-template-columns: 1fr;
	}
}

@media (forced-colors: active) {
	#data_consent_popup.ysa-channel-consent-overlay,
	#data_consent_popup .data_consent.ysa-channel-consent-sheet,
	#data_consent_popup .data_consent_text.ysa-channel-consent-assurance,
	#data_consent_popup .data_consent_button.ysa-channel-consent-button {
		border: 1px solid CanvasText;
		background: Canvas;
		color: CanvasText;
	}
}

@media (prefers-reduced-motion: reduce) {
	#data_consent_popup.ysa-channel-consent-overlay,
	#data_consent_popup .data_consent.ysa-channel-consent-sheet {
		transition: none;
	}
}
