/* Herd. Pure black, stone-white type, glass panels, one green accent. */
:root {
  --bg: #000000;
  --panel: #0b0b0b;
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .08);
  --line: rgba(168, 162, 158, .18);
  --line-2: rgba(168, 162, 158, .32);
  --fg: #e7e5e4;
  --soft: #a8a29e;
  --mute: #78716c;
  --white: #ffffff;
  --green: #59ff00;
  --up: #6cf52e;
  --down: #ff5f7a;
  --up-wash: rgba(89, 255, 0, .16);
  --down-wash: rgba(255, 95, 122, .18);
  --font: "General Sans", "Inter", system-ui, sans-serif;
  --r-card: 20px;
  --r-ctl: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 15px/1.5 var(--font); font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
::selection { background: var(--green); color: #000; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.02em; }
.up { color: var(--up); }
.down { color: var(--down); }
.note { color: var(--mute); font-size: 13px; margin: 0; }
.center { text-align: center; }

/* ---------- buttons and small controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 1px solid transparent; border-radius: 100px;
  font-weight: 500; font-size: 14px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  background: var(--glass-2); color: var(--fg);
  transition: background .18s, border-color .18s, transform .18s;
}
.btn:active { transform: scale(.98); }
.btn-solid { background: var(--white); color: #000; }
.btn-solid:hover { background: #d6d3d1; }
.btn-line { background: var(--glass); border-color: var(--line-2); }
.btn-line:hover { background: var(--glass-2); border-color: var(--soft); }
.btn-green { background: var(--green); color: #000; }
.btn-green:hover { background: #8dff4d; }
.btn-red { background: var(--down); color: #000; }
.btn-red:hover { background: #ff8a9f; }
.btn-small { padding: 9px 16px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--glass); border-color: var(--line); color: var(--mute); cursor: default; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--soft); font-size: 13px; }
.link-btn:hover { color: var(--fg); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 100px; padding: 3px; background: var(--glass); }
.seg button { border: 0; background: none; padding: 5px 12px; border-radius: 100px; font-size: 12px; color: var(--soft); }
.seg button:hover { color: var(--fg); }
.seg button[aria-pressed="true"] { background: var(--glass-2); color: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg-wide { display: grid; grid-template-columns: 1fr 1fr; }
.seg-wide button { padding: 10px; font-size: 14px; font-weight: 500; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.mark img { display: block; }
.word { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.avatar { flex: none; border-radius: 50%; display: grid; place-items: center; color: #000; font-weight: 600; }

/* =====================================================================
   Landing page
   ===================================================================== */
html:has(body.landing) { height: auto; scroll-behavior: smooth; }
body.landing { display: block; height: auto; overflow-x: hidden; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 16px clamp(18px, 4vw, 40px); background: rgba(0, 0, 0, .55); backdrop-filter: blur(14px);
}
.nav-links { display: flex; gap: 28px; margin: 0 auto; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--fg); opacity: .85; }
.nav-links a:hover { opacity: 1; }

.hero {
  position: relative; padding: 170px 20px 0; text-align: center; overflow: hidden;
  background: linear-gradient(#000 0%, #2f2c2a 78%, #000 100%);
}
.hero-copy { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.hero h1 { font-size: clamp(46px, 7.4vw, 92px); line-height: 1.06; letter-spacing: -.035em; }
.lede { margin: 22px auto 0; max-width: 60ch; color: var(--fg); opacity: .85; font-size: 16px; line-height: 1.55; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.rock { position: absolute; z-index: 1; width: min(38vw, 560px); height: auto; pointer-events: none; will-change: transform; }
.hero .rock-l { left: -9vw; top: 190px; }
.hero .rock-r { right: -9vw; top: 80px; }

/* The live terminal preview, tilted back like a screen until you scroll to it. */
.hero-card {
  position: relative; z-index: 2; margin: 64px auto 0; width: min(940px, 100%); text-align: left;
  border: 1px solid var(--line-2); border-bottom: 0; border-radius: 22px 22px 0 0;
  background: rgba(20, 19, 18, .86); backdrop-filter: blur(18px);
  box-shadow: 0 -30px 120px -20px rgba(89, 255, 0, .12), 0 -2px 60px rgba(0, 0, 0, .7);
  transform-origin: 50% 100%;
}
.js .hero-card.in { transform: perspective(1500px) rotateX(calc(var(--tilt, 12) * 1deg)); }
.hc-top { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
.hc-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.hc-search { flex: 1; max-width: 340px; padding: 8px 14px; border-radius: 100px; background: var(--glass); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-live { margin-left: auto; color: var(--soft); white-space: nowrap; }
.hc-live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); margin-right: 8px; }
.hc-body { display: grid; grid-template-columns: 300px 1fr; min-height: 330px; }
.hc-list { border-right: 1px solid var(--line); padding: 8px; display: grid; align-content: start; gap: 2px; }
.hc-row { display: grid; grid-template-columns: 30px 1fr auto auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; font-size: 13px; }
.hc-row.on { background: var(--glass-2); }
.hc-row img, .hc-row .ph { width: 30px; height: 30px; border-radius: 50%; background: #262524; object-fit: cover; }
.hc-row b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-row small { display: block; color: var(--mute); font-size: 11px; }
.hc-row .hc-chg { width: 62px; text-align: right; font-weight: 500; }
.hc-main { padding: 22px 26px; min-width: 0; }
.hc-name { margin: 0; color: var(--soft); font-size: 14px; }
.hc-price { margin: 4px 0 0; font-size: 44px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.hc-chart { display: block; width: 100%; height: 150px; margin-top: 14px; }
.hc-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hc-stats span { padding: 6px 12px; border-radius: 100px; background: var(--glass); border: 1px solid var(--line); font-size: 12px; color: var(--soft); }
.hc-stats b { color: var(--fg); font-weight: 500; margin-left: 6px; }

.chains-strip { padding: 64px 20px 30px; text-align: center; }
.chains-strip p { margin: 0; font-size: clamp(20px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.02em; }
.chains-strip ul { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; color: var(--soft); font-size: 20px; font-weight: 500; }

.section { padding: 110px clamp(18px, 5vw, 60px) 0; max-width: 1280px; margin: 0 auto; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head h2, .cta-band h2 { font-size: clamp(34px, 4.8vw, 60px); line-height: 1.12; letter-spacing: -.03em; }
.section-head p, .cta-band p { margin: 16px 0 0; color: var(--soft); font-size: 16px; }

.feat { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 40px; align-items: stretch; }
.feat-tabs { display: grid; align-content: start; }
.feat-tabs button { text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 22px 0; color: var(--soft); }
.feat-tabs b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--fg); opacity: .6; transition: opacity .2s; }
.feat-tabs span { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 14px; line-height: 1.55; transition: max-height .35s ease, opacity .35s ease, margin .35s ease; }
.feat-tabs button:hover b { opacity: .85; }
.feat-tabs button[aria-selected="true"] b { opacity: 1; }
.feat-tabs button[aria-selected="true"] span { max-height: 140px; opacity: 1; margin-top: 10px; }
.feat-stage { position: relative; min-height: 440px; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; background: #050505; display: grid; place-items: center; }
.feat-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) contrast(1.15); }
.feat-stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, transparent 30%, rgba(0, 0, 0, .75) 100%); }
.glass {
  position: relative; z-index: 1; width: min(360px, 86%); padding: 22px; border-radius: var(--r-card);
  background: rgba(40, 38, 36, .55); border: 1px solid var(--line-2); backdrop-filter: blur(16px);
  display: grid; gap: 12px; animation: rise .45s cubic-bezier(.2, .7, .2, 1);
}
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.glass-label { margin: 0; font-size: 18px; font-weight: 500; }
.glass-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--soft); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.glass-row b { font-weight: 500; color: var(--fg); }
.glass-row b.up { color: var(--up); }
.glass-row b.down { color: var(--down); }
.glass-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.glass-pills span { text-align: center; padding: 9px; border-radius: 100px; border: 1px solid var(--line-2); font-size: 13px; }
.glass-pills .on { background: var(--white); color: #000; border-color: var(--white); }
.glass-btn { text-align: center; padding: 12px; border-radius: 100px; background: var(--green); color: #000; font-weight: 500; font-size: 14px; }
.glass-note { margin: 0; font-size: 11px; color: var(--mute); text-align: center; }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
.grid4 article:nth-child(2) { --d: .08s; } .grid4 article:nth-child(3) { --d: .16s; } .grid4 article:nth-child(4) { --d: .24s; }
.grid4 h3 { font-size: 22px; margin-top: 26px; }
.grid4 p { margin: 10px 0 0; color: var(--soft); font-size: 14px; line-height: 1.55; }
/* Small 3D-looking glyphs: two offset rounded tiles in the accent colour. */
.ico { display: block; position: relative; width: 44px; height: 44px; }
.ico::before, .ico::after { content: ""; position: absolute; border-radius: 11px; }
.ico::before { inset: 8px 0 0 8px; background: rgba(89, 255, 0, .28); transform: skewY(-8deg); }
.ico::after { inset: 0 8px 8px 0; background: linear-gradient(135deg, #b9ff94, var(--green) 55%, #2aa300); transform: skewY(-8deg); box-shadow: 0 10px 24px -8px rgba(89, 255, 0, .7); }

.movers { display: grid; gap: 10px; max-width: 980px; margin: 0 auto; }
.mover {
  display: grid; grid-template-columns: 52px minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; gap: 0 20px;
  padding: 14px 22px 14px 14px; border-radius: var(--r-card); background: var(--glass); border: 1px solid var(--line);
  text-decoration: none; min-width: 0; transition: border-color .18s, background .18s, transform .18s;
}
.mover:hover { border-color: var(--line-2); background: var(--glass-2); transform: translateY(-1px); }
.mover img, .mover .ph { width: 52px; height: 52px; border-radius: 50%; background: #262524; object-fit: cover; }
.m-sym { font-size: 22px; font-weight: 500; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-facts { display: grid; gap: 2px; font-size: 13px; color: var(--mute); min-width: 0; }
.m-price { color: var(--fg); font-size: 15px; border-radius: 6px; justify-self: start; padding: 0 4px; margin-left: -4px; }
.m-chg { font-size: 22px; font-weight: 500; letter-spacing: -.02em; text-align: right; }
.section > .center { margin-top: 34px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { padding: 28px; border-radius: var(--r-card); background: var(--glass); border: 1px solid var(--line); }
.steps li:nth-child(2) { --d: .1s; } .steps li:nth-child(3) { --d: .2s; }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: #000; font-weight: 600; }
.steps h3 { font-size: 22px; margin-top: 22px; }
.steps p { margin: 10px 0 0; color: var(--soft); font-size: 14px; }

.price-card { max-width: 520px; margin: 0 auto; padding: 36px; border-radius: 24px; background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid var(--line-2); }
.price-big { margin: 0; font-size: 72px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.price-big small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--soft); margin-left: 12px; }
.price-card ul { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 12px; color: var(--soft); font-size: 15px; }
.price-card li { padding-left: 26px; position: relative; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--glass); border: 1px solid var(--line); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--soft); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--soft); max-width: 68ch; }

.cta-band { padding: 150px 20px 110px; text-align: center; background: linear-gradient(#000, #1c1a19); }
.footer { position: relative; padding: 0 clamp(14px, 3vw, 32px) 32px; background: #1c1a19; overflow: hidden; }
.footer .rock { width: min(30vw, 420px); bottom: -120px; }
.footer .rock-l { left: -6vw; }
.footer .rock-r { right: -6vw; }
.footer-panel { position: relative; z-index: 2; border-radius: 28px; border: 1px solid var(--line); background: rgba(68, 64, 60, .42); backdrop-filter: blur(14px); padding: 48px clamp(22px, 4vw, 56px) 0; overflow: hidden; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px 70px; }
.footer-about { flex: 1; min-width: 220px; }
.footer-about p { margin: 14px 0 0; color: var(--soft); max-width: 30ch; }
.footer nav { display: grid; gap: 10px; align-content: start; font-size: 14px; }
.footer nav b { font-weight: 500; font-size: 18px; margin-bottom: 6px; }
.footer nav a { text-decoration: none; color: var(--soft); }
.footer nav a:hover { color: var(--fg); }
.footer-note { margin: 40px 0 0; color: var(--soft); font-size: 13px; }
.footer-word { margin: 10px 0 -0.04em; font-size: clamp(110px, 24vw, 360px); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: rgba(231, 229, 228, .22); text-align: center; user-select: none; }

/* terms and privacy */
.doc-body { padding: 150px clamp(18px, 5vw, 60px) 90px; max-width: 880px; margin: 0 auto; }
.doc-body h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.05; margin-bottom: 30px; }
.doc-body h1 span { display: inline; }
.doc-body h2 { font-size: 22px; margin: 40px 0 10px; }
.doc-body p { margin: 0 0 14px; color: var(--soft); line-height: 1.7; }
.doc-body .note { margin-top: 50px; }
.outline { color: var(--mute); }
.doc-body .outline::before { content: " "; }

/* =====================================================================
   Trading app
   ===================================================================== */
.top {
  position: relative; z-index: 6; display: flex; align-items: center; gap: 18px;
  padding: 12px 20px; border-bottom: 1px solid var(--line); background: #000;
}
.search { position: relative; flex: 1; max-width: 420px; }
.search input { width: 100%; padding: 10px 18px; border: 1px solid var(--line); border-radius: 100px; background: var(--glass); font-size: 14px; }
.search input::placeholder { color: var(--mute); }
.search input:focus { outline: none; border-color: var(--soft); }
.results { position: absolute; z-index: 8; top: calc(100% + 8px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: #121110; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .7); }
.results li { padding: 10px 12px; border-radius: 12px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.results li:hover, .results li:focus { background: var(--glass-2); outline: none; }
.results .none { color: var(--mute); cursor: default; }
.results .none:hover { background: none; }
.results .sub { color: var(--mute); white-space: nowrap; }
.app-nav { display: flex; gap: 2px; }
.app-nav a { padding: 8px 14px; border-radius: 100px; text-decoration: none; font-size: 14px; color: var(--soft); white-space: nowrap; }
.app-nav a:hover { color: var(--fg); }
.app-nav a[aria-current="true"] { background: var(--glass-2); color: var(--white); }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.live { color: var(--mute); font-size: 12px; white-space: nowrap; }
.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; background: var(--mute); }
.live[data-state="on"]::before { background: var(--green); box-shadow: 0 0 10px var(--green); }
.live[data-state="off"]::before { background: var(--down); }
.acct { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 100px; background: var(--glass); font-size: 13px; font-weight: 500; }
.acct:hover { background: var(--glass-2); }
.acct-addr { color: var(--mute); font-weight: 400; }
.menu { position: absolute; right: 20px; top: calc(100% + 10px); width: min(340px, calc(100vw - 32px)); background: #121110; border: 1px solid var(--line-2); border-radius: var(--r-card); padding: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .7); }
.menu-label { margin: 0 0 8px; color: var(--mute); font-size: 12px; }
.menu-addr { display: block; width: 100%; text-align: left; background: var(--glass); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 12px; overflow-wrap: anywhere; line-height: 1.5; }
.menu-addr:hover { border-color: var(--soft); }
.menu-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.menu-stats dt { color: var(--mute); font-size: 12px; }
.menu-stats dd { margin: 2px 0 0; font-size: 18px; font-weight: 500; }
.menu .note { margin-bottom: 12px; }
.menu-item { display: block; width: 100%; text-align: left; padding: 12px 0; border: 0; border-top: 1px solid var(--line); background: none; text-decoration: none; font-size: 14px; }
.menu-item:hover { color: var(--white); }

.shell { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(300px, 360px) 1fr; }

/* token list */
.tape { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.chains { display: flex; gap: 6px; padding: 14px 14px 0; overflow-x: auto; scrollbar-width: none; }
.chains::-webkit-scrollbar { display: none; }
.chains button { flex: none; padding: 7px 13px; border: 1px solid var(--line); border-radius: 100px; background: none; font-size: 13px; color: var(--soft); white-space: nowrap; }
.chains button:hover { color: var(--fg); border-color: var(--line-2); }
.chains button[aria-pressed="true"] { background: var(--white); border-color: var(--white); color: #000; }
.tabs { display: flex; gap: 4px; padding: 10px 10px 0; overflow-x: auto; scrollbar-width: none; }
.tabs button { border: 0; background: none; padding: 8px 10px 12px; font-size: 14px; color: var(--mute); white-space: nowrap; border-bottom: 2px solid transparent; }
.tabs button:hover { color: var(--fg); }
.tabs button[aria-selected="true"] { color: var(--white); border-bottom-color: var(--green); }
.tape-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 8px 50px; color: var(--mute); font-size: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tape-end { display: flex; align-items: center; gap: 12px; }
.list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; }
.list .empty { padding: 26px 14px; color: var(--mute); }
.list li:not(.empty) { display: grid; grid-template-columns: 30px 1fr; align-items: center; border-radius: 14px; }
.list li:not(.empty):hover { background: var(--glass); }
.list li[data-current="true"] { background: var(--glass-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.star { border: 0; background: none; padding: 0; width: 30px; height: 34px; font-size: 15px; line-height: 1; color: rgba(168, 162, 158, .3); display: grid; place-items: center; }
.star::before { content: "★"; }
.star:hover { color: var(--soft); }
.star[aria-pressed="true"] { color: var(--green); }
.row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 60px; align-items: center; gap: 0 10px; padding: 9px 10px 9px 0; text-decoration: none; min-width: 0; }
.row img, .row .ph { width: 34px; height: 34px; border-radius: 50%; background: #262524; object-fit: cover; }
.row .sym { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .mc { display: block; font-size: 12px; font-weight: 400; color: var(--mute); }
.row .p { text-align: right; font-size: 14px; border-radius: 6px; padding: 2px 5px; margin-right: -5px; }
.row .c { text-align: right; font-size: 13px; font-weight: 500; }
.tick-up { animation: tick-up .7s ease-out; }
.tick-down { animation: tick-down .7s ease-out; }
@keyframes tick-up { from { background: var(--up-wash); } to { background: transparent; } }
@keyframes tick-down { from { background: var(--down-wash); } to { background: transparent; } }

/* right side */
.detail { overflow-y: auto; overflow-x: hidden; min-width: 0; background: radial-gradient(1200px 500px at 70% -10%, rgba(68, 64, 60, .35), transparent 70%); }
.board { padding: 44px clamp(20px, 4vw, 60px) 80px; max-width: 1080px; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.board h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -.03em; }
.board h1 span + span::before, .board h2 span + span::before { content: " "; }
.board h2 { margin-top: 64px; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; }
.guest { margin-top: 28px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--glass); max-width: 640px; display: grid; gap: 16px; justify-items: start; }
.guest p { margin: 0; color: var(--soft); max-width: 56ch; }
.bullet { margin: 14px 0 0; color: var(--soft); }
.lede { }
.board .lede { margin: 16px 0 0; text-align: left; max-width: 60ch; color: var(--soft); opacity: 1; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; }
.stats div { border: 1px solid var(--line); border-radius: 16px; background: var(--glass); padding: 14px 16px; min-width: 0; }
.stats dt { color: var(--mute); font-size: 12px; }
.stats dd { margin: 4px 0 0; font-size: clamp(17px, 1.7vw, 22px); font-weight: 500; letter-spacing: -.02em; overflow-wrap: anywhere; }
.stats dd.up { color: var(--up); }
.stats dd.down { color: var(--down); }
.board .note { margin-top: 14px; }
.board .movers { margin: 22px 0 0; max-width: none; }
.board .mover { grid-template-columns: 44px minmax(0, 1.1fr) minmax(0, 1fr) auto; padding: 12px 20px 12px 12px; }
.board .mover img, .board .mover .ph { width: 44px; height: 44px; }
.board .m-sym, .board .m-chg { font-size: 19px; }
.missing { padding: 18vh clamp(20px, 4vw, 60px) 0; max-width: 52ch; color: var(--soft); }

/* token page */
.token { padding: 34px clamp(20px, 4vw, 60px) 72px; max-width: 1400px; animation: fade .35s ease; }
.token-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.token-grid > * { min-width: 0; }
.back { display: none; background: none; border: 0; padding: 0 0 16px; color: var(--soft); }
.back::before { content: "← "; }
.id { display: flex; align-items: center; gap: 16px; }
.id img { width: 56px; height: 56px; border-radius: 50%; background: #262524; object-fit: cover; flex: none; }
.id-text { min-width: 0; flex: 1; }
.id h1 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; overflow-wrap: break-word; }
.id-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 8px; }
.chain-tag { padding: 3px 10px; border-radius: 100px; background: var(--glass-2); border: 1px solid var(--line-2); font-size: 12px; }
.links { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.links a { color: var(--soft); text-decoration: none; }
.links a:hover { color: var(--fg); }
.id .star { width: 44px; height: 44px; font-size: 20px; border: 1px solid var(--line-2); border-radius: 50%; flex: none; }
.quote { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; margin: 26px 0 14px; }
.price { font-size: clamp(40px, 4.8vw, 72px); font-weight: 500; letter-spacing: -.04em; line-height: 1; border-radius: 12px; padding: 4px 8px; margin-left: -8px; max-width: 100%; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 100px; font-size: 13px; font-weight: 500; border: 1px solid var(--line); background: var(--glass); }
.chip span { color: var(--mute); font-weight: 400; margin-right: 8px; }
.chip.up { color: var(--up); }
.chip.down { color: var(--down); }
.chart-bar { display: flex; justify-content: flex-end; margin: 22px 0 10px; }
.chart { height: clamp(280px, 44vh, 460px); border-radius: var(--r-card); background: rgba(255, 255, 255, .025); border: 1px solid var(--line); overflow: hidden; padding: 12px 6px 6px 12px; }
.flow { margin-top: 22px; }
.flow-labels { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 8px; }
.flow-bar { height: 8px; border-radius: 100px; background: var(--down); overflow: hidden; }
.flow-bar span { display: block; height: 100%; background: var(--up); border-right: 3px solid #000; }
.warn { margin: 22px 0 0; padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(255, 95, 122, .4); background: var(--down-wash); color: #ffc2cc; max-width: 70ch; }
.sub-h { font-size: 20px; margin: 40px 0 0; }

/* trade panel */
.trade { position: sticky; top: 20px; display: grid; gap: 16px; padding: 22px; border: 1px solid var(--line-2); border-radius: 22px; background: rgba(28, 26, 25, .7); backdrop-filter: blur(14px); }
.trade p { margin: 0; }
#t-guest, #t-buy, #t-sell, #t-soon { display: grid; gap: 12px; }
#t-guest p, #t-soon p { color: var(--soft); }
.t-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.t-row span { color: var(--mute); }
.t-row b { font-weight: 500; text-align: right; }
.t-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.t-choices button { padding: 10px 6px; border: 1px solid var(--line); border-radius: 100px; background: var(--glass); font-size: 13px; }
.t-choices button:hover { border-color: var(--soft); }
.t-choices button[aria-pressed="true"] { background: var(--white); color: #000; border-color: var(--white); }
.t-field { display: grid; gap: 6px; font-size: 12px; color: var(--mute); }
.t-field input { width: 100%; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: var(--r-ctl); background: rgba(0, 0, 0, .5); color: var(--fg); font-size: 18px; font-weight: 500; }
.t-field input:focus { outline: none; border-color: var(--green); }
.t-result { padding: 14px 16px; border: 1px solid rgba(255, 95, 122, .4); background: var(--down-wash); border-radius: 14px; color: #ffc2cc; font-size: 14px; line-height: 1.5; }
.t-result[data-ok="true"] { border-color: rgba(89, 255, 0, .4); background: var(--up-wash); color: #d6ffc2; }
.t-result a { color: inherit; }

/* feed, leaderboard, profiles */
.social > .seg { margin-top: 26px; }
.social > .seg button { padding: 7px 16px; font-size: 13px; }
.trade-list { display: grid; margin-top: 22px; max-width: 860px; }
.trade-list:empty { display: none; }
.trade-row { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.trade-who { text-decoration: none; }
.trade-text { flex: 1; min-width: 0; }
.trade-line { margin: 0; font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.trade-line a { text-decoration: none; }
.trade-name:hover { color: var(--white); }
.trade-token { color: var(--up); }
.trade-text .note { margin-top: 2px; }
.side-tag { padding: 4px 12px; border: 1px solid currentColor; border-radius: 100px; font-size: 12px; }
.leader-list { list-style: none; margin: 26px 0 0; padding: 0; max-width: 960px; display: grid; gap: 8px; }
.leader { display: grid; grid-template-columns: 34px minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: center; gap: 0 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--glass); }
.rank { font-size: 20px; font-weight: 500; color: var(--mute); }
.leader:nth-child(-n+3) .rank { color: var(--green); }
.leader-who { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.leader-names, .leader-facts { display: grid; gap: 2px; min-width: 0; }
.leader-names b, .leader-facts b { font-size: 16px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leader-facts b.up { color: var(--up); }
.leader-facts b.down { color: var(--down); }
.profile-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.profile-names { flex: 1; min-width: 200px; }
.profile-name { overflow-wrap: anywhere; }
.profile-bio { margin: 10px 0 0; max-width: 56ch; color: var(--soft); }
.social .stats { margin-top: 28px; max-width: 900px; }
.social > .link-btn { display: block; margin-top: 16px; }
.profile-form { display: grid; gap: 14px; margin-top: 26px; max-width: 480px; }
.profile-form .btn { justify-self: start; }
.social > .btn { margin-top: 20px; }
.social .menu-addr { max-width: 100%; }
.copy-box { margin-top: 30px; max-width: 520px; }
.copy-box h3 { font-size: 20px; }
.copy-box .t-field, .copy-box .t-choices { width: 100%; }
.copy-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }

/* login window */
.modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .72); backdrop-filter: blur(8px); }
.modal-card { position: relative; width: min(430px, 100%); padding: 36px 32px 30px; border: 1px solid var(--line-2); border-radius: 24px; background: #141312; display: grid; gap: 16px; justify-items: start; animation: rise .35s cubic-bezier(.2, .7, .2, 1); }
.modal-card h2 { font-size: 28px; }
.modal-card p { margin: 0; color: var(--soft); }
.modal-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; width: 100%; }
.modal-steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; font-size: 14px; }
.modal-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--glass-2); border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; font-weight: 500; }
.modal-close { position: absolute; right: 16px; top: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 20px; line-height: 1; }
.modal-close:hover { border-color: var(--soft); }

/* =====================================================================
   Smaller screens
   ===================================================================== */
@media (max-width: 1240px) {
  .token-grid { grid-template-columns: 1fr; }
  .trade { position: static; max-width: 520px; }
}
@media (max-width: 1100px) { .live { display: none; } .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding-top: 130px; }
  .rock { width: 62vw; opacity: .55; }
  .hero .rock-l { left: -34vw; top: 300px; } .hero .rock-r { right: -34vw; top: 120px; }
  .hc-body { grid-template-columns: 1fr; }
  .hc-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .hc-row:nth-child(n+4) { display: none; }
  .hc-search { display: none; }
  .hc-price { font-size: 34px; }
  .section { padding-top: 80px; }
  .feat { grid-template-columns: 1fr; gap: 24px; }
  .feat-stage { min-height: 340px; }
  .steps { grid-template-columns: 1fr; }
  .mover, .board .mover { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 0 12px; padding: 12px 16px 12px 12px; }
  .mover img, .mover .ph, .board .mover img, .board .mover .ph { width: 40px; height: 40px; }
  .m-facts { display: none; }
  .m-sym, .m-chg { font-size: 17px; }
  .cta-band { padding: 100px 20px 80px; }
  .footer .rock { display: none; }
  .doc .nav-links { display: flex; margin: 0 0 0 auto; gap: 18px; }
  .doc .nav .btn { display: none; }

  html:has(body.app), body.app { height: auto; }
  body.app { display: block; }
  .top { flex-wrap: wrap; gap: 10px; padding: 10px 14px; position: sticky; top: 0; }
  .top .word { display: none; }
  .app-nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .shell { display: flex; flex-direction: column; }
  .detail { order: -1; overflow: visible; }
  .tape { border-right: 0; border-top: 1px solid var(--line); }
  .list { overflow: visible; }
  body.viewing .tape { display: none; }
  .board { padding: 26px 16px 32px; }
  .board h2, .board #movers { display: none; }
  .social h2 { display: block; }
  .token { padding: 20px 16px 40px; }
  .back { display: block; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-3 { grid-template-columns: 1fr; }
  .acct-addr { display: none; }
  .menu { right: 14px; }
  .leader { grid-template-columns: 26px minmax(0, 1fr) auto; padding: 12px 14px; }
  .leader-facts { display: none; }
}
@media (max-width: 520px) { .grid4 { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html:has(body.landing) { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .js .hero-card.in { transform: none; }
  .tick-up, .tick-down, .glass, .board, .token, .modal-card { animation: none; }
}

/* Verified ticks: gold for major coins, blue for established tokens. */
.tick {
  display: inline-block; width: .8em; height: .8em; margin-left: .3em; vertical-align: -.07em; flex: none; border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm-1.6 15.6l7.2-7.2-1.7-1.7-5.5 5.5-2.5-2.5-1.7 1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 1a11 11 0 1 0 0 22 11 11 0 0 0 0-22zm-1.6 15.6l7.2-7.2-1.7-1.7-5.5 5.5-2.5-2.5-1.7 1.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tick.blue { background: #3ea6ff; }
.tick.gold { background: linear-gradient(135deg, #ffe08a, #f5b324 55%, #d98a00); }
.chart-wrap { position: relative; }
.chart-note { position: absolute; left: 22px; top: 16px; margin: 0; color: var(--mute); font-size: 13px; pointer-events: none; }
