/* ───────────── memefi.tv — retro broadcast guide, clean ───────────── */
:root {
  --paper: #f3efe4;
  --paper-2: #e9e3d3;
  --ink: #141414;
  --ink-2: #4a4740;
  --mute: #8a8578;
  --line: #d9d2bf;
  --green: #1fbf66;
  --green-d: #138a49;
  --pink: #ff5f6d;
  --yellow: #ffd23f;
  --screen: #0a0f1a;
  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --shadow: 4px 4px 0 var(--ink);
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  font-family: var(--font); color: var(--ink); background: var(--paper);
  background-image: radial-gradient(rgba(20,20,20,0.07) 1px, transparent 1.2px);
  background-size: 14px 14px;
  min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
b { font-weight: 700; }

/* ── top bar ── */
.top {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 14px 28px; background: var(--paper); border-bottom: 2px solid var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.ch { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; padding: 5px 8px; border: 2px solid var(--ink); border-radius: 6px; background: var(--yellow); }
.ch b { margin-left: 4px; }
.wordmark { font-weight: 700; font-size: 26px; letter-spacing: -1px; }
.wordmark i { font-style: normal; color: var(--green-d); }
.tabs { display: flex; gap: 6px; justify-self: center; border: 2px solid var(--ink); border-radius: 999px; padding: 4px; background: #fff; }
.tabs a { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; letter-spacing: 1px; color: var(--ink-2); transition: background 0.15s, color 0.15s; }
.tabs a b { font-family: var(--mono); font-size: 12px; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.tabs a:hover { background: var(--paper-2); color: var(--ink); }
.tabs a.on { background: var(--ink); color: #fff; }
.tabs a.on b { background: var(--green); color: var(--ink); }
.onair { justify-self: end; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: 2px; font-weight: 700; }
.lamp { width: 12px; height: 12px; border-radius: 50%; background: #c9c3b2; border: 2px solid var(--ink); }
.lamp.on { background: var(--pink); box-shadow: 0 0 0 4px rgba(255,95,109,0.25); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,95,109,0.08); } }
.viewers { font-weight: 500; color: var(--ink-2); letter-spacing: 0; font-family: var(--font); font-size: 13px; }

/* ── tape ── */
.tape { display: flex; height: 34px; background: var(--ink); color: var(--green); overflow: hidden; border-bottom: 2px solid var(--ink); }
.tape-label { display: flex; align-items: center; padding: 0 14px; background: var(--green); color: var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 3px; }
.tape-track { flex: 1; position: relative; overflow: hidden; }
.tape-inner { position: absolute; top: 0; left: 0; height: 34px; display: flex; align-items: center; gap: 40px; white-space: nowrap; padding-left: 20px; font-family: var(--mono); font-size: 13px; animation: scroll var(--dur, 60s) linear infinite; }
@keyframes scroll { to { transform: translateX(-50%); } }
.tape-inner span b { color: #fff; margin-right: 8px; }
.tape-inner span i { font-style: normal; color: #9fb3a8; margin-left: 8px; }
.tape-inner .dn { color: var(--pink); }

/* ── layout ── */
main { flex: 1; width: min(1200px, 100% - 48px); margin: 0 auto; padding: 36px 0 60px; }
.tab { display: none; }
.tab.on { display: block; animation: fade 0.25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: 44px; letter-spacing: -1.5px; line-height: 1; }
.section-head p { color: var(--ink-2); margin-top: 8px; font-size: 16px; }

/* ── the TV ── */
.hero { display: flex; flex-direction: column; gap: 36px; }
.hero > * { min-width: 0; max-width: 100%; }
.tv { position: relative; width: min(1040px, 100%); margin: 0 auto; }
.bezel { background: #151515; border: 2px solid var(--ink); border-radius: 26px; padding: 18px 18px 14px; box-shadow: 8px 8px 0 var(--ink); }
.screen { position: relative; aspect-ratio: 16 / 9; background: var(--screen); border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 2px #000, inset 0 0 60px rgba(0,0,0,0.8); }
.screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--screen); }
.poster { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(900px 400px at 50% 30%, #12223a, #05090f 70%); z-index: 2; }
.poster::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px); pointer-events: none; }
.poster.off { display: none; }
.bars { position: absolute; top: 0; left: 0; right: 0; height: 8px; display: flex; }
.bars i { flex: 1; }
.bars i:nth-child(1) { background: #c9c9c9; } .bars i:nth-child(2) { background: #f2e24a; } .bars i:nth-child(3) { background: #4ad3c9; } .bars i:nth-child(4) { background: #3ecf5a; }
.bars i:nth-child(5) { background: #e24aa6; } .bars i:nth-child(6) { background: #e84545; } .bars i:nth-child(7) { background: #3a4ae0; }
.poster-inner { text-align: center; color: #fff; }
.poster-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 4px; color: var(--green); margin-bottom: 10px; }
.poster-head { font-size: clamp(20px, 3vw, 36px); font-weight: 700; letter-spacing: -0.5px; max-width: 720px; margin: 0 auto 22px; }
#watch { font-family: var(--mono); font-size: 16px; letter-spacing: 3px; font-weight: 700; padding: 14px 30px; border-radius: 999px; border: 2px solid #fff; background: var(--pink); color: #fff; box-shadow: 0 0 40px rgba(255,95,109,0.45); transition: transform 0.15s; }
#watch:hover { transform: scale(1.04); }
.poster-inner small { display: block; margin-top: 14px; color: #9fb3a8; font-size: 12px; letter-spacing: 1px; }
.controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 6px 0; }
.readout { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; overflow: hidden; color: #d7d2c4; font-size: 13px; }
.readout i { width: 8px; height: 8px; border-radius: 50%; background: #555; flex: none; }
.readout i.on { background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.readout b { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--green); flex: none; }
.readout span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.knobs { display: flex; gap: 8px; flex: none; }
.knobs a, .knobs button { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; font-weight: 700; padding: 8px 12px; border-radius: 8px; border: 1px solid #3a3a3a; background: #222; color: #e9e3d3; }
.knobs a:hover, .knobs button:hover { background: #2e2e2e; }
.knobs button.off { color: var(--pink); text-decoration: line-through; }
.mascot { position: absolute; left: -178px; bottom: -22px; width: 210px; z-index: 3; pointer-events: auto; cursor: pointer; filter: drop-shadow(6px 8px 0 rgba(20,20,20,0.18)); transition: transform 0.2s; }
.mascot:hover { transform: translateY(-4px); }
.mascot img { width: 100%; display: block; }

/* ── stats ── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: min(1040px, 100%); margin: 0 auto; }
.stat { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.stat label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--ink-2); }
.stat b { display: block; font-family: var(--mono); font-size: 38px; line-height: 1.1; margin: 6px 0 2px; letter-spacing: -1px; }
.stat small { color: var(--mute); font-size: 12px; }

/* ── about ── */
.about { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: min(1040px, 100%); margin: 0 auto; }
.about-card { border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px; background: var(--paper); }
.about-card h3 { font-size: 15px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; font-family: var(--mono); }
.about-card p { color: var(--ink-2); line-height: 1.5; font-size: 15px; }

/* ── onboarded ── */
.onb-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: stretch; margin-bottom: 26px; }
.counter { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--paper); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.counter label { font-family: var(--mono); font-size: 12px; letter-spacing: 3px; color: var(--green); }
.odometer { display: flex; gap: 6px; margin: 18px 0; }
.odometer span { display: inline-block; min-width: 0.72em; font-family: var(--mono); font-size: clamp(72px, 12vw, 140px); line-height: 1; font-weight: 700; text-align: center; background: #222; border-radius: 10px; padding: 6px 4px; border: 1px solid #333; }
.odometer span.sep { background: none; border: 0; min-width: 0.3em; }
.counter-sub { color: #b9b3a2; font-size: 14px; }
.counter-sub b { color: #fff; font-family: var(--mono); }
.enlist { border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.enlist h3 { font-size: 24px; letter-spacing: -0.5px; }
.enlist p { color: var(--ink-2); font-size: 14px; margin-bottom: 4px; }
.enlist label { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; }
.enlist label span { color: var(--mute); letter-spacing: 0; font-family: var(--font); }
.enlist input, .enlist select { font: 500 15px var(--font); padding: 11px 12px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); }
.enlist input:focus, .enlist select:focus { outline: 3px solid var(--green); outline-offset: 1px; }
.enlist button { margin-top: 4px; font-family: var(--mono); font-weight: 700; letter-spacing: 3px; padding: 14px; border-radius: 10px; border: 2px solid var(--ink); background: var(--green); color: var(--ink); box-shadow: var(--shadow); transition: transform 0.1s, box-shadow 0.1s; }
.enlist button:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.enlist button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.enlist-msg { min-height: 18px; font-size: 13px; color: var(--green-d); font-weight: 700; }
.enlist-msg.err { color: var(--pink); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.step { border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px; background: var(--paper); }
.step i { display: inline-block; font-family: var(--mono); font-style: normal; font-weight: 700; font-size: 12px; letter-spacing: 2px; padding: 4px 8px; border: 2px solid var(--ink); border-radius: 6px; background: var(--yellow); margin-bottom: 12px; }
.step h4 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.roll { border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.roll-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 2px solid var(--ink); background: var(--paper-2); }
.roll-head h3 { font-size: 16px; letter-spacing: 1px; }
.roll-head span { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--ink-2); padding: 10px 18px; border-bottom: 1px solid var(--line); }
td { padding: 11px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
td.mono { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
td.handle { font-weight: 700; }
tr.new td { background: #eaf8ef; }
td.empty { color: var(--mute); text-align: center; padding: 30px; }

/* ── cast ── */
.cast-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.ccard { border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.ccard .pic { aspect-ratio: 1; background: radial-gradient(circle at 50% 35%, #dff5e6, var(--paper-2)); display: grid; place-items: center; border-bottom: 2px solid var(--ink); overflow: hidden; }
.ccard .pic img { width: 100%; height: 100%; object-fit: cover; }
.ccard.host .pic img { object-fit: contain; padding: 6%; }
.ccard .meta { padding: 14px 16px; }
.ccard .meta b { display: block; font-size: 19px; letter-spacing: -0.3px; }
.ccard .meta span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--green-d); margin: 4px 0 8px; }
.ccard .meta p { color: var(--ink-2); font-size: 13px; line-height: 1.45; }

/* ── token ── */
.token-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; }
.tcard { border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; padding: 22px; box-shadow: var(--shadow); }
.tcard > label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: var(--ink-2); margin-bottom: 12px; }
.mint { font-family: var(--mono); font-size: 15px; word-break: break-all; padding: 12px; border: 2px dashed var(--line); border-radius: 8px; background: var(--paper); }
.tlinks { display: flex; gap: 8px; margin: 12px 0 18px; }
.tlinks a, .tlinks button { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; font-weight: 700; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); }
.tlinks a:hover, .tlinks button:hover { background: var(--yellow); }
.tstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tstats div { border: 2px solid var(--ink); border-radius: 10px; padding: 10px 12px; }
.tstats label { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--ink-2); }
.tstats b { display: block; font-family: var(--mono); font-size: 20px; margin-top: 4px; }
.spend { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.spend li { position: relative; padding-bottom: 8px; }
.spend span { font-weight: 700; font-size: 15px; }
.spend small { display: block; color: var(--ink-2); font-size: 13px; margin: 2px 0 8px; }
.spend i { display: block; height: 10px; border: 2px solid var(--ink); border-radius: 999px; background: linear-gradient(90deg, var(--green) var(--w), transparent var(--w)); }
.fine { margin-top: 18px; color: var(--mute); font-size: 12px; line-height: 1.5; }

footer { display: flex; justify-content: space-between; gap: 16px; padding: 18px 28px; border-top: 2px solid var(--ink); font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; color: var(--ink-2); background: var(--paper); }
footer a { text-decoration: underline; }

/* ── responsive ── */
@media (max-width: 1100px) {
  .mascot { left: auto; right: -24px; bottom: -30px; width: 150px; }
}
@media (max-width: 900px) {
  .top { grid-template-columns: 1fr; justify-items: center; gap: 10px; padding: 12px 16px; }
  .tabs { justify-self: center; }
  .onair { justify-self: center; }
  .stats, .about, .steps { grid-template-columns: 1fr 1fr; }
  .onb-head, .token-grid { grid-template-columns: 1fr; }
  main { width: min(1200px, 100% - 28px); padding-top: 24px; }
  .bezel { padding: 10px 10px 8px; border-radius: 18px; }
  .controls { flex-direction: column; align-items: stretch; }
  .mascot { display: none; }
}
@media (max-width: 560px) {
  .stats, .about, .steps { grid-template-columns: 1fr; }
  .tabs { max-width: 100%; overflow-x: auto; }
  .poster-inner small { white-space: normal; padding: 0 16px; }
  .tabs a { padding: 7px 10px; font-size: 12px; }
  .wordmark { font-size: 22px; }
  th:nth-child(4), td:nth-child(4) { display: none; }
  footer { flex-direction: column; }
}

/* ── off air: the channel is dark until the control room takes it live ── */
body.offair .lamp { background: #c9c3b2; box-shadow: none; animation: none; }
body.offair .poster { background: radial-gradient(900px 400px at 50% 30%, #1a1a1a, #050505 70%); }
body.offair .poster-kicker { color: var(--yellow); }
body.offair #watch { background: #2b2b2b; border-color: #6b6b6b; color: #9a9a9a; box-shadow: none; cursor: not-allowed; }
body.offair #watch:hover { transform: none; }
body.offair .readout i { background: #c9c3b2; box-shadow: none; animation: none; }
body.offair .bars { filter: saturate(0.25); }

/* ───────────── X link ───────────── */
.x-link { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 7px; background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1; transition: transform 0.12s; }
.x-link:hover { transform: translateY(-1px) rotate(-4deg); background: var(--green); color: var(--ink); }
.tag-sol { font-family: var(--mono); font-size: 10px; padding: 2px 5px; border-radius: 5px; background: var(--green); color: #06210f; }
.tabs a.on .tag-sol { background: var(--yellow); color: var(--ink); }

/* ───────────── the trench board ───────────── */
.board { grid-column: 1 / -1; margin-top: 26px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.board-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 2px solid var(--ink); background: var(--paper-2); }
.board-head h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 3px; }
.board-tabs { display: flex; gap: 6px; }
.board-tabs button { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; font-weight: 700; padding: 6px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); }
.board-tabs button.on { background: var(--ink); color: var(--paper); }
.board-src { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 1px; color: var(--mute); }
.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.board-empty { grid-column: 1 / -1; padding: 34px 20px; text-align: center; color: var(--mute); font-size: 14px; }
.coin { position: relative; display: block; padding: 14px 16px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 0.15s, transform 0.15s; }
.coin:hover { background: var(--paper-2); transform: translateY(-2px); }
.coin.up { color: var(--green-d); }
.coin.dn { color: var(--pink); }
.coin-top { display: flex; align-items: center; gap: 10px; }
.coin-logo { width: 34px; height: 34px; border-radius: 9px; border: 2px solid var(--ink); object-fit: cover; background: var(--paper-2); flex: none; }
.coin-logo.ph { display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--ink); }
.coin-id { min-width: 0; flex: 1; }
.coin-id b { display: block; color: var(--ink); font-size: 14px; letter-spacing: -0.2px; }
.coin-id span { display: block; font-size: 11px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-chg { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.coin-spark { display: block; width: 100%; height: 28px; margin: 10px 0 8px; opacity: 0.9; }
.coin-foot { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 10px; color: var(--ink-2); }
.coin-foot .grad { color: var(--green-d); font-weight: 700; }
.coin-foot .age { margin-left: auto; color: var(--mute); }

/* ───────────── clip desk ───────────── */
.clip-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 22px; align-items: start; }
.clip-pitch .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 4px; color: var(--green-d); }
.clip-pitch h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.02; letter-spacing: -1.6px; margin: 10px 0 14px; }
.clip-pitch p { color: var(--ink-2); font-size: 15px; line-height: 1.6; max-width: 52ch; }
.clip-rate { display: flex; align-items: baseline; gap: 14px; margin: 22px 0; padding: 16px 20px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--paper); box-shadow: var(--shadow); }
.rate-big { display: flex; align-items: baseline; gap: 6px; }
.rate-big b { font-size: 46px; letter-spacing: -2px; color: var(--green); line-height: 1; }
.rate-big span { font-family: var(--mono); font-size: 14px; color: var(--green); }
.rate-per { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: #a8a294; }
.rate-per b { color: var(--paper); }
.clip-rules { list-style: none; display: grid; gap: 10px; }
.clip-rules li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.clip-rules i { flex: none; align-self: flex-start; font-family: var(--mono); font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 6px; border: 2px solid var(--ink); border-radius: 6px; background: var(--yellow); color: var(--ink); }
.xhandle { white-space: nowrap; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--green); }

.clip-panels { display: grid; gap: 16px; }
.clip-form, .calc { padding: 20px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.clip-form h3, .calc h3 { font-size: 16px; margin-bottom: 12px; }
.clip-form label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--ink-2); margin-bottom: 10px; }
.clip-form label span { color: var(--mute); }
.clip-form input { display: block; width: 100%; margin-top: 5px; font-family: var(--font); font-size: 14px; letter-spacing: 0; padding: 11px 12px; border: 2px solid var(--ink); border-radius: 9px; background: var(--paper-2); }
.clip-form input:focus { outline: none; background: #fff; }
.clip-form button { width: 100%; margin-top: 4px; font-family: var(--mono); font-size: 13px; letter-spacing: 3px; font-weight: 700; padding: 13px; border: 2px solid var(--ink); border-radius: 10px; background: var(--green); color: #06210f; box-shadow: var(--shadow); }
.clip-form button:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.clip-msg { min-height: 18px; margin-top: 10px; font-family: var(--mono); font-size: 11px; line-height: 1.5; color: var(--ink-2); }
.clip-msg.err { color: var(--pink); }
.clip-msg.ok { color: var(--green-d); }
.calc input[type="range"] { width: 100%; accent-color: var(--green-d); margin: 8px 0 12px; }
.calc label { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--mute); }
.calc-out { display: flex; align-items: baseline; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.calc-out b { font-family: var(--font); font-size: 26px; letter-spacing: -1px; color: var(--ink); }
.calc-out #calc-sol { color: var(--green-d); }
.calc small { display: block; margin-top: 8px; color: var(--mute); font-size: 11px; }
.clip-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.clip-stats div { padding: 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--paper-2); }
.clip-stats label { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 1.5px; color: var(--mute); }
.clip-stats b { font-family: var(--mono); font-size: 16px; }
.sol { color: var(--green-d); font-weight: 700; }
[class^="pill-"] { font-family: var(--mono); font-size: 9px; letter-spacing: 1px; font-weight: 700; padding: 3px 7px; border: 2px solid var(--ink); border-radius: 999px; text-transform: uppercase; }
.pill-paid { background: var(--green); color: #06210f; }
.pill-approved { background: var(--yellow); }
.pill-pending { background: var(--paper-2); color: var(--ink-2); }
.pill-rejected { background: var(--pink); color: #fff; }

@media (max-width: 1100px) { .board-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .clip-hero { grid-template-columns: 1fr; }
  .clip-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .board-grid { grid-template-columns: 1fr; } }
.coin-logo.ph { position: relative; overflow: hidden; }
.coin-logo.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── the Solana mark ── */
.sol-mark { width: 0.82em; height: 0.82em; vertical-align: -0.02em; margin-left: 0.12em; flex: none; }
.sol-mark.big { width: 0.72em; height: 0.72em; }
.stat .sol-mark { width: 0.56em; height: 0.56em; vertical-align: 0.1em; margin-left: 0.18em; }
.tag-sol .sol-mark { width: 0.9em; height: 0.9em; margin-left: 0.15em; }
.clip-stats .sol-mark { width: 0.7em; height: 0.7em; }
.board-src.down { color: var(--pink); font-weight: 700; }
