/* Minimal, neutral baseline styles.
	 Keep this file as the single source of truth for site styling. */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

:root {
	--page-pad: 12px;
	--safe-top: env(safe-area-inset-top, 0px);
	--safe-right: env(safe-area-inset-right, 0px);
	--safe-bottom: env(safe-area-inset-bottom, 0px);
	--safe-left: env(safe-area-inset-left, 0px);
	--inset-top: calc(var(--page-pad) + var(--safe-top));
	--inset-right: calc(var(--page-pad) + var(--safe-right));
	--inset-bottom: calc(var(--page-pad) + var(--safe-bottom));
	--inset-left: calc(var(--page-pad) + var(--safe-left));
}

@font-face {
	font-family: "Optibern";
	src: url("optibern.woff2") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

body {
	margin: 0;
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
	overflow: hidden;
	padding: 0;
	min-height: 100dvh;
}

img,
svg,
video,
canvas {
	display: block;
	max-width: 100%;
}

input,
button,
textarea,
select {
	font: inherit;
}

a {
	color: inherit;
}

:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}



.landing {
	position: fixed;
	top: var(--inset-top);
	right: var(--inset-right);
	bottom: var(--inset-bottom);
	left: var(--inset-left);
	overflow: hidden;
}

.brand {
	position: fixed;
	left: var(--inset-left);
	top: var(--inset-top);
	z-index: 10;
	font-family: "Optibern", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 20px;
	letter-spacing: 0.02em;
	color: CanvasText;
	background: Canvas;
	border-radius: 999px;
	padding: 0.4rem 0.75rem;
	line-height: 1;
	user-select: none;
}

.landing-fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.landing-fallback img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* When Pixi is active, hide the underlying fallback image to prevent a doubled look. */
.landing.pixi-ready .landing-fallback {
	display: none;
}

.pixi-root {
	position: absolute;
	inset: 0;
}

.social {
	position: fixed;
	right: var(--inset-right);
	bottom: var(--inset-bottom);
	display: flex;
	gap: 0.75rem;
	z-index: 10;
}

@media (max-width: 420px) {
	:root {
		--page-pad: 10px;
	}

	.brand {
		font-size: 18px;
		padding: 0.35rem 0.65rem;
	}

	.social-link {
		width: 40px;
		height: 40px;
	}
}

.social-link {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	color: CanvasText;
	background: Canvas;
	border: 1px solid CanvasText;
	text-decoration: none;
}

.social-link:hover {
	transform: translateY(-1px);
}

.social-link:active {
	transform: translateY(0);
}

.social-icon {
	width: 22px;
	height: 22px;
}

.noscript {
	padding: 1rem;
}
