/* The one-time offer of the English page (assets/suggest.js). Colours come from the theme when it has them. */
.cfan-lang-suggest {
	position: fixed;
	z-index: 50;
	left: 16px;
	bottom: 16px;
	max-width: min(360px, calc(100vw - 32px));
	padding: 0.85rem 1rem;
	border-radius: 14px;
	background: var(--wp--preset--color--surface-solid, #fff);
	color: var(--wp--preset--color--text, #222);
	box-shadow: 0 10px 30px -10px rgba(0, 20, 40, 0.45), 0 0 0 1px var(--wp--preset--color--line, rgba(0, 0, 0, 0.08));
	font-size: 0.92rem;
	line-height: 1.5;
	animation: cfan-lang-in 0.25s ease-out;
}
.cfan-lang-suggest p {
	margin: 0 0 0.6rem;
}
.cfan-lang-suggest-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}
.cfan-lang-suggest-go {
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	background: var(--wp--preset--color--accent, #2563eb);
	color: var(--wp--preset--color--on-accent, #fff);
	font-weight: 600;
	text-decoration: none;
}
.cfan-lang-suggest-stay {
	padding: 0.35rem 0.6rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--wp--preset--color--muted, #666);
	font: inherit;
	cursor: pointer;
}
.cfan-lang-suggest-go:focus-visible,
.cfan-lang-suggest-stay:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent, #2563eb);
	outline-offset: 2px;
}
@keyframes cfan-lang-in {
	from { opacity: 0; transform: translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
	.cfan-lang-suggest { animation: none; }
}
