/* [VIBE] Cookie Banner. Uses the Mászóverseny theme tokens when present, with fallbacks for any theme. */
.vcb {
	position: fixed;
	z-index: 9999;
	left: max(16px, env(safe-area-inset-left, 0px));
	bottom: max(16px, env(safe-area-inset-bottom, 0px));
	display: flex;
	align-items: center;
	gap: 12px 20px;
	box-sizing: border-box;
	max-width: min(560px, calc(100vw - 32px));
	padding: 14px 14px 14px 20px;
	border: 1px solid var(--hairline, #e8ddd1);
	border-radius: var(--radius-lg, 10px);
	background: var(--surface-raised, #ffffff);
	color: var(--ink, #2b1d14);
	box-shadow: var(--shadow-3, 0 12px 32px rgba(43, 29, 20, 0.12));
	font-family: var(--font-notes, system-ui, sans-serif);
	font-size: 15px;
	line-height: 22px;
}
.vcb[hidden] { display: none; }
.vcb__text { margin: 0; }
.vcb__link { color: var(--brand-ink, #b34508); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.vcb__link:hover { color: var(--ink, #2b1d14); }
.vcb__btn {
	flex: none;
	padding: 8px 20px;
	border: 0;
	border-radius: var(--radius-pill, 999px);
	background: var(--ink, #2b1d14);
	color: var(--surface, #fffcf8);
	font-family: var(--font-display, system-ui, sans-serif);
	font-size: 15px;
	line-height: 22px;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 120ms cubic-bezier(0.2, 0.8, 0.2, 1), color 120ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.vcb__btn:hover { background: var(--flash, #ffc21a); color: var(--on-flash, #2b1d14); }
.vcb__btn:focus-visible, .vcb__link:focus-visible { outline: 2px solid var(--focus, #2b1d14); outline-offset: 2px; }
@media (max-width: 560px) {
	.vcb { right: max(16px, env(safe-area-inset-right, 0px)); flex-direction: column; align-items: stretch; padding: 16px; }
	.vcb__btn { padding: 10px 20px; }
}
@media (prefers-reduced-motion: reduce) { .vcb__btn { transition: none; } }

/* Consent mode: two equal buttons (rejecting is as easy as accepting) */
.vcb--consent { max-width: min(640px, calc(100vw - 32px)); }
.vcb__actions { flex: none; display: flex; gap: 8px; }
.vcb__btn--ghost { background: transparent; color: var(--ink, #2b1d14); box-shadow: inset 0 0 0 1.5px var(--ink, #2b1d14); }
.vcb__btn--ghost:hover { box-shadow: none; }
@media (max-width: 560px) {
	.vcb__actions { flex-direction: row-reverse; }
	.vcb__actions .vcb__btn { flex: 1 1 0; }
}
/* Footer "Süti beállítások" button, styled like the legal links next to it */
.vcb-open { padding: 0; border: 0; background: none; color: var(--ink-2, #5c4636); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.vcb-open:hover { color: var(--ink, #2b1d14); }
.vcb-open:focus-visible { outline: 2px solid var(--focus, #2b1d14); outline-offset: 2px; }
