@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@1,800;1,900&display=swap");

:root {
  --bg: #08090b;
  --bg-2: #0e1013;
  --card: #121418;
  --card-2: #171a1f;
  --text: #eef0f2;
  --muted: #8c939d;
  --faint: #5d646e;
  --line: #22262c;
  --line-2: #2c3138;
  --accent: #e11d48;
  --accent-2: #be123c;
  --accent-ink: #ffffff;
  --accent-soft: rgba(225, 29, 72, 0.14);
  --bordo: #800020;
  --bordo-hover: #9b1131;
  --bordo-grad: linear-gradient(135deg, #8b1538 0%, #70001a 100%);
  --bordo-grad-hover: linear-gradient(135deg, #a31942 0%, #850020 100%);
  --bordo-glow: rgba(128, 0, 32, 0.35);
  --danger: #ff6b6b;
  --danger-soft: rgba(255, 107, 107, 0.12);
  --warn: #f5b84d;
  --code: #0b0d10;
  --radius: 12px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 20px 40px -24px rgba(0, 0, 0, 0.6);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f8f6;
    --bg-2: #eff1ee;
    --card: #ffffff;
    --card-2: #f6f7f5;
    --text: #101214;
    --muted: #5e6670;
    --faint: #8d949c;
    --line: #e3e6e2;
    --line-2: #d6dad5;
    --accent: #be123c;
    --accent-2: #9f1239;
    --accent-ink: #ffffff;
    --accent-soft: rgba(190, 18, 60, 0.1);
    --danger: #d23b3b;
    --danger-soft: rgba(210, 59, 59, 0.08);
    --code: #f1f3f0;
    --shadow: 0 1px 2px rgba(16, 18, 20, 0.04), 0 12px 32px -20px rgba(16, 18, 20, 0.18);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
a { color: inherit; text-decoration: none; }
a.link { color: var(--accent); }
a.link:hover { text-decoration: underline; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.wrap { width: 100%; max-width: 1680px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .wrap { padding: 0 16px; } }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(140%) blur(10px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; font-size: 16px; }
.logo-mark {
  width: 27px; height: 27px; border-radius: 8px; display: inline-grid; place-items: center;
  background: linear-gradient(135deg, #be123c 0%, #881337 55%, #4c0519 100%);
  color: #ffffff;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  box-shadow: 0 2px 10px rgba(190, 18, 60, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(244, 63, 94, 0.45);
  transform: skewX(-7deg);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease;
  user-select: none;
  padding-right: 1px;
}
.logo:hover .logo-mark {
  transform: skewX(-7deg) scale(1.08) translateY(-1px);
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.nav-links { display: flex; gap: 26px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: #f43f5e; font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 10px; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 550 14px/1 var(--font); padding: 11px 16px; border-radius: 9px;
  border: 1px solid var(--line-2); background: var(--card); color: var(--text);
  cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s, transform .05s;
}
.btn:hover { border-color: var(--faint); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.primary:disabled {
  background: var(--card-2); border-color: var(--line); color: var(--faint); cursor: default; transform: none;
}
.inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn.primary {
  background: var(--bordo-grad);
  border-color: #8b1538;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px var(--bordo-glow);
}
.btn.primary:hover {
  background: var(--bordo-grad-hover);
  border-color: #a31942;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(139, 21, 56, 0.45);
  transform: translateY(-1px);
}
.btn.primary:active {
  background: #600015;
  border-color: #600015;
  transform: translateY(1px);
}
.btn.ghost { background: transparent; }
.btn.small { padding: 7px 11px; font-size: 13px; border-radius: 8px; }
.btn.danger { color: var(--danger); }
.btn.lg { padding: 14px 20px; font-size: 15px; }

/* ---- landing ---- */
.hero { padding: 88px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 620px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(225, 29, 72, 0.22), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; position: relative; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 56px; } }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(225, 29, 72, 0.35); background: rgba(225, 29, 72, 0.08); font-size: 13px; color: #f43f5e;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #e11d48; box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.45); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(225,29,72,.45); } 70% { box-shadow: 0 0 0 8px rgba(225,29,72,0); } 100% { box-shadow: 0 0 0 0 rgba(225,29,72,0); } }
h1.display { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -0.035em; margin: 18px 0 18px; font-weight: 700; }
h1.display em { font-style: normal; color: #f43f5e; text-shadow: 0 0 24px rgba(225, 29, 72, 0.35); }
.lede { font-size: 18px; color: var(--muted); max-width: 680px; margin: 0 0 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.terminal {
  background: var(--code); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; min-width: 0;
}
.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.terminal-bar .t { margin-left: 8px; font-size: 12px; color: var(--faint); font-family: var(--mono); }
.terminal pre { margin: 0; padding: 18px; font-size: 13px; line-height: 1.7; overflow-x: auto; color: var(--muted); }
.terminal .k { color: #f43f5e; font-weight: 600; }
.terminal .s { color: var(--text); }
.terminal .c { color: var(--faint); }

.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.band > .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.band .stat { padding: 22px 20px; border-left: 1px solid var(--line); }
.band .stat:first-child { border-left: 0; }
.band .stat b { display: block; font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .band > .wrap { grid-template-columns: 1fr 1fr; } .band .stat:nth-child(3) { border-left: 0; } .band .stat { border-top: 1px solid var(--line); } }

section.block { padding: 88px 0; }
.eyebrow { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h2.title { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 14px; }
.sub { color: var(--muted); max-width: 820px; font-size: 16px; margin: 0 0 40px; line-height: 1.6; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 28px 24px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.feature:hover { transform: translateY(-2px); border-color: var(--faint); }
.feature .icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.feature h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -0.015em; font-weight: 650; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; } }
.step { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); }
.step::before { counter-increment: step; content: "0" counter(step); font: 600 13px/1 var(--mono); color: var(--accent); display: block; margin-bottom: 18px; }
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1280px) { .price-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }
.price {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--card);
  display: flex; flex-direction: column; gap: 6px; position: relative;
}
.price.featured { border-color: #8b1538; box-shadow: 0 0 0 1px #8b1538 inset; }
.price .tag-top { position: absolute; top: -10px; left: 18px; background: var(--bordo-grad); color: #ffffff; font: 600 11px/1 var(--mono); padding: 5px 8px; border-radius: 6px; letter-spacing: .06em; }
.price h3 { margin: 0; font-size: 15px; }
.price .for { color: var(--faint); font-size: 13px; min-height: 2.6em; }
.price .amt { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; }
.price .amt span { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 10px 0 16px; display: grid; gap: 7px; font-size: 13.5px; color: var(--muted); }
.price li::before { content: "✓"; color: var(--accent); margin-right: 8px; }
.price .btn { margin-top: auto; }

/* ---- built for your stack ---- */
.stack-section {
  padding: 100px 0 110px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.stack-wrap {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}
.stack-header {
  text-align: center;
  margin: 0 auto 52px;
}
.stack-header h2 {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 750;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  color: var(--text);
}
.stack-header p {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}

.stack-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 960px) {
  .stack-grid {
    grid-template-columns: 1fr;
  }
}

.stack-code-card {
  background: #111317;
  border: 1px solid #20242c;
  border-radius: 20px;
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.5);
  min-height: 420px;
}
.stack-code {
  margin: 0;
  font-family: var(--mono);
  font-size: 14.5px;
  line-height: 1.85;
  overflow-x: auto;
  color: #f3f4f6;
  white-space: pre;
}
.stack-code .c { color: #6b7280; }
.stack-code .s { color: #ffffff; }
.stack-code .k { color: #f59e0b; }
.stack-code .a { color: #f59e0b; }

.stack-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}
.stack-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 26px 30px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  cursor: pointer;
}
.stack-card:hover, .stack-card.active {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, 0.5);
}
.stack-card.active {
  background: var(--card-2);
}
.stack-card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}
.stack-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}
.stack-card code {
  font-size: 13.5px;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text);
  font-family: var(--mono);
}
.stack-card .stack-link, .stack-card .stack-link-btn {
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: #ea580c;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: gap .15s ease, color .15s ease;
  font-family: inherit;
}
.stack-card:hover .stack-link, .stack-card:hover .stack-link-btn {
  gap: 10px;
  color: #f97316;
}

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.cta-final { text-align: center; padding: 72px 24px; border-radius: 18px; border: 1px solid var(--line); background: radial-gradient(ellipse at top, var(--accent-soft), transparent 70%), var(--card); }
.cta-final h2 { margin-top: 0; }
footer.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--faint); font-size: 13px; }
footer.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.foot a:hover { color: var(--text); }

/* ---- app ---- */
.app-main { padding: 28px 0 80px; }
.app-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.app-head h1 { margin: 0; font-size: 26px; letter-spacing: -0.02em; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px; min-width: 0; box-shadow: var(--shadow);
}
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.card h2 { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.big { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.stack { display: grid; gap: 10px; }
.meter { height: 8px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; margin: 14px 0 10px; }
#meter-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-2), var(--accent)); transition: width .4s; }
input, select {
  font: inherit; flex: 1; min-width: 0; padding: 10px 12px; border-radius: 9px;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); outline: none;
}
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
code { font-size: 12.5px; background: var(--code); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; overflow-wrap: anywhere; }
pre.code { background: var(--code); border: 1px solid var(--line); border-radius: 10px; padding: 14px; font-size: 12.5px; line-height: 1.6; overflow-x: auto; white-space: pre; margin: 8px 0 0; color: var(--muted); }
.copyable { cursor: pointer; }
.copyable:hover { border-color: var(--accent); }
.fresh { border: 1px dashed var(--accent); background: var(--accent-soft); border-radius: 10px; padding: 14px; margin: 12px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
td, th { padding: 10px 6px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); border-top: 0; padding-bottom: 8px; }
td.right, th.right { text-align: right; }
@media (max-width: 520px) { .hide-sm { display: none; } }
.tag { font: 600 11px/1 var(--mono); padding: 4px 7px; border-radius: 6px; border: 1px solid var(--line-2); white-space: nowrap; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.tag.ok { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-soft); }
.tag.bad { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: var(--danger-soft); }
.stats { display: flex; gap: 36px; margin: 6px 0 8px; flex-wrap: wrap; }
.msg { min-height: 1.3em; margin: 10px 0 0; font-size: 14px; }
.msg.err { color: var(--danger); }
.msg.ok { color: var(--accent); }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.seg button { border: 0; background: transparent; color: var(--muted); padding: 9px 14px; font: 550 13px/1 var(--font); cursor: pointer; }
.seg button.on { background: var(--card-2); color: var(--text); }

/* ---- sign-in ---- */
.auth { min-height: calc(100vh - 62px); display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.auth-card h1 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.02em; }
.wallets { display: grid; gap: 10px; margin: 22px 0 12px; }
.wallet {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 11px;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font: 550 15px/1.2 var(--font); cursor: pointer; text-align: left;
}
.wallet:hover { border-color: var(--accent); }
.wallet img { width: 28px; height: 28px; border-radius: 7px; }
.wallet .w-fallback { width: 28px; height: 28px; border-radius: 7px; background: var(--card-2); display: grid; place-items: center; color: var(--muted); }
.wallet .go { margin-left: auto; color: var(--faint); }
.auth-note { font-size: 13px; color: var(--faint); margin: 14px 0 0; }

/* ---- docs ---- */
.doc-header {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% -20%, rgba(225, 29, 72, 0.22) 0%, rgba(139, 21, 56, 0.08) 50%, transparent 80%);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 32px;
  margin-bottom: 32px;
}
.doc-header h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; margin: 0 0 8px; font-weight: 750; }
.doc-header h1 em { font-style: normal; color: #f43f5e; text-shadow: 0 0 24px rgba(225, 29, 72, 0.35); }
.doc-header .sub { color: var(--muted); margin: 0; font-size: 15px; }

.docs { display: grid; grid-template-columns: 240px 1fr; gap: 52px; padding: 10px 0 96px; }
.toc { position: sticky; top: 86px; align-self: start; font-size: 14px; display: grid; gap: 4px; }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; } .toc { display: none; } }
.toc a { color: var(--muted); padding: 6px 12px; border-radius: 7px; transition: all .15s ease; border-left: 2px solid transparent; }
.toc a:hover { color: #f43f5e; background: rgba(225, 29, 72, 0.08); border-left-color: #e11d48; }
.toc a.active { color: #f43f5e; font-weight: 600; border-left-color: #e11d48; background: rgba(225, 29, 72, 0.08); }
.toc .toc-h { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #f43f5e; margin: 18px 10px 6px; }

.doc { min-width: 0; max-width: 1100px; }
.doc h1 { font-size: 36px; letter-spacing: -0.03em; margin: 0 0 10px; }
.doc h1 em { font-style: normal; color: #f43f5e; }
.doc h2 { font-size: 24px; letter-spacing: -0.02em; margin: 56px 0 10px; padding-top: 8px; scroll-margin-top: 80px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.doc h3 { font-size: 17px; margin: 28px 0 8px; color: var(--text); }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.doc th, .doc td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.doc th { color: var(--muted); font-weight: 600; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; }

.callout { border: 1px solid var(--line-2); border-left: 3px solid #e11d48; background: rgba(225, 29, 72, 0.04); border-radius: 10px; padding: 14px 18px; margin: 16px 0; color: var(--muted); font-size: 14px; }
.callout.warn { border-left-color: var(--warn); background: rgba(245, 184, 77, 0.04); }
.callout.danger { border-left-color: var(--danger); background: rgba(255, 107, 107, 0.04); }
.callout strong { color: var(--text); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 20px 0 0; overflow-x: auto; }
.tab-btn { background: transparent; border: 0; padding: 10px 16px; color: var(--muted); font: 600 13px/1 var(--font); cursor: pointer; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; white-space: nowrap; }
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: #f43f5e; border-bottom-color: #e11d48; font-weight: 600; }
.tab-content { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; background: var(--code); }
.tab-content pre.code { border: 0; margin: 0; border-radius: 0 0 10px 10px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

.badge { display: inline-flex; align-items: center; gap: 5px; font: 600 11px/1 var(--mono); padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.badge.rpc { background: rgba(225, 29, 72, 0.15); color: #f43f5e; border: 1px solid rgba(225, 29, 72, 0.35); }
.badge.ws { background: rgba(80, 160, 255, 0.15); color: #64b5f6; border: 1px solid rgba(80, 160, 255, 0.3); }
.badge.post { background: rgba(245, 184, 77, 0.15); color: var(--warn); border: 1px solid rgba(245, 184, 77, 0.3); }

.code-wrap { position: relative; }
.copy-btn { position: absolute; top: 10px; right: 10px; font: 550 11px/1 var(--font); background: var(--card); border: 1px solid var(--line-2); color: var(--muted); padding: 5px 9px; border-radius: 6px; cursor: pointer; opacity: 0.8; transition: opacity .15s, color .15s; z-index: 2; }
.copy-btn:hover { opacity: 1; color: var(--text); border-color: var(--faint); }

.doc-card { background: var(--card); border: 1px solid var(--line-2); border-top: 2px solid #8b1538; border-radius: var(--radius); padding: 22px; margin: 18px 0; }
.doc-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 16px 0; }
.spec-box { background: var(--card); border: 1px solid var(--line-2); border-top: 2px solid #8b1538; border-radius: 10px; padding: 14px 16px; box-shadow: 0 4px 14px -6px rgba(0,0,0,0.5); }
.spec-box .label { font: 600 11px/1 var(--mono); color: var(--faint); text-transform: uppercase; margin-bottom: 6px; letter-spacing: .06em; }
.spec-box .val { font: 650 14px/1.3 var(--mono); color: var(--text); word-break: break-all; }

/* ---- explorer ---- */
.ex { padding-top: 24px; padding-bottom: 80px; }
.ex h1 { font-size: 32px; letter-spacing: -0.02em; margin: 0 0 6px; }
.ex .sub { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.statgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-bottom: 28px; }
.st { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.st .v { font-size: 22px; font-weight: 800; color: var(--accent); font-family: var(--mono); }
.st .l { font-size: 12px; color: var(--muted); margin-top: 6px; }
.cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; box-shadow: var(--shadow); }
.panel h3 { font-size: 15px; margin: 0 0 16px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.panel h3 .tag { font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 400; }
.feed-row { animation: flash .8s ease-out; }
@keyframes flash { from { background: var(--accent-soft); } to { background: transparent; } }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; animation: pulse 2s infinite; vertical-align: middle; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(0.85); } }
.pill { font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.pilloff { background: var(--danger-soft); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent); }
@media (max-width: 960px) { .statgrid { grid-template-columns: repeat(3, 1fr); } .cols { grid-template-columns: 1fr; } }
@media (max-width: 580px) { .statgrid { grid-template-columns: repeat(2, 1fr); } }

/* ---- pulse / jupiter market screener ---- */
.pulse-body {
  background: #090a0d;
}
.live-dot-mini {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.nav-pulse-link {
  display: inline-flex;
  align-items: center;
}

.pulse-ticker-bar {
  background: #0d0f13;
  border-bottom: 1px solid #1a1e24;
  padding: 10px 0;
  font-size: 13px;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}
.pulse-ticker-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pulse-ticker-wrap::-webkit-scrollbar {
  display: none;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ticker-item b {
  font-family: var(--mono);
  color: var(--text);
}
.ticker-sep {
  width: 1px;
  height: 14px;
  background: #252b35;
}
.ticker-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 6px #e11d48;
}

.pulse-main {
  padding: 36px 32px 90px;
}
.pulse-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 20px;
  flex-wrap: wrap;
}
.pulse-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.pulse-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(225, 29, 72, 0.14);
  color: #f43f5e;
  border: 1px solid rgba(225, 29, 72, 0.35);
  font: 600 11px/1 var(--mono);
  padding: 5px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pulse-title {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 750;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.pulse-sub {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0;
  max-width: 740px;
}

/* Spotlights */
.pulse-spotlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 38px;
}
@media (max-width: 1180px) {
  .pulse-spotlights { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .pulse-spotlights { grid-template-columns: 1fr; }
}
.spot-card {
  background: #101217;
  border: 1px solid #1f242c;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}
.spot-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #1b1f26;
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.spot-title {
  font-size: 15.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.spot-sub {
  font-size: 11.5px;
  color: var(--faint);
  font-family: var(--mono);
}
.spot-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.spot-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .15s ease;
  cursor: pointer;
}
.spot-item:hover {
  background: #171b22;
}
.spot-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.token-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font: 700 12px/32px var(--font);
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.token-avatar.mini {
  width: 26px;
  height: 26px;
  font: 700 10px/26px var(--font);
}
.token-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #11141a;
  display: block;
}
.token-img.mini {
  width: 26px;
  height: 26px;
}
.spot-item-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.spot-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  font-family: var(--mono);
  font-size: 13.5px;
}

/* Screener Controls */
.pulse-screener {
  background: #101217;
  border: 1px solid #1f242c;
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.screener-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filter-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.filter-btn {
  background: #15181f;
  border: 1px solid #232832;
  color: var(--muted);
  font: 550 13px/1 var(--font);
  padding: 8px 14px;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.filter-btn:hover {
  color: var(--text);
  border-color: #353c4b;
}
.filter-btn.active {
  background: #202632;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  font-weight: 650;
}
.screener-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #15181f;
  border: 1px solid #232832;
  border-radius: 9px;
  padding: 6px 12px;
  width: 320px;
  max-width: 100%;
}
.screener-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font: 13.5px/1 var(--font);
  width: 100%;
}
.screener-search svg {
  color: var(--faint);
}

/* Table */
.screener-table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}
.pulse-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  font-size: 14px;
}
.pulse-table th {
  padding: 12px 14px;
  font: 600 11px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  border-bottom: 1px solid #1f242c;
  white-space: nowrap;
}
.pulse-table td {
  padding: 14px 14px;
  border-top: 1px solid #1a1e24;
  vertical-align: middle;
  white-space: nowrap;
}
.pulse-table th.col-token, .pulse-table td.col-token {
  min-width: 200px;
}
.pulse-table th.col-price, .pulse-table td.col-price {
  min-width: 95px;
}
.pulse-table th.col-change, .pulse-table td.col-change {
  min-width: 85px;
}
.pulse-table th.col-num, .pulse-table td.col-num {
  min-width: 105px;
}
.pulse-table th.col-act, .pulse-table td.col-act {
  min-width: 110px;
}
.pulse-table th.sortable {
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.pulse-table th.sortable:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.025);
}
.pulse-table th.sortable .sort-icon {
  display: inline-block;
  margin-left: 4px;
  font-size: 11px;
  opacity: 0.35;
  transition: opacity 0.15s ease, color 0.15s ease, transform 0.15s ease;
  vertical-align: baseline;
}
.pulse-table th.sortable:hover .sort-icon {
  opacity: 0.8;
  color: var(--accent);
}
.pulse-table th.sortable.sort-active {
  color: #fff;
  background: rgba(225, 29, 72, 0.05);
}
.pulse-table th.sortable.sort-active .sort-icon {
  opacity: 1;
  color: #f43f5e;
  font-weight: 700;
}
.token-row {
  cursor: pointer;
  transition: background .12s ease;
}
.token-row:hover {
  background: #14171e;
}
.token-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.token-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.token-line1 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.token-line2 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.token-addr-link {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--faint);
}
.token-addr-link:hover {
  color: var(--accent);
}
.change-tag {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  white-space: nowrap;
}
.change-tag.change-up {
  color: #3ddc84;
  background: rgba(61, 220, 132, 0.12);
}
.change-tag.change-down {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.12);
}
.col-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.action-btn-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-table-swap {
  background: var(--bordo-grad);
  border: 1px solid #8b1538;
  color: #ffffff;
  font: 700 12.5px/1 var(--font);
  padding: 6px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: transform .1s, background .15s, border-color .15s, box-shadow .15s;
  box-shadow: 0 2px 8px var(--bordo-glow);
}
.btn-table-swap:hover {
  background: var(--bordo-grad-hover);
  border-color: #a31942;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 21, 56, 0.45);
}
.btn-table-wallet {
  background: #181c24;
  border: 1px solid #282f3c;
  color: var(--muted);
  font: 700 13px/1 var(--font);
  padding: 6px 10px;
  border-radius: 7px;
  cursor: pointer;
}
.btn-table-wallet:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* Swap Modal */
.swap-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.swap-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.swap-card {
  background: #12141a;
  border: 1px solid #222732;
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 24px;
  box-shadow: 0 25px 60px -20px rgba(0,0,0,0.8);
  transform: translateY(12px);
  transition: transform .2s ease;
}
.swap-modal-backdrop.open .swap-card {
  transform: translateY(0);
}
.swap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.swap-title-wrap h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
}
.swap-sub-tag {
  font: 600 11px/1 var(--mono);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.swap-close-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}
.swap-close-btn:hover {
  color: var(--text);
}
.swap-field {
  background: #0b0c10;
  border: 1px solid #1e222a;
  border-radius: 14px;
  padding: 14px 16px;
}
.swap-field-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.swap-field-input-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.swap-field-input-row input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  font-family: var(--mono);
  width: 100%;
}
.swap-token-select {
  background: #191c24;
  border: 1px solid #2d3340;
  color: var(--text);
  font: 600 14px/1 var(--font);
  padding: 8px 12px;
  border-radius: 9px;
  cursor: pointer;
  outline: none;
}
.swap-flip-wrap {
  display: flex;
  justify-content: center;
  margin: -10px 0;
  position: relative;
  z-index: 2;
}
.swap-flip-btn {
  background: #1b1e26;
  border: 1px solid #2e3442;
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .15s ease;
}
.swap-flip-btn:hover {
  transform: rotate(180deg);
  border-color: var(--accent);
}
.swap-details {
  background: #0b0c10;
  border: 1px solid #1a1e26;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.swap-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slippage-pills {
  display: flex;
  gap: 4px;
}
.slip-btn {
  background: #171a22;
  border: 1px solid #262c38;
  color: var(--muted);
  font: 550 11.5px/1 var(--font);
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
}
.slip-btn.active {
  background: var(--card-2);
  color: var(--accent);
  border-color: var(--accent);
}
.swap-exec-btn {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  margin-bottom: 8px;
}
.swap-sim-btn {
  width: 100%;
  padding: 11px;
  font-size: 13px;
}

/* Live price & ticker flash animations */
.flash-up {
  color: #fb7185 !important;
  background: rgba(225, 29, 72, 0.22) !important;
  border-radius: 6px;
  transition: background .8s ease, color .8s ease;
}
.flash-down {
  color: #f43f5e !important;
  background: rgba(190, 18, 60, 0.22) !important;
  border-radius: 6px;
  transition: background .8s ease, color .8s ease;
}
.flash-tick {
  color: #fb7185 !important;
  display: inline-block;
  transform: scale(1.05);
  transition: transform .3s ease, color .3s ease;
}

/* ---- Jupiter Style Spot Category Navigation ---- */
.spot-category-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 14px;
  flex-wrap: wrap;
}
.spot-category-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.spot-category-tabs::-webkit-scrollbar { display: none; }
.spot-nav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.spot-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(225, 29, 72, 0.12);
  color: #f43f5e;
  border: 1px solid rgba(225, 29, 72, 0.3);
  font: 700 11.5px/1 var(--mono);
  padding: 6px 11px;
  border-radius: 8px;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.spot-live-ping {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 8px #e11d48;
  animation: pulse-dot 1.8s infinite;
}
.spot-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 13.5px/1 var(--font);
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line-2);
  padding: 9px 15px;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  transition: all .16s ease;
  user-select: none;
}
.spot-cat-btn:hover {
  color: var(--text);
  border-color: var(--faint);
  background: var(--card-2);
}
.spot-cat-btn.active {
  background: rgba(225, 29, 72, 0.12);
  border-color: #e11d48;
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(225, 29, 72, 0.28);
}
.spot-cat-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.spot-cat-badge.new {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

/* Spot View Panels */
.spot-view-panel {
  display: none;
  animation: fadeInView .2s ease-out;
}
.spot-view-panel.active {
  display: block;
}
@keyframes fadeInView {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.view-intro-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.view-headline {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.view-subline {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
}

/* Trader / Influencer Cells */
.trader-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trader-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  object-fit: cover;
  background: var(--card-2);
}
.trader-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trader-line1 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  font-size: 14px;
}
.trader-handle {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--mono);
}
.win-rate-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.pnl-pill {
  font-weight: 750;
  font-family: var(--mono);
  color: #10b981;
}
.holdings-mini-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.holding-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--card-2);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 600;
}
.holding-pill img {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.recent-move-text {
  font-size: 12.5px;
  color: var(--text);
  max-width: 240px;
  line-height: 1.35;
}
.recent-move-text .time-ago {
  color: var(--muted);
  font-size: 11px;
  display: block;
  margin-top: 2px;
}

/* Alpha Scan Elements */
.bonding-bar-outer {
  width: 90px;
  height: 7px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}
.bonding-bar-inner {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #e11d48, #10b981);
}
.bonding-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}
.audit-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
}
.audit-badge.safe {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-family: var(--mono);
}

/* Ratio Bar */
.ratio-bar-outer {
  width: 80px;
  height: 6px;
  border-radius: 999px;
  background: #f43f5e;
  overflow: hidden;
  display: inline-flex;
}
.ratio-bar-buy {
  height: 100%;
  background: #10b981;
}
.ratio-text {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}


