#ecc-banner {
	position: fixed;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	z-index: 999999;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	max-width: min(720px, calc(100vw - 32px));
	padding: 16px 20px;
	background: #1c1c1e;
	color: #f2f2f2;
	border-radius: 10px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
	font-size: 15px;
	line-height: 1.45;
	opacity: 1;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

#ecc-banner.ecc-hidden {
	opacity: 0;
	transform: translateX(-50%) translateY(12px);
	pointer-events: none;
}

#ecc-banner .ecc-message {
	margin: 0;
	flex: 1 1 280px;
}

#ecc-banner .ecc-actions {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

#ecc-banner .ecc-btn {
	appearance: none;
	border: 0;
	border-radius: 7px;
	padding: 9px 16px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	transition: filter 0.15s ease;
}

#ecc-banner .ecc-btn:hover {
	filter: brightness(1.12);
}

#ecc-banner .ecc-btn:focus-visible {
	outline: 2px solid #8ab4ff;
	outline-offset: 2px;
}

#ecc-banner .ecc-btn-accept {
	background: #e8e8e8;
	color: #111;
}

#ecc-banner .ecc-btn-decline {
	background: transparent;
	color: #cfcfcf;
	box-shadow: inset 0 0 0 1px #4a4a4c;
}

@media (max-width: 520px) {
	#ecc-banner {
		bottom: 0;
		border-radius: 10px 10px 0 0;
		max-width: 100vw;
		width: 100%;
	}
	#ecc-banner .ecc-actions {
		width: 100%;
	}
	#ecc-banner .ecc-btn {
		flex: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	#ecc-banner {
		transition: none;
	}
}

#ecc-banner.ecc-collapsed {
	display: none;
}

#ecc-banner .ecc-policy-link {
	color: #a9c7ff;
	text-decoration: underline;
	white-space: nowrap;
}

#ecc-banner .ecc-policy-link:hover {
	color: #cadbff;
}
