/* ==========================================================================
   TREND — layout & components
   ========================================================================== */

/* ==========================================================================
   App shell — sidebar + content
   ========================================================================== */

.shell {
  display: grid;
  grid-template-columns: var(--side-w) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px 14px;
  background: var(--panel);
  border-right: var(--border) solid var(--line);

  /*
   * The sidebar holds more than fits on a short window. Two things keep it
   * usable rather than clipped:
   *
   * 1. It scrolls. `overflow-y: auto` on a flex column lets the content be
   *    reached at any height. `overscroll-behavior: contain` stops the scroll
   *    from chaining out to the page behind it.
   *
   * 2. The flexible spacers shrink first. `min-height: 0` on the blocks below
   *    is what allows that — without it a flex item refuses to go under its
   *    content size, and the overflow happens anyway.
   */
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar > * { min-height: 0; flex-shrink: 0; }

.side-top { padding: 2px 6px 14px; }

.side-head { display: flex; align-items: center; gap: 8px; }

.logo { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.logo-text { display: block; min-width: 0; }
/* The mark's own setting: a white glyph on a black tile, in both themes. The
   tile is the one surface on the site that does NOT follow the theme — it is
   the logo, and the logo is black. */
.logo-mark {
  width: 38px; height: 38px;
  flex: none;
  display: grid; place-items: center;
  background: #000000;
  border: var(--border) solid color-mix(in srgb, var(--ink) 18%, transparent);
  border-radius: 12px;
  box-shadow: none;
  color: #ffffff;
}
[data-theme="dark"] .logo-mark { box-shadow: none; }
/* Proportional, not a fixed width: the tile is 38px in the full sidebar, 34px
   at the 1300 breakpoint and 30px on mobile, and a fixed 21px glyph would leave
   the mark touching the tile edge at the smallest of those. */
.logo-mark svg { width: 55%; height: auto; }
.logo-word {
  font-family: var(--font-px);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
}
.logo-tag {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .02em;
}

.side-nav { display: flex; flex-direction: column; gap: 4px; }

.side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: var(--border) solid transparent;
  border-radius: 13px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 650;
  transition: background .15s, color .15s, box-shadow .15s;
}
.side-link:hover { background: var(--panel-2); color: var(--ink); }
.side-link.on {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-text);
  box-shadow: none;
}
.side-link .ic { flex: none; }
.side-link .side-ext { margin-left: auto; opacity: .6; }
.side-link.small { padding: 8px 12px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.side-link.small:hover { color: var(--ink); }
.side-link .side-badge {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--mono);
  color: var(--local-ink);
  background: var(--local-soft);
  border: var(--border) solid color-mix(in srgb, var(--local) 35%, transparent);
  border-radius: 6px;
  padding: 1px 6px;
}

.side-cta { margin: 10px 0 4px; }

.side-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: auto 6px 8px;
  flex: 0 1 auto;
  padding: 10px;
  background: var(--panel-2);
  border: var(--border) dashed var(--line-2);
  border-radius: 14px;
}
.side-note p { font-size: 12.5px; font-weight: 600; color: var(--muted); line-height: 1.35; }

.side-ca { margin: auto 6px 8px; flex: 0 1 auto; }
.side-ca-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: var(--panel-2);
  border: var(--border) solid var(--line);
  border-radius: 13px;
}
.side-ca-label { font-size: 10.5px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.side-ca-addr { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }

.side-bottom {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  border-top: var(--border) solid var(--line);
}
.side-theme {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.side-theme > .row { margin-left: auto; }

/* Toggle switch. */
.toggle {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  background: var(--panel-2);
  border: var(--border) solid var(--line-2);
  border-radius: 10px;
}
.toggle button {
  width: 30px; height: 24px;
  border-radius: 7px;
  display: grid; place-items: center;
  color: var(--faint);
  transition: background .15s, color .15s;
}
.toggle button.on { background: var(--panel); color: var(--accent-text); box-shadow: none; }

/* ==========================================================================
   Content area + topbar
   ========================================================================== */

.content {
  flex: 1;
  min-width: 0;
  padding: 18px 22px 40px;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  height: var(--top-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 22px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: var(--border) solid var(--line);
}
.topbar-logo { display: none; }
.topbar .wallet-btn { margin-left: auto; }

/* The $TREND contract address, beside the search. Sits with the search rather
   than with the wallet button because it is a thing you COPY, and the copy
   button is the point — a CA you can read but not copy is a CA you retype. */
.top-ca {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 5px 0 10px;
  background: var(--panel-2);
  border: var(--border) solid var(--line-2);
  border-radius: 10px;
  flex: none;
  min-width: 0;
}
.top-ca-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--muted);
}
.top-ca-addr {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.top-ca-pending {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--faint);
  white-space: nowrap;
}
.top-ca-copy {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 7px;
  color: var(--muted);
  transition: background .15s, color .15s;
  flex: none;
}
.top-ca-copy:hover { background: var(--panel-3); color: var(--ink); }

/* Below the width where the search still has room, the CA moves out of the top
   bar rather than squeezing the search. It is still in the sidebar. */
@media (max-width: 900px) {
  .top-ca { display: none; }
}

.wallet-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: 12px;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: none;
  transition: transform 80ms, background .15s;
  white-space: nowrap;
}
.wallet-btn:hover { background: var(--accent-hover); }
/* While the wallet prompt is open. A control that does nothing for two seconds
   reads as broken, so it says what it is doing. */
.wallet-btn.busy { cursor: progress; }
.wallet-btn.busy svg { animation: spin 1.1s linear infinite; }
.wallet-btn:active { transform: none; box-shadow: none; }
.wallet-btn.on { background: var(--panel); color: var(--ink); border: var(--border) solid var(--line-2); box-shadow: none; }

/* ==========================================================================
   Stats strip
   ========================================================================== */

.statgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.stat {
  background: var(--panel);
  border: var(--border) solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: none;
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.stat-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat-value {
  font-family: var(--font-px);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
}
.stat-sub { font-size: 11px; color: var(--faint); }

/* ==========================================================================
   Hero banner — the "crypto in, local out" strip
   ========================================================================== */

.banner {
  position: relative;
  overflow: hidden;
  border: var(--border) solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  margin-bottom: 16px;
  /* Monochrome sheen: two off-centre pools of the ink, so the strip has light
     falling across it without a second hue. `--ink` flips with the theme, so
     this reads as a bloom on black and as a soft wash on paper. */
  background:
    radial-gradient(120% 170% at 6% 0%, color-mix(in srgb, var(--ink) 10%, transparent) 0%, transparent 58%),
    radial-gradient(130% 190% at 96% 108%, color-mix(in srgb, var(--ink) 6%, transparent) 0%, transparent 62%),
    linear-gradient(100deg, var(--panel-2) 0%, var(--panel) 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
}
/* A hairline dot field over the strip. It is the one texture on the site, and
   it is here because a monochrome palette with no hue has nothing else to
   suggest depth in a large empty area — the dots give the eye a scale. It is
   absolutely positioned, so it is not a grid item and the two columns are
   unaffected. */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 13%, transparent) 1px, transparent 1px);
  background-size: 15px 15px;
  opacity: .55;
  pointer-events: none;
  mask-image: linear-gradient(100deg, #000 0%, transparent 62%);
  -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 62%);
}
.banner-main { min-width: 0; position: relative; }
.banner-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: .85;
}
.banner-headline {
  font-family: var(--font-px);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  margin-top: 6px;
  letter-spacing: .005em;
}
.banner-sub { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-top: 6px; max-width: 46ch; }
.banner-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  min-width: 0;
  /* Both columns are positioned so they paint above the dot field: a positioned
     ::before would otherwise cover non-positioned grid children. */
  position: relative;
}
.banner-badges { display: flex; flex-wrap: wrap; gap: 7px; }

/* The flow strip: SOL in → TREND → local currencies out. */
.flowstrip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 13px;
  background: color-mix(in srgb, var(--panel) 80%, transparent);
  border: var(--border) solid var(--line-2);
  border-radius: 13px;
  box-shadow: none;
  flex-wrap: wrap;
}
.flow-node {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 10px;
  background: var(--panel);
  border: var(--border) solid var(--line-2);
  border-radius: 10px;
  min-width: 0;
}
.flow-node .fn-k { font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.flow-node .fn-v { font-family: var(--font-px); font-size: 15px; font-weight: 700; line-height: 1; }
.flow-arrow { color: var(--faint); flex: none; }

/* ==========================================================================
   Home three-column grid
   ========================================================================== */

.home-cols {
  display: grid;
  /* The first column has to hold a rank badge, an avatar, a truncated name, a
     ticker and a right-aligned figure. Below ~340px the name has nothing left
     and every row reads "Man…" — see .lrow-name. */
  grid-template-columns: minmax(260px, 350px) minmax(400px, 1fr) minmax(270px, 340px);
  gap: 16px;
  align-items: start;
  min-height: 0;
}
.home-cols > .col { min-width: 0; }
.col-scroll { overflow-y: auto; max-height: 720px; }

/* ==========================================================================
   Coin avatar (image, or a generated monogram)
   ========================================================================== */

.av {
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--panel-2);
  border: var(--border) solid var(--line);
  overflow: hidden;
  font-family: var(--font-px);
  font-weight: 700;
  color: var(--ink-2);
}
.av img { width: 100%; height: 100%; object-fit: cover; }
.av-xs { width: 24px; height: 24px; border-radius: 7px; font-size: 11px; }
.av-sm { width: 34px; height: 34px; border-radius: 9px; font-size: 14px; }
.av-md { width: 44px; height: 44px; border-radius: 11px; font-size: 18px; }
.av-lg { width: 60px; height: 60px; border-radius: 13px; font-size: 24px; }
.av-xl { width: 92px; height: 92px; border-radius: 17px; font-size: 38px; }

/* Rank badge used in leaderboards. */
.rank {
  width: 24px; height: 24px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 8px;
  font-family: var(--font-px);
  font-size: 13px;
  font-weight: 700;
  background: var(--panel-2);
  border: var(--border) solid var(--line-2);
  color: var(--muted);
}
.rank-1 { background: var(--tone-amber); border-color: color-mix(in srgb, var(--sun) 60%, transparent); color: var(--sun-ink); }
.rank-2 { background: var(--silver); border-color: var(--line-2); color: var(--silver-ink); }
.rank-3 { background: var(--bronze); border-color: color-mix(in srgb, var(--bronze-ink) 45%, transparent); color: var(--bronze-ink); }

/* ==========================================================================
   Leaderboard rows
   ========================================================================== */

.lrow {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: var(--border) dashed var(--line-2);
  transition: background .15s;
}
.lrow:last-child { border-bottom: none; }
.lrow:hover { background: var(--panel-2); }
.lrow-main { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
/* The name truncates and the ticker keeps its width. Without this a long name
   wraps to three lines, the row grows, and the board looks ragged next to its
   neighbours — which is exactly what "Manila Coffee Guild" did. */
.lrow-name { font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 6px; min-width: 0; }
.lrow-name > .faint { flex: none; }
.lrow-sub { font-size: 11px; color: var(--muted); }
.lrow-val { text-align: right; font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.lrow-val small { display: block; font-size: 10.5px; font-weight: 600; color: var(--faint); }

/* ==========================================================================
   Feed
   ========================================================================== */

.feed-list { display: grid; gap: 14px; padding: 16px; }

.feed-card {
  border: var(--border) solid var(--line);
  border-radius: 15px;
  background: var(--panel-2);
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s, transform .12s;
}
.feed-card:hover { border-color: var(--line-2); transform: translateY(-1px); }

.feed-head { display: flex; align-items: center; gap: 9px; min-width: 0; }
.feed-who { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.feed-name { font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.feed-handle { font-size: 11.5px; color: var(--muted); font-family: var(--mono); }
.feed-meta { margin-left: auto; display: flex; align-items: center; gap: 7px; flex: none; }

.feed-body { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); overflow-wrap: anywhere; }

/* A payout / launch receipt attached to a post. */
.trade {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  background: var(--panel);
  border: var(--border) solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}
.trade-tok { min-width: 0; }
.trade-name { font-weight: 700; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.trade-line { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.trade-right { text-align: right; flex: none; }
.trade-usd { font-family: var(--font-px); font-size: 16px; font-weight: 700; line-height: 1.1; }
.trade-kind {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 6px;
  border: var(--border) solid transparent;
}
.kind-launch { background: var(--tone-violet); color: var(--accent-text); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.kind-payout { background: var(--tone-teal); color: var(--local-ink); border-color: color-mix(in srgb, var(--local) 35%, transparent); }
.kind-fee { background: var(--tone-mint); color: var(--up); border-color: color-mix(in srgb, var(--up) 30%, transparent); }
.kind-recipient { background: var(--tone-amber); color: var(--sun-ink); border-color: color-mix(in srgb, var(--sun) 50%, transparent); }
.kind-note { background: var(--accent-soft); color: var(--accent-text); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.kind-pending { background: var(--panel-3); color: var(--muted); border-color: var(--line-2); }
.kind-paid { background: var(--up-soft); color: var(--up); border-color: color-mix(in srgb, var(--up) 40%, transparent); }

.feed-more { padding: 0 16px 16px; }

/* ==========================================================================
   Coin / token rows
   ========================================================================== */

.trow {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: var(--border) dashed var(--line-2);
  transition: background .15s;
}
.trow:last-child { border-bottom: none; }
.trow:hover { background: var(--panel-2); }
.trow-main { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.trow-name { font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 6px; min-width: 0; }
.trow-name > .faint { flex: none; }
.trow-sub { font-size: 11px; color: var(--muted); }
.trow-right { text-align: right; flex: none; }
.trow-mcap { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.trow-chg { font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Tables
   ========================================================================== */

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 760px; }
.table thead th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  border-bottom: var(--border) solid var(--line);
  white-space: nowrap;
  background: var(--panel-2);
}
.table tbody td {
  padding: 11px 14px;
  border-bottom: var(--border) dashed var(--line-2);
  font-size: 13px;
  vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--panel-2); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .cell-who { display: flex; align-items: center; gap: 9px; min-width: 0; }
.table .cell-who .cw-main { min-width: 0; display: flex; flex-direction: column; }
.table .cell-who .cw-name { font-weight: 700; font-size: 13.5px; }
.table .cell-who .cw-sub { font-size: 11px; color: var(--muted); }

/* ==========================================================================
   Filter bar
   ========================================================================== */

.filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.filter-group { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.filter-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
}
.filter-row .spacer { flex: 1; }

/* ==========================================================================
   Detail page furniture
   ========================================================================== */

.back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 12px;
}
.back:hover { color: var(--ink); }

.scene {
  position: relative;
  overflow: hidden;
  border: var(--border) solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  background:
    radial-gradient(90% 120% at 50% 118%, color-mix(in srgb, var(--ink) 9%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  display: grid;
  place-items: center;
  padding: 30px 20px;
  min-height: 190px;
}
.scene-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 7px; flex-wrap: wrap; }
.scene-right { position: absolute; top: 12px; right: 12px; display: flex; gap: 7px; }

.idcard {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: -46px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.idcard-avatar {
  flex: none;
  padding: 6px;
  background: var(--panel);
  border: var(--border) solid var(--line);
  border-radius: 20px;
  box-shadow: none;
}
.idcard-main { min-width: 0; flex: 1; padding-top: 46px; }
.idcard-name {
  font-family: var(--font-px);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.05;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.idcard-handle { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-top: 2px; }
.idcard-actions { display: flex; gap: 8px; padding-top: 46px; flex-wrap: wrap; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 18px;
  margin-top: 18px;
}

/* Chart. */
.chart { position: relative; width: 100%; height: 200px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-empty { height: 200px; display: grid; place-items: center; color: var(--muted); font-size: 13px; }

/* Fee-split bar. */
.split-bar {
  display: flex;
  height: 14px;
  border-radius: 99px;
  overflow: hidden;
  border: var(--border) solid var(--line);
  background: var(--panel-2);
}
.split-bar span { display: block; height: 100%; }
.split-legend { display: grid; gap: 0; margin-top: 12px; }
.split-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: var(--border) dashed var(--line-2);
}
.split-row:last-child { border-bottom: none; }
.split-role { font-weight: 650; font-size: 13px; }
.split-addr { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.split-pct { font-family: var(--font-px); font-size: 17px; font-weight: 700; }

/* ==========================================================================
   Recipients (TREND)
   ========================================================================== */

.rcpt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.rcpt {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 13px;
  background: var(--panel-2);
  border: var(--border) solid var(--line);
  border-radius: 14px;
  transition: border-color .15s, transform .12s;
}
.rcpt:hover { border-color: var(--line-2); transform: translateY(-1px); }
.rcpt-head { display: flex; align-items: center; gap: 9px; min-width: 0; }
.rcpt-name { font-weight: 700; font-size: 13.5px; min-width: 0; }
.rcpt-sub { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.rcpt-share { font-family: var(--font-px); font-size: 19px; font-weight: 700; }
.rcpt-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.rcpt-row .rk { color: var(--muted); }
.rcpt-row .rv { font-weight: 700; font-variant-numeric: tabular-nums; }

/* The recipient builder in the launch wizard. */
.rb-list { display: grid; gap: 9px; }
.rb-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px 108px auto;
  gap: 8px;
  align-items: end;
  padding: 11px;
  background: var(--panel-2);
  border: var(--border) solid var(--line);
  border-radius: 13px;
}
.rb-share { font-family: var(--mono); text-align: right; }
.rb-del { align-self: center; }
.rb-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: var(--border) dashed var(--line-2);
  margin-top: 10px;
}
.rb-total { margin-left: auto; font-family: var(--font-px); font-size: 17px; font-weight: 700; }
.rb-total.bad { color: var(--down); }
.rb-total.good { color: var(--local-ink); }

/* ==========================================================================
   Payout ledger (TREND)
   ========================================================================== */

.payrow {
  display: grid;
  grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: var(--border) dashed var(--line-2);
  transition: background .15s;
}
.payrow:last-child { border-bottom: none; }
.payrow:hover { background: var(--panel-2); }
.payrow-main { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.payrow-who { font-weight: 700; font-size: 13.5px; display: flex; align-items: center; gap: 6px; min-width: 0; }
.payrow-sub { font-size: 11px; color: var(--muted); }
.payrow-conv { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.payrow-amt { text-align: right; font-variant-numeric: tabular-nums; }
.payrow-local { font-family: var(--font-px); font-size: 17px; font-weight: 700; line-height: 1.1; }
.payrow-sol { font-size: 11px; color: var(--faint); }

/* Currency catalogue grid. */
/* Five per row — twenty currencies make four even rows. Steps down on narrower
   screens so a card never gets too tight for "Rp2,155,412". */
.ccy-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 1100px) { .ccy-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px)  { .ccy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .ccy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ccy-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: var(--panel-2);
  border: var(--border) solid var(--line);
  border-radius: 13px;
  transition: border-color .15s, transform .12s;
}
.ccy-card:hover { border-color: color-mix(in srgb, var(--local) 45%, transparent); transform: translateY(-2px); }
.ccy-code { font-family: var(--font-px); font-size: 21px; font-weight: 700; line-height: 1; }
.ccy-name { font-size: 11.5px; color: var(--muted); }
.ccy-rate { font-size: 11px; font-family: var(--mono); color: var(--faint); }

/* The price of one SOL (or one $TREND) in this currency. The headline number on
   the card, so it sits above the USD rate rather than replacing it — the rate
   is the conversion the ledger uses, and it is worth keeping visible. */
.ccy-price {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 8px;
  margin-top: 2px;
  background: var(--panel);
  border: var(--border) solid var(--line);
  border-radius: 9px;
  min-width: 0;
}
.ccy-price-k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--muted);
  text-transform: uppercase;
}
.ccy-price-v {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The line above the grid saying which asset it is priced against. Rendered
   once per asset and toggled, so the sentence and the numbers cannot disagree. */
.asset-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 11px;
  margin-bottom: 12px;
  background: var(--panel-2);
  border: var(--border) dashed var(--line-2);
  border-radius: 11px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
.asset-note svg { flex: none; margin-top: 2px; color: var(--faint); }
.asset-note b { color: var(--ink); }
.asset-note .asset-sym { text-transform: uppercase; }

/* ==========================================================================
   Launch wizard
   ========================================================================== */

.launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 18px;
  align-items: start;
}

.steps { display: grid; gap: 14px; }
.step {
  background: var(--panel);
  border: var(--border) solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  overflow: hidden;
}
.step__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: var(--border) solid var(--line);
}
.step__num {
  width: 34px; height: 34px;
  flex: none;
  display: grid; place-items: center;
  background: var(--panel-3);
  border: var(--border) solid var(--line-2);
  border-radius: 11px;
  font-family: var(--font-px);
  font-size: 17px;
  font-weight: 700;
  color: var(--muted);
}
.step.is-active .step__num {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-text);
  box-shadow: none;
}
.step.is-done .step__num {
  background: var(--local-soft);
  border-color: var(--local);
  color: var(--local-ink);
  box-shadow: none;
}
.step__title { font-family: var(--font-px); font-size: 17px; font-weight: 700; }
.step__sub { font-size: 11.5px; color: var(--muted); }
.step__head > div { min-width: 0; }
.step__body { padding: 16px; }

.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field--full { grid-column: 1 / -1; }

/* Upload dropzone. */
.upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 26px 16px;
  text-align: center;
  background: var(--panel-2);
  border: var(--border) dashed var(--line-2);
  border-radius: 15px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.upload:hover { background: var(--panel-3); border-color: var(--accent); }
.upload.has-img { border-style: solid; border-color: var(--local); background: var(--local-soft); }
.upload__ic {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--panel);
  border: var(--border) solid var(--line-2);
  border-radius: 12px;
  color: var(--muted);
  box-shadow: none;
}
.upload__t { font-weight: 700; font-size: 13.5px; }
.upload__d { font-size: 11.5px; color: var(--muted); }

/* Preview card. */
.preview { display: grid; gap: 14px; position: sticky; top: calc(var(--top-h) + 14px); }
.pcard {
  background: var(--panel);
  border: var(--border) solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  overflow: hidden;
}
.pcard__h {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: var(--border) solid var(--line);
  font-family: var(--font-px);
  font-size: 16px;
  font-weight: 700;
}
.pcard__b { padding: 14px; display: grid; gap: 4px; }
.pcoin { display: flex; align-items: center; gap: 11px; min-width: 0; }
.pcoin__n { font-family: var(--font-px); font-size: 20px; font-weight: 700; line-height: 1.1; }
.pcoin__t { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.prow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: var(--border) dashed var(--line-2);
  font-size: 12.5px;
}
.prow:last-child { border-bottom: none; }
.prow__k { color: var(--muted); min-width: 0; }
.prow__v { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; flex: none; }
.prow__v.mono { font-family: var(--mono); font-size: 11.5px; }
.prow__v.primary { color: var(--accent-text); }
.prow__v.local { color: var(--local-ink); }

.psplit { display: flex; height: 10px; border-radius: 99px; overflow: hidden; border: var(--border) solid var(--line); margin: 8px 0; }
.psplit i { display: block; height: 100%; }

.launchbar { display: grid; gap: 11px; }

/* Launch progress / result panel. */
.launchstep {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  background: var(--accent-soft);
  border: var(--border) solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-text);
}
.launchstep--ok {
  display: block;
  background: var(--local-soft);
  border-color: color-mix(in srgb, var(--local) 40%, transparent);
  color: var(--ink);
}
.launchstep--err {
  display: block;
  background: var(--down-soft);
  border-color: color-mix(in srgb, var(--down) 45%, transparent);
  color: var(--down);
}
.launchstep__t { font-family: var(--font-px); font-size: 17px; font-weight: 700; }
.launchstep__d { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.launchstep__rows { display: grid; gap: 6px; margin-top: 10px; }
.launchstep__r {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  padding: 7px 9px;
  background: var(--panel);
  border: var(--border) solid var(--line);
  border-radius: 9px;
}
.launchstep__r span { color: var(--muted); flex: none; }
.launchstep__r code, .launchstep__r a { font-family: var(--mono); font-size: 11.5px; color: var(--accent-text); overflow: hidden; text-overflow: ellipsis; }
.launchstep__acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 11px; }
.launchstep__warn { font-size: 11.5px; color: var(--sun-ink); margin-top: 9px; }

/* Fee note box. */
.feenote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  padding: 13px;
  background: var(--panel-2);
  border: var(--border) solid var(--line);
  border-radius: 13px;
  margin-top: 16px;
}
.feenote__ic {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--local-soft);
  border: var(--border) solid color-mix(in srgb, var(--local) 40%, transparent);
  border-radius: 9px;
  color: var(--local-ink);
}
.feenote__k { font-weight: 700; font-size: 12.5px; }
.feenote__a { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); margin: 2px 0 4px; overflow-wrap: anywhere; }
.feenote__d { font-size: 11.5px; color: var(--muted); line-height: 1.45; }

/* ==========================================================================
   How it works — numbered steps
   ========================================================================== */

.rules { display: grid; gap: 10px; }
.rule {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 11px 12px;
  background: var(--panel-2);
  border: var(--border) solid var(--line);
  border-radius: 13px;
}
.rule-title { font-weight: 700; font-size: 13px; }
.rule-body { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.howcard {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 15px;
  background: var(--panel-2);
  border: var(--border) solid var(--line);
  border-radius: 14px;
}
.howcard__n {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  border: var(--border) solid var(--accent);
  border-radius: 11px;
  box-shadow: none;
  font-family: var(--font-px);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-text);
}
.howcard__t { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 7px; }
.howcard__d { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ==========================================================================
   404
   ========================================================================== */

.center-page {
  display: grid;
  place-items: center;
  min-height: 60vh;
  text-align: center;
  padding: 40px 20px;
}
.center-page .cp-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 480px; }

/* ==========================================================================
   Timeline (activity)
   ========================================================================== */

.tl { position: relative; padding-left: 26px; }
.tl::before {
  content: "";
  position: absolute;
  left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line-2);
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 14px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -22px; top: 8px;
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--panel);
  border: var(--border) solid var(--line-2);
}
.tl-item.k-launch::before { background: var(--accent); border-color: var(--accent); }
.tl-item.k-payout::before { background: var(--local); border-color: var(--local); }
.tl-item.k-fee::before { background: var(--up); border-color: var(--up); }
.tl-item.k-recipient::before { background: var(--sun); border-color: var(--sun); }
.tl-n {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 5px;
  flex-wrap: wrap;
}
.tl-card {
  padding: 11px 13px;
  background: var(--panel);
  border: var(--border) solid var(--line);
  border-radius: 13px;
  box-shadow: none;
}

/* ==========================================================================
   Misc helpers
   ========================================================================== */

.statgrid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.statgrid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.statgrid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.statgrid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }

.mini-stat {
  padding: 12px 13px;
  background: var(--panel-2);
  border: var(--border) solid var(--line);
  border-radius: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.mini-label { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.mini-value { font-family: var(--font-px); font-size: 21px; font-weight: 700; line-height: 1.1; }
.mini-sub { font-size: 11px; color: var(--faint); }

.spacer { flex: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1500px) {
  .home-cols { grid-template-columns: minmax(240px, 340px) minmax(340px, 1fr) minmax(250px, 300px); }
}

@media (max-width: 1300px) {
  .statgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .launch-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 1150px) {
  .home-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .home-cols .col-feed { grid-column: 1 / -1; }
  .banner { grid-template-columns: minmax(0, 1fr); }
  .col-scroll { max-height: 520px; }
}

/*
 * Icon rail.
 *
 * The sidebar collapses to a 78px rail of icons in two situations:
 *   1. Automatically, below 980px.
 *   2. On request, at any width — `data-side="rail"` on <html>.
 *
 * The rules are written once against the attribute and shared; the media query
 * only contributes the `--side-w` override the attribute selector cannot express.
 */
html[data-side="rail"] { --side-w: 78px; }
html[data-side="rail"] .sidebar {
  align-items: center;
  padding: 14px 10px;
  overflow-x: hidden;
}
html[data-side="rail"] .side-top { padding: 2px 0 12px; }

html[data-side="rail"] .side-link span,
html[data-side="rail"] .logo-text,
html[data-side="rail"] .logo-word,
html[data-side="rail"] .logo-tag,
html[data-side="rail"] .side-cta span,
html[data-side="rail"] .side-note,
html[data-side="rail"] .side-ca,
html[data-side="rail"] .side-theme > .th-label,
html[data-side="rail"] .side-theme .th-label,
html[data-side="rail"] .side-badge { display: none !important; }

html[data-side="rail"] .side-link { justify-content: center; padding: 11px; }
html[data-side="rail"] .side-cta .btn { padding: 0 11px; }
html[data-side="rail"] .side-bottom { align-items: center; width: 100%; margin-top: auto; }

.side-collapse {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  padding: 0;
  border: var(--border) solid var(--line-2);
  border-radius: 10px;
  background: var(--panel-2);
  color: var(--muted);
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.side-collapse:hover { color: var(--ink); border-color: var(--accent); background: var(--accent-soft); }
.side-collapse .ic { transform: rotate(180deg); transition: transform .18s ease; }
html[data-side="rail"] .side-collapse .ic { transform: none; }

html[data-side="rail"] .side-head {
  flex-direction: column-reverse;
  align-items: center;
  gap: 6px;
  width: 100%;
}
html[data-side="rail"] .logo { flex: none; justify-content: center; }

html[data-side="rail"] .side-theme {
  padding: 6px 0;
  justify-content: center;
  width: 100%;
}
html[data-side="rail"] .side-theme .row { margin: 0; justify-content: center; }
html[data-side="rail"] .side-theme .toggle { margin: 0; padding: 2px; }
html[data-side="rail"] .side-theme .toggle button { width: 24px; height: 22px; }

@media (max-width: 980px) {
  :root { --side-w: 78px; }
  .sidebar {
    align-items: center;
    padding: 14px 10px;
    overflow-x: hidden;
  }
  .side-top { padding: 2px 0 12px; }
  .side-head { flex-direction: column-reverse; align-items: center; gap: 6px; width: 100%; }
  .logo { flex: none; justify-content: center; }

  .side-link span,
  .logo-text,
  .logo-word,
  .logo-tag,
  .side-cta span,
  .side-note,
  .side-ca,
  .side-theme > .th-label,
  .side-theme .th-label,
  .side-badge { display: none !important; }

  .side-link { justify-content: center; padding: 11px; }
  .side-cta .btn { padding: 0 11px; }
  .side-bottom { align-items: center; width: 100%; margin-top: auto; }

  .side-theme { padding: 6px 0; justify-content: center; width: 100%; }
  .side-theme .row { margin: 0; justify-content: center; }
  .side-theme .toggle { margin: 0; padding: 2px; }
  .side-theme .toggle button { width: 24px; height: 22px; }

  .side-collapse { display: none; }

  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .launch-grid { grid-template-columns: minmax(0, 1fr); }
  .preview { position: static; }
  .home-cols { grid-template-columns: minmax(0, 1fr); }
  .idcard-actions, .idcard-main { padding-top: 0; }
}

@media (max-width: 720px) {
  .content { padding: 14px 14px 32px; }
  .topbar { padding: 0 14px; }
  .topbar-logo { display: block; }
  .statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statgrid-3, .statgrid-4, .statgrid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .rb-item { grid-template-columns: minmax(0, 1fr); }
  .banner-headline { font-size: 24px; }
  .idcard-name { font-size: 28px; }
  .search kbd { display: none; }
  .hide-sm { display: none !important; }
  .payrow { grid-template-columns: auto minmax(0, 1fr) auto; }
  .payrow-conv { display: none; }
}

/* ==========================================================================
   Search results dropdown
   ========================================================================== */

.search-results {
  position: absolute;
  top: calc(var(--top-h) - 6px);
  left: 22px;
  width: min(460px, calc(100vw - 44px));
  max-height: 62vh;
  overflow-y: auto;
  z-index: 60;
  background: var(--panel);
  border: var(--border) solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: none;
}
.search-results .trow:last-child { border-bottom: none; }

@media (max-width: 720px) {
  .search-results { left: 14px; width: calc(100vw - 28px); }
}

/* ==========================================================================
   Short windows — keep the whole sidebar reachable
   ========================================================================== */

@media (max-height: 860px) {
  .sidebar { gap: 4px; padding: 12px 12px 12px; }
  .side-top { padding: 2px 6px 10px; }
  .side-link { padding: 9px 12px; font-size: 14.5px; }
  .side-link.small { padding: 7px 12px; font-size: 13px; }
  .side-cta { margin: 8px 0 3px; }
  .side-note { padding: 8px; margin-bottom: 6px; }
  .side-ca { margin-bottom: 6px; }
  .side-bottom { padding-top: 8px; }
  .side-theme { padding: 5px 6px 5px 12px; }
}

@media (max-height: 760px) {
  .side-note { display: none; }
  .side-top { padding-bottom: 8px; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-word { font-size: 22px; }
  .side-collapse { width: 26px; height: 26px; }
}

@media (max-height: 680px) {
  .sidebar { gap: 3px; padding: 10px 10px; }
  .side-link { padding: 7px 10px; font-size: 14px; border-radius: 11px; }
  .side-link.small { padding: 6px 10px; font-size: 12.5px; }
  .side-cta { margin: 6px 0 2px; }
  .side-ca-row { padding: 7px 9px; }
  .side-theme { padding: 4px 6px 4px 10px; font-size: 12.5px; }
  .toggle button { width: 27px; height: 21px; }
}

@media (max-height: 620px) {
  .side-nav { gap: 1px; }
  .side-link { padding: 6px 10px; font-size: 13.5px; }
  .side-link.small { padding: 5px 10px; font-size: 12px; }
  .side-link .ic { width: 16px; height: 16px; }
  .side-bottom { padding-top: 6px; }
  .side-theme { padding: 3px 6px 3px 10px; font-size: 12px; }
  .toggle { padding: 2px; }
  .toggle button { width: 25px; height: 20px; }
  .side-ca-row { padding: 6px 9px; }
}

@media (max-height: 580px) {
  .logo-tag { display: none; }
  .side-ca-label { display: none; }
  .side-top { padding: 0 4px 6px; }
  .logo-mark { width: 30px; height: 30px; }
  .logo-word { font-size: 20px; }
  .side-nav { gap: 2px; }
  .side-link { padding: 6px 9px; font-size: 13.5px; }
  .side-link .ic { width: 16px; height: 16px; }
}

@media (max-height: 480px) {
  .sidebar { padding: 8px 8px; gap: 2px; }
  .side-cta { margin: 4px 0 2px; }
  .side-theme { padding: 3px 4px 3px 8px; }
  .side-bottom { padding-top: 6px; gap: 0; }
}


/* ==========================================================================
   TREND — the X-launchpad shell, in black and white
   --------------------------------------------------------------------------
   The DNA of usepaid.app / usetagg.app (none of their pixels): a left sidebar
   of icon-and-label pills with a profile block at its foot, a slim top bar
   with a centred search and Launch / Connect pills, a centred hero, then
   bento cards labelled at the foot. Collapses to an icon rail, then to a
   bottom tab bar on phones — the way X itself does.
   ========================================================================== */

html, body { overflow-x: clip; }
body { background: var(--bg); }
.panel, .stat, .ccy-card, .step, .howcard, .btn, .chip, .wallet-btn, .search, .top-ca, .rb-item, .toast { box-shadow: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---- shell ---- */
.shell.pshell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
.pmain { min-width: 0; display: flex; flex-direction: column; }
.pshell .content { width: 100%; max-width: 1180px; margin: 0 auto; padding: 24px 28px 64px; }

.pside {
  position: sticky; top: 0; height: 100vh; z-index: 30;
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 14px 14px;
  background: var(--bg); border-right: 1px solid var(--line);
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
}
.pside::-webkit-scrollbar { display: none; }
.pside-logo { flex: none; display: flex; align-items: center; gap: 12px; padding: 2px 8px 18px; }
.pside-word { font-family: var(--font-px); font-weight: 600; font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.pside-nav { display: flex; flex-direction: column; gap: 2px; }
.pnav {
  display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 14px;
  border-radius: var(--pill); color: var(--muted);
  font-size: 15.5px; font-weight: 500; white-space: nowrap;
  transition: background .15s, color .15s;
}
.pnav:hover { background: var(--panel-2); color: var(--ink); }
.pnav.on { background: var(--panel-2); color: var(--ink); font-weight: 600; }
.pnav .ic { flex: none; }
.pside-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 14px; }
.pside-set { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 4px; }
.pside-me { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.pside-av { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); }
.pside-av .logo-glyph { width: 56%; height: 56%; }
.pside-who { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: 14px; }
.pside-who span { color: var(--muted); font-size: 12.5px; }
.pside-x { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.pside-x:hover { background: var(--panel-2); color: var(--ink); }

/* ---- top bar ---- */
.topbar.ptop { gap: 10px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.ptop-logo { display: none; flex: none; }
.ptop .search { flex: 0 1 420px; margin: 0 auto; height: 40px; border-radius: var(--pill); background: var(--panel-2); border: 1px solid transparent; }
.ptop .search:focus-within { border-color: var(--ink); background: var(--bg); }
.ptop-sp { display: none; }
.ptop .search-results { left: 50%; transform: translateX(-50%); }
.topbar.ptop .wallet-btn { margin-left: 0; }
.top-ca { height: 34px; border-radius: var(--pill); border: 1px solid var(--line-2); background: transparent; }
/* No $TREND mint yet: no CA chip rather than a placeholder. */
.top-ca:has(.top-ca-pending) { display: none; }
.cdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.cdot-g { background: var(--up); }
.cdot-r { background: var(--down); }
[data-candles="cn"] .cdot-g { background: var(--down); }
[data-candles="cn"] .cdot-r { background: var(--up); }

/* ---- pills ---- */
.ppill {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: none;
  height: 38px; padding: 0 18px; border-radius: var(--pill); border: 1px solid transparent;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.ppill-light { background: var(--accent); color: var(--on-accent); }
.ppill-light:hover { background: var(--accent-hover); }
.ppill-dark, .wallet-btn.ppill-dark { background: var(--panel-2); color: var(--ink); border-color: var(--line-2); }
.ppill-dark:hover, .wallet-btn.ppill-dark:hover { background: var(--panel-3); }
.wallet-btn.ppill { height: 38px; border-radius: var(--pill); padding: 0 18px; }
.ppill-lg { height: 48px; padding: 0 26px; font-size: 15.5px; }
.ppill-sm { height: 32px; padding: 0 14px; font-size: 13px; }

/* ---- the mark ---- */
.logo-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--ink); color: var(--bg); border: none; box-shadow: none; }
.logo-glyph {
  display: block; width: 66%; height: 66%; background: currentColor;
  -webkit-mask: url("../img/logo.svg") center / contain no-repeat;
  mask: url("../img/logo.svg") center / contain no-repeat;
}

/* ---- surfaces shared with the inner pages ---- */
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { border-bottom: 1px solid var(--line); }
.panel-head .ph-title, .title-px { font-family: var(--font-px); font-weight: 600; letter-spacing: -.01em; }
.btn { border-radius: var(--pill); font-weight: 600; }
.btn:active { transform: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; border: 1px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--panel-2); }
.chip { border-radius: var(--pill); }
.stat, .ccy-card, .howcard, .step, .pcard { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---- home: hero ---- */
.phero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 0 44px; }
.peyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.phero-t {
  margin-top: 18px; min-width: 0; overflow-wrap: anywhere;
  font-family: var(--font-px); font-weight: 600;
  font-size: clamp(36px, 6.2vw, 76px); line-height: 1.02; letter-spacing: -.04em;
}
.phero-s { margin-top: 20px; max-width: 62ch; font-size: 17px; line-height: 1.7; color: var(--muted); }
.pchip {
  display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; vertical-align: middle;
  border-radius: var(--pill); background: var(--panel-2); border: 1px solid var(--line-2);
  color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap;
}
.phero-acts { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---- home: bento ---- */
.pbento { display: grid; gap: 14px; margin-top: 14px; }
.pbento-2 { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.pbento-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hcard { display: flex; flex-direction: column; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.hcard-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.hcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.hcard-foot a { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.hcard-foot a:hover { color: var(--ink); }
.hcard-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.pk { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pk2 { font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.pk2 b { color: var(--ink); }
.pbig { font-family: var(--font-px); font-weight: 600; font-variant-numeric: tabular-nums; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.035em; overflow-wrap: anywhere; }
.pgrad { margin-top: 8px; height: 8px; border-radius: var(--pill); background: var(--panel-3); overflow: hidden; }
.pgrad span { display: block; height: 100%; border-radius: inherit; background: var(--ink); }

.ptiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ptile { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px; border-radius: 14px; background: var(--panel-2); transition: background .15s; }
.ptile:hover { background: var(--panel-3); }
.ptile .av { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; margin-bottom: 4px; }
.ptile-n { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptile-v { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }

.hrows { display: flex; flex-direction: column; }
.hrow { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.hrow:last-child { border-bottom: none; }
.hrow .av, .pwho .av, .proute-res .av { border-radius: 50%; }
.hrow-m { flex: 1; min-width: 0; color: var(--muted); overflow-wrap: anywhere; }
.hrow-m b { color: var(--ink); font-weight: 600; }
.hrow-t { flex: none; font-family: var(--mono); font-size: 12.5px; color: var(--muted); white-space: nowrap; }

.proute { margin-top: 8px; display: flex; align-items: center; gap: 6px; height: 48px; padding: 0 5px 0 16px; border-radius: var(--pill); background: var(--panel-2); border: 1px solid var(--line-2); }
.proute:focus-within { border-color: var(--ink); }
.proute-at { font-family: var(--mono); font-weight: 500; color: var(--muted); }
.proute input { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--ink); font-family: var(--mono); font-size: 15px; }
.proute-out { margin-top: 6px; }
.proute-res { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.proute-res b { color: var(--ink); }
.proute-sums { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.proute-sums b { font-family: var(--mono); font-weight: 500; color: var(--ink); }

.ptile.is-ghost { background: transparent; border: 1px dashed var(--line-2); }
.ptile.is-first { color: var(--muted); }
.ptile.is-first:hover { border-color: var(--ink); color: var(--ink); background: transparent; }
.pghost-img { display: grid; place-items: center; width: 100%; aspect-ratio: 1; margin-bottom: 4px; border-radius: 10px; background: var(--panel-2); color: inherit; }
.pghost-bar { display: block; width: 62%; height: 9px; border-radius: var(--pill); background: var(--panel-3); }
.pghost-av { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--panel-2); }
.hrow.is-ghost .pghost-bar { width: 55%; }
.hrow.is-ghost + .hrow.is-ghost .pghost-bar { width: 40%; }

/* ---- home: sections ---- */
.psec { margin-top: 44px; min-width: 0; }
.psec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.psec-h h2 { font-family: var(--font-px); font-size: 22px; font-weight: 600; letter-spacing: -.02em; min-width: 0; }
.psec-more { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.psec-more:hover { color: var(--ink); }

.psteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pstep { display: flex; flex-direction: column; gap: 8px; min-height: 180px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.pstep-n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.pstep b { margin-top: auto; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.pstep span:last-child { font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.pex { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; margin-top: 14px; }
.ppost { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.ppost-h { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.ppost-h > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.ppost-h i { font-style: normal; font-size: 13px; color: var(--muted); }
.pyou { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--panel-3); font-weight: 600; }
.pyou-mark { background: var(--ink); color: var(--bg); }
.pyou-mark .logo-glyph { width: 56%; height: 56%; }
.ppost p { margin-top: 12px; font-size: 15.5px; line-height: 1.5; overflow-wrap: anywhere; }
.ppost-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ppost-tags span { padding: 5px 9px; border-radius: var(--pill); border: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.pex-mid { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); }

.pcols { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: 14px 32px; margin-top: 44px; }
.pcols .psec { margin-top: 0; }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hcoin { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: border-color .15s; }
.hcoin:hover { border-color: var(--line-2); }
.hcoin-m, .pwho-m { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14.5px; }
.hcoin-m b, .pwho-m b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hcoin-m span, .pwho-m span { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.hcoin-v, .pwho-v { flex: none; display: flex; flex-direction: column; align-items: flex-end; font-family: var(--mono); font-size: 14px; }
.hcoin-v i, .pwho-v i { font-style: normal; font-size: 11.5px; color: var(--muted); }
.plist { padding: 4px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.pwho { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pwho:last-child { border-bottom: none; }

.pfoot { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.pfoot-brand { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.pfoot-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; color: var(--ink); }
.pfoot-logo .logo-glyph { width: 22px; height: 22px; }
.pfoot-note { font-size: 12.5px; color: var(--faint); }
.pfoot-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.pfoot-col b { font-size: 13px; }
.pfoot-col a { color: var(--muted); white-space: nowrap; }
.pfoot-col a:hover { color: var(--ink); }

/* ---- launch wizard: creator rows ---- */
.rb-handle { display: flex; align-items: center; gap: 4px; }
.rb-at { color: var(--muted); font-weight: 600; }

/* ---- the platform token's page + pinned card ---- */
.panel.house { margin: 14px 0 16px; }
.house .panel-body { padding: 22px 24px; }
.house-k { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.house-t { margin-top: 10px; font-family: var(--font-px); font-size: clamp(24px, 3vw, 34px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.house-d { margin-top: 10px; max-width: 62ch; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.house-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.house-ca { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); }
.house-ca code { font-family: var(--mono); font-size: 12.5px; color: var(--ink); word-break: break-all; }
.housecard { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.housecard:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }
.housecard-mark { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); }
.housecard-mark .logo-glyph { width: 58%; height: 58%; }
.housecard-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.housecard-k { font-size: 12.5px; color: var(--muted); }
.housecard-t { font-weight: 600; font-size: 19px; }
.housecard-a { font-size: 12px; color: var(--faint); font-family: var(--mono); }
.housecard-go { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px; border-radius: var(--pill); background: var(--accent); color: var(--on-accent); font-size: 13.5px; font-weight: 600; }

/* ---- responsive ---- */
@media (max-width: 1180px) {
  /* the icon rail */
  .shell.pshell { grid-template-columns: 76px minmax(0, 1fr); }
  .pside { padding: 18px 10px 14px; align-items: center; }
  .pside-logo { padding: 2px 0 18px; }
  .pnav { width: 48px; padding: 0; justify-content: center; }
  .pnav span, .pside-who, .pside-x, .pside-word { display: none; }
  .pside-set { flex-direction: column; align-items: center; padding: 0; }
  .pside-me { padding: 0; border: none; justify-content: center; }
  .pbento-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pbento-3 > :last-child { grid-column: 1 / -1; }
  .psteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  /* the bottom tab bar */
  .shell.pshell { display: block; }
  .pside {
    position: fixed; top: auto; left: 0; right: 0; bottom: 0; height: auto;
    flex-direction: row; padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    border-right: none; border-top: 1px solid var(--line); overflow: visible;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .pside-logo, .pside-foot, .pside-nav a[href="#/how"] { display: none; }
  .pside-nav { flex-direction: row; justify-content: space-around; width: 100%; }
  .pnav { flex: 1 1 0; width: auto; min-width: 0; height: 44px; }
  .ptop-logo { display: flex; }
  .topbar.ptop { padding: 0 16px; }
  .ptop .search { flex: 1 1 auto; min-width: 0; margin: 0; }
  .ptop .search-results { left: 16px; transform: none; }
  .pshell .content { padding: 16px 16px calc(84px + env(safe-area-inset-bottom)); }
  .pbento-2, .pcols, .pex { grid-template-columns: minmax(0, 1fr); }
  .pex-mid { justify-self: center; transform: rotate(90deg); }
  .pfoot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pfoot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ptop .ppill-light { display: none; }
  .ptop .wallet-btn.ppill { width: 40px; padding: 0; font-size: 0; gap: 0; }
  .ptop .wallet-btn.ppill svg { width: 17px; height: 17px; }
  .phero { padding: 28px 0 28px; }
  .phero-s { font-size: 15.5px; }
  .pbento-3, .psteps, .pgrid { grid-template-columns: minmax(0, 1fr); }
  .pbento-3 > :last-child { grid-column: auto; }
  .pstep { min-height: 0; }
  .pstep b { margin-top: 10px; }
  .pfoot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.ptiles-ghost { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .ptiles-ghost { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   TREND — its own skin over the shared sidebar shell
   --------------------------------------------------------------------------
   Same viral layout as the X-launchpads (sidebar · top bar · bento), with
   TREND's own hand: the sidebar floats as an inset panel, the current page is
   a solid white pill, corners are softer, and the hero is the banner — copy
   on the left, the post and its split on the right, joined by a rail.
   ========================================================================== */

/* ---- the floating sidebar ---- */
.pside {
  top: 12px; height: calc(100vh - 24px); margin: 12px 0 12px 12px;
  border: 1px solid var(--line); border-radius: 26px; background: var(--panel);
}
.shell.pshell { grid-template-columns: calc(var(--side-w) + 12px) minmax(0, 1fr); }
.pnav.on { background: var(--accent); color: var(--on-accent); }
.pnav.on:hover { background: var(--accent-hover); color: var(--on-accent); }
.pside-word { font-weight: 700; letter-spacing: .01em; }
.pside-me { border-radius: 18px; background: var(--bg); }
.logo-mark { border-radius: 12px; }

/* ---- top bar: the tagline on the left ---- */
.topbar.ptop { border-bottom: none; }
.ptop-tag { flex: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ptop-tag i { font-style: normal; color: var(--ink); }
.ptop .search { margin: 0 0 0 auto; }
.ptop-sp { display: block; flex: 0 0 4px; }

/* ---- hero: the banner ---- */
.lhero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 40px; padding: 36px 0 30px; }
.lhero-copy { min-width: 0; }
.lhero-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 26px; letter-spacing: .01em; }
.lhero-brand .logo-glyph { width: 40px; height: 34px; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--ink) 55%, transparent)); }
.lhero-t {
  margin-top: 16px; min-width: 0; overflow-wrap: anywhere;
  font-family: var(--font-px); font-weight: 700;
  font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.028em;
}
.lhero-t .ic, .lflow-body p .ic { display: inline-block; }
.lhero-x { width: .78em; height: .78em; vertical-align: -.06em; }
.lhero-s { margin-top: 18px; max-width: 46ch; font-size: 17px; line-height: 1.65; color: var(--muted); }
.lhero-acts { justify-content: flex-start; margin-top: 26px; }
.lhero-words { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.lhero-words span { display: inline-flex; align-items: center; gap: 8px; }
.lhero-words i { width: 1px; height: 22px; background: var(--line-2); }

.lflow { position: relative; display: flex; flex-direction: column; gap: 12px; padding-left: 34px; min-width: 0; }
.lflow::before { content: ""; position: absolute; left: 8px; top: 40px; bottom: 58px; width: 2px; border-radius: 2px; background: var(--line-2); }
.lflow-post, .lflow-row { position: relative; border: 1px solid var(--line-2); background: var(--panel); }
.lflow-post::before, .lflow-row::before {
  content: ""; position: absolute; left: -31px; top: 50%; width: 30px; height: 2px; background: var(--line-2);
}
.lflow-post::after, .lflow-row::after {
  content: ""; position: absolute; left: -9px; top: 50%; width: 10px; height: 10px; margin-top: -4px;
  border-radius: 50%; background: var(--ink); box-shadow: 0 0 10px color-mix(in srgb, var(--ink) 60%, transparent);
}
.lflow-post { display: flex; gap: 14px; padding: 18px; border-radius: 22px; }
.lflow-body { min-width: 0; flex: 1; }
.lflow-who { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.lflow-who i { font-style: normal; color: var(--muted); font-size: 13.5px; }
.lflow-xm { margin-left: auto; color: var(--ink); }
.lflow-body p { margin-top: 6px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.lflow-heart { color: var(--ink); vertical-align: -1px; }
.lflow-row { display: grid; grid-template-columns: auto minmax(0, 1fr) 64px 84px; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 18px; }
.lflow-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); }
.lflow-l { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lflow-p { padding-left: 14px; border-left: 1px solid var(--line-2); font-family: var(--mono); font-size: 14px; color: var(--ink-2); }
.lflow-v { padding-left: 14px; border-left: 1px solid var(--line-2); font-weight: 700; font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; }
.lflow-note { margin-top: 2px; font-size: 12.5px; color: var(--faint); }

/* ---- cards: softer ---- */
.hcard, .pstep, .plist, .hcoin, .ppost { border-radius: 24px; }
.hcard-foot { border-top: none; padding-top: 4px; }
.proute { border-radius: 16px; }
.proute-sm { height: 42px; margin-top: 12px; }
.proute-mint { flex: 1.6 1 0 !important; border-left: 1px solid var(--line-2) !important; padding-left: 10px !important; }
.pyou-mark .logo-glyph { width: 60%; height: 52%; }
.lsteps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lrank { width: 22px; flex: none; font-family: var(--mono); font-size: 13px; color: var(--muted); text-align: center; }
a.pwho:hover b { text-decoration: underline; }

/* ---- real vs bought ---- */
.lreal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lreal-col { padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); }
.lreal-col > b { font-size: 16px; }
.lreal-col ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.lreal-col li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.lreal-col li .ic { flex: none; margin-top: 4px; }
.lreal-no li { color: var(--muted); }

@media (max-width: 1180px) {
  .shell.pshell { grid-template-columns: 88px minmax(0, 1fr); }
  .lhero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lflow { max-width: 620px; }
}
@media (max-width: 860px) {
  .pside { top: auto; height: auto; margin: 0; border-radius: 0; border: none; border-top: 1px solid var(--line); }
  .pnav.on { background: var(--panel-2); color: var(--ink); }
  .ptop-tag { display: none; }
  .ptop .search { margin: 0; }
  .lreal, .lsteps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .lhero { padding-top: 20px; }
  .lhero-s { font-size: 15.5px; }
  .lflow { padding-left: 26px; }
  .lflow::before { left: 4px; }
  .lflow-post::before, .lflow-row::before { left: -23px; width: 22px; }
  .lflow-row { grid-template-columns: auto minmax(0, 1fr) auto; padding-right: 14px; }
  .lflow-p { display: none; }
  .lflow-v { font-size: 14px; }
  .proute { flex-wrap: wrap; height: auto; padding: 8px 8px 8px 14px; }
  .proute-mint { flex-basis: 100% !important; order: 3; border-left: none !important; padding-left: 0 !important; }
}
.lsteps .pstep { min-height: 0; } .lsteps .pstep b { margin-top: 26px; }

/* ---- the pump.fun card, above the X card ---- */
.pside-ca { padding: 0; }
.pside-ca-link { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: inherit; color: inherit; }
a.pside-ca-link:hover { background: var(--panel-2); }
a.pside-ca-link:hover .pside-x { color: var(--ink); }
.pside-ca-link.is-soon .pside-x { opacity: .4; }
.pside-ca-av { background: var(--ink); color: var(--bg); }
.pside-foot .pside-ca + .pside-me { margin-top: -4px; }
@media (max-width: 1180px) { .pside-ca { border: none; background: transparent; } .pside-ca .pside-who, .pside-ca .pside-x { display: none; } .pside-ca-link { justify-content: center; padding: 0; } }
.pside-ca .pside-who span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   TREND — the split layout (studied: usesplit.pro)
   --------------------------------------------------------------------------
   Flat full-height sidebar with bold-white current page, a centred hero with
   no side visual, grey bento cards labelled at the foot, a tilted coin
   collage, a token image grid beside an X-profile list.
   ========================================================================== */

/* ---- shell: flat sidebar ---- */
.shell.pshell { grid-template-columns: var(--side-w) minmax(0, 1fr); }
.pside { top: 0; height: 100vh; margin: 0; border: none; border-right: 1px solid var(--line); border-radius: 0; background: var(--bg); padding: 18px 12px 16px; }
.pside-logo { padding: 2px 10px 22px; }
.pnav { height: 44px; gap: 16px; font-size: 16px; color: var(--ink-2); border-radius: 12px; }
.pnav .ic { width: 20px; height: 20px; }
.pnav:hover { background: var(--panel); color: var(--ink); }
.pnav.on, .pnav.on:hover { background: transparent; color: var(--ink); font-weight: 700; }
.pside-me { background: transparent; border: none; padding: 8px 10px; }
.pside-ca { border: 1px solid var(--line); background: var(--panel); border-radius: 14px; }
.topbar.ptop { border-bottom: 1px solid var(--line); background: var(--bg); }
.ptop .search { flex: 0 1 460px; margin: 0 auto; background: transparent; border: 1px solid var(--line-2); }
.ptop .search kbd { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line-2); border-radius: 5px; padding: 0 5px; }
.ptop-sp { display: none; }
.ppill-dark, .wallet-btn.ppill-dark { background: var(--bg); border-color: var(--line-2); }
.pshell .content { max-width: 1240px; padding-top: 12px; }

/* ---- hero ---- */
.shero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 58px 0 64px; }
.shero-t { font-family: var(--font-px); font-weight: 500; font-size: clamp(38px, 5.6vw, 70px); line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere; min-width: 0; }
.shero-t .ic { display: inline-block; width: .8em; height: .8em; vertical-align: -.05em; }
.shero-s { margin-top: 22px; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.shero-on { margin-top: 6px; }
.schip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; margin-left: 6px; border-radius: var(--pill); border: 1px solid var(--line-2); color: var(--ink); font-size: 15px; vertical-align: middle; }
.shero-acts { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.shero-acts .ppill-lg { height: 52px; padding: 0 28px; font-weight: 500; }

/* ---- bento ---- */
.sbento { display: grid; gap: 14px; margin-top: 14px; }
.sbento-2 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.sbento-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scard { display: flex; flex-direction: column; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.scard-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 8px; }
.scard-foot { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 16px; font-size: 15px; }
.scard-foot a { color: var(--muted); font-size: 14px; }
.scard-foot a:hover { color: var(--ink); }
.sk { font-size: 14px; color: var(--muted); }
.sk-caps { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.sbig { font-size: 52px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ssub { font-size: 14px; line-height: 1.5; color: var(--muted); }

.scard-explore .scard-body { padding: 0; height: 272px; flex: none; position: relative; overflow: hidden; }
.scard-explore .scard-foot { position: relative; z-index: 2; margin-top: -54px; background: linear-gradient(transparent, var(--panel) 55%); }
.scollage { position: absolute; inset: -80px -60px; display: grid; grid-template-columns: repeat(4, 176px); justify-content: center; gap: 16px; transform: rotate(-8deg); }
.scol { display: flex; flex-direction: column; gap: 14px; }
.scol:nth-child(2) { margin-top: -60px; }
.stile { display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 12px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line-2); }
.stile-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--panel-3); color: var(--muted); }
.stile-img img, .stile-img .av { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.stile-n { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stile-n i, .stoken-n i { font-style: normal; font-weight: 400; font-size: .8em; color: var(--muted); text-transform: uppercase; }
.stile-s { font-size: 12px; color: var(--muted); }
.stile.is-ghost { border-style: dashed; background: transparent; }
.sbar { display: block; height: 9px; width: 70%; border-radius: 9px; background: var(--panel-3); margin-top: 4px; }
.sbar-s { width: 45%; }

.ssoon { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; min-height: 200px; }
.ssoon-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--bg); border: 1px solid var(--line-2); margin-bottom: 8px; }
.ssoon b { font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.ssoon span:last-child { font-size: 14px; color: var(--muted); }

.ssplit { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 4px; }
.ssplit-r { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px 0 6px; border-radius: 10px; background: var(--bg); font-size: 14px; }
.ssplit-av { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--panel-3); }
.ssplit-r i { font-style: normal; font-size: 12.5px; color: var(--muted); }
.ssplit-r > span:last-child { margin-left: auto; font-family: var(--mono); font-size: 13.5px; }

.ssteps { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
.sstep { display: flex; gap: 14px; }
.sstep > span { font-family: var(--mono); font-size: 12px; color: var(--muted); padding-top: 2px; }
.sstep b { display: block; font-size: 15px; font-weight: 500; }
.sstep i { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: var(--muted); }

/* ---- sections ---- */
.scols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; margin-top: 56px; align-items: start; }
.ssec { min-width: 0; }
.ssec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ssec-h h2 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.ssec-h a { font-size: 14px; color: var(--muted); white-space: nowrap; }
.ssec-h a:hover { color: var(--ink); }
.sempty { min-height: 128px; display: grid; place-items: center; padding: 24px; font-size: 14.5px; color: var(--muted); text-align: center; }

.sgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stoken { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 10px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.stoken:hover { border-color: var(--line-2); }
.stoken-img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--panel-2); margin-bottom: 6px; }
.stoken-img img, .stoken-img .av { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.stoken-n { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stoken-s { font-size: 12.5px; color: var(--muted); }

.sprofiles { display: flex; flex-direction: column; gap: 12px; }
.sprofile { display: flex; align-items: center; gap: 14px; height: 70px; padding: 0 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.sprofile:hover { border-color: var(--line-2); }
.sprofile-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sprofile-m b { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sprofile-m i { font-style: normal; font-size: 12.5px; color: var(--muted); }
.sprofile-go { color: var(--muted); }

.slist { padding: 4px 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.srows { display: flex; flex-direction: column; gap: 8px; }
.srow { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.srows .srow { padding: 10px 12px; border: none; border-radius: 12px; background: var(--bg); }
.slist .srow:last-child { border-bottom: none; }
.srow .av { border-radius: 50%; }
.srow-m { flex: 1; min-width: 0; color: var(--muted); overflow-wrap: anywhere; }
.srow-m b { color: var(--ink); font-weight: 600; }
.srow-t { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.srow-v { font-family: var(--mono); font-size: 14px; }
.srank { width: 18px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---- footer ---- */
.sfoot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 96px; padding: 20px 14px 40px; }
.sfoot-brand { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--muted); }
.sfoot-brand b { font-size: 24px; font-weight: 500; color: var(--ink); letter-spacing: -.02em; }
.sfoot-x { color: var(--ink-2); }
.sfoot-note { margin-top: 12px; font-size: 13px; }
.sfoot-col { display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.sfoot-col b { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.sfoot-col a { color: var(--muted); }
.sfoot-col a:hover { color: var(--ink); }

@media (max-width: 1180px) {
  .shell.pshell { grid-template-columns: 76px minmax(0, 1fr); }
  .sbento-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sbento-3 > :last-child { grid-column: 1 / -1; }
  .sgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .pside { top: auto; height: auto; border-right: none; border-top: 1px solid var(--line); }
  .ptop .search { margin: 0; }
  .ptop .search kbd { display: none; }
  .sbento-2, .scols { grid-template-columns: minmax(0, 1fr); }
  .scols { margin-top: 40px; }
  .sfoot { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sfoot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .shero { padding: 30px 0 36px; }
  .shero-s { font-size: 16px; }
  .sbento-3 { grid-template-columns: minmax(0, 1fr); }
  .sbento-3 > :last-child { grid-column: auto; }
  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scard-explore .scard-body { height: 220px; }
  .sfoot { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }
}
.scol:nth-child(4) { margin-top: -40px; } @media (max-width: 560px) { .scollage { grid-template-columns: repeat(3, 130px); } .scol:nth-child(4) { display: none; } }

/* ---- artwork for empty cards ---- */
.stile.is-art { background: var(--panel-2); }
.stile-img.sart-light { background: var(--ink); color: var(--bg); }
.stile-img.sart-dark { background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); }
.stile-img.sart-mid { background: linear-gradient(145deg, var(--panel-3), var(--bg)); color: var(--ink); }
.stile-img .logo-glyph { width: 46%; height: 40%; }
.stile-img .ic { width: 34%; height: 34%; }

.scard { position: relative; }
.spay-art { position: absolute; inset: 18px 18px auto; display: flex; flex-direction: column; gap: 8px; opacity: .18; mask-image: linear-gradient(#000 20%, transparent 95%); -webkit-mask-image: linear-gradient(#000 20%, transparent 95%); pointer-events: none; }
.spay-r { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.spay-r > span:first-child { flex: 1; display: flex; flex-direction: column; }
.spay-r b { font-size: 18px; font-weight: 500; }
.spay-r i { font-style: normal; font-size: 12.5px; color: var(--muted); }
.spay-av { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--panel-3); }
.spay-av-l { background: var(--ink); color: var(--bg); }
.spay-av-l .logo-glyph { width: 60%; height: 52%; }
.spay-arrow { color: var(--muted); font-size: 13px; }
.ssoon { position: relative; z-index: 1; }

.sspark { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: auto; padding-top: 10px; }
.sspark i { flex: 1; border-radius: 4px 4px 0 0; background: var(--panel-3); }
.sspark i { height: 12% !important; }

/* ---- the retractable sidebar ---- */
.pside-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 18px; }
.pside-head .pside-logo { padding-bottom: 0; }
.pside-toggle { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); background: var(--bg); transition: transform .2s; }
.pside-toggle:hover { color: var(--ink); border-color: var(--ink); }
@media (min-width: 861px) {
  [data-side="rail"] .shell.pshell { grid-template-columns: 76px minmax(0, 1fr); }
  [data-side="rail"] .pside { align-items: center; padding: 18px 10px 14px; }
  [data-side="rail"] .pside-head { flex-direction: column; }
  [data-side="rail"] .pside-toggle { transform: rotate(180deg); }
  [data-side="rail"] .pnav { width: 48px; padding: 0; justify-content: center; }
  [data-side="rail"] .pnav span, [data-side="rail"] .pside-word, [data-side="rail"] .pside-who, [data-side="rail"] .pside-x { display: none; }
  [data-side="rail"] .pside-ca { border: none; background: transparent; }
  [data-side="rail"] .pside-ca-link { justify-content: center; padding: 0; }
  [data-side="rail"] .pside-set { flex-direction: column; align-items: center; padding: 0; }
  [data-side="rail"] .pside-me { padding: 0; justify-content: center; }
}
@media (max-width: 1180px) { .pside-head { flex-direction: column; } .pside-word { display: none; } .pside-toggle { display: none; } }
@media (max-width: 860px) { .pside-head { display: none; } }
@media (max-width: 1180px) and (min-width: 861px) { .pside-ca { border: none; background: transparent; } }

/* ---- TREND: the mark is shown as the artwork is — a glowing white T on black,
        never on a white tile ---- */
.logo-mark { background: transparent; color: var(--ink); border: none; }
.logo-mark .logo-glyph, .pside-av .logo-glyph, .pyou-mark .logo-glyph, .stile-img .logo-glyph, .spay-av-l .logo-glyph {
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--ink) 70%, transparent)) drop-shadow(0 0 8px color-mix(in srgb, var(--ink) 35%, transparent));
}
.logo-mark .logo-glyph { width: 82%; height: 78%; }
.pside-me:not(.pside-ca) .pside-av, .pyou-mark, .spay-av-l { background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); }
.stile-img.sart-light { background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); }

/* ---- $TREND live strip + curve ---- */
.stk { display: flex; align-items: center; gap: 18px; margin: -30px auto 34px; max-width: 980px; padding: 12px 14px 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); min-width: 0; }
.stk:hover { border-color: var(--line-2); }
.stk-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--up); flex: none; }
.stk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 60%, transparent); animation: stk-pulse 1.8s infinite; }
@keyframes stk-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--up) 55%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .stk-dot { animation: none; } }
.stk-coin { display: inline-flex; align-items: center; gap: 9px; flex: none; font-size: 15px; }
.stk-coin img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--bg); }
.stk-cells { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; min-width: 0; }
.stk-c { display: flex; flex-direction: column; min-width: 0; padding-left: 14px; border-left: 1px solid var(--line); }
.stk-c i { font-style: normal; font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.stk-c b { font-family: var(--mono); font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stk-go { flex: none; height: 34px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: var(--pill); background: var(--accent); color: var(--on-accent); font-size: 13.5px; font-weight: 600; }
.scurve { height: 8px; margin-top: auto; border-radius: var(--pill); background: var(--bg); overflow: hidden; }
.scurve span { display: block; height: 100%; border-radius: inherit; background: var(--ink); }
@media (max-width: 860px) {
  .stk { flex-wrap: wrap; margin-top: -12px; }
  .stk-cells { order: 3; flex-basis: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .stk-go { margin-left: auto; }
}
