:root {
  --bg: #050604;
  --panel: #0a0d08;
  --ink: #d7e8b0;
  --muted: #7d8a62;
  --dim: #4d5640;
  --poison: #c8f542;
  --poison-2: #8fb82a;
  --alert: #ff6b4a;
  --line: #1a2214;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg); color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  line-height: 1.5;
}
::selection { background: var(--poison); color: #111; }
body::before {
  content: ""; pointer-events: none; position: fixed; inset: 0; z-index: 8;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.14) 3px);
  opacity: .3;
}
body::after {
  content: ""; pointer-events: none; position: fixed; inset: 0; z-index: 9;
  background: radial-gradient(ellipse at 50% 10%, transparent 30%, rgba(0,0,0,.5) 100%);
}
a { color: var(--poison); text-decoration: none; }
a:hover { text-decoration: underline; }
.shell { max-width: 860px; margin: 0 auto; padding: 18px 16px 72px; position: relative; z-index: 1; }
nav {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 22px;
}
nav a { color: var(--muted); }
nav a.active, nav a:hover { color: var(--poison); text-decoration: none; }
.live { color: var(--poison); margin-left: auto; }
.live::before {
  content: ""; display: inline-block; width: 7px; height: 7px; background: var(--poison);
  border-radius: 50%; margin-right: 7px; box-shadow: 0 0 8px var(--poison);
  animation: pulse 1.7s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--poison); }
  50% { opacity: .3; box-shadow: 0 0 2px var(--poison); }
}
h1 { font-size: clamp(26px, 6.4vw, 48px); line-height: .94; letter-spacing: -.03em; text-transform: uppercase; margin: 6px 0 16px; text-shadow: 0 0 28px rgba(200,245,66,.14); }
h1 em { font-style: normal; color: var(--poison); }
h2 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--poison-2); margin: 28px 0 12px; }
p { margin: 0 0 12px; color: #c9d6ae; font-size: 14.5px; }
.panel, .boot, .card, .rule, .sku, .post {
  background: var(--panel); border: 1px solid var(--line);
}
.boot { padding: 14px 16px; font-size: 12.5px; color: var(--muted); min-height: 120px; overflow: auto; }
.ok { color: var(--poison); }
.bad { color: var(--alert); }
.prompt-row { display: flex; gap: 8px; margin-top: 12px; }
.prompt-row span { color: var(--poison); }
#cmd { flex: 1; background: transparent; border: 0; outline: none; color: var(--ink); font: inherit; caret-color: var(--poison); }
.grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.grid3 { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid3 { grid-template-columns: 1fr 1fr 1fr; }
}
.stat { border: 1px solid var(--line); background: var(--panel); padding: 14px; }
.stat b { display: block; color: var(--poison); font-size: 18px; }
.stat span { color: var(--dim); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.rule, .post, .sku, .card { padding: 14px 16px; margin: 0 0 10px; }
.sku { transition: border-color .15s ease; }
.sku:hover { border-color: var(--poison-2); }
.rule dt, .sku h3, .post .id { color: var(--poison); font-size: 13px; margin-bottom: 6px; }
.rule dd, .sku p, .post p { color: var(--muted); font-size: 13px; margin: 0; }
.price { color: var(--ink); font-size: 14px; margin-top: 10px; }
.sku .token-mark {
  display: block; width: 100%; height: 132px; object-fit: contain;
  background: #000; border: 1px solid var(--line); margin: 0 0 10px;
}
.msg { border-left: 2px solid var(--poison-2); padding: 6px 0 6px 12px; margin: 0 0 14px; font-size: 13.5px; }
.msg small { display: block; color: var(--dim); margin-top: 4px; font-size: 11px; }
form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
input, textarea {
  background: #080a06; border: 1px solid var(--line); color: var(--ink);
  padding: 10px 12px; font: inherit; font-size: 13px;
}
input[type=email], input[type=text], input[type=number] { flex: 1; min-width: 160px; }
button, .btn {
  display: inline-block; background: var(--poison); color: #111; border: 0;
  padding: 10px 14px; font: inherit; font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  margin-top: 10px;
}
.btn:hover { text-decoration: none; opacity: .9; }
button.ghost, .btn.ghost { background: transparent; color: var(--poison); border: 1px solid var(--poison-2); }
footer { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--dim); font-size: 11px; }
#thanks, #honored { display: none; color: var(--poison); margin-top: 10px; }
.mono { font-size: 12px; color: var(--muted); word-break: break-word; }
.hint { color: var(--dim); font-size: 12px; }
.cite { font-size: 12px; color: var(--dim); }
.ticker {
  display: flex; gap: 12px; align-items: baseline;
  overflow: hidden; border: 1px solid #24301a; background: #070a05;
  padding: 8px 12px; margin: 0 0 18px; min-height: 2.4em;
  font-size: 12px;
  box-shadow: inset 0 0 22px rgba(200,245,66,.04);
}
.ticker-id {
  flex: 0 0 auto; color: var(--poison); letter-spacing: .08em;
  text-transform: uppercase; font-size: 10px;
}
.ticker-t {
  flex: 1 1 auto; color: var(--muted); white-space: nowrap;
  overflow: hidden;
}
.ticker-t.run {
  animation: crawl-stop 4.4s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes crawl-stop {
  0% { transform: translateX(28%); opacity: 0; }
  16% { transform: translateX(0); opacity: 1; }
  78% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(-10%); opacity: 0; }
}
.stream-log {
  max-height: 280px; overflow: auto; padding: 10px 12px;
  border: 1px solid #24301a; background: #070a05;
  margin: 0 0 12px;
  box-shadow: inset 0 0 40px rgba(0,0,0,.55);
}
.stream-log .post { margin: 0 0 8px; border: 0; padding: 6px 0; background: transparent; }
.stream-msg.typing .mono::after {
  content: "█"; color: var(--poison); margin-left: 4px;
  animation: blink 1.05s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.stream-msg.settled .mono {
  animation: settle 0.6s ease-out;
}
@keyframes settle {
  from { opacity: .55; }
  to { opacity: 1; }
}
#copied { display: none; color: var(--poison); margin-top: 8px; font-size: 12px; }
