/* ============================================================================
   NOGRASS
   The room is dark because nobody in it opens a curtain. The only green is the
   candle on the screen, so green is the accent and it is Robinhood's, #00C805.
   Grass green never appears as chrome — it is the thing being refused.
   ========================================================================== */

:root {
  --bg:        #070b07;
  --bg-deep:   #030603;
  --panel:     #0d130d;
  --panel-2:   #121a13;
  --raised:    #1a241b;
  --line:      #243226;
  --line-soft: #172018;

  --text:      #e6f0e6;
  --text-2:    #b6c6b8;
  --dim:       #7d8f80;
  --faint:     #556357;

  --gold:      #00c805;
  --gold-soft: #5cf06f;
  --gold-deep: #05601b;
  --orange:    #00e676;
  --orange-deep: #04742c;
  --ice:       #6fd3e8;
  --danger:    #ff5347;

  --radius:    9px;
  --radius-sm: 7px;
  --rail-l:    216px;
  --rail-r:    276px;
  --topbar-h:  62px;

  --shadow:    0 1px 0 rgba(255,255,255,.05) inset, 0 14px 34px rgba(0,0,0,.62);
  --font:      'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --mono:      'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }

/* A class that sets `display` outclasses the UA rule for [hidden], which leaves an
   invisible element still laid out and still eating pointer events. A hidden modal
   backdrop then covers the page and nothing is clickable, while everything LOOKS fine. */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient light + film grain. Cheap, static, and it stops the page reading as a form. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 420px at 22% -12%, rgba(0,200,5,.09), transparent 70%),
    radial-gradient(620px 380px at 88% -6%, rgba(139,92,246,.08), transparent 72%);
}
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
.mono { font-family: var(--mono); }

/* ---------- DEMO BANNER ---------------------------------------------------- */
.demo-banner {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 9px 18px;
  background: repeating-linear-gradient(135deg, #0d1d10, #0d1d10 12px, #221806 12px, #221806 24px);
  border-bottom: 1px solid var(--gold-deep);
  color: var(--gold-soft);
  font-size: 13px;
}
.demo-banner strong { letter-spacing: .1em; font-size: 12px; }
.demo-banner .demo-warn { color: #d9c08a; }
.demo-banner .demo-hint { color: #8fae94; }
.demo-banner code {
  font-family: var(--mono);
  background: rgba(0,0,0,.35);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 12px;
}
.demo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 1.8s ease-in-out infinite;
  flex: none;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- TOPBAR --------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 20px;
  background: rgba(10,10,12,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  font-size: 22px;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(240,180,41,.55);
}
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-tag {
  font-size: 11.5px;
  color: var(--dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-right { display: flex; align-items: center; gap: 10px; min-width: 0; }

.mint-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 340px;
  padding: 6px 10px;
  border: 1px dashed var(--line);
  border-radius: 9px;
  background: var(--panel);
}
.mint-label {
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--faint);
  flex: none;
}
.mint-value {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* A mint that isn't set yet is styled as an INSTRUCTION, never as a value. */
.mint-chip.is-placeholder { border-color: var(--gold-deep); background: rgba(240,180,41,.05); }
.mint-chip.is-placeholder .mint-value { color: var(--gold-soft); letter-spacing: .04em; }
.mint-copy {
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
  flex: none;
}
.mint-copy:hover { color: var(--gold); border-color: var(--gold-deep); }

/* ---------- BUTTONS -------------------------------------------------------- */
.btn {
  border-radius: 9px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: transform .12s ease, background .16s ease, border-color .16s ease, opacity .16s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; }

.btn-connect, .btn-connect-sm {
  padding: 9px 16px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #0b160d;
  box-shadow: 0 4px 16px rgba(240,180,41,.22);
}
.btn-connect:hover, .btn-connect-sm:hover { background: linear-gradient(180deg, #ffe08a, var(--gold-soft)); }
.btn-connect-sm { padding: 7px 13px; font-size: 13px; }

.btn-post, .btn-send {
  padding: 8px 17px;
  background: var(--gold);
  color: #0b160d;
}
.btn-post:hover:not(:disabled), .btn-send:hover:not(:disabled) { background: var(--gold-soft); }

.btn-ghost {
  padding: 8px 15px;
  border: 1px solid var(--line);
  color: var(--text-2);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--danger); color: var(--danger); }

/* ---------- ME CHIP -------------------------------------------------------- */
.me-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 8px 5px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.me-badge {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 14px;
  background: linear-gradient(145deg, var(--raised), #0d0d11);
  border: 1px solid var(--line);
  color: var(--gold);
  flex: none;
}
.me-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.me-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.me-bag { font-size: 11px; color: var(--dim); font-family: var(--mono); }
.me-menu-btn { color: var(--dim); padding: 0 2px; font-size: 12px; }
.me-menu-btn:hover { color: var(--text); }

/* ---------- SHELL ---------------------------------------------------------- */
.shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--rail-l) minmax(0, 1fr) var(--rail-r);
  gap: 22px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 20px 40px;
  align-items: start;
}

.rail { position: sticky; top: calc(var(--topbar-h) + 22px); }

/* ---------- LEFT RAIL ------------------------------------------------------ */
.nav-item {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-weight: 500;
  text-align: left;
}
.nav-item:hover { background: var(--panel); color: var(--text); }
.nav-item.is-active { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.nav-item.is-active .nav-ico { color: var(--gold); }
.nav-ico { font-size: 15px; color: var(--faint); width: 16px; text-align: center; }
.live-pip {
  margin-left: auto;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 8px var(--ice);
  animation: pulse 2s ease-in-out infinite;
}

.rail-section { margin-top: 22px; }
.rail-heading {
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0 13px 8px;
}
.room-list { display: flex; flex-direction: column; gap: 2px; }
.room-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  width: 100%;
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--dim);
  font-size: 14px;
  text-align: left;
}
.room-item:hover { background: var(--panel); color: var(--text-2); }
.room-item.is-active { background: var(--panel-2); color: var(--text); }
.room-item.is-active .room-hash { color: var(--gold); }
.room-hash { color: var(--faint); font-weight: 600; }
.room-lock { margin-left: auto; font-size: 10px; opacity: .7; }

.rail-foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 13px; }
.rail-link {
  font-size: 12px;
  color: var(--dim);
  text-decoration: none;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  padding: 5px 10px;
}
.rail-link:hover { color: var(--gold); border-color: var(--gold-deep); }

/* ---------- MAIN / VIEWS --------------------------------------------------- */
.main { min-width: 0; }
.view { display: none; }
.view.is-active { display: block; animation: viewIn .22s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- COMPOSER ------------------------------------------------------- */
.composer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
  overflow: hidden;
}
.composer-gate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  flex-wrap: wrap;
}
.gate-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gate-copy strong { font-size: 14.5px; }
.gate-copy span { font-size: 13px; color: var(--dim); }

.composer-live { padding: 14px 16px 12px; }
.composer-live textarea {
  width: 100%;
  min-height: 52px;
  max-height: 220px;
  resize: none;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text);
}
.composer-live textarea::placeholder { color: var(--faint); }
.composer-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.charcount { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.charcount.is-near { color: var(--gold); }
.charcount.is-over { color: var(--danger); }

.composer-readonly {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  flex-wrap: wrap;
}

.announce-tag {
  display: inline-block;
  margin-bottom: 9px;
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(240,180,41,.1);
  border: 1px solid var(--gold-deep);
}

/* Announcement posts carry the team mark, so a screenshot cannot pass one off as a
   normal member post. */
.team-chip {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 1px 7px;
  border-radius: 20px;
  color: #0b160d;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  font-weight: 700;
}

/* ---------- FEED ----------------------------------------------------------- */
.feed { display: flex; flex-direction: column; gap: 12px; }

.post {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  padding: 15px 17px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .16s ease, transform .16s ease;
}
.post:hover { border-color: #2e2e3a; }
.post.is-new { animation: postIn .4s cubic-bezier(.2,.8,.3,1); }
@keyframes postIn {
  from { opacity: 0; transform: translateY(-8px) scale(.99); }
  to { opacity: 1; transform: none; }
}

.avatar {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: #0c0c10;
  flex: none;
  position: relative;
}
.avatar-tier {
  position: absolute;
  right: -3px; bottom: -3px;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--gold);
}

.post-body { min-width: 0; }
.post-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.post-name { font-weight: 600; font-size: 14px; }
.post-addr { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.post-time { font-size: 11.5px; color: var(--faint); margin-left: auto; flex: none; }
.tier-chip {
  font-size: 10px;
  letter-spacing: .06em;
  padding: 1px 7px;
  border-radius: 20px;
  border: 1px solid var(--line);
  color: var(--dim);
}
.tier-chip.tier-whale { color: var(--gold-soft); border-color: var(--gold-deep); background: rgba(240,180,41,.08); }
.tier-chip.tier-big { color: var(--ice); border-color: #1e3a3f; background: rgba(111,211,232,.07); }

.post-text {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.58;
  color: #b6c6b8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.post-actions { display: flex; align-items: center; gap: 6px; margin-top: 11px; }
.act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 7px;
  font-size: 12.5px;
  color: var(--dim);
}
.act:hover { background: var(--raised); color: var(--text-2); }
.act.is-on { color: var(--gold); }
.act-del:hover { color: var(--danger); }
.act-count { font-family: var(--mono); font-size: 11.5px; }

.replies { margin-top: 12px; border-left: 2px solid var(--line-soft); padding-left: 13px; display: flex; flex-direction: column; gap: 10px; }
.reply { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 10px; }
.reply .avatar { width: 28px; height: 28px; border-radius: 8px; font-size: 10px; }
.reply .post-text { font-size: 14px; }
.reply-form { display: flex; gap: 8px; margin-top: 11px; }
.reply-form input {
  flex: 1;
  min-width: 0;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  outline: none;
  font-size: 13.5px;
}
.reply-form input:focus { border-color: var(--gold-deep); }

/* ---------- SKELETON / EMPTY ----------------------------------------------- */
.skeleton-list { display: flex; flex-direction: column; gap: 12px; }
.sk-post {
  height: 104px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--panel) 30%, var(--panel-2) 50%, var(--panel) 70%);
  background-size: 240% 100%;
  animation: shimmer 1.4s linear infinite;
  border: 1px solid var(--line-soft);
}
@keyframes shimmer { from { background-position: 140% 0; } to { background-position: -40% 0; } }

.feed-empty, .chat-locked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 54px 24px;
  text-align: center;
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.feed-empty strong, .chat-locked strong { font-size: 15px; }
.feed-empty span, .chat-locked span { font-size: 13.5px; color: var(--dim); max-width: 320px; }
.empty-mark, .lock-mark { font-size: 30px; color: var(--faint); margin-bottom: 4px; }
.chat-locked .btn { margin-top: 10px; }

/* ---------- CHAT ----------------------------------------------------------- */
/* Height is measured in JS from the view's real top offset: a calc() here cannot know
   whether the demo banner is present, and guessing put the composer under the tab bar. */
.view-chat.is-active { display: flex; flex-direction: column; min-height: 320px; }
.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 17px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: none;
  flex-wrap: wrap;
}
.chat-title { display: flex; align-items: baseline; gap: 8px; font-weight: 600; min-width: 0; }
.hash { color: var(--gold); }
.chat-topic {
  font-size: 12.5px;
  color: var(--dim);
  font-weight: 400;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-presence { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dim); flex: none; }
.pip {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 8px var(--ice);
  animation: pulse 2.4s ease-in-out infinite;
}

.chat-log {
  flex: 1;
  min-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 17px;
  background: var(--panel);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 3px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.chat-log::-webkit-scrollbar { width: 9px; }
.chat-log::-webkit-scrollbar-thumb { background: var(--line); border-radius: 9px; }

/* Anchors the log to the bottom like every chat app people already know. Done with a
   spacer rather than justify-content:flex-end, which clips the top of the scrollback
   once the conversation is long enough to overflow. */
.chat-spacer { margin-top: auto; }

.msg { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 10px; padding: 4px 0; }
.msg.is-new { animation: msgIn .3s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.msg .avatar { width: 32px; height: 32px; border-radius: 9px; font-size: 11px; }
.msg-body { min-width: 0; }
.msg-head { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.msg-name { font-size: 13.5px; font-weight: 600; }
.msg-time { font-size: 11px; color: var(--faint); }
.msg-text { font-size: 14.5px; line-height: 1.5; color: #b6c6b8; overflow-wrap: anywhere; white-space: pre-wrap; }
/* Consecutive messages from one wallet collapse: the eye reads a conversation, not a table. */
.msg.is-cont { grid-template-columns: 32px minmax(0,1fr); padding-top: 0; }
.msg.is-cont .avatar, .msg.is-cont .msg-head { visibility: hidden; height: 0; margin: 0; overflow: hidden; }
.msg.is-cont { margin-top: -3px; }

.day-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 8px;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: .08em;
}
.day-divider::before, .day-divider::after { content: ''; flex: 1; height: 1px; background: var(--line-soft); }

.typing-line {
  padding: 4px 17px 6px;
  font-size: 12px;
  color: var(--dim);
  background: var(--panel);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-style: italic;
}

.chat-composer {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
}
.chat-composer input {
  flex: 1;
  min-width: 0;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 13px;
  outline: none;
  font-size: 14.5px;
}
.chat-composer input:focus { border-color: var(--gold-deep); }
.chat-composer input::placeholder { color: var(--faint); }

/* ---------- DIRECT MESSAGES ------------------------------------------------ */
.unread-badge {
  margin-left: auto;
  min-width: 19px;
  height: 19px;
  padding: 0 6px;
  border-radius: 20px;
  background: var(--gold);
  color: #0b160d;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
  line-height: 1;
}

.view-dm.is-active { display: flex; flex-direction: column; min-height: 320px; }

.dm-wrap {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.dm-sidebar { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.dm-sidebar-head {
  padding: 13px 15px 10px;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid var(--line-soft);
}
.dm-convos { flex: 1; overflow-y: auto; scrollbar-width: thin; }
.dm-convo {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
.dm-convo:hover { background: var(--raised); }
.dm-convo.is-active { background: var(--panel-2); box-shadow: inset 2px 0 0 var(--gold); }
.dm-convo .avatar { width: 34px; height: 34px; border-radius: 10px; font-size: 11px; }
.dm-convo-body { min-width: 0; }
.dm-convo-top { display: flex; align-items: baseline; gap: 7px; }
.dm-convo-name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-convo-time { font-size: 10.5px; color: var(--faint); margin-left: auto; flex: none; }
.dm-convo-last { font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-convo.has-unread .dm-convo-last { color: var(--text-2); }
.dm-convo .unread-badge { margin-left: 7px; }
.dm-convos-empty { padding: 18px 15px; font-size: 12.5px; color: var(--faint); line-height: 1.5; }

.dm-pane { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.dm-blank {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 30px;
}
.dm-blank strong { font-size: 14.5px; }
.dm-blank span { font-size: 13px; color: var(--dim); max-width: 260px; }

.dm-thread { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.dm-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.dm-back { display: none; font-size: 22px; color: var(--dim); line-height: 1; padding: 0 4px; }
.dm-back:hover { color: var(--text); }
.dm-peer { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dm-peer .avatar { width: 32px; height: 32px; border-radius: 9px; font-size: 11px; }
.dm-peer-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.dm-peer-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-peer-addr { font-family: var(--mono); font-size: 11px; color: var(--faint); }

.dm-log {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  scrollbar-width: thin;
}
.dm-log .chat-spacer { margin-top: auto; }

.bubble {
  max-width: min(74%, 460px);
  padding: 9px 13px;
  border-radius: 15px;
  font-size: 14.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  position: relative;
}
.bubble.is-them {
  align-self: flex-start;
  background: var(--raised);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}
.bubble.is-me {
  align-self: flex-end;
  background: linear-gradient(165deg, #4a3a12, #33280d);
  border: 1px solid var(--gold-deep);
  border-bottom-right-radius: 5px;
  color: #f4ecd9;
}
.bubble-time { display: block; margin-top: 4px; font-size: 10.5px; color: var(--faint); }
.bubble.is-me .bubble-time { color: #8fae94; }
.bubble.is-new { animation: msgIn .3s ease; }

.dm-composer {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  flex: none;
}
.dm-composer input {
  flex: 1;
  min-width: 0;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 13px;
  outline: none;
  font-size: 14.5px;
}
.dm-composer input:focus { border-color: var(--gold-deep); }
.dm-composer input::placeholder { color: var(--faint); }

.dm-locked {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 54px 24px;
  text-align: center;
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.dm-locked strong { font-size: 15px; }
.dm-locked span { font-size: 13.5px; color: var(--dim); max-width: 320px; }
.dm-locked .btn { margin-top: 10px; }

/* A name anywhere in the app is a door into a DM. */
.dm-open { cursor: pointer; }
.dm-open:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- RIGHT RAIL ----------------------------------------------------- */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  margin-bottom: 14px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 11px;
}
.panel-count { font-family: var(--mono); color: var(--ice); letter-spacing: 0; }

.panel-you {
  background: linear-gradient(165deg, rgba(240,180,41,.09), var(--panel) 62%);
  border-color: #3a2f14;
}
.you-bag { display: flex; align-items: baseline; gap: 7px; }
.you-amount {
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 600;
  color: var(--gold-soft);
  overflow-wrap: anywhere;
  line-height: 1.15;
}
.you-ticker { font-size: 12px; color: var(--dim); }
.you-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 7px; }
.you-tier { font-size: 12px; color: var(--text-2); }
.you-pct { font-family: var(--mono); font-size: 11.5px; color: var(--dim); }

.member-list { display: flex; flex-direction: column; gap: 3px; max-height: 268px; overflow-y: auto; scrollbar-width: thin; }
.member {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 6px;
  border-radius: 8px;
  min-width: 0;
}
.member:hover { background: var(--raised); }
.member .avatar { width: 24px; height: 24px; border-radius: 7px; font-size: 9.5px; }
.member-name { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.member-tier { margin-left: auto; font-size: 10px; color: var(--faint); flex: none; }
.member-empty { font-size: 12.5px; color: var(--faint); padding: 4px 6px; }

.rules { margin: 0; padding-left: 17px; display: flex; flex-direction: column; gap: 7px; }
.rules li { font-size: 12.5px; color: var(--dim); line-height: 1.45; }

/* ---------- MODALS --------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4,4,6,.76);
  backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadeIn .16s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: min(460px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  animation: modalIn .2s cubic-bezier(.2,.8,.3,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.modal-head strong { font-size: 16px; }
.modal-x { font-size: 22px; color: var(--dim); line-height: 1; padding: 0 4px; }
.modal-x:hover { color: var(--text); }
.modal-sub { margin: 0 0 16px; font-size: 12.5px; color: var(--dim); line-height: 1.5; }
.modal-foot { margin: 14px 0 0; font-size: 11.5px; color: var(--faint); line-height: 1.5; }

.wallet-list { display: flex; flex-direction: column; gap: 8px; }
.wallet-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
  text-align: left;
  transition: border-color .15s, background .15s;
}
.wallet-opt:hover { border-color: var(--gold-deep); background: var(--raised); }
.wallet-opt-ico { font-size: 19px; width: 24px; text-align: center; }
.wallet-opt-name { font-weight: 600; font-size: 14px; }
.wallet-opt-note { font-size: 11.5px; color: var(--faint); }
.wallet-opt-text { display: flex; flex-direction: column; min-width: 0; }
.wallet-none { font-size: 13px; color: var(--dim); line-height: 1.55; }
.wallet-none a { color: var(--gold); }

.me-detail { display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px; }
.me-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.me-k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); flex: none; }
.me-v { font-size: 13px; text-align: right; overflow-wrap: anywhere; min-width: 0; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.field-label em { font-style: normal; opacity: .6; text-transform: none; letter-spacing: 0; }
.field input {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  outline: none;
}
.field input:focus { border-color: var(--gold-deep); }
.modal-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }

/* ---------- TOASTS --------------------------------------------------------- */
.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: min(360px, calc(100vw - 36px));
}
.toast {
  padding: 11px 14px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  font-size: 13px;
  box-shadow: var(--shadow);
  animation: toastIn .22s cubic-bezier(.2,.8,.3,1);
  overflow-wrap: anywhere;
}
.toast.is-bad { border-left-color: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* ---------- MOBILE TABS ---------------------------------------------------- */
.tabbar { display: none; }

/* ---------- RESPONSIVE ----------------------------------------------------- */
@media (max-width: 1180px) {
  .shell { grid-template-columns: var(--rail-l) minmax(0, 1fr); }
  .rail-right { display: none; }
}

@media (max-width: 860px) {
  /* Sit below the live bottom edge of the chrome, so a toast never hides the DEMO banner. */
  .toast-stack { right: 10px; left: 10px; top: calc(var(--chrome-top, 62px) + 10px); bottom: auto; max-width: none; }
  .demo-banner { padding: 8px 14px; font-size: 12.5px; }
  .demo-banner .demo-hint { display: none; }

  .shell {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 14px calc(78px + env(safe-area-inset-bottom));
  }
  .rail-left { display: none; }
  .tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(10,10,12,.95);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 9px 0 8px;
    font-size: 10.5px;
    color: var(--dim);
    letter-spacing: .04em;
  }
  .tab span { font-size: 16px; }
  .tab.is-active { color: var(--gold); }

  .brand-tag { display: none; }
  .mint-chip { display: none; }
  .topbar { padding: 0 14px; }

  /* One pane at a time on a phone: the list, or the thread. */
  .dm-wrap { grid-template-columns: minmax(0, 1fr); }
  .dm-wrap.show-thread .dm-sidebar { display: none; }
  .dm-wrap:not(.show-thread) .dm-pane { display: none; }
  .dm-back { display: block; }
  .bubble { max-width: 84%; }

  .tab { position: relative; }
  .tab .unread-badge {
    position: absolute;
    top: 4px;
    left: 50%;
    margin-left: 6px;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
  }

  /* Rooms move into the chat view on mobile, as a horizontal strip. */
  .chat-rooms-mobile {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 0 0 11px;
    scrollbar-width: none;
  }
  .chat-rooms-mobile::-webkit-scrollbar { display: none; }
  .chat-rooms-mobile .room-item {
    flex: none;
    width: auto;
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 6px 12px;
  }
}
@media (min-width: 861px) { .chat-rooms-mobile { display: none; } }

@media (max-width: 420px) {
  body { font-size: 14.5px; }
  .post { grid-template-columns: 34px minmax(0,1fr); gap: 10px; padding: 13px 13px; }
  .avatar { width: 34px; height: 34px; border-radius: 9px; font-size: 11px; }
  .post-time { margin-left: 0; }
  .composer-gate { padding: 14px; }
  .gate-copy strong { font-size: 13.5px; }
  .brand-name { font-size: 14.5px; }
  .btn-connect { padding: 8px 12px; font-size: 13px; }
  /* Bottom toasts land directly on the chat composer on a phone. Top is the only
     free edge once a fixed input and a tab bar own the bottom. */
  .toast-stack { right: 10px; left: 10px; top: calc(var(--chrome-top, 62px) + 10px); bottom: auto; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}


/* ==========================================================================
   TRENCH PASS — terminal register: mono everywhere, brackets, a ticker that
   never stops, and a headline with a hard shadow. Brighter than the first cut:
   more contrast, warmer ground, orange doing the shouting.
   ========================================================================== */

body { font-size: 14.5px; letter-spacing: -0.01em; }

/* brighter ambient wash so the page is not flat black */
body::before {
  background:
    radial-gradient(820px 460px at 20% -14%, rgba(255,106,26,.16), transparent 70%),
    radial-gradient(680px 400px at 86% -8%, rgba(255,176,31,.13), transparent 72%),
    radial-gradient(900px 700px at 50% 120%, rgba(255,176,31,.05), transparent 70%);
}
body::after { opacity: .05; }

/* ---------- the wordmark: chunky, offset, meme-loud ---------- */
.brand-name {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0;
  color: var(--orange);
  text-shadow: 2px 2px 0 var(--orange-deep);
  text-transform: lowercase;
}
.brand-tag { color: var(--dim); letter-spacing: -0.01em; }
.brand-mark { color: var(--gold); text-shadow: 0 0 20px rgba(255,176,31,.7); }

/* ---------- ticker: the rule, on repeat ---------- */
.ticker {
  position: relative;
  z-index: 20;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #17130a, #100e08);
  padding: 6px 0;
}
.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.ticker-item {
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--gold);
  padding: 0 22px;
  opacity: .92;
}
.ticker-item b { color: var(--orange); font-weight: 700; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- bracketed nav ---------- */
.nav-label::before { content: '[ '; color: var(--faint); }
.nav-label::after  { content: ' ]'; color: var(--faint); }
.nav-item { font-size: 13.5px; letter-spacing: -0.01em; }
.nav-item.is-active { background: var(--raised); box-shadow: inset 0 0 0 1px var(--gold-deep); }
.nav-item.is-active .nav-label { color: var(--gold-soft); }
.nav-item.is-active .nav-label::before,
.nav-item.is-active .nav-label::after { color: var(--gold-deep); }

.rail-heading { color: var(--faint); }
.room-item { font-size: 13.5px; }
.room-item.is-active { box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- buttons: chunky terminal ---------- */
.btn { border-radius: 7px; letter-spacing: -0.01em; }
.btn-connect, .btn-connect-sm {
  background: linear-gradient(180deg, #ffc247, var(--gold));
  color: #241500;
  font-weight: 700;
  box-shadow: 0 3px 0 var(--gold-deep), 0 8px 22px rgba(255,176,31,.22);
}
.btn-connect:active, .btn-connect-sm:active { box-shadow: 0 1px 0 var(--gold-deep); }
.btn-post, .btn-send {
  background: linear-gradient(180deg, #00e676, var(--orange));
  color: #04140a;
  font-weight: 700;
  box-shadow: 0 3px 0 var(--orange-deep);
}
.btn-post:hover:not(:disabled), .btn-send:hover:not(:disabled) { background: linear-gradient(180deg, #ffa268, #ff7a2e); }
.btn-post:active, .btn-send:active { box-shadow: 0 1px 0 var(--orange-deep); }

/* ---------- panels: sharper, warmer, more contrast ---------- */
.panel, .post, .composer, .chat-head, .chat-log, .chat-composer, .dm-wrap, .typing-line {
  border-color: var(--line);
  background: var(--panel);
}
.panel-head, .dm-sidebar-head { color: var(--gold-deep); letter-spacing: .16em; }
.post:hover { border-color: var(--gold-deep); }

/* a terminal prompt line, for every secondary explanation */
.gate-copy span, .feed-empty span, .chat-locked span, .dm-locked span, .dm-blank span {
  font-family: var(--mono);
  color: var(--dim);
}
.gate-copy strong, .feed-empty strong, .chat-locked strong, .dm-locked strong, .dm-blank strong {
  text-transform: lowercase;
  letter-spacing: -0.01em;
}

/* ---------- your bag: the number is the point ---------- */
.panel-you {
  background: linear-gradient(165deg, rgba(255,106,26,.13), var(--panel) 66%);
  border-color: var(--orange-deep);
}
.you-amount {
  font-size: 26px;
  font-weight: 800;
  color: var(--gold-soft);
  text-shadow: 1px 1px 0 rgba(0,0,0,.6);
}
.you-tier { color: var(--orange); text-transform: lowercase; }

/* ---------- announcements ---------- */
.announce-tag {
  color: var(--orange);
  background: rgba(255,106,26,.1);
  border-color: var(--orange-deep);
  border-radius: 6px;
  letter-spacing: .04em;
}
.team-chip {
  background: linear-gradient(180deg, #00e676, var(--orange));
  color: #04140a;
  border-radius: 5px;
  box-shadow: 0 2px 0 var(--orange-deep);
}
.tier-chip { border-radius: 5px; text-transform: lowercase; }
.tier-chip.tier-whale { color: var(--gold-soft); border-color: var(--gold-deep); background: rgba(255,176,31,.12); }

/* ---------- chat + dms ---------- */
.hash { color: var(--orange); }
.msg-name, .post-name, .dm-convo-name { color: var(--text); font-weight: 700; }
.msg-text, .post-text { color: var(--text-2); }
.bubble.is-me {
  background: linear-gradient(165deg, #5a2b08, #3a1c05);
  border-color: var(--orange-deep);
  color: #ffe9d5;
}
.bubble.is-them { background: var(--raised); border-color: var(--line); }
.day-divider { color: var(--faint); }
.unread-badge { background: var(--orange); color: #04140a; border-radius: 5px; }

/* ---------- avatars: square-ish, terminal ---------- */
.avatar { border-radius: 7px; font-weight: 700; color: #120d02; }
.msg .avatar, .dm-convo .avatar, .dm-peer .avatar { border-radius: 6px; }
.member .avatar { border-radius: 5px; }

/* ---------- inputs ---------- */
.composer-live textarea, .chat-composer input, .dm-composer input, .field input, .reply-form input {
  font-family: var(--mono);
  letter-spacing: -0.01em;
}
.chat-composer input:focus, .dm-composer input:focus, .field input:focus, .reply-form input:focus {
  border-color: var(--orange-deep);
  box-shadow: 0 0 0 1px rgba(255,106,26,.25);
}

/* ---------- demo banner: louder ---------- */
.demo-banner {
  background: repeating-linear-gradient(135deg, #0e1f12, #0e1f12 12px, #0c1a0f 12px, #0c1a0f 24px);
  border-bottom: 1px solid var(--orange-deep);
  color: var(--gold-soft);
}
.demo-banner strong { color: var(--orange); }
.demo-dot { background: var(--orange); box-shadow: 0 0 12px var(--orange); }

/* ---------- mobile ---------- */
.tab.is-active { color: var(--orange); }
@media (max-width: 860px) {
  .ticker { padding: 5px 0; }
  .ticker-item { font-size: 10.5px; padding: 0 16px; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 15px; }
  body { font-size: 13.5px; }
}


/* ---------- HERO: the loud part ------------------------------------------- */
.hero { margin-bottom: 18px; text-align: center; padding: 6px 4px 0; }
.hero-title {
  margin: 0 0 8px;
  font-size: clamp(30px, 6.2vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
  text-shadow: 3px 3px 0 var(--orange-deep), 6px 6px 0 rgba(0,0,0,.45);
  text-transform: lowercase;
}
.hero-sub {
  margin: 0 auto 16px;
  max-width: 560px;
  font-size: 13.5px;
  color: var(--dim);
  line-height: 1.55;
}

.statstrip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 9px;
}
.stat {
  padding: 11px 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 0;
}
.stat-n {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: var(--gold-soft);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.stat-k {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--faint);
  text-transform: lowercase;
}
.stat.is-live .stat-n { color: var(--orange); }

@media (max-width: 860px) {
  .hero-title { text-shadow: 2px 2px 0 var(--orange-deep), 4px 4px 0 rgba(0,0,0,.45); }
  .statstrip { grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); gap: 7px; }
  .stat { padding: 9px 5px; }
  .stat-n { font-size: 16px; }
  .stat-k { font-size: 9px; letter-spacing: .06em; }
}


/* ---------- PUMP.FUN LAUNCH FURNITURE -------------------------------------- */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ca-row {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(92vw, 560px);
  padding: 8px 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--panel);
  min-height: 44px; /* touch target */
}
.ca-label { font-size: 10px; letter-spacing: .14em; color: var(--faint); flex: none; }
.ca-value {
  font-size: 12.5px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
/* unset mint renders as an INSTRUCTION: amber, dashed, not copyable */
.ca-row.is-placeholder { border-color: var(--gold-deep); background: rgba(255,176,31,.05); }
.ca-row.is-placeholder .ca-value { color: var(--gold-soft); letter-spacing: .03em; }
.ca-copy {
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--gold);
  border: 1px solid var(--gold-deep);
  border-radius: 6px;
  padding: 6px 11px;   /* comfortable tap size */
  flex: none;
  min-height: 32px;
}
.ca-copy:hover { background: rgba(255,176,31,.12); }

.btn-pump {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  min-height: 44px;
  border-radius: 8px;
  background: linear-gradient(180deg, #00e676, var(--orange));
  color: #04140a;
  font-weight: 800;
  font-size: 13.5px;
  text-decoration: none;
  box-shadow: 0 3px 0 var(--orange-deep), 0 10px 26px rgba(255,106,26,.28);
  transition: transform .12s ease;
}
.btn-pump:hover { transform: translateY(-1px); }
.btn-pump:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--orange-deep); }
/* the pre-launch stand-in is deliberately NOT shaped like a button you can press */
.btn-pump-placeholder {
  font-size: 12px;
  color: var(--faint);
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 10px 14px;
}

/* live coin tiles */
.stat.is-mcap .stat-n { color: var(--orange); }
/* bonding progress bar removed per user — the % number carries it */

/* ---------- polish from the design pass ------------------------------------ */
/* visible keyboard focus, terminal-flavoured */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
/* dimmest label tier was under contrast on panels; lift it */
.stat-k { color: #66795f; }
.ca-label, .mint-label { color: #66795f; }
/* action buttons: real touch targets */
.act { min-height: 34px; padding: 7px 10px; }
@media (max-width: 860px) {
  .act { min-height: 44px; padding: 10px 12px; }
  .mint-copy, .ca-copy { min-height: 40px; }
}
.lock-mark { font-size: 14px; letter-spacing: .1em; color: var(--gold-deep); font-weight: 700; }


/* ==========================================================================
   PUMP.FUN / CATCHAT THEME — measured off pump.fun 2026-08-24:
   body #14151c · cards #18191b/#212225 · text #e6f0e6/#7d8f80 · accent #5cf06f
   (their green, their identity — user-ordered for this pump.fun launch app) ·
   Inter body, mono for numbers · pill buttons, soft radii, flat not brutalist.
   Overrides the amber trench pass below this line; structure stays.
   ========================================================================== */
:root {
  --bg:        #14151c;
  --bg-deep:   #111116;
  --panel:     #18191b;
  --panel-2:   #212225;
  --raised:    #26272b;
  --line:      #2b2c31;
  --line-soft: #222327;

  --text:      #e6f0e6;
  --text-2:    #d4d4d8;
  --dim:       #7d8f80;
  --faint:     #71717a;

  --pump:      #5cf06f;   /* pump.fun mint */
  --pump-hi:   #8ef79c;
  --pump-deep: #00c805;
  --pump-ink:  #052e16;   /* text ON the green, as pump.fun does it */

  /* legacy token names now resolve to the pump palette so every earlier rule follows */
  --gold:      #5cf06f;
  --gold-soft: #8ef79c;
  --gold-deep: #14532d;
  --orange:    #00c805;
  --orange-deep: #166534;

  --radius:    14px;
  --radius-sm: 10px;

  --font:      'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:      'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

body { font-family: var(--font); letter-spacing: 0; }

/* pump.fun is clean-dark, not lava-lit: calm ambient, faint grain */
body::before {
  background:
    radial-gradient(760px 420px at 18% -12%, rgba(134,239,172,.07), transparent 70%),
    radial-gradient(640px 380px at 86% -8%, rgba(74,222,128,.05), transparent 72%);
}
body::after { opacity: .025; }

/* ---------- wordmark: green, soft, still lowercase-chunky ---------- */
.brand-name {
  color: var(--pump);
  text-shadow: 0 0 22px rgba(134,239,172,.35);
  font-weight: 800;
}
.brand-mark { text-shadow: none; font-size: 24px; }

/* ---------- numbers and addresses stay mono (tabular, no layout shift) ----- */
.mint-value, .ca-value, .me-bag, .you-amount, .stat-n, .charcount, .post-addr,
.dm-peer-addr, .act-count, .panel-count, .ticker-item { font-family: var(--mono); }

/* ---------- ticker ---------- */
.ticker { background: linear-gradient(180deg, #0d130d, #141519); border-bottom-color: var(--line); }
.ticker-item { color: var(--dim); }
.ticker-item b { color: var(--pump); }

/* ---------- nav ---------- */
.nav-item.is-active { background: var(--panel-2); box-shadow: inset 0 0 0 1px #2f3e33; }
.nav-item.is-active .nav-label { color: var(--pump); }
.nav-item.is-active .nav-label::before,
.nav-item.is-active .nav-label::after { color: #3f5546; }
.nav-item.is-active .nav-ico { color: var(--pump); }
.live-pip, .pip { background: var(--pump); box-shadow: 0 0 8px var(--pump); }

/* ---------- buttons: pump.fun pills, green with dark-green ink ---------- */
.btn-connect, .btn-connect-sm, .btn-post, .btn-send, .btn-pump {
  background: var(--pump);
  color: var(--pump-ink);
  font-weight: 700;
  border-radius: 999px;
  box-shadow: none;
}
.btn-connect:hover, .btn-connect-sm:hover,
.btn-post:hover:not(:disabled), .btn-send:hover:not(:disabled), .btn-pump:hover {
  background: var(--pump-hi);
  transform: none;
}
.btn-pump { box-shadow: 0 8px 24px rgba(134,239,172,.18); }
.btn-ghost { border-radius: 999px; }
.btn-pump-placeholder { border-radius: 999px; }

/* ---------- hero ---------- */
.hero-title {
  color: var(--pump);
  text-shadow: 0 0 34px rgba(134,239,172,.3);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-sub { font-family: var(--mono); }

/* ---------- announcements ---------- */
.announce-tag {
  color: var(--pump);
  background: rgba(134,239,172,.08);
  border-color: #24422c;
  border-radius: 999px;
}
.team-chip {
  background: var(--pump);
  color: var(--pump-ink);
  border-radius: 999px;
  box-shadow: none;
}
.tier-chip { border-radius: 999px; }
.tier-chip.tier-whale { color: var(--pump); border-color: #24422c; background: rgba(134,239,172,.08); }
.tier-chip.tier-big { color: var(--pump-deep); border-color: #1e3a26; background: rgba(74,222,128,.06); }

/* ---------- chat + dms ---------- */
.hash { color: var(--pump); }
.bubble.is-me {
  background: #10281a;
  border-color: #245c38;
  color: #d1fae5;
}
.bubble.is-me .bubble-time { color: #6ea886; }
.unread-badge { background: var(--pump); color: var(--pump-ink); border-radius: 999px; }
.dm-convo.is-active { box-shadow: inset 2px 0 0 var(--pump); }

/* ---------- avatars: the cat is the face ---------- */
.avatar { font-size: 22px; }
.msg .avatar, .dm-convo .avatar, .dm-peer .avatar { font-size: 18px; }
.reply .avatar, .member .avatar { font-size: 14px; }
.avatar-tier { font-size: 9px; background: var(--bg); }

/* ---------- panels ---------- */
.panel-you { background: linear-gradient(165deg, rgba(134,239,172,.08), var(--panel) 62%); border-color: #1e3a26; }
.you-amount { color: var(--pump); text-shadow: none; }
.you-tier { color: var(--pump-deep); }
.panel-head, .dm-sidebar-head { color: var(--faint); }
.stat.is-mcap .stat-n { color: var(--pump); }
.stat.is-live .stat-n { color: var(--pump); }
.stat-k { color: var(--faint); }

/* ---------- CA row: caution amber ONLY while placeholder, green when real ---------- */
.ca-row { border-radius: 999px; }
.ca-row.is-placeholder { border-color: #05601b; background: rgba(255,176,31,.05); }
.ca-row.is-placeholder .ca-value { color: #5cf06f; }
.ca-copy { color: var(--pump); border-color: #24422c; border-radius: 999px; }
.ca-copy:hover { background: rgba(134,239,172,.1); }
.mint-chip { border-radius: 999px; }
.mint-chip.is-placeholder { border-color: #05601b; background: rgba(255,176,31,.05); }
.mint-chip.is-placeholder .mint-value { color: #5cf06f; }
.mint-copy { border-radius: 999px; }

/* ---------- demo banner stays CAUTION-coloured: it is a warning, not brand ---------- */
.demo-banner {
  background: repeating-linear-gradient(135deg, #0f2114, #0f2114 12px, #231a05 12px, #231a05 24px);
  border-bottom-color: #05601b;
  color: #5cf06f;
}
.demo-banner strong { color: #00c805; }
.demo-dot { background: #00c805; box-shadow: 0 0 12px #00c805; }

/* ---------- focus + tabs ---------- */
:focus-visible { outline-color: var(--pump); }
.tab.is-active { color: var(--pump); }
.chat-composer input:focus, .dm-composer input:focus, .field input:focus, .reply-form input:focus {
  border-color: #1f6b3a;
  box-shadow: 0 0 0 1px rgba(134,239,172,.22);
}
.composer-live textarea, .chat-composer input, .dm-composer input { font-family: var(--font); }
.lock-mark { color: var(--pump-deep); font-family: var(--mono); }
.gate-copy span, .feed-empty span, .chat-locked span, .dm-locked span, .dm-blank span { font-family: var(--mono); }


/* ---------- ART AVATARS: the house cats, one per wallet --------------------- */
.avatar { overflow: hidden; background: var(--panel-2); font-size: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-tier { font-size: 9px; z-index: 1; }


/* ---------- NFTS: claim your cat ------------------------------------------- */
.view-nft.is-active { display: block; }
.nft-hero {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nft-mine { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nft-mine img { border-radius: 16px; border: 1px solid #24422c; background: var(--panel-2); }
.nft-mine-text { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.nft-mine-text strong { font-size: 20px; }
.nft-mine-sub { font-family: var(--mono); font-size: 12.5px; color: var(--dim); }
.nft-claimbox { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nft-claim-sub { font-family: var(--mono); font-size: 12.5px; color: var(--dim); }
.nft-claim-sub code { color: var(--pump); background: rgba(134,239,172,.08); padding: 1px 6px; border-radius: 5px; }

.nft-gallery-head {
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); margin: 0 2px 10px;
}
.nft-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
}
.nft-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  min-width: 0;
}
.nft-card.is-mine { border-color: var(--pump-deep); box-shadow: 0 0 0 1px rgba(134,239,172,.25); }
.nft-card img { width: 100%; aspect-ratio: 1; border-radius: 9px; display: block; background: var(--panel-2); }
.nft-card-id { font-family: var(--mono); font-size: 11px; color: var(--text-2); margin-top: 6px; display: block; }
.nft-card-owner { font-family: var(--mono); font-size: 10px; color: var(--faint); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nft-card .tier-chip { margin-top: 4px; display: inline-block; }
.tier-chip.tier-legendary { color: #5cf06f; border-color: #05601b; background: rgba(255,176,31,.08); }
.tier-chip.tier-epic { color: #c4b5fd; border-color: #4c3a8a; background: rgba(139,92,246,.08); }
.tier-chip.tier-rare { color: var(--ice); border-color: #1e3a3f; background: rgba(111,211,232,.07); }

/* system line in chat when a cat gets pulled */
.claim-line {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 10px; margin: 6px 0;
  border: 1px dashed #24422c; border-radius: 9px;
  font-family: var(--mono); font-size: 12.5px; color: var(--pump);
  background: rgba(134,239,172,.05);
}
.claim-line img { width: 26px; height: 26px; border-radius: 7px; }


/* ==========================================================================
   ELEVATION PASS — the flat gray boxes get depth, the art gets the stage.
   ========================================================================== */

/* ---------- cat parade ---------- */
.parade {
  overflow: hidden;
  margin: 2px -8px 18px;
  padding: 14px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.parade-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.parade-cat {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  border: 1px solid #1a241b;
  background: var(--panel-2);
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  flex: none;
}
.parade-cat.tilt-l { transform: rotate(-2.5deg); }
.parade-cat.tilt-r { transform: rotate(2.5deg) translateY(5px); }
@media (prefers-reduced-motion: reduce) { .parade-track { animation: none; } }
@media (max-width: 860px) { .parade-cat { width: 72px; height: 72px; border-radius: 13px; } }

/* ---------- stronger stage light ---------- */
body::before {
  background:
    radial-gradient(900px 480px at 50% -16%, rgba(134,239,172,.13), transparent 65%),
    radial-gradient(700px 420px at 12% -10%, rgba(74,222,128,.06), transparent 70%),
    radial-gradient(700px 420px at 88% -10%, rgba(74,222,128,.06), transparent 70%);
}

/* ---------- hero title: bigger, gradient ink ---------- */
.hero-title {
  font-size: clamp(34px, 7vw, 68px);
  background: linear-gradient(180deg, #d9fbe6 12%, var(--pump) 58%, #4bce80);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 4px 26px rgba(134,239,172,.28));
}

/* ---------- surfaces: gradient, not flat ---------- */
.post, .composer, .panel, .chat-head, .chat-composer, .dm-wrap, .nft-hero, .nft-card {
  background: linear-gradient(180deg, #1b1c21, #161719);
  border-color: #1a241b;
}
.chat-log, .typing-line { background: #0d130d; }
.post { transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.post:hover {
  border-color: #34473c;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}

/* team posts carry a green spine */
.post:has(.team-chip) { border-left: 2px solid var(--pump-deep); }

/* ---------- stats: punchier ---------- */
.stat {
  background: linear-gradient(180deg, #1b1c21, #161719);
  border-color: #1a241b;
  padding: 13px 8px;
}
.stat-n { font-size: 22px; }
.stat.is-live .stat-n, .stat.is-mcap .stat-n { text-shadow: 0 0 18px rgba(134,239,172,.45); }

/* ---------- CTAs glow ---------- */
.btn-connect, .btn-pump, .btn-post:not(:disabled), .btn-send {
  box-shadow: 0 0 0 1px rgba(134,239,172,.25), 0 6px 26px rgba(134,239,172,.22);
}
.btn-connect:hover, .btn-pump:hover { box-shadow: 0 0 0 1px rgba(134,239,172,.4), 0 8px 34px rgba(134,239,172,.32); }

/* ---------- panel headers get a tick ---------- */
/* the // ticks are gone per user — heads stand on their own */

/* ---------- topbar: seat the wordmark ---------- */
.topbar { background: rgba(17,18,22,.85); }
.brand-name { font-size: 19px; }

.nft-claim-text { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }


/* ---------- fixes: clipped descender + hero-scale CTA ----------------------- */
/* background-clip:text only paints inside the line box; at line-height 1 the g/y
   descenders fall OUTSIDE it and render as cut glass. Give the box room. */
.hero-title { line-height: 1.14; padding-bottom: .08em; margin-bottom: 2px; }

.btn-hero {
  padding: 14px 34px;
  font-size: 16.5px;
  min-height: 54px;
  border-radius: 999px;
  font-weight: 800;
}
@media (max-width: 860px) { .btn-hero { width: 100%; justify-content: center; display: inline-flex; } }


/* ==========================================================================
   COMPOSITION PASS — characters on the page, a tighter frame, no more
   boxes-in-soup. Overrides everything above it.
   ========================================================================== */

/* tighter stage */
.shell { max-width: 1280px; gap: 20px; }
:root { --rail-l: 224px; --rail-r: 264px; }

/* ---------- hero: flanked by the mascots ---------- */
.hero { position: relative; padding-top: 10px; }
/* the mascots live IN the title line — bookends, so they can never collide with the text */
.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}
.hero-cat {
  width: clamp(56px, 7vw, 84px);
  height: clamp(56px, 7vw, 84px);
  border-radius: 18px;
  border: 1px solid #1a241b;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
  flex: none;
}
.hero-cat-l { transform: rotate(-8deg); }
.hero-cat-r { transform: rotate(8deg); }
@media (max-width: 640px) { .hero-cat { display: none; } }

/* ---------- parade: a shelf of stickers, not an icon row ---------- */
.parade-track { align-items: flex-end; gap: 6px; }
.parade-cat { border-radius: 18px; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.parade-cat.v0 { width: 104px; height: 104px; transform: rotate(-5deg); }
.parade-cat.v1 { width: 76px;  height: 76px;  transform: rotate(4deg) translateY(-6px); margin-left: -14px; z-index: 1; }
.parade-cat.v2 { width: 92px;  height: 92px;  transform: rotate(-2deg); margin-left: -10px; }
.parade-cat.v3 { width: 68px;  height: 68px;  transform: rotate(6deg) translateY(-10px); margin-left: -12px; z-index: 1; }
.parade-cat.v4 { width: 98px;  height: 98px;  transform: rotate(-4deg) translateY(2px); margin-left: -8px; }
@media (max-width: 860px) {
  .parade-cat.v0, .parade-cat.v2, .parade-cat.v4 { width: 72px; height: 72px; }
  .parade-cat.v1, .parade-cat.v3 { width: 54px; height: 54px; }
}

/* ---------- left rail: chunkier, alive ---------- */
.nav-item { padding: 13px 15px; font-size: 14.5px; border-radius: 12px; margin-bottom: 3px; }
.nav-item .nav-ico { font-size: 16px; }
.rail-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 12px;
  background: linear-gradient(165deg, rgba(134,239,172,.09), #0d130d 70%);
  border: 1px solid #2b4a37;
  border-radius: 14px;
}
.rail-cat img { border-radius: 12px; border: 1px solid #1a241b; }
.rail-cat-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rail-cat-name { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-cat-tier { font-family: var(--mono); font-size: 11px; color: var(--pump-deep); }

/* ---------- right rail: fewer gray slabs ---------- */
.panel { border-radius: 14px; padding: 15px 16px; }
.you-amount { font-size: 30px; }
.panel-rules { border-left: 3px solid var(--pump-deep); }
.rules li { color: var(--text-2); font-size: 13px; }
.member { padding: 7px 8px; border-radius: 10px; }
.member .avatar { width: 30px; height: 30px; border-radius: 9px; }
.member-name { font-size: 13.5px; }

/* ---------- wordmark bigger ---------- */
.brand-name { font-size: 21px; }
.brand-mark img { width: 34px !important; height: 34px !important; border-radius: 10px !important; }

/* posts breathe a little more */
.post { padding: 16px 18px; border-radius: 14px; }
.post-text { font-size: 15.5px; }


/* the bookended title must hold ONE line: nowrap the text, cap the size to fit the column */
.hero-title { font-size: clamp(30px, 5.4vw, 56px); }
.hero-title span { white-space: nowrap; }
@media (max-width: 720px) { .hero-title { font-size: clamp(26px, 7.4vw, 40px); } }


/* the account chip wears the smol cat */
.me-badge { overflow: hidden; padding: 0; }
.me-badge img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* rail-cat card removed per user — kill its box if any markup ever resurrects it */
.rail-cat { display: none !important; }


/* ---------- bag tags: how much this holder holds ---------------------------- */
.bag-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--pump-deep);
  background: rgba(134,239,172,.07);
  border: 1px solid #24422f;
  border-radius: 999px;
  padding: 1px 8px;
  white-space: nowrap;
}
.member .bag-tag { margin-left: auto; font-size: 10px; }


/* tier label removed from the bag panel per user ("whats this lion?") — the % says it */
.you-tier { display: none; }


/* ---------- images in chat -------------------------------------------------- */
.chat-attach {
  flex: none;
  width: 42px;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--pump);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.chat-attach:hover { border-color: #1f6b3a; }
.chat-attach:disabled { opacity: .5; }

.msg-img {
  display: block;
  margin-top: 6px;
  max-width: min(340px, 78%);
  max-height: 300px;
  border-radius: 12px;
  border: 1px solid var(--line);
  cursor: zoom-in;
  background: var(--panel-2);
}
.msg-img.is-sticker { max-width: min(220px, 60%); border: none; background: transparent; }

.msg { position: relative; }
.msg-del {
  position: absolute;
  top: 2px;
  right: 4px;
  padding: 4px 8px;
  border-radius: 7px;
  color: var(--faint);
  font-size: 12px;
  opacity: 0;
  transition: opacity .12s;
}
.msg:hover .msg-del { opacity: 1; }
.msg-del:hover { color: var(--danger); background: rgba(255,83,71,.1); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(4,4,6,.88);
  display: grid;
  place-items: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 12px; }


/* ---------- fluid stage: the wide-screen gutter was dead weight ------------- */
.shell { max-width: 1720px; }
@media (min-width: 1440px) {
  :root { --rail-l: 236px; --rail-r: 288px; }
  .shell { gap: 26px; padding-left: 28px; padding-right: 28px; }
}


/* wallet logos: the wallet's real mark, not an emoji */
.wallet-opt-logo { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.wallet-opt { padding: 14px 16px; }
.wallet-opt-name { font-size: 15px; }


/* ---------- wallet picker: a dropdown under the button, not a mid-screen modal ----- */
#walletModal { display: block; }
#walletModal .modal {
  position: fixed;
  top: 72px;
  right: 18px;
  width: min(380px, calc(100vw - 36px));
  max-height: min(70vh, 560px);
  margin: 0;
  animation: dropIn .18s cubic-bezier(.2,.8,.3,1);
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  /* phones get the bottom sheet every dapp uses */
  #walletModal .modal {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 76vh;
    border-radius: 20px 20px 0 0;
    animation: sheetUp .22s cubic-bezier(.2,.8,.3,1);
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
  }
  @keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* install-as-app button: present only when the browser says the page is installable, so it
   never advertises a capability the current browser cannot deliver. Quieter than connect —
   connect is the primary action, install is an offer. */
.btn-install{
  background:transparent;
  color:var(--dim);
  border:1px solid var(--line);
  margin-right:8px;
}
.btn-install:hover{ color:var(--text); border-color:var(--pump, var(--gold)); }
@media (max-width:640px){ .btn-install{ display:none } }

/* ---------- hero banner ----------------------------------------------------
   The collection parade used to live here. The cast does the same job in one
   image: it shows who is in the room before a word of copy is read.          */
.hero-banner {
  margin: 26px auto 0;
  max-width: 760px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: var(--shadow);
}
.hero-banner img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .hero-banner { margin-top: 18px; } }
