.gml-consent {
	--gml-bg: #17181b;
	--gml-line: rgba(236, 235, 230, 0.12);
	--gml-text: #ecebe6;
	--gml-muted: rgba(236, 235, 230, 0.72);
	--gml-accent: #fa5e78;
	--gml-on-accent: #17080b;
	position: fixed;
	z-index: 99999;
	left: 24px;
	bottom: 24px;
	width: min(420px, calc(100vw - 32px));
	font-family: Manrope, system-ui, sans-serif;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.gml-consent[hidden] { display: none; }
.gml-consent.is-open { opacity: 1; transform: none; }

.gml-consent__card {
	background: var(--gml-bg);
	color: var(--gml-text);
	border: 1px solid var(--gml-line);
	border-radius: 20px;
	padding: 22px 22px 20px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
	outline: none;
}

.gml-consent__title {
	margin: 0 0 8px;
	font-family: "Bricolage Grotesque", Manrope, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.gml-consent__text {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--gml-muted);
}
.gml-consent__text a {
	color: var(--gml-text);
	text-decoration: underline;
	text-decoration-color: var(--gml-accent);
	text-underline-offset: 3px;
}

.gml-consent__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

/* Accept is highlighted; Reject keeps the same size and stays clearly readable. */
.gml-consent__btn {
	appearance: none;
	border: 1px solid var(--gml-accent);
	background: var(--gml-accent);
	color: var(--gml-on-accent);
	border-radius: 999px;
	padding: 11px 16px;
	font: 700 15px/1 Manrope, system-ui, sans-serif;
	cursor: pointer;
	transition: filter 0.15s ease;
}
.gml-consent__btn:hover { filter: brightness(1.08); }
.gml-consent__btn[data-gml="reject"] {
	background: transparent;
	border-color: rgba(236, 235, 230, 0.45);
	color: var(--gml-text);
}
.gml-consent__btn[data-gml="reject"]:hover {
	filter: none;
	border-color: var(--gml-text);
	background: rgba(236, 235, 230, 0.06);
}
.gml-consent__btn:focus-visible,
.gml-consent-open:focus-visible {
	outline: 2px solid var(--gml-text, #ecebe6);
	outline-offset: 3px;
}

.gml-consent-open {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	color: inherit;
	cursor: pointer;
	text-align: left;
}
.gml-consent-footer { opacity: inherit; }
.gml-consent-footer:hover { text-decoration: underline; }
.gml-consent-inline {
	color: #fa5e78;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 600px) {
	.gml-consent {
		left: 16px;
		right: 16px;
		bottom: 16px;
		width: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gml-consent { transition: none; }
}
