/* Cookie consent — site style (bordeaux / light / Raleway) */
.arena-cookie-banner {
	--arena-cc-accent: #741522;
	--arena-cc-ink: #0a0a0a;
	--arena-cc-muted: #6c6c6c;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	top: auto;
	z-index: 99999;
	display: block;
	padding: 16px;
	padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0.35s ease;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

.arena-cookie-banner.is-visible {
	pointer-events: auto;
	opacity: 1;
	visibility: visible;
}

.arena-cookie-banner__veil {
	display: none;
}

.arena-cookie-banner__panel {
	position: relative;
	width: min(560px, 100%);
	margin: 0 auto;
	background: #fff;
	color: var(--arena-cc-ink);
	border: 1px solid rgba(10, 10, 10, 0.08);
	border-radius: 18px;
	box-shadow: 0 12px 40px rgba(10, 10, 10, 0.14);
	padding: 18px 18px 16px 20px;
	overflow: hidden;
	-webkit-transform: translate3d(0, 24px, 0);
	transform: translate3d(0, 24px, 0);
	opacity: 0;
	transition:
		transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
		opacity 0.35s ease;
}

.arena-cookie-banner.is-visible .arena-cookie-banner__panel {
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
	opacity: 1;
}

.arena-cookie-banner__accent {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--arena-cc-accent);
}

.arena-cookie-banner__title {
	margin: 0 0 6px;
	font-family: Raleway, sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--arena-cc-accent);
}

.arena-cookie-banner__text {
	margin: 0 0 14px;
	font-family: Raleway, sans-serif;
	font-size: 14px;
	line-height: 1.5;
	color: var(--arena-cc-ink);
}

.arena-cookie-banner__text--short {
	display: none;
}

.arena-cookie-banner__link {
	display: inline;
	padding: 0;
	border: 0;
	background: none;
	color: var(--arena-cc-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
	font: inherit;
}

.arena-cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.arena-cookie-btn {
	border: 0;
	border-radius: 100rem;
	padding: 10px 18px;
	font-family: Raleway, sans-serif;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	line-height: 1.2;
	-webkit-appearance: none;
	appearance: none;
	touch-action: manipulation;
}

.arena-cookie-btn--primary {
	background: var(--arena-cc-accent);
	color: #fff;
}

.arena-cookie-btn--ghost {
	background: #fff;
	color: var(--arena-cc-ink);
	border: 1px solid rgba(10, 10, 10, 0.18);
}

.arena-cookie-btn--text {
	background: transparent;
	color: var(--arena-cc-muted);
	padding-left: 8px;
	padding-right: 8px;
}

.arena-cookie-cat {
	margin-bottom: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #f5f8f9;
}

.arena-cookie-cat__row {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	cursor: pointer;
}

.arena-cookie-cat__row input {
	margin-top: 3px;
	accent-color: var(--arena-cc-accent);
}

.arena-cookie-cat__row strong {
	display: block;
	font-family: Raleway, sans-serif;
	font-size: 14px;
}

.arena-cookie-cat__row em {
	display: block;
	font-style: normal;
	color: var(--arena-cc-muted);
	font-size: 12px;
	margin-top: 2px;
}

.footer__cookie-settings {
	margin-top: 6px;
}

.footer__cookie-settings .md-line-dotted {
	cursor: pointer;
}

.popup[popupID="cookie-info-popup"] {
	z-index: 100000;
}

.arena-cookie-banner.is-paused {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.arena-cookie-info-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.arena-cookie-info-actions .arena-cookie-btn--primary {
	background: #741522;
	color: #fff;
}

.arena-cookie-info-actions .arena-cookie-btn--ghost {
	background: #fff;
	color: #0a0a0a;
	border: 1px solid rgba(10, 10, 10, 0.18);
}

.arena-cookie-info-actions .arena-cookie-btn--text {
	background: transparent;
	color: #6c6c6c;
}

/* —— Mobile: compact bottom bar —— */
@media (max-width: 899px) {
	.arena-cookie-banner {
		padding: 0;
		padding-bottom: env(safe-area-inset-bottom, 0px);
		opacity: 1;
		visibility: visible;
		pointer-events: none;
	}

	.arena-cookie-banner.is-visible {
		pointer-events: auto;
	}

	/* Keep off-screen until visible — no opacity/visibility hide that iOS can stick on */
	.arena-cookie-banner:not(.is-visible) .arena-cookie-banner__panel {
		-webkit-transform: translate3d(0, 110%, 0);
		transform: translate3d(0, 110%, 0);
		opacity: 1;
		pointer-events: none;
	}

	.arena-cookie-banner.is-visible .arena-cookie-banner__panel {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		pointer-events: auto;
	}

	.arena-cookie-banner.is-paused {
		opacity: 1 !important;
		visibility: visible !important;
	}

	.arena-cookie-banner.is-paused .arena-cookie-banner__panel {
		-webkit-transform: translate3d(0, 110%, 0) !important;
		transform: translate3d(0, 110%, 0) !important;
		pointer-events: none !important;
	}

	.arena-cookie-banner__panel {
		width: 100%;
		max-width: none;
		margin: 0;
		border-radius: 14px 14px 0 0;
		border-left: 0;
		border-right: 0;
		border-bottom: 0;
		box-shadow: 0 -8px 28px rgba(10, 10, 10, 0.12);
		padding: 14px 14px calc(12px + env(safe-area-inset-bottom, 0px));
	}

	.arena-cookie-banner__accent {
		display: none;
	}

	.arena-cookie-banner__title {
		display: none;
	}

	.arena-cookie-banner__text--full {
		display: none;
	}

	.arena-cookie-banner__text--short {
		display: block;
		margin: 0 0 10px;
		font-size: 13px;
		line-height: 1.35;
	}

	.arena-cookie-banner__actions {
		gap: 8px;
	}

	.arena-cookie-btn {
		padding: 11px 14px;
		font-size: 13px;
		min-height: 42px;
	}

	.arena-cookie-btn--primary,
	.arena-cookie-btn--ghost {
		flex: 1 1 calc(50% - 8px);
		text-align: center;
	}

	.arena-cookie-btn--text {
		flex: 1 1 100%;
		text-align: center;
		min-height: 34px;
		padding-top: 4px;
		padding-bottom: 4px;
	}

	.arena-cookie-cat {
		padding: 8px 10px;
		margin-bottom: 8px;
	}

	.arena-cookie-info-actions .arena-cookie-btn--primary,
	.arena-cookie-info-actions .arena-cookie-btn--ghost {
		flex: 1 1 calc(50% - 8px);
		min-height: 42px;
	}

	.arena-cookie-info-actions .arena-cookie-btn--text {
		flex: 1 1 100%;
		text-align: center;
	}
}

#cookie_notification {
	display: none !important;
}
