/* ==========================================================
   schrottrecorder.com — dark, simple, a bit beautiful
   ========================================================== */

:root {
  --bg: #0b0d10;
  --surface: #13171d;
  --border: #20262f;
  --text: #c9d1dc;
  --muted: #6a7482;
  --accent: #7fdca8;          /* soft green for .value */
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 500px at 50% -10%, rgba(127, 220, 168, .06), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: grid;
  place-content: center;      /* centers heading + code block */
  gap: 1.25rem;
  padding: 4rem 1.5rem;
}

/* --- heading as a small uppercase "label" ----------------- */

h1 {
  margin: 0;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- code block as a quiet card ---------------------------- */

pre {
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow-x: auto;
  font-size: .95rem;
  line-height: 1.7;
}

pre::-webkit-scrollbar        { height: 8px; }
pre::-webkit-scrollbar-thumb  { background: var(--border); border-radius: 4px; }

code {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
               "Liberation Mono", monospace;
  color: #98a3b1;
}

/* --- THE important part ------------------------------------ */

.value {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
               "Liberation Mono", monospace;
  font-size: 1.3em;
  font-weight: 600;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(127, 220, 168, .35);   /* subtle glow */
}

/* --- small touches ------------------------------------------- */

::selection { background: rgba(127, 220, 168, .25); color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  body > * { animation: fade-in .45s ease both; }
  body > :nth-child(2) { animation-delay: .08s; }
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

a.links,
button.links {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	font: inherit;          /* kills the browser's default button font/color */
	color: var(--muted);
	text-decoration: none;
	cursor: pointer;
	text-align: left;
}
a.links:hover,
button.links:hover { color: var(--text); }
.links.copied { color: var(--accent); }
