#rhg-cookie-notice {
	position: fixed;
	z-index: 10010;
	left: 24px;
	bottom: max(24px, env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	gap: 18px;
	width: min(760px, calc(100vw - 48px));
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	padding: 22px;
	border: 1px solid #dfe2e6;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 48px #171b202b;
	color: #171b20;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	box-sizing: border-box;
}

#rhg-cookie-notice[hidden] {
	display: none !important;
}

#rhg-cookie-notice .rhg-cookie-notice__mark {
	display: grid;
	place-items: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 4px;
	background: #171b20;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: -.6px;
}

#rhg-cookie-notice .rhg-cookie-notice__body {
	flex: 1;
	min-width: 0;
}

#rhg-cookie-notice .rhg-cookie-notice__mark img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

#rhg-cookie-notice .rhg-cookie-notice__title {
	margin: 0 0 7px;
	color: #171b20;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.3px;
}

#rhg-cookie-description {
	margin: 0 0 8px;
	color: #535c67;
	font-size: 13px;
	line-height: 1.55;
}

#rhg-cookie-notice .rhg-cookie-notice__policy {
	color: #313943;
	font-size: 12px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

#rhg-cookie-notice .rhg-cookie-notice__policy:hover {
	color: #a12e18;
}

#rhg-cookie-notice .rhg-cookie-notice__dismiss {
	flex-shrink: 0;
	min-height: 44px;
	min-width: 86px;
	margin: 0;
	padding: 11px 18px;
	border: 1px solid #171b20;
	border-radius: 4px;
	background: #171b20;
	color: #fff;
	box-shadow: none;
	font-family: inherit;
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

#rhg-cookie-notice .rhg-cookie-notice__dismiss:hover {
	border-color: #343e49;
	background: #343e49;
	color: #fff;
}

#rhg-cookie-notice:focus-visible,
#rhg-cookie-notice :is(a, button):focus-visible {
	outline: 2px solid var(--ams-accent, #f25432);
	outline-offset: 4px;
}

@media (max-width: 599px) {
	#rhg-cookie-notice {
		left: 12px;
		bottom: max(12px, env(safe-area-inset-bottom));
		display: grid;
		grid-template-columns: 40px minmax(0, 1fr);
		align-items: start;
		gap: 13px;
		width: calc(100vw - 24px);
		max-height: calc(100vh - 24px);
		padding: 16px;
	}

	#rhg-cookie-notice .rhg-cookie-notice__mark {
		width: 40px;
		height: 40px;
		font-size: 13px;
	}

	#rhg-cookie-notice .rhg-cookie-notice__title {
		font-size: 16px;
	}

	#rhg-cookie-notice .rhg-cookie-notice__dismiss {
		grid-column: 2;
		justify-self: start;
	}
}

@media (max-width: 379px) {
	#rhg-cookie-notice {
		grid-template-columns: minmax(0, 1fr);
	}

	#rhg-cookie-notice .rhg-cookie-notice__mark {
		display: none;
	}

	#rhg-cookie-notice .rhg-cookie-notice__dismiss {
		grid-column: 1;
	}
}
