:root {
	--ink: #0e1311;
	--paper: #171e1b;
	--line: #2a342f;
	--mist: #8b9c92;
	--lime: #c6ef4a;
	--cream: #eef3ea;
	--danger: #f0a8a0;
	--sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; }
body {
	min-height: 100dvh;
	background: var(--ink);
	color: var(--cream);
	font-family: var(--sans);
	-webkit-font-smoothing: antialiased;
}
::selection { background: color-mix(in srgb, var(--lime) 40%, transparent); }
a { color: inherit; text-decoration: inherit; }
button, input, textarea {
	font: inherit;
	color: inherit;
	background: transparent;
	border-radius: 0;
}
.shell {
	margin: 0 auto;
	display: flex;
	min-height: 100dvh;
	width: 100%;
	max-width: 42rem;
	flex-direction: column;
	padding: 2rem 1.25rem;
}
@media (min-width: 40rem) { .shell { padding-inline: 2rem; } }
.top {
	margin-bottom: 2.5rem;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
}
.brand { font-family: var(--mono); font-size: 0.875rem; letter-spacing: 0.28em; color: var(--lime); }
.tag, .foot { font-size: 0.75rem; color: var(--mist); }
.main { flex: 1; }
.foot { margin-top: 4rem; }
h1 { margin-bottom: 0.75rem; font-size: 1.875rem; font-weight: 600; letter-spacing: -0.025em; }
.lede { margin-bottom: 2rem; color: var(--mist); max-width: 28rem; }
.alert {
	margin-bottom: 1.5rem;
	border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent);
	background: color-mix(in srgb, var(--danger) 10%, transparent);
	color: var(--danger);
	border-radius: 0.5rem;
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
}
.alert.keep { margin: 1rem 0 0; }
.stack { display: flex; max-width: 24rem; flex-direction: column; gap: 1rem; }
.stack.wide { max-width: none; }
label { font-size: 0.875rem; color: var(--mist); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.pin {
	border: 1px solid var(--line);
	background: var(--paper);
	border-radius: 0.5rem;
	padding: 0.75rem 1rem;
	font-family: var(--mono);
	font-size: 1.5rem;
	letter-spacing: 0.4em;
	color: var(--cream);
	outline: none;
}
.pin:focus, .body:focus { border-color: var(--lime); }
.body {
	min-height: 16rem;
	width: 100%;
	resize: vertical;
	border: 1px solid var(--line);
	background: var(--paper);
	border-radius: 0.75rem;
	padding: 1rem;
	font-family: var(--mono);
	font-size: 0.875rem;
	line-height: 1.5rem;
	color: var(--cream);
	outline: none;
}
.row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.hint { font-size: 0.75rem; color: var(--mist); }
.btn {
	margin-top: 0.5rem;
	border: 0;
	border-radius: 0.5rem;
	background: var(--lime);
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
}
.btn:hover { filter: brightness(1.1); }
.btn.save { margin-top: 0; padding-inline: 1.25rem; }
.ghost {
	flex-shrink: 0;
	border: 1px solid var(--line);
	border-radius: 0.5rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	color: var(--cream);
	cursor: pointer;
	background: transparent;
}
.ghost:hover { border-color: var(--lime); }
.link { font-size: 0.875rem; color: var(--lime); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--lime) 30%, transparent); }
.mt8 { margin-top: 2rem; }
.card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	border: 1px solid var(--line);
	background: var(--paper);
	border-radius: 0.75rem;
	padding: 1rem;
}
@media (min-width: 40rem) {
	.card { flex-direction: row; align-items: center; }
}
.url {
	min-width: 0;
	flex: 1;
	word-break: break-all;
	font-family: var(--mono);
	font-size: 0.875rem;
	color: var(--lime);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: color-mix(in srgb, var(--lime) 30%, transparent);
}
.kicker {
	font-size: 0.875rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--mist);
}
pre.paste {
	overflow-x: auto;
	white-space: pre-wrap;
	overflow-wrap: break-word;
	border: 1px solid var(--line);
	background: var(--paper);
	border-radius: 0.75rem;
	padding: 1.25rem;
	font-family: var(--mono);
	font-size: 0.875rem;
	line-height: 1.5rem;
}
