
#gdpr-banner-root {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	pointer-events: none;
}
#gdpr-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 14px;
	pointer-events: auto;
	max-width: 100vw;
	background: rgba(10, 20, 40, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-bottom: none;
	border-radius: 12px 12px 0 0;
	padding: 8px 14px;
	margin: 0 auto;
	width: fit-content;
	font-family: "Segoe UI", system-ui, sans-serif;
	font-size: 13px;
	line-height: 1.35;
	color: #e8edf5;
	text-align: center;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	touch-action: manipulation;
	overscroll-behavior: none;
}
#gdpr-banner .gdpr-text {
	font-size: inherit;
	opacity: 0.92;
}
#gdpr-banner button {
	font: inherit;
	font-weight: 700;
	font-size: 13px;
	border: none;
	border-radius: 8px;
	padding: 5px 14px;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition:
		filter 0.15s,
		transform 0.1s;
}
#gdpr-banner button:hover {
	filter: brightness(1.1);
}
#gdpr-banner button:active {
	transform: translateY(1px);
}
#gdpr-banner .gdpr-accept {
	background: #7cfc8a;
	color: #0a0e1a;
}
#gdpr-banner .gdpr-decline {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.25);
}

@media (hover: none) and (pointer: coarse) {
	#gdpr-banner {
		width: 100%;
		border-radius: 16px 16px 0 0;
		background: rgba(10, 20, 40, 0.68);
		border: 1px solid rgba(255, 255, 255, 0.18);
		border-bottom: none;
		padding: 10px 14px calc(10px + max(8px, env(safe-area-inset-bottom, 0px)));
		font-size: 12px;
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		touch-action: manipulation;
		overscroll-behavior: none;
	}
	#gdpr-banner button {
		font-size: 13px;
		padding: 7px 18px;
		border-radius: 10px;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
	}
}

body:has(#gdpr-banner-root[hidden]) .help-footer {
	padding-bottom: max(28px, calc(16px + var(--safe-bottom, 0px)));
}
