/* ROUTED: an exchange-terminal launchpad (owner 10-27: "a whole new look ... change the layout") in the blues of our
   logo (owner 10-27: "make the theme blue ... same color as our logo"). Left rail + top bar + ticker tape; panels,
   screener rows, mono numbers. Green / red only for price moves. Dark only. */

:root {
  --bg: #050a12;
  --bg-2: #070d18;
  --panel: #0a1220;
  --panel-2: #0d1829;
  --raise: #132239;
  --line: #142238;
  --line-2: #1d3150;
  --line-3: #2b4669;
  --text: #f2f8fd;
  --text-2: #d2e4f3;
  --soft: #a8d8fc;
  --muted: #7d91ab;
  --dim: #4c5f7a;
  --steel: #54a8d8;
  --steel-2: #b4e4fc;
  --up: #34d399;
  --up-2: #4ade9a;
  --up-bg: rgba(74, 222, 154, .1);
  --down: #fb7185;
  --down-bg: rgba(251, 113, 133, .1);
  --warn: #f2c66d;
  /* the logo: light ice #c0e4fc, sky #90ccf0, deep #54a8d8 */
  --go: #8ccbf2;
  --go-2: #5fb0e0;
  --go-ink: #041426;
  --give: #8fd3fb;
  --blue-bg: rgba(140, 203, 242, .1);
  --chrome: linear-gradient(180deg, #d8f0fd 0%, #a8d8fc 42%, #6cb4e4 100%);
  --ice: linear-gradient(90deg, #e6f6fe, #a8d8fc 45%, #54a8d8);
  --r: 12px;
  --r-sm: 8px;
  --rail: 236px;
  --sans: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 14px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0 0 12px; }
code, .mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.num { white-space: nowrap; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.small { font-size: 12.5px; }
.hidden { display: none !important; }
.up { color: var(--up-2); }
.gv { color: var(--give); }
.down { color: var(--down); }
.link { color: var(--soft); text-decoration: underline; text-decoration-color: rgba(164, 197, 207, .35); text-underline-offset: 3px; }
.link:hover { color: var(--text); text-decoration-color: var(--soft); }
.label { font: 600 10.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
::selection { background: rgba(140, 203, 242, .3); }
svg { flex: none; }

/* ---------------------------------------------------------------- shell */
.rail {
  position: fixed; inset: 0 auto 0 0; width: var(--rail); z-index: 40; display: flex; flex-direction: column; gap: 18px;
  padding: 20px 14px 16px; background: var(--bg-2); border-right: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px; }
.brand img { width: 30px; height: 30px; }
.wm { font: 800 17px/1 var(--sans); letter-spacing: .14em; }
.launchbtn { gap: 9px; }
.launchbtn svg { width: 17px; height: 17px; }
.railnav { display: grid; gap: 2px; }
.railnav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--muted);
  font-weight: 500; font-size: 14px; transition: background .15s, color .15s;
}
.railnav a svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.railnav a:hover { color: var(--text); background: var(--panel-2); }
.railnav a.on { color: var(--text); background: var(--raise); box-shadow: inset 2px 0 0 var(--go); }
.railnav a.on svg { color: var(--go); }
.railfoot { margin-top: auto; display: grid; gap: 12px; }
.mkt { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.mkt .dot { grid-row: span 2; width: 9px; height: 9px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px rgba(242, 198, 109, .12); }
.mkt.open .dot { background: var(--go); box-shadow: 0 0 0 4px rgba(140, 203, 242, .16); animation: pulse 2s infinite; }
.mkt b { font: 700 12px/1.2 var(--mono); letter-spacing: .08em; }
.mkt span:last-child { font-size: 11.5px; color: var(--muted); }
.pin { padding: 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: linear-gradient(180deg, var(--panel-2), var(--panel)); display: grid; gap: 8px; }
.pin .who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pin .who img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
.pin .who b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.raillinks { display: flex; gap: 14px; padding: 0 8px; font-size: 12px; color: var(--muted); }
.raillinks a:hover { color: var(--text); }

.app { margin-left: var(--rail); min-width: 0; min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 24px;
  background: rgba(5, 10, 18, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.topbar .brand.mob, .topbar .menu { display: none; }
.tsearch { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); }
.tsearch:focus-within { border-color: var(--line-3); background: var(--panel-2); }
.tsearch svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; }
.tsearch input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 13.5px; }
.tsearch input::placeholder { color: var(--dim); }
.tsearch kbd { font: 600 10.5px var(--mono); color: var(--dim); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; }
.tright { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; }
.iconbtn:hover { background: var(--raise); }
.iconbtn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.iconbtn svg.fill { fill: currentColor; stroke: none; }
.btn.wallet .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--go); }

.tape { position: relative; height: 38px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.tape::before, .tape::after { content: ''; position: absolute; top: 0; bottom: 0; width: 48px; z-index: 1; pointer-events: none; }
.tape::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.tape::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.tape-track { display: flex; width: max-content; height: 100%; align-items: center; animation: tape var(--tape-s, 60s) linear infinite; }
.tape:hover .tape-track { animation-play-state: paused; }
.ti { display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; height: 100%; font: 500 12px/1 var(--mono); color: var(--text-2); white-space: nowrap; border-right: 1px solid var(--line); }
.ti img { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; }
.ti b { font-weight: 700; color: var(--text); letter-spacing: .02em; }
.ti .m { color: var(--soft); }
.ti.fact { color: var(--soft); letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.ti.fact svg { width: 14px; height: 14px; stroke: var(--go); fill: none; stroke-width: 2; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.page { width: 100%; max-width: 1480px; margin: 0 auto; padding: 28px 28px 64px; flex: 1; }
.foot { border-top: 1px solid var(--line); padding: 22px 28px 30px; color: var(--dim); font-size: 11.5px; line-height: 1.7; }
.foot .in { max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 28px; }
.foot .brand img { width: 22px; height: 22px; }
.foot .brand .wm { font-size: 13px; color: var(--muted); }
.scrim { display: none; }

/* ---------------------------------------------------------------- basics */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); font-weight: 600; font-size: 13.5px; cursor: pointer;
  white-space: nowrap; transition: background .15s, border-color .15s, transform .1s;
}
.btn:hover { background: var(--raise); border-color: var(--line-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.go, .btn.primary { background: var(--chrome); border-color: #9ad3f5; color: var(--go-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 6px 18px -8px rgba(108, 180, 228, .7); }
.btn.go:hover, .btn.primary:hover { background: var(--chrome); filter: brightness(1.07); border-color: #c0e4fc; }
.btn.ghost { background: transparent; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 8px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 14.5px; }
.btn.block { display: flex; width: 100%; }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn svg.fill { fill: currentColor; stroke: none; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; }
.panel-h { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); min-height: 52px; }
.panel-h h2, .panel-h h3 { font-size: 15px; letter-spacing: -.01em; }
.panel-h .r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.panel-b { padding: 16px 18px; }
.panel.pad { padding: 18px; }
.panel + .panel { margin-top: 0; }

.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-size: 13px; }
.kv:last-child { border-bottom: 0; }
.kv > span:first-child { color: var(--muted); }
.kv b { font-weight: 600; text-align: right; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel-2); font-size: 11.5px; color: var(--text-2); white-space: nowrap; }
.pill.ok { color: var(--soft); border-color: rgba(140, 203, 242, .35); background: var(--blue-bg); }
.pill.wait { color: var(--warn); border-color: rgba(242, 198, 109, .3); background: rgba(242, 198, 109, .08); }
.pill.bad { color: var(--down); border-color: rgba(251, 113, 133, .3); background: var(--down-bg); }
.tag { display: inline-block; font: 700 9.5px/1 var(--mono); letter-spacing: .08em; padding: 3px 5px; border-radius: 4px; background: var(--raise); color: var(--soft); font-style: normal; vertical-align: 1px; margin-left: 6px; }
.tag.new { background: var(--blue-bg); color: var(--soft); }
.vtag { display: inline-block; vertical-align: 2px; margin-left: 8px; font: 700 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); border: 1px solid rgba(84, 168, 216, .5); padding: 3px 6px; border-radius: 4px; }

.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); flex-wrap: wrap; }
.seg button { height: 30px; padding: 0 12px; border: 0; border-radius: 7px; background: none; color: var(--muted); font-size: 12.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.seg button svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.seg button svg.fill { fill: currentColor; stroke: none; }
.seg button:hover { color: var(--text); }
.seg button.on { background: var(--raise); color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; }
.tabs { display: flex; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs button { height: 46px; padding: 0 12px; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 13px; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--text); border-bottom-color: var(--go); }

.livedot { display: inline-flex; align-items: center; gap: 7px; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.livedot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--go); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(140, 203, 242, .55); } 70% { box-shadow: 0 0 0 7px rgba(140, 203, 242, 0); } 100% { box-shadow: 0 0 0 0 rgba(140, 203, 242, 0); } }

.empty { text-align: center; padding: 34px 18px; color: var(--muted); }
.empty h3 { color: var(--text); font-size: 16px; margin-bottom: 6px; }
.empty p { max-width: 440px; margin: 0 auto 14px; }
.empty .btn { margin-top: 4px; }
.sk { border-radius: var(--r); background: linear-gradient(90deg, var(--panel) 25%, var(--panel-2) 50%, var(--panel) 75%); background-size: 200% 100%; animation: sk 1.3s infinite; border: 1px solid var(--line); }
@keyframes sk { to { background-position: -200% 0; } }
.status { font-size: 13px; margin-top: 12px; color: var(--soft); line-height: 1.5; }
.status:empty { display: none; }
.status.ok { color: var(--up-2); }
.status.err { color: var(--down); }
.warn { color: var(--warn); font-size: 13px; }

.ci { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; background: var(--raise); flex: none; }
.ci.sm { width: 24px; height: 24px; border-radius: 6px; }
.ci.lg { width: 56px; height: 56px; border-radius: 13px; }
.ci.xl { width: 76px; height: 76px; border-radius: 16px; }
.tok { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; overflow: hidden; background: var(--raise); font: 700 8px var(--mono); color: var(--soft); flex: none; }
.tok img { width: 100%; height: 100%; object-fit: cover; }
.tok.sm { width: 16px; height: 16px; }

/* where a coin's fees go */
.route { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel-2); font-size: 12.5px; font-weight: 500; }
.route .rpic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; background: #fff; flex: none; color: var(--steel); }
.route .rpic img { width: 100%; height: 100%; object-fit: contain; }
.route.social .rpic { background: var(--raise); color: var(--text); }
.route.social .rpic img { object-fit: cover; }
.route .rpic svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.route .rpic svg.fill, .route .plat svg.fill { fill: currentColor; stroke: none; }
.route .rname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.route .plat { display: inline-grid; color: var(--muted); }
.route .plat svg { width: 13px; height: 13px; }
.route.sm { font-size: 12px; padding: 2px 9px 2px 2px; gap: 7px; }
.route.sm .rpic { width: 20px; height: 20px; }
.route.none { padding: 4px 10px; color: var(--muted); }
a.route:hover { border-color: var(--line-3); }

.prog { height: 6px; border-radius: 99px; background: var(--raise); overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--steel), var(--steel-2)); }
.progl { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 8px; }
.progl span { color: var(--muted); }

.chg { font-family: var(--mono); font-weight: 600; }
.chg.up { color: var(--up-2); }
.chg.down { color: var(--down); }

.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field > label, .field > .label { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.opt { font-weight: 400; color: var(--dim); font-size: 11.5px; margin-left: 4px; }
:where(input[type=text], input[type=url], input[type=number], input[type=search], textarea) {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); outline: 0;
  font-size: 14px; transition: border-color .15s, background .15s;
}
:where(textarea) { height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
:where(input, textarea):focus { border-color: var(--steel); background: var(--panel); }
.tsearch input:focus, .handlebox input:focus { background: none; }
input[type=search]::-webkit-search-cancel-button { filter: invert(.6); }
input::placeholder, textarea::placeholder { color: var(--dim); }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.quick button { height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text-2); font: 600 12px var(--mono); cursor: pointer; }
.quick button:hover { border-color: var(--line-3); color: var(--text); }
.search { position: relative; }
.search svg { position: absolute; left: 13px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; }
.search input { padding-left: 38px; }

.tablewrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font: 600 10.5px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 11px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--bg-2); }
td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(19, 34, 57, .5); }
td.num, th.num { text-align: right; }
.cell { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.cell:hover { color: var(--soft); }
.sidetag { display: inline-block; font: 700 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border-radius: 5px; }
.sidetag.buy { background: var(--up-bg); color: var(--up-2); }
.sidetag.sell { background: var(--down-bg); color: var(--down); }

.ca { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 4px 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; font-size: 12px; max-width: 100%; }
.ca .l { font: 700 10px var(--mono); letter-spacing: .1em; color: var(--muted); }
.ca code { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca .c { font-weight: 600; font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: var(--raise); color: var(--soft); }
.ca:hover .c { color: var(--text); }

/* page heads: a kicker line, a headline, a lead */
.phead { display: flex; align-items: flex-end; gap: 24px; justify-content: space-between; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.phead h1 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.035em; }
.phead h1 em { font-style: normal; background: var(--ice); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phead p { color: var(--soft); max-width: 640px; margin: 10px 0 0; font-size: 14.5px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); }
.kicker::before { content: ''; width: 18px; height: 2px; background: var(--go); border-radius: 2px; }
.phead .acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* stat cells in a strip */
.statline { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.statline > div { padding: 16px 18px; border-right: 1px solid var(--line); min-width: 0; }
.statline > div:last-child { border-right: 0; }
.statline b { display: block; margin-top: 8px; font: 700 22px/1.1 var(--mono); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.statline .s { margin-top: 5px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------------- home: the market */
.hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .9fr); gap: 28px; align-items: end;
  padding: 34px 34px 30px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: 16px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 44px 100%,
    radial-gradient(120% 90% at 85% 0%, rgba(84, 168, 216, .2), transparent 60%),
    var(--bg-2);
}
.hero > * { position: relative; z-index: 1; }
.hero-chart { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-chart .ln { fill: none; stroke: url(#hl); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3200; stroke-dashoffset: 3200; animation: draw 2.4s .2s cubic-bezier(.3, .6, .2, 1) forwards; }
.hero-chart .area { fill: url(#ha); opacity: 0; animation: fade 1.2s 1.4s forwards; }
.hero-chart .nd { fill: var(--bg); stroke: var(--go); stroke-width: 2.5; opacity: 0; animation: fade .4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.hero h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.045em; line-height: 1.02; margin: 4px 0 16px; }
.hero h1 .g { background: var(--ice); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.hero h1 .s { color: var(--steel-2); }
.hero .lead { color: var(--text-2); font-size: 15.5px; max-width: 560px; margin-bottom: 22px; }
.hero .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.fact { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(10, 18, 32, .8); font-size: 12px; color: var(--text-2); }
.fact svg { width: 14px; height: 14px; stroke: var(--go); fill: none; stroke-width: 2; }
.fact svg.fill { fill: var(--go); stroke: none; }
.hero-index { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.idx { padding: 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(7, 13, 24, .88); backdrop-filter: blur(4px); min-width: 0; }
.idx .k { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.idx b { display: block; margin-top: 10px; font: 700 26px/1 var(--mono); letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idx .s { display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idx .k svg { width: 15px; height: 15px; stroke: var(--steel); fill: none; stroke-width: 2; }

.market { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.market-side { display: grid; gap: 16px; position: sticky; top: 118px; }
.tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tools .seg { flex: none; }
.tools .tq { margin-left: auto; width: 230px; }
.tools .tq input { height: 36px; font-size: 13px; }

/* screener rows: the columns follow the table's own width (container queries), not the window's */
.rows { display: grid; container-type: inline-size; }
.row {
  display: grid; grid-template-columns: 30px minmax(170px, 2fr) minmax(140px, 1.7fr) 92px 74px 88px 88px 96px; align-items: center; gap: 12px;
  padding: 11px 16px; border-bottom: 1px solid var(--line); min-width: 0; transition: background .12s;
}
.row:last-child { border-bottom: 0; }
a.row:hover { background: rgba(19, 34, 57, .6); }
.row.head { padding-top: 10px; padding-bottom: 10px; background: var(--bg-2); font: 600 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.row.pinned { background: linear-gradient(90deg, rgba(140, 203, 242, .08), transparent 60%); }
.r-rank { color: var(--dim); font: 600 12px var(--mono); }
.r-coin { display: flex; align-items: center; gap: 11px; min-width: 0; }
.r-coin .ci { width: 36px; height: 36px; }
.r-id { min-width: 0; display: grid; }
.r-id b { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-id small { font: 500 11.5px var(--mono); color: var(--muted); white-space: nowrap; }
.r-cause { min-width: 0; display: flex; }
.r-mc, .r-chg, .r-vol, .r-given { text-align: right; font: 600 13px var(--mono); white-space: nowrap; }
.r-vol { color: var(--text-2); font-weight: 500; }
.r-given { color: var(--give); }
.row.head .r-mc, .row.head .r-chg, .row.head .r-vol, .row.head .r-given { font: inherit; color: inherit; }
.r-curve { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.r-curve .bar { height: 5px; border-radius: 9px; background: var(--raise); overflow: hidden; }
.r-curve .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--steel), var(--steel-2)); border-radius: inherit; }
.r-curve small { font: 600 10.5px var(--mono); color: var(--muted); min-width: 30px; text-align: right; }
.row.head .r-curve { display: block; text-align: right; }
@container (max-width: 900px) {
  .row { grid-template-columns: 26px minmax(150px, 2fr) minmax(130px, 1.5fr) 86px 68px 82px 82px; }
  .r-curve { display: none !important; }
}
@container (max-width: 760px) {
  .row { grid-template-columns: 24px minmax(140px, 2fr) minmax(120px, 1.4fr) 84px 66px 80px; }
  .r-vol { display: none !important; }
}
@container (max-width: 580px) {
  .row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "coin mc" "cause chg"; row-gap: 8px; column-gap: 12px; padding: 12px 14px; }
  .row.head { display: none; }
  .r-rank, .r-vol, .r-given, .r-curve { display: none !important; }
  .r-coin { grid-area: coin; }
  .r-mc { grid-area: mc; }
  .r-cause { grid-area: cause; }
  .r-chg { grid-area: chg; align-self: center; }
}

/* side widgets */
.leader { display: block; padding: 16px 18px; }
.leader .t { display: flex; align-items: center; gap: 8px; }
.leader .t svg { width: 15px; height: 15px; stroke: var(--warn); fill: none; stroke-width: 2; }
.leader .who { display: flex; align-items: center; gap: 12px; margin: 14px 0; min-width: 0; }
.leader .who b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leader .mc { margin-left: auto; text-align: right; font: 700 18px/1.1 var(--mono); }
.leader .mc small { display: block; font: 500 10.5px var(--sans); color: var(--muted); margin-top: 3px; }
.leader:hover { background: var(--panel-2); }
.gt { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--line); }
.gt:last-child { border-bottom: 0; }
.gt .ci { grid-row: span 2; width: 30px; height: 30px; border-radius: 8px; }
.gt .top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.gt .top b { font: 700 12.5px var(--mono); }
.gt .amt { font: 700 12.5px var(--mono); color: var(--give); text-align: right; }
.gt .when { grid-column: 3; font: 500 10.5px var(--mono); color: var(--muted); text-align: right; white-space: nowrap; }
.gt .route { grid-column: 2; }
.gt:hover { background: var(--panel-2); }
.speedrow { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.speedrow > div { padding: 14px 18px; }
.speedrow > div + div { border-left: 1px solid var(--line); }
.speedrow b { display: block; margin-top: 6px; font: 700 18px/1.1 var(--mono); }
.speedrow small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.lb-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.lb-row:last-child { border-bottom: 0; }
.lb-row .n { font: 600 11.5px var(--mono); color: var(--dim); }
.lb-row b { font: 700 12.5px var(--mono); }
.jl { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--line); min-width: 0; }
.jl:last-child { border-bottom: 0; }
.jl:hover { background: var(--panel-2); }
.jl .ci { width: 28px; height: 28px; border-radius: 7px; }
.jl b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jl span { display: block; font: 500 11px var(--mono); color: var(--muted); }
.jl .r { margin-left: auto; text-align: right; flex: none; }
.side-empty { padding: 18px; color: var(--muted); font-size: 12.5px; }

/* the pipeline: how a trade becomes a gift */
.pipeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.pstep { position: relative; padding: 20px 20px 22px; border-right: 1px solid var(--line); }
.pstep:last-child { border-right: 0; }
.pstep .n { font: 700 11px var(--mono); color: var(--go); letter-spacing: .1em; }
.pstep h3 { font-size: 15.5px; margin: 10px 0 6px; display: flex; align-items: center; gap: 9px; }
.pstep h3 svg { width: 18px; height: 18px; stroke: var(--steel-2); fill: none; stroke-width: 1.9; }
.pstep p { color: var(--muted); font-size: 13px; margin: 0; }
.pstep:not(:last-child)::after { content: ''; position: absolute; right: -7px; top: 26px; width: 12px; height: 12px; border-top: 1px solid var(--line-3); border-right: 1px solid var(--line-3); background: var(--panel); transform: rotate(45deg); z-index: 1; }

/* ---------------------------------------------------------------- coin */
.coinhead { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-bottom: 18px; }
.coinhead h1 { font-size: clamp(24px, 3vw, 34px); display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.coinhead h1 .sym { font: 600 .55em var(--mono); color: var(--soft); letter-spacing: 0; }
.ch-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.ch-desc { color: var(--text-2); margin: 8px 0 0; max-width: 720px; font-size: 13.5px; }
.ch-price { text-align: right; }
.ch-price b { display: block; font: 700 30px/1 var(--mono); letter-spacing: -.03em; }
.ch-price span { display: block; margin-top: 6px; font-size: 12.5px; }
.ch-links { display: flex; gap: 6px; margin-top: 10px; justify-content: flex-end; }
.coin-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; margin-top: 18px; }
.coin-main, .coin-side { display: grid; gap: 16px; min-width: 0; }
.chartbox { height: 380px; position: relative; }
.chartbox iframe { width: 100%; height: 100%; border: 0; display: block; border-radius: 0 0 var(--r) var(--r); }
.chartbox .empty { padding-top: 120px; }
.spark { position: relative; height: 100%; padding: 12px 0 0; color: var(--steel-2); }
.spark.up { color: var(--up-2); }
.spark.down { color: var(--down); }
.spark svg { width: 100%; height: calc(100% - 12px); display: block; cursor: crosshair; touch-action: none; }
.sp-read { position: absolute; left: 18px; top: 14px; display: grid; }
.sp-read b { font: 700 20px var(--mono); color: var(--text); }
.sp-read span { font-size: 11.5px; color: var(--muted); }
.sp-x { stroke: var(--line-3); stroke-width: 1; opacity: 0; }

.trade .side { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 14px; }
.trade .side button { height: 38px; border: 0; border-radius: 7px; background: none; color: var(--muted); font-weight: 700; cursor: pointer; }
.trade .side .buy.on { background: var(--up-bg); color: var(--up-2); box-shadow: 0 0 0 1px rgba(74, 222, 154, .35) inset; }
.trade .side .sell.on { background: var(--down-bg); color: var(--down); box-shadow: 0 0 0 1px rgba(251, 113, 133, .35) inset; }
.trade .amt { position: relative; }
.trade .amt input { height: 52px; font: 600 20px var(--mono); padding-right: 90px; }
.trade .amt .u { position: absolute; right: 14px; top: 50%; translate: 0 -50%; font: 600 12.5px var(--mono); color: var(--muted); }
.trade .q { margin: 12px 0; }
.trade .q:empty { margin: 6px 0; }
.trade .slip { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.trade .slip input { width: 64px; height: 30px; padding: 0 8px; font: 600 12px var(--mono); }

.cause { padding: 18px; }
.cause .big { display: flex; align-items: center; gap: 14px; margin: 12px 0 14px; min-width: 0; }
.cause .big .pic { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: #fff; display: grid; place-items: center; flex: none; color: var(--steel); }
.cause .big .pic.social { background: var(--raise); color: var(--text); }
.cause .big .pic img { width: 100%; height: 100%; object-fit: contain; }
.cause .big .pic.social img { object-fit: cover; }
.cause .big .pic svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }
.cause .big .pic svg.fill { fill: currentColor; stroke: none; }
.cause .big b { display: block; font-size: 16px; line-height: 1.25; }
.cause .big span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.cause .note { margin: 12px 0 0; }

.tl { list-style: none; margin: 0; padding: 4px 18px 14px; }
.tl li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 9px 0 9px 18px; font-size: 13px; }
.tl li::before { content: ''; position: absolute; left: 3px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--line-3); }
.tl li::after { content: ''; position: absolute; left: 6px; top: 24px; bottom: -9px; width: 1px; background: var(--line-2); }
.tl li:last-child::after { display: none; }
.tl li.launch::before, .tl li.graduated::before, .tl li.high::before { background: var(--go); }
.tl li[class^=first]::before { background: var(--steel); }
.tl time { font: 500 11px var(--mono); color: var(--muted); white-space: nowrap; }

.chat { display: flex; flex-direction: column; height: 440px; }
.msgs { flex: 1; overflow-y: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 10px; }
.av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font: 700 10px var(--mono); color: var(--go-ink); flex: none; text-transform: uppercase; }
.msg .who { display: flex; gap: 8px; align-items: baseline; font-size: 12px; color: var(--muted); }
.msg .who b { color: var(--text); font: 600 12px var(--mono); }
.msg .who .h { color: var(--up-2); }
.msg p { margin: 2px 0 0; font-size: 13.5px; word-break: break-word; }
.chat form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat form input { height: 40px; }

/* ---------------------------------------------------------------- launch */
.launch { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.steps-col { display: grid; gap: 16px; min-width: 0; }
.step-h { display: flex; align-items: center; gap: 12px; }
.step-h .n { font: 700 12px var(--mono); color: var(--soft); padding: 5px 8px; border-radius: 6px; background: var(--blue-bg); border: 1px solid rgba(140, 203, 242, .3); }
.step-h h2 { font-size: 17px; }
.step-h .opt { margin-left: 2px; }
.step .lead { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.coinrow { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; }
.drop { height: 150px; border-radius: 14px; border: 1.5px dashed var(--line-3); background: var(--bg-2); display: grid; place-items: center; cursor: pointer; overflow: hidden; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--go); background: var(--panel-2); }
.drop.has { border-style: solid; }
.drop img { width: 100%; height: 100%; object-fit: cover; }
.ph2 { display: grid; place-content: center; justify-items: center; gap: 8px; width: 100%; height: 100%; color: var(--muted); font-size: 12.5px; }
.drop.has .ph2 { display: block; }
.ph2 svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.autofield { height: 44px; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; }
.copts { display: grid; gap: 6px; max-height: 420px; overflow-y: auto; margin-top: 12px; padding-right: 4px; }
.copt { display: flex; gap: 12px; text-align: left; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); cursor: pointer; align-items: flex-start; }
.copt:hover { border-color: var(--line-3); }
.copt.on { border-color: var(--go); background: rgba(140, 203, 242, .07); box-shadow: 0 0 0 1px var(--go) inset; }
.clogo { width: 40px; height: 40px; flex: none; border-radius: 10px; overflow: hidden; background: #fff; display: grid; place-items: center; color: var(--steel); }
.clogo img { width: 100%; height: 100%; object-fit: contain; }
.clogo svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.cbody { display: grid; gap: 2px; min-width: 0; }
.cbody b { font-size: 13.5px; }
.cbody span { font-size: 12px; color: var(--muted); }
.cbody .mis { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--text-2); margin-top: 3px; }
.copts .none { padding: 18px; text-align: center; color: var(--muted); font-size: 13px; }
.handlebox { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-2); padding-left: 14px; }
.handlebox:focus-within { border-color: var(--steel); }
.handlebox .at { color: var(--muted); font-weight: 600; }
.handlebox input { border: 0; background: none; padding-left: 6px; }
.who-route { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; font-size: 12.5px; }
.who-route .bad, .bad { color: var(--down); }
.picked { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.picked:empty { display: none; }
.ticket { position: sticky; top: 118px; display: grid; gap: 16px; }
.ticket .preview .rows { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.tk-who { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.tk-who .ci { width: 44px; height: 44px; border-radius: 11px; overflow: hidden; }
.tk-who b { display: block; }

/* ---------------------------------------------------------------- live launches */
.lbig { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 22px; }
.lbig > img { width: 150px; height: 150px; border-radius: 18px; object-fit: cover; background: var(--raise); }
.lbh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lbh h2 { font: 700 26px var(--mono); letter-spacing: -.02em; }
.lbf { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.lbf b { display: block; font: 700 22px var(--mono); margin-top: 4px; }
.lbf .acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.stagebar { position: relative; height: 6px; border-radius: 9px; background: var(--raise); overflow: hidden; }
.stagebar i { display: block; height: 100%; background: linear-gradient(90deg, var(--steel), var(--steel-2)); border-radius: inherit; transition: width .6s; }
.stagel { display: flex; justify-content: space-between; margin-top: 8px; font: 600 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.stagel .on { color: var(--soft); }
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.lsm { display: block; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); }
a.lsm:hover { border-color: var(--line-3); background: var(--panel-2); }
.lst { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lst img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.lst b { display: block; font: 700 13.5px var(--mono); }
.lst span { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sech { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 30px 0 12px; flex-wrap: wrap; }
.sech h2 { font-size: 19px; }
.sech p { color: var(--muted); margin: 6px 0 0; font-size: 13px; }

/* ---------------------------------------------------------------- given + proof */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.backed { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); border: 1px solid rgba(140, 203, 242, .35); background: linear-gradient(90deg, rgba(140, 203, 242, .09), var(--panel) 60%); }
.backed.bad { border-color: rgba(251, 113, 133, .35); background: linear-gradient(90deg, rgba(251, 113, 133, .08), var(--panel) 60%); }
.backed .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; font: 700 20px var(--mono); background: var(--blue-bg); color: var(--soft); }
.backed.bad .ic { background: var(--down-bg); color: var(--down); }
.backed h3 { font-size: 16px; }
.backed > div:last-child { flex: 1; }
.backed .brows { display: grid; gap: 4px; margin-top: 6px; font-size: 13px; color: var(--text-2); }
.proofgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.pbox { padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); min-width: 0; }
.pbox .big { display: block; margin-top: 10px; font: 700 26px/1.1 var(--mono); letter-spacing: -.02em; }
.pbox .s { margin: 6px 0 8px; font-size: 12.5px; color: var(--muted); }
.kindtag { display: inline-block; font: 700 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 7px; border-radius: 5px; background: var(--raise); color: var(--soft); }
.kindtag.donation, .kindtag.credit, .kindtag.payout { background: var(--blue-bg); color: var(--soft); }
.kindtag.claim { background: rgba(84, 168, 216, .16); color: var(--steel-2); }
.kindtag.buyback, .kindtag.burn { background: rgba(192, 228, 252, .10); color: #c0e4fc; }
.fasttag { font: 500 10.5px var(--mono); color: var(--give); margin-top: 3px; }

/* ---------------------------------------------------------------- claim + account */
.claimwrap { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.signins { display: grid; gap: 10px; }
.signin svg { width: 18px; height: 18px; }
.signin svg.fill { fill: currentColor; }
.me { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.me img, .me .plat { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; background: var(--raise); display: grid; place-items: center; }
.me .plat svg { width: 22px; height: 22px; fill: currentColor; }
.me b { display: block; font-size: 15px; }
.me .muted { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.me .muted svg { width: 13px; height: 13px; fill: currentColor; }
.owed { padding: 18px 0; border-bottom: 1px solid var(--line); }
.owed b { display: block; margin: 8px 0 4px; font: 700 40px/1 var(--mono); letter-spacing: -.03em; color: var(--give); }
.acct { padding: 10px 0; }
.coinsfrom { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.coinsfrom a { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 12px var(--mono); }
.coinsfrom img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
ol.howto { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 13px; display: grid; gap: 8px; }
.hr { height: 1px; background: var(--line); margin: 18px 0; }

/* ---------------------------------------------------------------- how it works */
.howwrap { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 36px; align-items: start; }
.toc { position: sticky; top: 118px; display: grid; gap: 2px; }
.toc-h { font: 600 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 12px 10px; }
.toc a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 13.5px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); }
.toc a.on { color: var(--text); background: var(--panel-2); border-left-color: var(--go); border-radius: 0 8px 8px 0; }
.doc { max-width: 780px; min-width: 0; }
.doc section { padding: 6px 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.doc section:last-child { border-bottom: 0; }
.doc h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.04em; line-height: 1.05; }
.doc h1 em { font-style: normal; background: var(--ice); -webkit-background-clip: text; background-clip: text; color: transparent; }
.doc h2 { font-size: 22px; margin-bottom: 12px; }
.doc p, .doc li { color: var(--text-2); font-size: 14.5px; line-height: 1.7; }
.doc .lead { font-size: 16px; color: var(--text-2); margin-top: 14px; }
.doc ul { padding-left: 18px; }
/* How it works, redesigned (owner 10-27: "make the how it works look better and more stuff") */
.howhero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .9fr); gap: 28px; align-items: end;
  padding: 38px 36px 32px; margin-bottom: 30px; border: 1px solid var(--line); border-radius: 16px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 44px 100%,
    radial-gradient(110% 90% at 90% 0%, rgba(84, 168, 216, .22), transparent 60%),
    var(--bg-2);
}
.howhero > * { position: relative; z-index: 1; }
.howhero > .howhero-mark { position: absolute; z-index: 0; right: -40px; top: -60px; width: 400px; opacity: .1; transform: rotate(-10deg); pointer-events: none; }
.howhero h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.045em; line-height: 1.02; margin: 4px 0 16px; }
.howhero h1 .g { background: var(--ice); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.howhero .lead { color: var(--text-2); font-size: 15.5px; max-width: 600px; margin-bottom: 22px; }
.howhero .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.howhero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hf { padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(10, 18, 32, .82); min-width: 0; }
.hf b { display: block; margin-top: 8px; font: 700 24px/1.1 var(--mono); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hf .s { display: block; margin-top: 5px; font-size: 11.5px; color: var(--muted); }
.doc.wide { max-width: 940px; container-type: inline-size; }
.doc .note { margin: 16px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--blue-bg); border: 1px solid rgba(140, 203, 242, .25); font-size: 13.5px; }
.doc i[data-intake], .doc i[data-route], .doc i[data-min], .doc i[data-cmin], .doc i[data-pairings], .kv b i { font-style: normal; }

/* the route a fee takes: a track with a light running along it */
.pipe { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 24px 0 6px; }
.pipe::before { content: ''; position: absolute; left: 10%; right: 10%; top: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--line-3), var(--steel) 65%, var(--go)); }
.pipe-pulse { position: absolute; z-index: 0; top: 24px; left: 10%; width: 10px; height: 10px; border-radius: 50%; background: #e6f6fe; box-shadow: 0 0 0 3px rgba(140, 203, 242, .25), 0 0 18px 5px rgba(140, 203, 242, .55); animation: pipe-x 5s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes pipe-x { 0% { left: 10%; opacity: 0; } 8%, 92% { opacity: 1; } 100% { left: calc(90% - 10px); opacity: 0; } }
@keyframes pipe-y { 0% { top: 24px; opacity: 0; } 8%, 92% { opacity: 1; } 100% { top: calc(100% - 34px); opacity: 0; } }
.stop { position: relative; z-index: 1; text-align: center; min-width: 0; }
.stop .ico { width: 58px; height: 58px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: 0 0 0 6px var(--bg); }
.stop .ico svg { width: 24px; height: 24px; stroke: var(--steel-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stop.hl .ico { background: var(--chrome); border-color: #9ad3f5; box-shadow: 0 0 0 6px var(--bg), 0 10px 26px -10px rgba(108, 180, 228, .8); }
.stop.hl .ico svg { stroke: var(--go-ink); }
.stop b { display: block; font-size: 14px; }
.doc .stop p { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 6px 0 10px; }
.stop .when { display: inline-block; font: 600 10.5px/1.3 var(--mono); padding: 5px 8px; border-radius: 6px; background: var(--raise); color: var(--soft); }
.stop .when i { font-style: normal; }

/* three kinds of cause */
.hcauses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.hcause { position: relative; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); overflow: hidden; min-width: 0; }
.hcause::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: var(--ice); opacity: .75; }
.cause-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-bg); border: 1px solid rgba(140, 203, 242, .25); margin-bottom: 14px; }
.cause-ic svg { width: 22px; height: 22px; stroke: var(--go); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cause-ic svg.fill { fill: var(--go); stroke: none; }
.hcause h3 { font-size: 17px; }
.doc .hcause .who { font-size: 13px; color: var(--muted); margin: 6px 0 14px; line-height: 1.5; }
.doc .checks { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 9px; }
.doc .checks li { position: relative; padding-left: 25px; font-size: 13px; line-height: 1.45; }
.checks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 50%; background: rgba(140, 203, 242, .16); }
.checks li::after { content: ''; position: absolute; left: 6px; top: 4px; width: 4px; height: 7px; border: solid var(--go); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.how-chip { margin-top: auto; align-self: flex-start; font: 600 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 9px; border-radius: 6px; background: var(--raise); color: var(--steel-2); }

/* launching */
.doc .steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); min-width: 0; }
.steps .n, .claimsteps .n { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; font: 700 12px var(--mono); color: var(--go-ink); background: var(--chrome); }
.steps b, .claimsteps b { display: block; font-size: 14px; color: var(--text); }
.doc .steps p, .doc .claimsteps p { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 4px 0 0; }
.steps i, .claimsteps i { font-style: normal; color: var(--text-2); font-weight: 600; }
.approvals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.approvals > div { padding: 14px 16px; border-right: 1px solid var(--line); min-width: 0; }
.approvals > div:last-child { border-right: 0; }
.approvals b { display: block; margin-top: 7px; font: 700 18px/1.1 var(--mono); color: var(--soft); }
.approvals .s { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }

/* where every fee goes: one fee in, two branches out (no sizes: owner 10-27, no split percentages) */
.fork { margin-top: 18px; }
.fork-in { display: flex; align-items: center; gap: 14px; max-width: 520px; margin: 0 auto; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel-2); }
.fork-in svg { flex: none; width: 26px; height: 26px; stroke: var(--steel-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fork-in b { display: block; font-size: 14px; }
.fork-in span { font-size: 12.5px; color: var(--muted); }
.fork-out { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 44px; }
.fork-out::before { content: ''; position: absolute; left: 50%; top: 0; height: 22px; width: 2px; margin-left: -1px; background: var(--line-3); }
.fork-out::after { content: ''; position: absolute; left: calc(25% - 4px); right: calc(25% - 4px); top: 22px; height: 22px; border: 2px solid var(--line-3); border-bottom: 0; border-radius: 12px 12px 0 0; }
.branch { padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); min-width: 0; }
.branch.cause-b { border-color: rgba(140, 203, 242, .4); background: linear-gradient(180deg, rgba(140, 203, 242, .09), var(--panel) 70%); }
.branch > .label { display: block; margin-bottom: 10px; }
.branch.cause-b > .label { color: var(--go); }
.doc .mini-steps { margin: 0 0 10px; padding-left: 18px; }
.doc .mini-steps li { font-size: 13.5px; line-height: 1.55; margin-bottom: 6px; }
.doc .branch .s { font-size: 12px; color: var(--muted); margin: 0; line-height: 1.5; }

/* charities, claiming, buybacks */
.facts3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.facts3 > div { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); min-width: 0; }
.facts3 b { display: block; font: 700 26px/1.1 var(--mono); letter-spacing: -.02em; background: var(--ice); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts3 span { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.doc .claimsteps { list-style: none; padding: 0; margin: 20px 0 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.claimsteps::before { content: ''; position: absolute; left: 14px; right: calc(25% - 14px); top: 13px; height: 2px; background: linear-gradient(90deg, var(--go), var(--line-3)); }
.claimsteps li { position: relative; padding-right: 16px; min-width: 0; }
.claimsteps .n { position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--bg); margin-bottom: 12px; }
.bb { display: flex; align-items: stretch; gap: 10px; margin: 16px 0 12px; }
.bb-step { flex: 1; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); min-width: 0; }
.bb-step b { display: block; margin-top: 7px; font-size: 15px; }
.bb-step .s { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.bb-step.hl { border-color: rgba(140, 203, 242, .4); background: linear-gradient(180deg, rgba(140, 203, 242, .1), var(--panel)); }
.bb-arr { align-self: center; color: var(--go); font: 700 16px var(--mono); }

/* check it yourself, good to know */
.verify { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 14px; }
.vcard { position: relative; display: block; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); transition: border-color .15s, background .15s, transform .15s; min-width: 0; }
.vcard:hover { border-color: var(--line-3); background: var(--panel-2); transform: translateY(-1px); }
.vi { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-bg); margin-bottom: 12px; }
.vi svg { width: 19px; height: 19px; stroke: var(--go); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.vcard b { display: block; font-size: 15px; }
.doc .vcard p { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 6px 0 0; }
.go-arr { position: absolute; top: 18px; right: 18px; color: var(--muted); font: 600 15px var(--mono); transition: transform .15s, color .15s; }
.vcard:hover .go-arr { color: var(--go); transform: translateX(3px); }
.gtk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.gtk > div { padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid var(--steel); border-radius: 10px; background: var(--panel); min-width: 0; }
.gtk b { display: block; font-size: 14px; }
.doc .gtk p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 6px 0 0; }

@container (max-width: 760px) {
  .doc .steps { grid-template-columns: 1fr 1fr; }
  .hcauses, .facts3, .verify { grid-template-columns: 1fr; }
  .doc .claimsteps { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .claimsteps::before { display: none; }
}
@container (max-width: 640px) {
  .pipe { grid-template-columns: 1fr; gap: 16px; }
  .pipe::before { left: 28px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; background: linear-gradient(180deg, var(--line-3), var(--steel) 65%, var(--go)); }
  .pipe-pulse { left: 24px; animation-name: pipe-y; }
  .stop { display: flex; gap: 16px; align-items: flex-start; text-align: left; }
  .stop .ico { flex: none; margin: 0; }
  .doc .stop p { margin: 4px 0 8px; }
  .approvals { grid-template-columns: 1fr; }
  .approvals > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .approvals > div:last-child { border-bottom: 0; }
  .fork-out { grid-template-columns: 1fr; gap: 12px; padding-top: 24px; }
  .fork-out::after { display: none; }
  .bb { flex-direction: column; }
  .bb-arr { transform: rotate(90deg); }
  .gtk { grid-template-columns: 1fr; }
}
@container (max-width: 460px) {
  .doc .steps, .doc .claimsteps { grid-template-columns: 1fr; }
}
.kvs { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 4px 18px; }
details { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); margin-bottom: 8px; }
summary { padding: 14px 16px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font: 600 16px var(--mono); color: var(--muted); }
details[open] summary::after { content: '−'; }
details p { padding: 0 16px 14px; margin: 0; }

/* ---------------------------------------------------------------- wallet picker */
dialog.wd { border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); color: var(--text); padding: 22px; width: min(360px, calc(100vw - 32px)); }
dialog.wd::backdrop { background: rgba(2, 6, 12, .7); backdrop-filter: blur(3px); }
dialog.wd h3 { font-size: 18px; margin-bottom: 14px; }
dialog.wd .btn.w { width: 100%; justify-content: flex-start; margin-bottom: 8px; height: 48px; }
dialog.wd .btn.w img { width: 26px; height: 26px; border-radius: 7px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .market { grid-template-columns: minmax(0, 1fr); }
  .market-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coin-grid, .launch, .claimwrap { grid-template-columns: minmax(0, 1fr); }
  .ticket { position: static; }
  .hero, .howhero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1060px) {
  :root { --rail: 72px; }
  .rail { padding: 18px 10px; align-items: center; }
  .rail .wm, .railnav a span, .launchbtn span, .railfoot .pin, .raillinks, .mkt span:last-child { display: none; }
  .brand { padding: 0; }
  .launchbtn { width: 46px; height: 46px; padding: 0; }
  .railnav a { justify-content: center; padding: 12px; }
  .mkt { padding: 12px; display: block; }
  .mkt b { display: none; }
}
@media (max-width: 760px) {
  :root { --rail: 264px; }
  .rail { transform: translateX(-100%); transition: transform .22s ease; align-items: stretch; padding: 20px 14px 16px; box-shadow: 20px 0 50px rgba(0, 0, 0, .5); }
  .rail .wm, .railnav a span, .launchbtn span, .railfoot .pin, .raillinks, .mkt span:last-child, .mkt b { display: initial; }
  .railnav a { justify-content: flex-start; }
  .launchbtn { width: 100%; height: 40px; padding: 0 16px; }
  .mkt { display: grid; }
  body.nav-open .rail { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(2, 6, 12, .6); }
  .app { margin-left: 0; }
  .topbar { padding: 0 16px; gap: 10px; }
  .topbar .menu { display: inline-grid; }
  .topbar .brand.mob { display: flex; padding: 0; }
  .topbar .brand.mob .wm { font-size: 15px; }
  .tsearch { display: none; }
  .btn.wallet { height: 36px; padding: 0 12px; font-size: 12.5px; }
  .page { padding: 18px 16px 48px; }
  .foot { padding: 20px 16px 28px; }
  .foot .in { grid-template-columns: 1fr; gap: 12px; }
  .hero { padding: 24px 18px 20px; border-radius: 14px; }
  .hero-index { grid-template-columns: 1fr 1fr; }
  .idx { padding: 13px; }
  .idx b { font-size: 20px; }
  .market-side { grid-template-columns: minmax(0, 1fr); }
  .tools .tq { width: 100%; margin-left: 0; }
  .tools .seg { max-width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tools .seg button { flex: none; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pstep:nth-child(2) { border-right: 0; }
  .pstep:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .pstep::after { display: none; }
  .coinhead { grid-template-columns: auto minmax(0, 1fr); }
  .ch-price { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .ch-links { justify-content: flex-start; margin: 0; }
  .ci.xl { width: 58px; height: 58px; border-radius: 13px; }
  .statline { grid-template-columns: 1fr 1fr; }
  .statline > div { border-bottom: 1px solid var(--line); }
  .statline > div:nth-child(2n) { border-right: 0; }
  .statline b { font-size: 18px; }
  .chartbox { height: 300px; }
  .coinrow { grid-template-columns: 1fr; }
  .drop { height: 130px; width: 130px; }
  .two { grid-template-columns: 1fr; }
  .lbig { grid-template-columns: 1fr; }
  .lbig > img { width: 96px; height: 96px; }
  .duo { grid-template-columns: 1fr; }
  .howwrap { grid-template-columns: 1fr; }
  .toc { display: none; }
  .howhero { padding: 24px 18px 20px; border-radius: 14px; gap: 20px; margin-bottom: 22px; }
  .howhero > .howhero-mark { width: 260px; right: -70px; top: -40px; }
  .hf { padding: 12px 13px; }
  .hf b { font-size: 20px; }
  .phead { padding-bottom: 16px; margin-bottom: 16px; }
  td, th { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tape-track, .hero-chart .ln, .hero-chart .area, .hero-chart .nd, .livedot::before, .mkt.open .dot, .sk { animation: none !important; }
  .pipe-pulse { display: none; }
  .hero-chart .ln { stroke-dashoffset: 0; }
  .hero-chart .area, .hero-chart .nd { opacity: 1; }
}
.route.wallet .rpic { background: var(--blue-bg); color: var(--soft); }
.route.wallet .rname .mono { font-size: .95em; }
.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1060px) { .trio { grid-template-columns: 1fr; } }
.cause .big .pic.wallet { background: var(--blue-bg); color: var(--soft); }

/* the pairing picker on the launch page (owner 10-27: "pair it with whatever they want", SOL by default) */
.pairbtn { display: flex; align-items: center; gap: 10px; width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; text-align: left; }
.pairbtn:hover, .pairbtn[aria-expanded="true"] { border-color: var(--steel); }
.pairbtn > svg { width: 16px; height: 16px; margin-left: 8px; stroke: var(--muted); fill: none; stroke-width: 2; flex: none; }
.pairbtn .muted { margin-left: auto; white-space: nowrap; }
.pv, .popt { display: flex; align-items: center; gap: 9px; min-width: 0; }
.pv img, .popt img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; background: var(--raise); }
.pv .tok, .popt .tok { width: 24px; height: 24px; font-size: 8.5px; }
.pv b, .popt b { font: 700 13.5px var(--mono); white-space: nowrap; }
.pv .muted, .popt .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pairpick { margin-top: 8px; padding: 10px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2); }
.popts { display: grid; gap: 2px; max-height: 300px; overflow-y: auto; margin-top: 8px; }
.popt { width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; cursor: pointer; text-align: left; }
.popt:hover { background: var(--raise); }
.popt.on { background: var(--blue-bg); box-shadow: 0 0 0 1px rgba(140, 203, 242, .4) inset; }
.popt .tag { margin-left: auto; flex: none; }
.popts .none { padding: 14px; text-align: center; color: var(--muted); font-size: 13px; }
