/**
 * Cookie consent banner — bottom toast.
 *
 * Deliberately a stable dark surface in BOTH light and dark mode (a cinematic
 * exception, like the hero / cut-out cards), so it reads as the inverted house
 * toast and never flips with theme-light.css. Sharp corners per the editorial
 * direction (--radius-md is 0).
 */
.bulls-cookie {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: var(--z-cookie);
	padding: var(--space-3);
	pointer-events: none; /* let clicks through the gutter; the inner card re-enables */
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.bulls-cookie.is-visible {
	opacity: 1;
	transform: none;
}

.bulls-cookie__inner {
	pointer-events: auto;
	max-width: 56rem;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-4) var(--space-5);
	background: var(--c-ink-900);
	color: var(--c-white);
	border: 1px solid var(--c-white-18);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-4);
}

.bulls-cookie__text {
	margin: 0;
	font-size: var(--fs-75);
	line-height: var(--lh-base);
	color: var(--c-white-82);
}
.bulls-cookie__text a {
	color: var(--c-white);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.bulls-cookie__actions {
	display: flex;
	gap: var(--space-2);
}
/* .bulls-cookie__btn uses canonical .bulls-cta-button (css/components/buttons.css). */

/* Footer "Cookie settings" trigger — a button that reads as a footer link. */
.bulls-site-footer__cookie-settings {
	/* 24px tap target (WCAG 2.2) without layout shift */
	margin: calc(-1 * var(--space-2)) 0;
	padding: var(--space-2) 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: pointer;
}
.bulls-site-footer__cookie-settings:hover { text-decoration: underline; }

@media (min-width: 640px) {
	.bulls-cookie__inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
	.bulls-cookie__actions { flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.bulls-cookie { transition: opacity 200ms linear; transform: none; }
	.bulls-cookie.is-visible { transform: none; }
}

/* 24px tap target (WCAG 2.2) */
.bulls-cookie__policy {
	display: inline-block;
	/* 24px tap target (WCAG 2.2) without layout shift */
	padding-block: var(--space-2);
	margin-block: calc(-1 * var(--space-2));
}
