/* ethstonks.fun — Ethereum-branded dark theme */
:root {
  --base-blue: #627EEA;
  --base-blue-hover: #7B93F0;
  --base-blue-dim: rgba(98, 126, 234, 0.16);
  --bg: #0A0B0D;
  --bg-raise: #111318;
  --bg-card: #14161C;
  --line: #23262E;
  --line-soft: #1B1E25;
  --text: #F4F5F7;
  --text-2: #9BA1AC;
  --text-3: #5F6672;
  --green: #27AD75;
  --red: #F0616D;
  --radius: 14px;
  --font: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scrollbar-color: var(--line) var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 11, 13, 0.86);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.brand-name b { font-weight: 800; }
.brand-tld { color: var(--base-blue); font-weight: 700; }
.topnav { display: flex; gap: 4px; margin-right: auto; }
.topnav a {
  color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 14px;
  padding: 7px 14px; border-radius: 10px; transition: all .15s;
}
.topnav a:hover { color: var(--text); background: var(--bg-raise); }
.topnav a.active { color: var(--text); background: var(--base-blue-dim); }

/* ---------- buttons ---------- */
.btn {
  font: 600 14px var(--font); border: none; cursor: pointer;
  padding: 9px 18px; border-radius: 11px; transition: all .15s;
  color: var(--text); background: var(--bg-raise);
  border: 1px solid var(--line);
}
.btn:hover { border-color: var(--text-3); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-blue { background: var(--base-blue); border-color: transparent; color: #fff; }
.btn-blue:hover { background: var(--base-blue-hover); border-color: transparent; }
.btn-big { padding: 13px 26px; font-size: 15px; border-radius: 13px; }
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 9px; }

/* ---------- layout ---------- */
main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 34px 28px 80px; }

.hero { padding: 26px 0 30px; }
.hero h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.hero h1 .base-blue { color: var(--base-blue); }
.hero p { color: var(--text-2); margin-top: 10px; max-width: 640px; }
.hero-stats { display: flex; gap: 34px; margin-top: 22px; flex-wrap: wrap; }
.hstat .v { font: 700 22px var(--mono); letter-spacing: -0.02em; }
.hstat .k { color: var(--text-3); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.07em; margin-top: 2px; }

/* ---------- toolbar ---------- */
.toolbar { display: flex; align-items: center; gap: 12px; margin: 6px 0 20px; flex-wrap: wrap; }
.toolbar .spacer { flex: 1; }
.seg { display: flex; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 11px; padding: 3px; }
.seg button {
  font: 500 13px var(--font); color: var(--text-2); background: none; border: none;
  padding: 6px 14px; border-radius: 8px; cursor: pointer; transition: all .15s;
}
.seg button.on { background: var(--base-blue); color: #fff; font-weight: 600; }

/* ---------- token grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 16px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 18px; cursor: pointer; transition: all .18s; text-decoration: none; color: var(--text);
  display: block;
}
.card:hover { border-color: var(--base-blue); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(98, 126, 234, 0.10); }
.card-top { display: flex; align-items: center; gap: 12px; }
.logo {
  width: 44px; height: 44px; border-radius: 12px; background: var(--bg-raise);
  object-fit: cover; border: 1px solid var(--line-soft); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font: 700 16px var(--mono); color: var(--base-blue);
}
.card-name { font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sym { color: var(--text-3); font: 600 12.5px var(--mono); }
.pair-chip {
  margin-left: auto; flex-shrink: 0; font: 600 11.5px var(--mono);
  background: var(--base-blue-dim); color: var(--base-blue-hover);
  padding: 3px 9px; border-radius: 999px;
}
.card-desc {
  color: var(--text-2); font-size: 13px; margin-top: 11px; height: 38px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.card-row { display: flex; justify-content: space-between; margin-top: 13px; font-size: 13px; }
.card-row .k { color: var(--text-3); }
.card-row .v { font: 600 13px var(--mono); }
.mcap-v { color: var(--green); }

/* ---------- pagination ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; }
.pager span { color: var(--text-3); font: 500 13px var(--mono); }

/* ---------- token page ---------- */
.backlink { color: var(--text-3); text-decoration: none; font-size: 13.5px; }
.backlink:hover { color: var(--text-2); }
.tok-head { display: flex; align-items: center; gap: 18px; margin: 18px 0 6px; flex-wrap: wrap; }
.tok-head .logo { width: 64px; height: 64px; border-radius: 16px; font-size: 22px; }
.tok-title h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.tok-title .sub { color: var(--text-3); font: 600 13.5px var(--mono); margin-top: 2px; }
.tok-links { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.tok-links a {
  color: var(--text-2); text-decoration: none; font-size: 13px; font-weight: 600;
  border: 1px solid var(--line); padding: 6px 13px; border-radius: 10px; transition: all .15s;
}
.tok-links a:hover { color: var(--text); border-color: var(--text-3); }

.tok-layout { display: grid; grid-template-columns: 1fr 340px; gap: 18px; margin-top: 18px; }
@media (max-width: 900px) { .tok-layout { grid-template-columns: 1fr; } }

.chart-box {
  background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; min-height: 560px; position: relative;
}
.chart-box iframe { width: 100%; height: 100%; min-height: 560px; border: 0; display: block; }
.chart-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px;
  align-items: center; justify-content: center; color: var(--text-3); font-size: 14px;
}

.panel {
  background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 20px;
}
.panel + .panel { margin-top: 16px; }
.panel h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 14px; }
.stat-list { display: flex; flex-direction: column; gap: 11px; }
.stat { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.stat .k { color: var(--text-2); }
.stat .v { font: 600 13.5px var(--mono); text-align: right; word-break: break-all; }
.stat .v a { color: var(--base-blue-hover); text-decoration: none; }
.desc-block { color: var(--text-2); font-size: 14px; margin-top: 4px; white-space: pre-wrap; }

.claim-note { color: var(--text-3); font-size: 12.5px; margin-top: 10px; }
.full { width: 100%; }

/* ---------- launch form ---------- */
.form-wrap { max-width: 660px; margin: 0 auto; }
.form-wrap .hero { padding-bottom: 16px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-grid .wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .f-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
label .opt { color: var(--text-3); font-weight: 400; }
input, textarea, select {
  width: 100%; background: var(--bg-raise); border: 1px solid var(--line);
  border-radius: 11px; color: var(--text); font: 400 14px var(--font);
  padding: 11px 14px; outline: none; transition: border .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--base-blue); }
textarea { resize: vertical; min-height: 88px; }
select { appearance: none; background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%239BA1AC" stroke-width="2.5"><path d="M6 9l6 6 6-6"/></svg>'); background-repeat: no-repeat; background-position: right 14px center; }
.pair-preview {
  display: flex; align-items: center; gap: 10px; margin-top: 10px;
  background: var(--base-blue-dim); border-radius: 11px; padding: 11px 14px;
  font: 600 13px var(--mono); color: var(--base-blue-hover);
}
.launch-info { border-top: 1px solid var(--line-soft); margin-top: 20px; padding-top: 16px; }
.launch-info .stat { margin-bottom: 8px; }
.err-box { background: rgba(240, 97, 109, .1); border: 1px solid rgba(240, 97, 109, .35); color: var(--red); font-size: 13.5px; border-radius: 11px; padding: 12px 14px; margin-top: 14px; }
.ok-box { background: rgba(39, 173, 117, .1); border: 1px solid rgba(39, 173, 117, .35); color: var(--green); font-size: 13.5px; border-radius: 11px; padding: 12px 14px; margin-top: 14px; word-break: break-all; }

/* ---------- portfolio ---------- */
.port-list { display: flex; flex-direction: column; }
.port-row {
  display: flex; align-items: center; gap: 14px; padding: 13px 6px;
  border-bottom: 1px solid var(--line-soft); color: var(--text); text-decoration: none;
}
.port-row:last-child { border-bottom: 0; }
a.port-row:hover { background: var(--bg-raise); border-radius: 12px; }
.port-logo { width: 40px; height: 40px; flex: 0 0 40px; font-size: 14px; border-radius: 11px; }
.port-main { flex: 1; min-width: 0; }
.port-name { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.port-name a { color: var(--text); text-decoration: none; }
.port-name a:hover { color: var(--base-blue-hover); }
.port-sub { color: var(--text-3); font: 500 12px var(--mono); margin-top: 4px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.port-sub .pair-chip { margin-left: 0; }
.port-scan { color: var(--text-3); text-decoration: none; opacity: 0.7; }
.port-scan:hover { color: var(--base-blue); opacity: 1; }
.port-fee-badge {
  display: inline-block; margin-left: 8px; padding: 2px 8px;
  font: 700 11px var(--mono); letter-spacing: 0.03em;
  color: #4ade80; background: rgba(74, 222, 128, 0.12);
  border-radius: 999px; vertical-align: middle;
}
.port-fee-badge.port-fee-none { color: var(--text-3); background: transparent; opacity: 0.55; }

/* Chainlink RWA price sticker on token page */
.rwa-sticker {
  display: inline-flex; align-items: baseline; gap: 8px;
  margin-top: 8px; padding: 6px 12px 6px 10px;
  background: var(--bg-raise); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; font: 500 12.5px var(--mono);
  color: var(--text-3); opacity: 0.6; transition: opacity 0.2s;
}
.rwa-sticker.on { opacity: 1; }
.rwa-sticker .rwa-tk { font-weight: 700; color: var(--text); letter-spacing: 0.02em; }
.rwa-sticker .rwa-price { font-weight: 700; color: var(--base-blue-hover); font-size: 14px; }
.rwa-sticker .rwa-age { color: var(--text-3); font-size: 11.5px; }
.rwa-sticker::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  background: #4ade80; border-radius: 50%; box-shadow: 0 0 8px #4ade80;
  align-self: center; animation: rwa-pulse 2s ease-in-out infinite;
}
@keyframes rwa-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Trending: heat badge on cards */
.heat-badge {
  display: inline-block; margin: -4px 0 8px; padding: 3px 9px;
  font: 700 11px var(--mono); letter-spacing: 0.02em;
  color: #fbbf24; background: rgba(251, 191, 36, 0.10);
  border-radius: 999px; border: 1px solid rgba(251, 191, 36, 0.25);
}
.card.card-hot { border-color: rgba(251, 191, 36, 0.35); box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.12) inset; }
.buy-ct { color: #4ade80; font-weight: 700; }
.sell-ct { color: #f87171; font-weight: 700; }

/* SocialAttest panel */
.social-list .soc-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.social-list .soc-row:last-child { border-bottom: 0; }
.soc-plat { min-width: 72px; color: var(--text-3); font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
.soc-handle { color: var(--text); text-decoration: none; font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soc-handle:hover { color: var(--base-blue-hover); }
.soc-check { color: #4ade80; font: 700 11.5px var(--mono); }
.soc-flag { color: #fbbf24; font: 700 11.5px var(--mono); }
.soc-attest { margin-top: 12px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,0.08); }
.soc-attest-label { color: var(--text-3); font: 500 12px var(--mono); margin-bottom: 8px; }
.soc-attest-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.soc-attest-row select { padding: 8px 10px; background: var(--bg-raise); color: var(--text); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; font: 600 13px var(--mono); }
.soc-attest-row input { flex: 1; min-width: 160px; padding: 8px 12px; background: var(--bg-raise); color: var(--text); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; font: 500 13px var(--mono); }
.soc-attest-row button { padding: 8px 14px; }

.share-x { color: var(--base-blue) !important; font-weight: 700 !important; }
.share-x:hover { color: var(--base-blue-hover) !important; }
.port-nums { text-align: right; flex: 0 0 auto; }
.port-nums .port-sub { justify-content: flex-end; }
.port-v { font: 700 14px var(--mono); }
.port-empty { color: var(--text-3); font-size: 14px; padding: 6px 0; }
.port-empty a { color: var(--base-blue-hover); text-decoration: none; }
@media (max-width: 560px) { .port-nums .port-sub { display: none; } }

/* ---------- misc ---------- */
.skeleton { border-radius: var(--radius); background: linear-gradient(100deg, var(--bg-card) 40%, var(--bg-raise) 50%, var(--bg-card) 60%); background-size: 200% 100%; animation: sk 1.2s infinite linear; height: 170px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty-state { text-align: center; padding: 90px 20px; color: var(--text-3); }
.empty-state h2 { color: var(--text-2); font-weight: 700; margin-bottom: 8px; }
.base-blue { color: var(--base-blue); font-weight: 700; }
.mono { font-family: var(--mono); }

.foot { border-top: 1px solid var(--line-soft); padding: 22px 28px; color: var(--text-2); font-size: 13.5px; display: flex; flex-direction: column; gap: 6px; }
.foot > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.foot-fine { color: var(--text-3); font-size: 12px; }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%);
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 20px; font-size: 14px; z-index: 100; max-width: 90vw;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}

@media (max-width: 640px) {
  .topbar { padding: 12px 16px; gap: 14px; }
  main { padding: 22px 16px 60px; }
  .brand-name { display: none; }
}

.chart-note { color: var(--muted, #6b7280); font-size: 12px; font-family: "JetBrains Mono", monospace; }

/* top notice bar */
.notice-bar {
  background: linear-gradient(90deg, #14233f, #0e1a30);
  border-bottom: 1px solid rgba(0, 82, 255, 0.35);
  color: #c8d6f5;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  padding: 8px 16px;
}
.notice-bar b { color: #fff; }
.notice-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ffb020;
  margin-right: 8px;
  vertical-align: 1px;
  animation: noticePulse 1.6s ease-in-out infinite;
}
@keyframes noticePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* topbar socials */
.socials { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.socials + #connectBtn { margin-left: 12px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px;
  color: #8fa2c4; transition: color 0.15s, background 0.15s;
}
.socials a:hover { color: #fff; background: rgba(0, 82, 255, 0.18); }
.socials a svg { width: 17px; height: 17px; }

/* ---- direct logo upload ---- */
.logo-row { display: flex; align-items: center; gap: 10px; }
.logo-row input[type="text"], .logo-row #fLogo { flex: 1; min-width: 0; }
.logo-prev { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 13px; }
.logo-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-up { cursor: pointer; white-space: nowrap; }
.logo-info { margin-top: 6px; min-height: 14px; }
#fLogo:disabled { opacity: .45; }
.logo-info { color: var(--muted, #8b93a7); font-size: 12px; }

/* ---------- B20 badge + toggle ---------- */
.b20-chip {
  flex-shrink: 0; display: inline-block; font: 800 10.5px var(--mono); letter-spacing: 0.05em;
  background: linear-gradient(135deg, #627EEA 0%, #8b9ff2 100%); color: #fff;
  padding: 3px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle;
  box-shadow: 0 0 10px rgba(0, 82, 255, 0.35);
}
.tok-title h1 .b20-chip { font-size: 12px; padding: 4px 10px; position: relative; top: -3px; }

.ca-row {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px; padding: 4px 4px 4px 10px;
  background: var(--bg-raise, rgba(255,255,255,0.03));
  border: 1px solid var(--line-soft, rgba(255,255,255,0.1));
  border-radius: 999px;
  max-width: 100%; overflow: hidden;
}
.ca-label {
  font: 700 10.5px var(--mono); letter-spacing: 0.08em; color: var(--text-3);
  text-transform: uppercase;
}
.ca-addr {
  font: 500 12px var(--mono); color: var(--text-2);
  text-decoration: none;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  max-width: 340px;
}
.ca-addr:hover { color: #627EEA; text-decoration: underline; }
.ca-copy {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 999px;
  font: 700 11px var(--mono); color: #627EEA;
  background: rgba(0,82,255,0.10);
  border: 1px solid rgba(0,82,255,0.28);
  cursor: pointer; transition: all 0.15s ease;
}
.ca-copy:hover { background: rgba(0,82,255,0.18); }
.ca-copy.copied { color: #16a34a; background: rgba(22,163,74,0.14); border-color: rgba(22,163,74,0.35); }
.ca-copy svg { flex-shrink: 0; }
@media (max-width: 640px) {
  .ca-addr { max-width: 150px; font-size: 11px; }
  .ca-row { padding-left: 9px; }
}

.bs-launched-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px; padding: 5px 11px 5px 10px;
  font: 600 12px var(--mono); color: var(--text-2);
  background: linear-gradient(135deg, rgba(0,82,255,0.10), rgba(0,82,255,0.03));
  border: 1px solid rgba(0,82,255,0.35);
  border-radius: 999px;
  max-width: max-content;
}
.bs-launched-badge a { color: #627EEA; font-weight: 700; text-decoration: none; }
.bs-launched-badge a:hover { text-decoration: underline; }
.bs-launched-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #627EEA; box-shadow: 0 0 6px rgba(98,126,234,0.6);
}
.bs-verified-link { color: var(--text-3) !important; font-weight: 500 !important; }
.b20-toggle-row { border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px; background: var(--bg-raise); }
.b20-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 14px; }
.b20-toggle input { width: 18px; height: 18px; accent-color: #627EEA; cursor: pointer; }
.b20-explain { color: var(--text-3); font-size: 12.5px; margin-top: 9px; line-height: 1.55; }

/* ── in-site trading widget ─────────────────────────────────────────────── */
.swap-seg button { flex: 1; }
.swap-inrow { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.swap-inrow input {
  flex: 1; min-width: 0; background: var(--bg2, #0b1020); border: 1px solid var(--line, #22304a);
  border-radius: 10px; padding: 10px 12px; color: inherit; font: inherit; font-size: 15px;
}
.swap-inrow input:focus { outline: none; border-color: #2f6fed; }
.maxbtn { padding: 8px 10px; font-size: 11px; letter-spacing: .04em; }
.swap-cur { font-weight: 700; font-size: 13px; opacity: .85; white-space: nowrap; }
.slip-in {
  width: 54px; background: var(--bg2, #0b1020); border: 1px solid var(--line, #22304a);
  border-radius: 8px; padding: 4px 6px; color: inherit; font: inherit; font-size: 13px; text-align: right;
}
#payBal { font-size: 11px; opacity: .65; font-weight: 400; }

/* ── activity feed ──────────────────────────────────────────────────────── */
.feed-list { display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow-y: auto; }
.feed-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  background: rgba(255,255,255,.02); border: 1px solid var(--line, #22304a); border-radius: 10px;
  font-size: 13px; min-width: 0;
}
.feed-main { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 6px; flex: none;
}
.feed-buy { background: rgba(22,199,132,.14); color: #16c784; }
.feed-sell { background: rgba(234,57,67,.14); color: #ea3943; }
.feed-launch { background: rgba(0,82,255,.16); color: #6ea0ff; }
.feed-time { flex: none; font-size: 11px; opacity: .6; text-decoration: none; color: inherit; white-space: nowrap; }
a.feed-time:hover { opacity: 1; color: #6ea0ff; }
.feed-empty { padding: 12px 10px; font-size: 13px; opacity: .6; }

/* ── live last-trade ticker ─────────────────────────────────────────────── */
.ticker {
  display: flex; align-items: center; gap: 12px; margin: 14px 0 4px;
  padding: 8px 14px; border: 1px solid var(--line, #22304a); border-radius: 12px;
  background: rgba(255,255,255,.02); overflow: hidden; min-height: 44px;
}
.tick-label {
  display: flex; align-items: center; gap: 7px; flex: none;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .75;
}
.tick-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #16c784;
  animation: tickPulse 1.6s ease-in-out infinite;
}
@keyframes tickPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,199,132,.55); }
  50% { box-shadow: 0 0 0 6px rgba(22,199,132,0); }
}
.tick-slot { flex: 1; min-width: 0; overflow: hidden; }
.tick-item {
  display: flex; align-items: center; gap: 10px; min-width: 0;
  color: inherit; text-decoration: none; font-size: 13px; white-space: nowrap;
}
.tick-item b { overflow: hidden; text-overflow: ellipsis; }
.tick-item:hover b { color: #6ea0ff; }
.tick-item .logo, .tick-item [data-evmlogo] { width: 22px; height: 22px; flex: none; }
.tick-item img { width: 22px; height: 22px; border-radius: 6px; }
.tick-usd { opacity: .75; }
.tick-time { font-size: 11px; opacity: .55; }
.tick-empty { font-size: 12px; opacity: .55; }
.tick-in { animation: tickIn .45s cubic-bezier(.2,.9,.3,1.2); }
@keyframes tickIn {
  0% { transform: translateY(115%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ── portfolio claim-all + launches channel chip ────────────────────────── */
.port-claimall { margin-top: 12px; }
.socials .launch-chan {
  display: inline-flex; align-items: center; font-size: 12px; font-weight: 700;
  padding: 5px 10px; border: 1px solid var(--line, #22304a); border-radius: 999px;
  text-decoration: none; color: inherit; opacity: .85; width: auto; height: auto;
}
.socials .launch-chan:hover { opacity: 1; border-color: #2f6fed; color: #6ea0ff; }

/* ── ETH route seg + mobile layout fixes ─────────────────────────────────── */
html, body { overflow-x: clip; }
.socials .launch-chan { white-space: nowrap; }
.rt-seg { margin-top: 6px; }

@media (max-width: 760px) {
  .topbar { flex-wrap: wrap; gap: 10px; row-gap: 8px; padding: 10px 14px; }
  .brand { order: 1; }
  .brand-name { display: none; }
  .socials { order: 2; margin-left: auto; gap: 2px; }
  .socials a { width: 30px; height: 30px; }
  .socials .launch-chan { padding: 0; width: 30px; height: 30px; justify-content: center; }
  .socials .launch-chan .lc-txt { display: none; }
  #connectBtn { order: 3; margin-left: 0; padding: 8px 12px; font-size: 13px; white-space: nowrap; }
  .socials + #connectBtn { margin-left: 4px; }
  .topnav { order: 4; width: 100%; margin-right: 0; gap: 4px; }
  .topnav a { padding: 6px 10px; font-size: 13.5px; }
  .notice-bar { font-size: 12px; padding: 7px 12px; }
  .hero { padding-top: 18px; }
  .hero-stats { gap: 20px 26px; }
}
