.fnc-site-notice {
	position: fixed;
	inset: 0;
	/* Por encima de cookie-privacy (2147483646): si no, el aviso queda tapado para invitados. */
	z-index: 2147483647;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	box-sizing: border-box;
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.fnc-site-notice[hidden] {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

.fnc-site-notice__backdrop {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse at 20% 10%, rgba(232, 145, 58, 0.22), transparent 45%),
		radial-gradient(ellipse at 80% 90%, rgba(40, 90, 130, 0.35), transparent 50%),
		rgba(12, 22, 34, 0.78);
	backdrop-filter: blur(3px);
}

.fnc-site-notice__panel {
	position: relative;
	width: min(34rem, 100%);
	max-height: min(90vh, 40rem);
	overflow: auto;
	padding: 2rem 1.75rem 1.5rem;
	border-radius: 1rem;
	background: linear-gradient(165deg, #1c374e 0%, #132433 55%, #0f1c28 100%);
	color: #f3f6f9;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
	text-align: center;
	animation: fnc-site-notice-in 0.35s ease-out both;
}

@keyframes fnc-site-notice-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.fnc-site-notice__close {
	position: absolute;
	top: 0.55rem;
	right: 0.55rem;
	width: 2.25rem;
	height: 2.25rem;
	min-width: 2.25rem;
	max-width: 2.25rem;
	padding: 0 !important;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #f3f6f9;
	font-size: 1.35rem;
	line-height: 1;
	font-weight: 400;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	text-align: center;
	cursor: pointer;
	box-sizing: border-box;
	box-shadow: none;
}

.fnc-site-notice__close:hover,
.fnc-site-notice__close:focus-visible {
	background: rgba(255, 255, 255, 0.16);
	outline: none;
}

.fnc-site-notice__logo {
	display: block;
	width: 8.5rem;
	height: 8.5rem;
	object-fit: contain;
	margin: 0 auto 1.15rem;
}

.fnc-site-notice__title {
	margin: 0 0 0.85rem;
	font-size: clamp(1.35rem, 2.5vw, 1.7rem);
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}

.fnc-site-notice__body {
	margin: 0 0 1.35rem;
	font-size: 1rem;
	line-height: 1.55;
	color: rgba(243, 246, 249, 0.9);
	text-align: left;
}

.fnc-site-notice__body p {
	margin: 0 0 0.75rem;
}

.fnc-site-notice__body a {
	color: #f0b56a;
}

.fnc-site-notice__actions {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	align-items: stretch;
}

.fnc-site-notice__cta,
.fnc-site-notice__stay {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.7rem 1.1rem;
	border-radius: 0.65rem;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: 0;
	box-sizing: border-box;
}

.fnc-site-notice__cta {
	background: #e8913a;
	color: #1a1208;
}

.fnc-site-notice__cta:hover,
.fnc-site-notice__cta:focus-visible {
	background: #f0a45a;
	outline: none;
}

.fnc-site-notice__stay {
	background: transparent;
	color: rgba(243, 246, 249, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.fnc-site-notice__stay:hover,
.fnc-site-notice__stay:focus-visible {
	background: rgba(255, 255, 255, 0.06);
	outline: none;
}

@media (min-width: 540px) {
	.fnc-site-notice__actions {
		flex-direction: row;
		justify-content: center;
	}

	.fnc-site-notice__cta,
	.fnc-site-notice__stay {
		min-width: 11rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fnc-site-notice__panel {
		animation: none;
	}
}
