/* What a browser under the floor shows instead of the page (too-old.tsx,
 * public/browser-floor.js). Served as written, never through the build,
 * and old on purpose: no web font, no light-dark(), color-mix() or
 * :where(), and the -webkit-box fallbacks kept, so it draws on the
 * browser it turns away. */

#romps-too-old {
	display: none;
}

html[data-too-old] body {
	margin: 0;
	background: #f4f3ef;
	color: #141414;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html[data-too-old] body > :not(#romps-too-old) {
	display: none !important;
}

html[data-too-old] #romps-too-old {
	display: -webkit-box;
	display: flex;
	-webkit-box-orient: vertical;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	box-sizing: border-box;
	padding: 32px 20px;
	text-align: center;
}

#romps-too-old svg {
	width: 80px;
	height: 80px;
	margin-bottom: 12px;
}

#romps-too-old h1 {
	margin: 0 0 8px;
	font-size: 26px;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: -0.01em;
}

#romps-too-old p {
	margin: 0;
	max-width: 30em;
	color: #52524d;
	font-size: 16px;
	line-height: 1.5;
}

#romps-too-old .works {
	margin-top: 4px;
	font-size: 14px;
}

#romps-too-old a {
	display: inline-block;
	margin-top: 20px;
	padding: 0 18px;
	line-height: 44px;
	border: 1px solid rgba(20, 20, 20, 0.08);
	border-radius: 999px;
	color: #141414;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
}
