.ml-prefs-banner {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 2000;
	width: min(640px, calc(100% - 2rem));
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1.1rem;
	padding: 1.15rem 1.25rem;
	color: #fff;
	background: rgba(12, 18, 22, 0.97);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	transition: opacity 220ms ease, transform 220ms ease;
}

.ml-prefs-banner.is-hiding {
	opacity: 0;
	transform: translateY(10px);
}

.ml-prefs-eyebrow {
	margin: 0 0 4px;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #5fd0c5;
}

.ml-prefs-banner h2 {
	margin: 0 0 8px;
	font-size: 1.2rem;
	font-weight: 800;
	color: #fff;
}

.ml-prefs-banner p {
	margin: 0 0 10px;
	font-size: .9rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
}

.ml-prefs-links {
	font-size: .85rem;
}

.ml-prefs-links a {
	color: #6fe0d4;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ml-prefs-options {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	margin-top: 4px;
}

.ml-prefs-options label {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	min-height: 36px;
	padding: .4rem .65rem;
	font-size: .85rem;
	color: rgba(255, 255, 255, 0.85);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
}

.ml-prefs-actions {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	justify-content: center;
}

.ml-prefs-btn {
	cursor: pointer;
	padding: .5rem .95rem;
	font-size: .9rem;
	font-weight: 700;
	border-radius: 8px;
	border: 1px solid transparent;
	white-space: nowrap;
	transition: background 150ms ease, border-color 150ms ease;
}

.ml-prefs-btn-primary {
	background: #0f6b7a;
	color: #fff;
	border-color: #0f6b7a;
}

.ml-prefs-btn-primary:hover {
	background: #0a5160;
	border-color: #0a5160;
}

.ml-prefs-btn-ghost {
	background: transparent;
	color: rgba(255, 255, 255, 0.9);
	border-color: rgba(255, 255, 255, 0.3);
}

.ml-prefs-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
	.ml-prefs-banner {
		grid-template-columns: 1fr;
		right: .5rem;
		bottom: .5rem;
		width: calc(100% - 1rem);
	}

	.ml-prefs-actions {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.ml-prefs-actions .ml-prefs-btn {
		flex: 1 1 auto;
	}
}
