.burst-screen {
	position: fixed;
	inset: 0;
	z-index: 10000000;
	box-sizing: border-box;
	overflow: auto;
	padding: clamp(1rem, 3vw, 2.5rem);
	background:
		radial-gradient(circle at 18% 15%, rgb(255 79 216 / 28%), transparent 28%),
		radial-gradient(circle at 84% 8%, rgb(85 244 255 / 24%), transparent 26%),
		linear-gradient(145deg, #11194d 0%, #28135f 52%, #091238 100%);
	color: white;
	font:
		16px / 1.45 system-ui,
		sans-serif;
}
.burst-screen[hidden] {
	display: none;
}
.burst-stars {
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image:
		radial-gradient(circle, white 1px, transparent 1.5px),
		radial-gradient(circle, #55f4ff 1px, transparent 1.5px);
	background-position:
		0 0,
		24px 38px;
	background-size:
		64px 64px,
		91px 91px;
	opacity: 0.35;
}
.burst-header,
.burst-mission,
.burst-workspace,
.burst-footer {
	position: relative;
	width: min(70rem, 100%);
	margin-inline: auto;
}
.burst-header {
	display: grid;
	grid-template-columns: 1fr minmax(10rem, 16rem);
	align-items: center;
	gap: 1rem;
}
.burst-kicker {
	margin: 0;
	color: #55f4ff;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.16em;
}
.burst-header h1 {
	margin: 0.15rem 0 0.35rem;
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1;
	text-shadow: 0 0 1.5rem rgb(255 79 216 / 55%);
}
.burst-header p {
	max-width: 46rem;
	margin: 0;
	font-size: clamp(1rem, 2vw, 1.2rem);
}
.burst-inspiration {
	width: 100%;
	filter: drop-shadow(0 0 1rem rgb(85 244 255 / 55%));
}
.burst-mission {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.65rem;
	margin-block: 1rem;
}
.burst-count {
	padding: 0.65rem 0.85rem;
	border: 1px solid rgb(255 255 255 / 28%);
	border-radius: 0.8rem;
	background: rgb(255 255 255 / 10%);
	backdrop-filter: blur(0.4rem);
	text-align: center;
}
.burst-count span {
	color: #55f4ff;
	font-size: 1.25rem;
}
.burst-count strong {
	margin-left: 0.3rem;
	color: #ffdf4f;
}
.burst-energy {
	grid-column: 1 / -1;
	height: 0.8rem;
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 35%);
	border-radius: 2rem;
	background: rgb(0 0 0 / 32%);
}
.burst-energy span {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #55f4ff, #6c5cff, #ff4fd8, #ffdf4f);
	box-shadow: 0 0 1rem #55f4ff;
	transition: width 240ms ease;
}
.burst-workspace {
	position: relative;
	overflow: hidden;
	border: 2px solid rgb(85 244 255 / 58%);
	border-radius: 1.25rem;
	background: rgb(3 8 34 / 82%);
	box-shadow:
		0 1.5rem 4rem rgb(0 0 0 / 35%),
		inset 0 0 3rem rgb(108 92 255 / 18%);
}
.burst-tools {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.75rem;
	border-bottom: 1px solid rgb(255 255 255 / 16%);
}
.burst-tool,
.burst-actions button {
	min-height: 2.9rem;
	padding: 0.55rem 1rem;
	border: 2px solid rgb(255 255 255 / 32%);
	border-radius: 0.7rem;
	background: rgb(255 255 255 / 10%);
	color: white;
	font: inherit;
	font-weight: 750;
	cursor: pointer;
}
.burst-tool span {
	margin-right: 0.35rem;
	color: #55f4ff;
}
.burst-tool.is-selected {
	border-color: #ffdf4f;
	background: #5a42d8;
	box-shadow: 0 0 1rem rgb(255 223 79 / 42%);
}
.burst-canvas {
	display: block;
	width: 100%;
	min-height: min(52vh, 30rem);
	background:
		linear-gradient(rgb(85 244 255 / 8%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(85 244 255 / 8%) 1px, transparent 1px);
	background-size: 40px 40px;
	cursor: crosshair;
}
.burst-canvas:focus-visible,
.burst-tool:focus-visible,
.burst-actions button:focus-visible,
.burst-footer a:focus-visible {
	outline: 3px solid #ffdf4f;
	outline-offset: 3px;
}
.burst-placed-shape {
	filter: drop-shadow(0 0 0.75rem currentcolor);
	animation: burst-shape-arrive 280ms cubic-bezier(0.2, 1.5, 0.5, 1) both;
}
.burst-footer {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem;
	padding-block: 1rem;
}
.burst-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.burst-actions .burst-launch {
	border-color: #ffdf4f;
	background: linear-gradient(135deg, #ff4fd8, #ff754f);
	box-shadow: 0 0 1.25rem rgb(255 79 216 / 45%);
}
.burst-actions button:disabled {
	cursor: not-allowed;
	filter: grayscale(1);
	opacity: 0.45;
}
.burst-footer p {
	margin: 0;
	text-align: center;
}
.burst-footer a {
	color: #55f4ff;
}
.burst-particles {
	position: absolute;
	top: 50%;
	left: 50%;
	pointer-events: none;
}
.burst-particles span {
	position: absolute;
	font-size: 1.5rem;
	text-shadow: 0 0 0.75rem currentcolor;
	animation: burst-particle 1.2s ease-out both;
}
.burst-screen.is-complete .burst-workspace {
	animation: burst-stage-flash 900ms ease-out;
}
@keyframes burst-shape-arrive {
	from {
		opacity: 0;
		transform: scale(0.2);
	}
	to {
		opacity: 1;
	}
}
@keyframes burst-particle {
	0% {
		opacity: 1;
		transform: rotate(var(--burst-angle)) translateX(0) scale(0.4);
	}
	100% {
		opacity: 0;
		transform: rotate(var(--burst-angle)) translateX(var(--burst-distance)) scale(1.2);
	}
}
@keyframes burst-stage-flash {
	0%,
	100% {
		box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 35%);
	}
	45% {
		box-shadow:
			0 0 5rem #55f4ff,
			inset 0 0 5rem #ff4fd8;
	}
}
@media (max-width: 48rem) {
	.burst-header {
		grid-template-columns: 1fr;
	}
	.burst-inspiration {
		display: none;
	}
	.burst-mission {
		grid-template-columns: 1fr;
	}
	.burst-energy {
		grid-column: auto;
	}
	.burst-footer {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.burst-actions {
		justify-content: center;
	}
}
@media (prefers-reduced-motion: reduce) {
	.burst-energy span,
	.burst-placed-shape,
	.burst-particles span,
	.burst-screen.is-complete .burst-workspace {
		animation: none;
		transition: none;
	}
}
