/* same CSS as above, shortened by loading from a file generation block */
:root {
	--bg: #17140f;
	--bg2: #201a13;
	--paper: #efe6d3;
	--paper2: #ddd0b8;
	--ink: #231b14;
	--muted: #6b5a49;
	--moss: #5f6f4c;
	--pine: #2f3c2f;
	--rust: #8c5a3c;
	--gold: #b28c4f;
	--line: rgba(35, 27, 20, .16);
	--shadow: rgba(0, 0, 0, .35);
	--glow: rgba(255, 255, 255, .12);
	--accent: #86a67d;
	--danger: #9b4d3f;
	--link: #314f67;
	--pixel: "Courier New", Courier, monospace;
	--hand: "Comic Sans MS", "Bradley Hand", "Segoe Print", cursive;
	--type: Georgia, "Times New Roman", serif;
	--max: 1180px;
}

* {
	box-sizing: border-box
}

html {
	scroll-behavior: smooth
}

body {
	margin: 0;
	color: var(--ink);
	font-family: var(--type);
	background:
		radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .08), transparent 22%),
		radial-gradient(circle at 80% 20%, rgba(134, 166, 125, .14), transparent 28%),
		linear-gradient(180deg, #17140f 0%, #1f1a14 30%, #16130f 100%),
		url("brown-plaid.jpg");
	background-repeat: no-repeat, no-repeat, no-repeat, repeat;
	background-size: auto, auto, auto, auto;
	background-color: #6b4a32;
	min-height: 100vh;
	overflow-x: hidden
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(rgba(255, 255, 255, .03), rgba(0, 0, 0, .03)),
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.49 0 0 0 0 0.41 0 0 0 1 0'/></filter><rect width='240' height='240' filter='url(%23n)' opacity='.18'/></svg>");
	mix-blend-mode: soft-light;
	opacity: .55
}

a {
	color: var(--link);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px
}

a:hover {
	color: var(--rust)
}

img {
	max-width: 100%;
	display: block
}

#cursor {
	position: fixed;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	pointer-events: none;
	transform: translate(-50%, -50%);
	z-index: 9999;
	mix-blend-mode: difference;
	transition: transform .08s linear
}

@media (max-width:800px) {
	#cursor {
		display: none
	}
}

.shell {
	width: min(var(--max), calc(100vw - 24px));
	margin: 12px auto 30px;
	position: relative;
	color: var(--ink)
}

.window {
	background: linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, .18)), radial-gradient(circle at top left, rgba(255, 255, 255, .2), transparent 30%), linear-gradient(180deg, var(--paper), var(--paper2));
	border: 1px solid rgba(35, 27, 20, .32);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .35);
	border-radius: 14px;
	position: relative;
	overflow: hidden
}

.window::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent 49%, rgba(35, 27, 20, .04) 50%, transparent 51%), linear-gradient(180deg, transparent 49%, rgba(35, 27, 20, .04) 50%, transparent 51%);
	background-size: 32px 32px;
	opacity: .4;
	pointer-events: none
}

.topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	background: linear-gradient(180deg, rgba(65, 52, 40, .9), rgba(39, 31, 24, .95));
	color: #f1e7d7;
	border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.topbar .title {
	font: 700 14px/1.1 var(--pixel);
	letter-spacing: .08em;
	text-transform: uppercase
}

.badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end
}

.badge {
	font: 700 10px/1 var(--pixel);
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--ink);
	background: rgba(35, 27, 20, .08);
	border: 1px solid rgba(35, 27, 20, .12);
	padding: 5px 7px;
	border-radius: 999px
}

.topbar .badge {
	color: #f0e6d7;
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .12)
}

.badge.blink {
	animation: blink 1.2s steps(2, end) infinite
}

@keyframes blink {
	50% {
		opacity: .2
	}
}

.nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px 14px 0
}

.nav a,
.btn,
.tinybtn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid rgba(35, 27, 20, .3);
	background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .18)), linear-gradient(180deg, #d8c7aa, #cbb48d);
	color: var(--ink);
	border-radius: 12px;
	padding: 8px 11px;
	text-decoration: none;
	box-shadow: 0 2px 0 rgba(35, 27, 20, .08), inset 0 1px 0 rgba(255, 255, 255, .35);
	cursor: pointer;
	font-family: var(--pixel);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .04em
}

.nav a:hover,
.btn:hover,
.tinybtn:hover {
	transform: translateY(-1px) rotate(-.3deg);
	background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .22)), linear-gradient(180deg, #decaaa, #c6ad82)
}

.nav a.active {
	background: linear-gradient(180deg, #c2d2b7, #91a97e)
}

.hero {
	display: grid;
	grid-template-columns: 1.2fr .8fr;
	gap: 14px;
	padding: 14px
}

@media (max-width:900px) {
	.hero {
		grid-template-columns: 1fr
	}
}

.card {
	position: relative;
	background: radial-gradient(circle at top left, rgba(255, 255, 255, .35), transparent 20%), linear-gradient(180deg, rgba(255, 255, 255, .58), rgba(255, 255, 255, .22)), linear-gradient(180deg, #f0e4cf, #ddcfb5);
	border: 1px solid rgba(35, 27, 20, .18);
	border-radius: 18px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
	overflow: hidden
}

.card.pad {
	padding: 16px
}

.card h1,
.card h2,
.card h3 {
	margin: 0 0 10px;
	font-family: var(--pixel);
	letter-spacing: .05em;
	text-transform: uppercase
}

h1 {
	font-size: clamp(28px, 4vw, 52px);
	line-height: 1
}

.lead {
	font-size: clamp(16px, 2.1vw, 20px);
	max-width: 62ch
}

.small {
	font-size: 13px;
	color: var(--muted)
}

.hand {
	font-family: var(--hand);
	font-size: 18px;
	transform: rotate(-1deg)
}

.grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 14px;
	padding: 0 14px 14px
}

.span-8 {
	grid-column: span 8
}

.span-4 {
	grid-column: span 4
}

.span-6 {
	grid-column: span 6
}

.span-12 {
	grid-column: span 12
}

@media (max-width:900px) {

	.span-8,
	.span-4,
	.span-6 {
		grid-column: span 12
	}
}

.paper {
	background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .1)), radial-gradient(circle at 10% 10%, rgba(120, 90, 58, .06), transparent 24%), linear-gradient(180deg, #f8f0df, #e6d7bf);
	border: 1px solid rgba(35, 27, 20, .18);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
	position: relative
}

.paper::before {
	content: "";
	position: absolute;
	inset: 12px;
	border: 1px dashed rgba(35, 27, 20, .12);
	pointer-events: none
}

.paper .inner {
	position: relative;
	padding: 16px
}

.sticky {
	background: linear-gradient(180deg, #f1e086, #e8cd59);
	transform: rotate(-1.8deg);
	box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
	border: 1px solid rgba(122, 102, 18, .25)
}

.sticky.alt {
	background: linear-gradient(180deg, #d4e4c7, #b5c79f);
	transform: rotate(2deg)
}

.list {
	display: grid;
	gap: 10px
}

.item {
	padding: 12px 13px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .22);
	border: 1px solid rgba(35, 27, 20, .12)
}

.item .meta {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	font: 700 11px/1 var(--pixel);
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--muted);
	margin-bottom: 6px
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px
}

@media (max-width:800px) {
	.gallery {
		grid-template-columns: 1fr 1fr
	}
}

@media (max-width:520px) {
	.gallery {
		grid-template-columns: 1fr
	}
}

.polaroid {
	padding: 10px 10px 18px;
	background: linear-gradient(180deg, #fbf7ef, #e8dec9);
	transform: rotate(var(--r, -1deg));
	box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
	border: 1px solid rgba(35, 27, 20, .14)
}

.polaroid figcaption {
	margin-top: 8px;
	font: 700 12px/1.3 var(--pixel);
	text-transform: uppercase;
	letter-spacing: .04em
}

.polaroid .ph {
	aspect-ratio: 1/1;
	background: linear-gradient(180deg, rgba(255, 255, 255, .12), transparent), radial-gradient(circle at 50% 35%, rgba(134, 166, 125, .35), transparent 25%), linear-gradient(135deg, #7d8f76, #4a5c43 40%, #8a6b44 75%, #d2b086);
	border: 1px solid rgba(0, 0, 0, .1)
}

.toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 0 0 12px
}

input,
textarea,
select {
	width: 100%;
	font: 15px/1.4 var(--type);
	color: var(--ink);
	background: rgba(255, 255, 255, .46);
	border: 1px solid rgba(35, 27, 20, .22);
	border-radius: 12px;
	padding: 10px 12px;
	outline: none
}

textarea {
	min-height: 120px;
	resize: vertical
}

label {
	display: block;
	font: 700 11px/1.4 var(--pixel);
	text-transform: uppercase;
	letter-spacing: .05em;
	margin: 0 0 6px;
	color: var(--muted)
}

.formgrid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px
}

.formgrid .full {
	grid-column: 1/-1
}

@media (max-width:720px) {
	.formgrid {
		grid-template-columns: 1fr
	}
}

.footer {
	padding: 12px 14px 18px;
	color: #e9dbc8;
	font-size: 13px
}

.footer .small {
	color: rgba(233, 219, 200, .76)
}

.sidebar-stack {
	display: grid;
	gap: 12px
}

.mono {
	font-family: var(--pixel);
	font-size: 12px;
	letter-spacing: .03em
}

.codebox {
	white-space: pre-wrap;
	word-break: break-word;
	font: 13px/1.55 var(--pixel);
	background: rgba(20, 16, 12, .7);
	color: #e6dac8;
	padding: 12px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, .12)
}

.hr {
	border: 0;
	border-top: 1px dashed rgba(35, 27, 20, .22);
	margin: 14px 0
}

.hidden {
	display: none !important
}

.glitch {
	animation: glitch 7s infinite steps(1, end)
}

@keyframes glitch {

	0%,
	92%,
	100% {
		filter: none
	}

	93% {
		filter: hue-rotate(12deg) contrast(1.05) saturate(1.06);
		transform: translateX(1px)
	}

	94% {
		transform: translateX(-1px)
	}

	95% {
		filter: none
	}
}

body.night {
	background: radial-gradient(circle at 30% 12%, rgba(255, 255, 255, .08), transparent 18%), linear-gradient(180deg, #11131a, #0e1115 60%, #0a0c10)
}

body.night .window {
	box-shadow: 0 18px 45px rgba(0, 0, 0, .48)
}

body.night .card,
body.night .paper {
	filter: saturate(.86) brightness(.94)
}

body.night .badge {
	background: rgba(255, 255, 255, .06)
}

.toast {
	position: fixed;
	right: 14px;
	bottom: 14px;
	max-width: min(340px, calc(100vw - 28px));
	background: rgba(28, 22, 17, .92);
	color: #f2e9dc;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 14px;
	padding: 12px 14px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
	z-index: 9998
}

.toast strong {
	display: block;
	margin-bottom: 4px
}

.map-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px
}

@media (max-width:860px) {
	.map-grid {
		grid-template-columns: repeat(2, 1fr)
	}
}

.map-node {
	min-height: 120px;
	padding: 12px;
	border-radius: 16px;
	background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .25), transparent 24%), linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .1)), linear-gradient(180deg, #dcd0b7, #bda883);
	border: 1px solid rgba(35, 27, 20, .16);
	box-shadow: 0 6px 12px rgba(0, 0, 0, .12);
	cursor: pointer;
	position: relative
}

.map-node::after {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px dashed rgba(35, 27, 20, .12);
	border-radius: 12px;
	pointer-events: none
}

.map-node:hover {
	transform: rotate(-.4deg) translateY(-1px)
}

.secret {
	position: absolute;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	opacity: .2;
	cursor: pointer
}

.secret:hover {
	opacity: .9
}

.guestbook-wrap {

	display: flex;

	justify-content: center;

	background: #d9d1bf;

	padding: 22px;

	border: 3px double #6a5c44;

	box-shadow:
		inset 0 0 14px rgba(0, 0, 0, .12);

	position: relative;

	overflow: hidden;

}

.guestbook-wrap::before {

	content: "";

	position: absolute;

	top: -12px;
	left: 40px;

	width: 90px;
	height: 28px;

	background: rgba(230, 220, 180, .55);

	transform: rotate(-4deg);

	border: 1px solid rgba(0, 0, 0, .12);

}

.guestbook-wrap iframe {

	width: 760px;

	max-width: 100%;

	height: 575px;
	/* <-- changed */

	border: none;

	display: block;

	margin: auto;

	overflow: hidden;

	box-shadow:
		0 0 0 4px #1c3d1e;

}

.lore-stack {
	display: grid;
	gap: 12px;
}

.live-split {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	align-items: start;
}

.inventory-column {
	display: grid;
	gap: 10px;
	align-content: start;
	min-height: 360px;
}

.inventory-head {
	display: grid;
	gap: 4px;
}

.inventory-list {
	display: grid;
	gap: 10px;
	align-content: start;
	min-height: 280px;
}

.inventory-item {
	padding: 12px 13px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .24);
	border: 1px solid rgba(35, 27, 20, .12);
	box-shadow: 0 6px 14px rgba(0, 0, 0, .06);
}

.inventory-item.empty {
	font-style: italic;
	color: var(--muted);
}

.inventory-item strong {
	display: block;
	margin-bottom: 4px;
}

.inventory-item p {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
}

.inventory-item small {
	display: block;
	margin-top: 6px;
	color: var(--muted);
}

.prompt-box {
	display: block;
	width: 100%;
	min-height: 84px;
	padding: 14px;
	font-size: 18px;
	line-height: 1.55;
	border-radius: 14px;
	box-sizing: border-box;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.scavenger-board {
	display: grid;
	gap: 12px;
}

.scavenger-status {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.puzzle-panel {
	padding: 14px;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(246, 240, 223, .92), rgba(232, 220, 189, .88));
	border: 1px solid rgba(35, 27, 20, .12);
	display: grid;
	gap: 10px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}

.puzzle-meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}

.puzzle-controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
}

@media (max-width:700px) {
	.puzzle-controls {
		grid-template-columns: 1fr;
	}
}

.relic-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

@media (max-width:700px) {
	.relic-grid {
		grid-template-columns: 1fr;
	}
}

.relic-card {
	padding: 14px;
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .68), rgba(255, 255, 255, .15)), linear-gradient(180deg, #f8f0df, #e6d7bf);
	border: 1px solid rgba(35, 27, 20, .15);
	box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
	display: grid;
	gap: 8px;
	cursor: pointer;
	transition: transform .15s ease, opacity .15s ease, filter .15s ease;
}

.relic-card:hover {
	transform: translateY(-1px);
}

.relic-card.locked {
	opacity: .55;
	filter: grayscale(1);
	cursor: not-allowed;
}

.relic-card.found {
	background: linear-gradient(180deg, rgba(216, 236, 217, .85), rgba(246, 250, 242, .95));
	border-color: rgba(90, 122, 78, .4);
}

.relic-icon {
	font-size: 24px;
	line-height: 1;
}

.relic-state {
	font: 700 10px/1 "Courier New", Courier, monospace;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--muted);
}

.chest-wrap {
	display: flex;
	justify-content: center;
}

.chest-core {
	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
	display: grid;
	gap: 10px;
	justify-items: center;
	font: inherit;
	color: inherit;
}

.chest-core:disabled {
	cursor: not-allowed;
}

.chest-lid {
	display: block;
	width: 170px;
	height: 54px;
	border-radius: 16px 16px 10px 10px;
	background: linear-gradient(180deg, #7e5d43, #5f4330);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 18px rgba(0, 0, 0, .18);
	position: relative;
}

.chest-lid::after {
	content: "";
	position: absolute;
	inset: 12px 22px;
	border-radius: 8px;
	border: 1px dashed rgba(255, 255, 255, .18);
}

.chest-body {
	display: grid;
	gap: 4px;
	justify-items: center;
	padding: 12px 18px 16px;
	border-radius: 18px;
	background: linear-gradient(180deg, #f7eedf, #e3d0b3);
	border: 1px solid rgba(35, 27, 20, .14);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 16px rgba(0, 0, 0, .1);
}

.chest-core.unlocked .chest-body {
	background: linear-gradient(180deg, #f9f2df, #d9c497);
}

.chest-label {
	font: 700 12px/1 "Courier New", Courier, monospace;
	letter-spacing: .05em;
	text-transform: uppercase;
}

.chest-caption {
	font-size: 12px;
	color: var(--muted);
}

.warning-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

@media (max-width:760px) {
	.warning-grid {
		grid-template-columns: 1fr;
	}
}

.warning-label {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 14px 14px 16px;
	border-radius: 18px;
	background: linear-gradient(160deg, rgba(255, 250, 235, .96), rgba(241, 223, 196, .92));
	border: 1px solid rgba(35, 27, 20, .14);
	box-shadow: 0 12px 24px rgba(0, 0, 0, .1), inset 0 1px 0 rgba(255, 255, 255, .4);
	position: relative;
	overflow: hidden;
	transform: rotate(-0.7deg);
}

.warning-label:nth-child(even) {
	transform: rotate(0.7deg);
}

.warning-label::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .24) 45%, transparent 100%);
	pointer-events: none;
}

.warning-icon {
	font-size: 20px;
	line-height: 1;
	margin-top: 2px;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .12));
}

.warning-title {
	font: 700 11px/1 "Courier New", Courier, monospace;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--danger);
	margin-bottom: 6px;
}

.warning-copy {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
}

.reset-station {
	margin-top: 14px;
	padding: 16px;
	border-radius: 18px;
	background: linear-gradient(160deg, rgba(246, 238, 220, .96), rgba(230, 215, 189, .92));
	border: 1px dashed rgba(35, 27, 20, .16);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
}

@media (max-width:760px) {
	.reset-station {
		grid-template-columns: 1fr;
	}
}

.nuke-box {
	position: relative;
	width: 150px;
	height: 150px;
	margin: 0 auto;
}

.nuke-button {
	position: absolute;
	inset: 0;
	border: 0;
	border-radius: 22px;
	background: linear-gradient(180deg, #615146, #2d1e16);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 28px rgba(0, 0, 0, .24);
	cursor: pointer;
	overflow: hidden;
	transition: transform .18s ease, filter .18s ease, opacity .2s ease;
}

.nuke-button:hover:not(:disabled) {
	transform: translateY(-1px);
	filter: brightness(1.02);
}

.nuke-button:disabled {
	cursor: not-allowed;
	opacity: .72;
}

.nuke-button.active {
	animation: resetPulse .8s ease 1;
}

.nuke-cover {
	position: absolute;
	inset: 10px 10px 58px;
	z-index: 2;
	border: 0;
	border-radius: 18px;
	background: linear-gradient(180deg, #f2e4c8, #caa876);
	border: 1px solid rgba(35, 27, 20, .16);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 18px rgba(0, 0, 0, .12);
	transform-origin: center bottom;
	transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .35s ease;
	cursor: pointer;
}

.nuke-cover.open {
	transform: rotateX(80deg) translateY(18px);
	opacity: .92;
	pointer-events: none;
}

.nuke-cover-label {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	font: 700 9px/1 "Courier New", Courier, monospace;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #3d2a1d;
}

.nuke-cover-hinge {
	position: absolute;
	top: -9px;
	left: 50%;
	transform: translateX(-50%);
	width: 10px;
	height: 18px;
	border-radius: 999px;
	background: linear-gradient(180deg, #7a5a47, #4f372b);
}

.nuke-ring {
	position: absolute;
	inset: 20px;
	border-radius: 50%;
	border: 1px dashed rgba(255, 255, 255, .2);
}

.nuke-core {
	position: absolute;
	inset: 48px 28px 28px;
	border-radius: 18px;
	background: radial-gradient(circle at 30% 30%, rgba(255, 241, 211, .85), rgba(255, 207, 142, .2) 45%, rgba(88, 45, 31, .65) 100%);
	border: 1px solid rgba(255, 255, 255, .1);
}

.nuke-label {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	font: 700 10px/1 "Courier New", Courier, monospace;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #f7efe2;
}

#reset-overlay {
	position: fixed;
	inset: 0;
	background: radial-gradient(circle at center, rgba(255, 243, 220, .96), rgba(206, 143, 107, .74) 40%, rgba(62, 34, 28, .9) 100%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 1s ease;
	z-index: 9998;
}

body.resetting {
	overflow: hidden;
}

body.resetting .shell {
	filter: saturate(.3) blur(2px) brightness(.65);
	transition: filter 1s ease;
}

body.resetting #reset-overlay {
	opacity: 1;
}

@keyframes resetPulse {
	0% {
		transform: scale(1);
	}
	40% {
		transform: scale(1.02);
	}
	100% {
		transform: scale(1);
	}
}

.desk-note-tools {
	display: grid;
	gap: 8px;
	margin-top: 10px;
}