/* The cookie banner (30 November 2026): only for the EU and EEA, the United Kingdom and Switzerland. Small, at the bottom, two equal
   buttons. The page gets room at its end, and bars that sit at the bottom move up, so nothing stays covered. */
.dg-cookies {
	position: fixed;
	right: max(12px, env(safe-area-inset-right, 0px));
	bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	left: max(12px, env(safe-area-inset-left, 0px));
	z-index: 190;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	align-items: center;
	justify-content: space-between;
	max-width: 940px;
	margin: 0 auto;
	padding: 12px 16px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-lg, 14px);
	background: var(--bg-2);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
	color: var(--text);
}
.dg-cookies__text {
	flex: 1 1 340px;
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.45;
}
.dg-cookies__text a {
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.dg-cookies__go {
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
}
.dg-cookies__btn {
	min-width: 112px;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--primary);
	border-radius: 999px;
	background: transparent;
	color: var(--text);
	font: 600 0.9375rem/1 var(--font-sans);
	cursor: pointer;
}
.dg-cookies__btn:hover {
	background: var(--primary-soft);
}
.dg-cookies__btn:focus-visible,
.dg-cookie-link:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 2px;
}
.dg-cookie-link {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	cursor: pointer;
}
.dg-cookie-link[hidden] {
	display: none !important;
}
.has-cookie-banner body {
	padding-bottom: calc(var(--dg-cookie-h, 0px) + 24px);
}
/* the home hero's line of scene names and the editor's bar sit at the bottom: they move above the banner */
.has-cookie-banner .dg-bar,
.has-cookie-banner .item-bar {
	bottom: calc(var(--dg-cookie-h, 0px) + 24px);
}
@media (max-width: 899px) {
	/* no room above the banner for the hero's "scroll to explore" line: it comes back when the banner is gone */
	.has-cookie-banner .dg-bar {
		visibility: hidden;
	}
	.footer-bottom .footer-legal-links:has(.dg-cookie-link:not([hidden])) {
		flex-wrap: wrap;
		gap: 0 14px;
	}
}
@media (max-width: 599px) {
	.dg-cookies {
		right: 8px;
		bottom: calc(8px + env(safe-area-inset-bottom, 0px));
		left: 8px;
		gap: 8px;
		padding: 10px 12px;
	}
	.dg-cookies__text {
		flex-basis: 100%;
		font-size: 0.8125rem;
		line-height: 1.4;
	}
	.dg-cookies__go {
		flex: 1 1 100%;
	}
	.dg-cookies__btn {
		flex: 1 1 50%;
		min-width: 0;
	}
}
@media print {
	.dg-cookies {
		display: none;
	}
}
.dfoot .dfoot__cookie {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	color: var(--text-2);
}
.dfoot .dfoot__cookie:hover {
	color: var(--text);
}
