:root {
  --bg: #020604; --panel: rgba(4, 14, 9, 0.9);
  --border: rgba(25, 196, 110, 0.35); --border-hi: rgba(25, 196, 110, 0.85);
  --text: #c8f7dc; --muted: #6fa88a; --accent: #19c46e; --accent-hi: #5dffa8;
  --bad: #ff6b6b; --warn: #e0b84a;
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--mono);
  background-image: radial-gradient(circle at 20% 0%, rgba(25,196,110,0.08), transparent 50%);
  min-height: 100vh;
}
.wrap { max-width: 50rem; margin: 0 auto; padding: 2.5rem 1rem; }
a { color: var(--accent-hi); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
.dim { color: var(--muted); }
.small { font-size: 0.8rem; }
.prompt { margin: 0 0 0.4rem; font-size: 0.85rem; }
h1 { margin: 0 0 1.5rem; font-size: clamp(1.6rem, 5vw, 2.4rem); letter-spacing: 0.1em;
     color: var(--accent-hi); text-shadow: 0 0 12px rgba(93,255,168,0.4); text-transform: uppercase; }
h2 { margin: 0 0 1rem; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); }
h2 .dim { margin-right: 0.5rem; }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 6px;
         padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }

form.post { display: grid; gap: 0.8rem; }
label { display: grid; gap: 0.3rem; font-size: 0.85rem; color: var(--muted); }
input, textarea {
  font: inherit; color: var(--text); background: rgba(0,0,0,0.5);
  border: 1px solid var(--border); border-radius: 4px; padding: 0.55rem 0.7rem; width: 100%;
}
input:focus, textarea:focus { outline: none; border-color: var(--border-hi); box-shadow: 0 0 10px rgba(25,196,110,0.3); }
textarea { resize: vertical; }
button {
  font: inherit; cursor: pointer; justify-self: start; color: var(--bg); background: var(--accent);
  border: 0; border-radius: 4px; padding: 0.45rem 1.1rem; font-weight: 700;
}
button:hover, button:focus-visible { background: var(--accent-hi); }
button.danger { background: transparent; color: var(--bad); border: 1px solid rgba(255,107,107,0.5); }
button.danger:hover { background: rgba(255,107,107,0.12); }
form.inline { display: inline; margin-right: 0.5rem; }
form.inline button { padding: 0.15rem 0.7rem; font-size: 0.8rem; }

/* honeypot: hidden from humans, visible to naive bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 0.5rem 0.8rem; border-radius: 4px; margin: 0 0 1rem; }
.notice.ok { border: 1px solid var(--border-hi); color: var(--accent-hi); }
.notice.bad { border: 1px solid rgba(255,107,107,0.6); color: var(--bad); }

.msg { border-left: 2px solid var(--border); padding: 0.4rem 0 0.4rem 0.9rem; margin: 0 0 1rem; }
.msg header { display: flex; gap: 0.8rem; align-items: baseline; font-size: 0.8rem; }
.msg .who, .who { color: var(--accent-hi); font-weight: 700; }
.msg time { color: var(--muted); }
.msg p { margin: 0.2rem 0 0; overflow-wrap: anywhere; }
.actions { margin-top: 0.4rem; }
