/* Pie de la web (enlaces legales) y elementos sobre la pantalla de carga.
   No forman parte del export de Construct: ver CLAUDE.md, «Web». */
#site-footer {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	box-sizing: border-box;
	min-height: 28px;
	padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px));
	background: #000000;
	border-top: 1px solid #262626;
	font: 12px/16px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	text-align: center;
	touch-action: manipulation;
	-webkit-user-select: none;
	user-select: none;
}

#site-footer ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#site-footer a {
	color: #a6a6a6;
	text-decoration: none;
}

#site-footer a:hover,
#site-footer a:focus-visible {
	color: #ffffff;
	text-decoration: underline;
}

/* A pantalla completa (botón del juego) el pie se oculta y el juego ocupa toda la pantalla. */
:fullscreen #site-footer,
:root:fullscreen #site-footer {
	display: none;
}

:-webkit-full-screen #site-footer {
	display: none;
}

/* Móviles en horizontal: pie más fino para dejar más alto al juego. */
@media (max-height: 480px) {
	#site-footer {
		min-height: 22px;
		padding-top: 3px;
		padding-bottom: calc(3px + env(safe-area-inset-bottom, 0px));
		font-size: 11px;
	}
}

/* Pantalla de carga (layout Loader). site.js coloca estos elementos sobre el lienzo en cada tick:
   el código del material bajo el logo, con la opacidad del fundido del logo, y un enlace
   transparente sobre cada insignia de las tiendas (que son sprites del juego). */
#loader-code {
	position: fixed;
	z-index: 1000;
	transform: translateX(-50%);
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 20px;
	line-height: 1;
	letter-spacing: 0.06em;
	white-space: nowrap;
	color: #ffffff;
	opacity: 0;
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
}

.store-link {
	position: fixed;
	z-index: 1000;
	display: block;
	border-radius: 8px;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

.store-link:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
}

#loader-code[hidden],
.store-link[hidden] {
	display: none;
}
