/* Simple Tracking privacy notice: a small card at the bottom centre of the screen. */
.hop-notice {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 20px;
	z-index: 99999;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 16px;
	width: -moz-fit-content;
	width: fit-content;
	max-width: 400px;
	max-width: min(400px, calc(100vw - 40px));
	margin: 0 auto;
	padding: 14px 14px 14px 18px;
	background: #ffffff;
	color: #1f2328;
	border: 1px solid rgba(31, 35, 40, 0.12);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
	animation: hop-notice-in 220ms ease-out;
}

.hop-notice--hiding {
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 180ms ease-in, transform 180ms ease-in;
}

.hop-notice .hop-notice__text {
	flex: 1 1 auto;
	margin: 0;
	padding: 0;
	color: inherit;
	font: inherit;
}

.hop-notice .hop-notice__link {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	white-space: nowrap;
}

.hop-notice .hop-notice__link:hover {
	text-decoration-thickness: 2px;
}

.hop-notice .hop-notice__button {
	flex: 0 0 auto;
	margin: 0;
	padding: 9px 16px;
	min-height: 0;
	background: #1f2328;
	color: #ffffff;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	font: inherit;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
	white-space: nowrap;
}

.hop-notice .hop-notice__button:hover {
	background: #3d434b;
}

.hop-notice .hop-notice__link:focus-visible,
.hop-notice .hop-notice__button:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: 2px;
}

@keyframes hop-notice-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 480px) {
	.hop-notice {
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: auto;
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hop-notice,
	.hop-notice--hiding {
		animation: none;
		transition: none;
	}
}

@media print {
	.hop-notice {
		display: none;
	}
}
