:root {
	color-scheme: dark;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', sans-serif;
	color: #f9f2dc;
	background: #173d34;
	font-synthesis: none;
}
* {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
	min-height: 100%;
}
body {
	background:
		linear-gradient(90deg, rgba(9, 31, 27, 0.76), rgba(9, 31, 27, 0.1)),
		linear-gradient(0deg, #102e28 0%, transparent 75%),
		url('./adventure.webp') center 40% / cover fixed;
}
body::after {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(0deg, rgba(7, 24, 21, 0.55), transparent 55%);
	z-index: -1;
}
a {
	color: #eee3c4;
	text-decoration: none;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
a:hover {
	color: white;
	text-decoration: underline;
}
button,
a {
	touch-action: manipulation;
}
button:focus-visible,
a:focus-visible {
	outline: 3px solid #ffe4a5;
	outline-offset: 5px;
}
button {
	min-height: 48px;
	border: 1px solid #e7ca85;
	border-radius: 8px;
	padding: 12px 30px;
	font: inherit;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
	cursor: pointer;
	background: #ebcf90;
	color: #18392e;
	transition: background 0.15s;
}
button:hover {
	background: #f6deaa;
}
button:disabled {
	cursor: wait;
	opacity: 0.7;
}
.secondary {
	background: transparent;
	border-color: #859f8f;
	color: #f6e8c6;
	font-weight: 400;
}
.secondary:hover {
	background: #284c3f;
}
[hidden] {
	display: none !important;
}
.launcher {
	max-width: 1220px;
	min-height: 100svh;
	margin: auto;
	padding: max(24px, env(safe-area-inset-top)) max(44px, env(safe-area-inset-right))
		max(18px, env(safe-area-inset-bottom)) max(44px, env(safe-area-inset-left));
	display: flex;
	flex-direction: column;
	gap: 28px;
}
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}
.brand {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 2px;
	gap: 14px;
}
.ro {
	color: #e7c580;
	font-size: 23px;
	margin-left: 5px;
}
.hero {
	padding: 50px 0 22px;
	flex: 1;
}
.eyebrow {
	font-size: 11px;
	letter-spacing: 4px;
	color: #e8ce95;
}
h1 {
	font-size: clamp(32px, 5vw, 58px);
	line-height: 1.25;
	letter-spacing: 3px;
	font-weight: 600;
	margin: 20px 0;
}
.intro {
	color: #e1e5d7;
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: 1px;
}
.panel {
	width: min(100%, 690px);
	padding: 26px 30px 28px;
	border: 1px solid #6c7d5b;
	border-radius: 15px;
	background: rgba(16, 45, 37, 0.94);
	box-shadow: 0 16px 70px #0004;
}
.panel-heading,
.status-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.panel-heading {
	color: #b9c8b9;
	font-size: 12px;
}
.badge {
	color: #efd69e;
	letter-spacing: 1px;
}
.status-row {
	margin: 19px 0 14px;
}
h2 {
	font-size: 19px;
	line-height: 1.6;
	font-weight: 500;
	margin: 0;
}
#percent {
	color: #edcc8b;
	font-size: 13px;
	white-space: nowrap;
}
progress {
	display: block;
	width: 100%;
	height: 6px;
	appearance: none;
	border: 0;
	border-radius: 5px;
	overflow: hidden;
	background: #466052;
	accent-color: #e4c781;
}
progress::-webkit-progress-bar {
	background: #466052;
	border-radius: 5px;
}
progress::-webkit-progress-value {
	background: #e4c781;
	border-radius: 5px;
}
progress::-moz-progress-bar {
	background: #e4c781;
}
#detail {
	color: #bdcbbb;
	font-size: 13px;
	line-height: 1.7;
	min-height: 23px;
	margin: 12px 0 22px;
	overflow-wrap: anywhere;
}
.actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
footer {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: #b4c1af;
	font-size: 12px;
}
footer a {
	color: inherit;
}
@media (max-width: 600px) {
	.launcher {
		padding: 20px max(20px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom))
			max(20px, env(safe-area-inset-left));
		gap: 20px;
	}
	.hero {
		padding: 22px 0 0;
	}
	body {
		background-position: 60% center;
	}
	.brand {
		font-size: 23px;
	}
	.panel {
		padding: 22px 20px;
	}
	.actions button {
		flex: 1;
		white-space: nowrap;
	}
	.panel-heading {
		align-items: flex-start;
	}
	#version {
		text-align: right;
		overflow-wrap: anywhere;
		max-width: 65%;
	}
	h2 {
		font-size: 18px;
	}
	footer {
		font-size: 11px;
	}
}
@media (max-height: 650px) {
	.hero {
		padding: 10px 0 0;
	}
	.intro {
		margin-bottom: 0;
	}
	.launcher {
		gap: 18px;
	}
	h1 {
		margin: 10px 0;
	}
	.panel {
		padding: 20px 26px;
	}
	footer {
		margin-top: 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
	}
}
