
.trending-bar {
  position: sticky;
  /* Right under the top bar, whatever height that has on this page (the script keeps the variable current). */
  top: var(--top-nav-height, 64px);
  z-index: 4;
  display: flex;
  align-items: stretch;
  box-sizing: border-box;
  height: 38px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px);
}

.trending-bar[hidden] {
  display: none;
}

.trending-track {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  padding: 4px clamp(12px, 2vw, 24px);
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%);
}

.trending-track::-webkit-scrollbar {
  display: none;
}

.trending-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

/* The CurveRadar account on X and Telegram, at the left end of the strip: icon buttons that open to show their name on hover. */
.trending-socials {
  display: flex;
  flex: none;
  align-items: center;
  gap: 4px;
  /* Flush to the left edge, and closed off from the scrolling tokens by a line on the right. */
  padding: 0 8px 0 6px;
  border-right: 1px solid var(--border);
  align-self: stretch;
}

.trending-social {
  display: inline-flex;
  align-items: center;
  height: 26px;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  padding: 0 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.trending-social svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: currentColor;
}

.trending-social-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.2s ease, margin 0.2s ease, opacity 0.2s ease;
}

.trending-social:hover,
.trending-social:focus-visible {
  background: var(--surface-hover);
  color: var(--text);
}

.trending-social:hover .trending-social-label,
.trending-social:focus-visible .trending-social-label {
  max-width: 120px;
  margin: 0 4px 0 6px;
  opacity: 1;
}

@media (max-width: 1022px), (hover: none) {
  /* No hover on a phone: the buttons stay small icons. */
  .trending-social:hover .trending-social-label,
  .trending-social:focus-visible .trending-social-label {
    max-width: 0;
    margin: 0;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trending-social,
  .trending-social-label {
    transition: none;
  }
}

.trending-toggle {
  display: grid;
  flex: none;
  width: 38px;
  place-items: center;
  border: 0;
  border-left: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
}

.trending-toggle[hidden] {
  display: none;
}

.trending-toggle:hover,
.trending-toggle:focus-visible {
  background: var(--surface-hover);
  color: var(--text);
}

.trending-toggle[aria-pressed="true"] {
  color: var(--accent);
}

.trending-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trending-item {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.trending-item:hover,
.trending-item:focus-visible {
  background: var(--surface-hover);
}

.trending-item.is-first {
  background: var(--surface-raised);
}

/* Surge: a boosted token, ahead of the trending ones. */
.trending-item.is-surge {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}

.trending-item.is-lane-end {
  position: relative;
  margin-right: 12px;
}

.trending-item.is-lane-end::after {
  position: absolute;
  top: 22%;
  right: -8px;
  bottom: 22%;
  width: 1px;
  background: var(--border);
  content: "";
}

.trending-surge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px 1px 5px;
}

.trending-surge svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* Radar Gold: the top tier. */
.trending-item.is-gold {
  background: linear-gradient(110deg, rgb(245 184 73 / 0.16), rgb(20 241 149 / 0.12), rgb(245 184 73 / 0.16));
  background-size: 220% 100%;
  box-shadow: inset 0 0 0 1px rgb(224 178 72 / 0.7), 0 0 14px -3px rgb(245 184 73 / 0.5);
  animation: trending-gold-shimmer 4.5s linear infinite;
}

.trending-item.is-gold .trending-symbol {
  background: linear-gradient(90deg, #fbe38e, #f5b849 45%, #14f195);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.trending-item.is-gold .trending-surge {
  background: linear-gradient(90deg, #f7d56e, #f5b849 60%, #9be15d);
  color: #1b1405;
}

:root[data-theme="light"] .trending-item.is-gold .trending-symbol {
  background: linear-gradient(90deg, #9a6a0d, #b7791f 50%, #047857);
  background-clip: text;
  -webkit-background-clip: text;
}

@keyframes trending-gold-shimmer {
  to {
    background-position: -220% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trending-item.is-gold {
    animation: none;
  }
}

.trending-rank {
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 650;
}

.trending-logo-frame {
  display: inline-flex;
  flex: none;
}

.trending-logo {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 5px;
  background: var(--surface-raised);
  object-fit: cover;
}

.trending-symbol {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trending-change {
  font-variant-numeric: tabular-nums;
}

.trending-change {
  border-radius: 4px;
}

.trending-change.flash-up {
  animation: trending-flash-up 0.9s ease-out;
}

.trending-change.flash-down {
  animation: trending-flash-down 0.9s ease-out;
}

@keyframes trending-flash-up {
  from {
    background: color-mix(in srgb, var(--buy) 35%, transparent);
  }
}

@keyframes trending-flash-down {
  from {
    background: color-mix(in srgb, var(--sell) 35%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trending-change.flash-up,
  .trending-change.flash-down {
    animation: none;
  }
}

.trending-change.is-up {
  color: var(--buy);
}

.trending-change.is-down {
  color: var(--sell);
}

.trending-age {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--buy);
  font-size: 12px;
  font-weight: 650;
}

.trending-age svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 1023px) {
  /*
   * The strip belongs to the content, not to the page: the side menu keeps its full height from the top bar down,
   * and the strip sits above the content to the right of it. Grid places the menu in the first column across both
   * rows, the strip in the second column, and the content in the second row below it.
   *
   * The strip spans both rows on purpose: a sticky item can only move inside its own grid area, so one confined to the
   * first row (38px tall) would scroll away with the page. Spanning the whole column lets it stay put while the content
   * scrolls; the first row has a fixed height so the content still starts below it.
   */
  .app-body:has(> .trending-bar) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: 38px minmax(0, 1fr);
    align-items: start;
  }

  .app-body:has(> .trending-bar[hidden]) {
    grid-template-rows: 0 minmax(0, 1fr);
  }

  .app-body:has(> .trending-bar) > .sidebar {
    grid-row: 1 / -1;
    grid-column: 1;
    align-self: stretch;
  }

  .app-body:has(> .trending-bar) > .trending-bar {
    grid-row: 1 / -1;
    grid-column: 2;
    align-self: start;
  }

  .app-body:has(> .trending-bar) > main {
    grid-row: 2;
    grid-column: 2;
    min-width: 0;
  }
}

@media (max-width: 1022px) {
  /* On a phone the menu is a sheet, not a column: the strip is full width above the content, under the top bar. */
  .app-body:has(> .trending-bar) {
    flex-direction: column;
  }

  .app-body:has(> .trending-bar) > main {
    min-width: 0;
  }

}


@keyframes live-card-up {
  from { color: var(--buy); text-shadow: 0 0 10px color-mix(in srgb, var(--buy) 60%, transparent); }
  to { text-shadow: none; }
}

@keyframes live-card-down {
  from { color: var(--sell); text-shadow: 0 0 10px color-mix(in srgb, var(--sell) 60%, transparent); }
  to { text-shadow: none; }
}

.comment-token-price.live-up {
  animation: live-card-up 0.9s ease-out;
}

.comment-token-price.live-down {
  animation: live-card-down 0.9s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .comment-token-price.live-up,
  .comment-token-price.live-down {
    animation: none;
  }
}


.comment-follow-button {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: none;
  place-items: center;
  /* No outline, and close to the name: the row's gap is 8px, this takes four of it back. */
  margin-left: -4px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  transition: color 0.12s ease, background 0.12s ease;
}

.comment-follow-button[hidden] {
  display: none;
}

/* Hovered, and followed: only the icon turns green, with no background behind it. */
.comment-follow-button:hover,
.comment-follow-button:focus-visible {
  background: transparent;
  color: var(--accent);
  outline: none;
}

.comment-follow-button.is-following,
.comment-follow-button.is-following:hover,
.comment-follow-button.is-following:focus-visible {
  background: transparent;
  color: var(--accent);
}

/* Not clickable: the visitor's own posts (also hidden) and a visitor who is not signed in. */
.comment-follow-button.is-disabled,
.comment-follow-button.is-disabled:hover {
  background: transparent;
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.45;
}

.comment-follow-button.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

.comment-follow-button svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


.post-share-button {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.12s ease, background 0.12s ease;
}

.post-share-button:hover,
.post-share-button:focus-visible {
  background: color-mix(in srgb, var(--text) 10%, transparent);
  color: var(--text);
  outline: none;
}

.post-share-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-post-backdrop {
  position: fixed;
  inset: 0;
  z-index: 170;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgb(3 6 12 / 0.62);
  backdrop-filter: blur(2px);
  padding: 10vh 16px 16px;
}

.share-post-backdrop[hidden] {
  display: none;
}

.share-post-dialog {
  width: min(100%, 440px);
  max-height: 86vh;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow, 0 18px 50px rgb(0 0 0 / 0.5));
  color: var(--text);
}

.share-post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
}

.share-post-head h2 {
  margin: 0;
  font-size: 15px;
}

.share-post-close {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
}

.share-post-close:hover,
.share-post-close:focus-visible {
  background: color-mix(in srgb, var(--text) 10%, transparent);
  color: var(--text);
  outline: none;
}

.share-post-close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.share-post-body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.share-post-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-raised, #0d131b);
}

.share-post-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.share-post-preview.is-ready img {
  opacity: 1;
}

.share-post-preview-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 12px;
}

.share-post-preview.is-ready .share-post-preview-status {
  display: none;
}

.share-post-row {
  display: flex;
  min-width: 0;
  gap: 8px;
}

.share-post-url {
  min-width: 0;
  flex: 1;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-raised, #0d131b);
  color: var(--text);
  font-size: 12.5px;
  padding: 0 10px;
  text-overflow: ellipsis;
}

.share-post-copy {
  height: 36px;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--accent, #14f195) 45%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent, #14f195) 14%, transparent);
  color: var(--accent, #14f195);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 0 16px;
}

.share-post-copy:hover,
.share-post-copy:focus-visible {
  background: color-mix(in srgb, var(--accent, #14f195) 24%, transparent);
  outline: none;
}

.share-post-download {
  display: flex;
  width: 100%;
  height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-raised, #0d131b);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 0;
}

.share-post-download:hover,
.share-post-download:focus-visible {
  border-color: color-mix(in srgb, var(--accent, #14f195) 45%, transparent);
  color: var(--accent, #14f195);
  outline: none;
}

.share-post-download:disabled {
  cursor: default;
  opacity: 0.6;
}

.share-post-download svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .share-post-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .share-post-dialog {
    width: 100%;
    max-height: 90vh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }
}


.wallet-popover-position-pnl {
  display: block;
  font-size: 10.5px;
  font-weight: 760;
}

.wallet-popover-position-pnl.wp-up {
  color: var(--buy, #14f195);
}

.wallet-popover-position-pnl.wp-down {
  color: var(--danger, #ff5d6c);
}

.wallet-popover-position .post-share-button {
  flex: none;
  margin-left: 2px;
}

.wallet-popover-position-name .surge-slot {
  margin-left: 5px;
}

.crdr-balance-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
}

.crdr-pnl-chip {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.crdr-pnl-chip.wp-up,
.crdr-pnl-value.wp-up {
  color: var(--buy, #14f195);
}

.crdr-pnl-chip.wp-down,
.crdr-pnl-value.wp-down {
  color: var(--danger, #ff5d6c);
}

.crdr-pnl-chip.wp-none,
.crdr-pnl-value.wp-none {
  color: var(--text-muted, #8a96a3);
}

.crdr-pnl-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  margin-top: 8px;
}

.crdr-pnl-label {
  color: var(--text-muted, #8a96a3);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.crdr-pnl-value {
  font-size: 15px;
  font-weight: 800;
}

.crdr-pnl-tabs {
  display: inline-flex;
  gap: 2px;
  border: 1px solid var(--border, #25303b);
  border-radius: 8px;
  padding: 2px;
}

.crdr-pnl-tabs button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted, #8a96a3);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 760;
  padding: 3px 8px;
}

.crdr-pnl-tabs button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--text, #fff) 12%, transparent);
  color: var(--text, #fff);
}


.position-close-button {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  flex: none;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font: inherit;
  font-size: 10.5px;
  font-weight: 800;
  padding: 0;
  transition: color 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}

.position-close-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.position-close-button:hover,
.position-close-button:focus-visible {
  background: color-mix(in srgb, var(--danger, #ff5d6c) 16%, transparent);
  color: var(--danger, #ff5d6c);
  outline: none;
}

.position-close-button.is-armed,
.position-close-button.is-error {
  background: color-mix(in srgb, var(--danger, #ff5d6c) 18%, transparent);
  color: var(--danger, #ff5d6c);
  padding: 0 8px;
}

.position-close-button.is-busy {
  color: var(--text-secondary, #aab4bf);
  cursor: progress;
  padding: 0 8px;
}

.position-close-button.is-done {
  color: var(--buy, #14f195);
  padding: 0 8px;
}


.rewards-backdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 0.6);
  padding: 16px;
}

.rewards-backdrop[hidden] {
  display: none;
}

.rewards-dialog {
  display: flex;
  width: min(560px, 100%);
  max-height: min(720px, 100%);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border, #25303b);
  border-radius: 14px;
  background: var(--surface, #10161d);
  box-shadow: 0 24px 70px rgb(0 0 0 / 0.5);
  color: var(--text, #fff);
}

.rewards-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 8px;
}

.rewards-head h2 {
  margin: 0;
  font-size: 18px;
}

.rewards-sub {
  margin: 4px 0 0;
  color: var(--text-muted, #8a96a3);
  font-size: 12px;
}

.rewards-close {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted, #8a96a3);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.rewards-close:hover {
  background: color-mix(in srgb, var(--text, #fff) 10%, transparent);
  color: var(--text, #fff);
}

.rewards-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 16px 10px;
}

.rewards-seg[hidden],
.rewards-ends[hidden] {
  display: none;
}

.rewards-seg {
  display: inline-flex;
  gap: 2px;
  border: 1px solid var(--border, #25303b);
  border-radius: 8px;
  padding: 2px;
}

.rewards-seg button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted, #8a96a3);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  padding: 5px 11px;
}

.rewards-seg button svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rewards-seg button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--text, #fff) 12%, transparent);
  color: var(--text, #fff);
}

.rewards-ends {
  color: var(--text-muted, #8a96a3);
  font-size: 12px;
}

.rewards-body {
  overflow-y: auto;
  padding: 0 16px 16px;
}

.rewards-note {
  margin: 0 0 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent, #14f195) 8%, transparent);
  color: var(--text-secondary, #aab4bf);
  font-size: 12px;
  line-height: 1.45;
  padding: 8px 10px;
}

.rewards-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border, #25303b);
  color: inherit;
  padding: 8px 0;
  text-decoration: none;
}

.rewards-row:last-child {
  border-bottom: 0;
}

.rewards-rank {
  width: 22px;
  flex: none;
  color: var(--text-muted, #8a96a3);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.rewards-avatar {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--surface-raised, #18202a);
  object-fit: cover;
}

.rewards-name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 13px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rewards-name small {
  display: block;
  color: var(--text-muted, #8a96a3);
  font-size: 11px;
  font-weight: 600;
}

.rewards-figure {
  flex: none;
  text-align: right;
  font-size: 13px;
  font-weight: 800;
}

.rewards-figure small {
  display: block;
  color: var(--text-muted, #8a96a3);
  font-size: 11px;
  font-weight: 700;
}

.rewards-up {
  color: var(--buy, #14f195);
}

.rewards-empty {
  color: var(--text-muted, #8a96a3);
  font-size: 13px;
  padding: 24px 8px;
  text-align: center;
}

.ref-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}

.ref-label {
  flex: none;
  color: var(--text-muted, #8a96a3);
  font-size: 12px;
}

.ref-input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--border, #25303b);
  border-radius: 8px;
  background: var(--surface-raised, transparent);
  color: var(--text, #e6edf3);
  font: inherit;
  font-size: 12.5px;
  padding: 7px 10px;
}

.ref-button {
  flex: none;
  border: 1px solid var(--border, #25303b);
  border-radius: 8px;
  background: transparent;
  color: var(--text, #e6edf3);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  padding: 7px 12px;
}

.ref-button:hover {
  border-color: var(--accent, #14f195);
}

.ref-button:disabled {
  opacity: 0.5;
}

.ref-status {
  min-height: 0;
  margin: 2px 0 0;
  color: var(--accent, #14f195);
  font-size: 12px;
}

.ref-status.is-bad {
  color: var(--danger, #ef4444);
}

.ref-hint {
  margin: 4px 0 0;
  color: var(--text-muted, #8a96a3);
  font-size: 11.5px;
}

.ref-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 8px;
}

.ref-stat {
  display: grid;
  gap: 2px;
  border: 1px solid var(--border, #25303b);
  border-radius: 8px;
  padding: 7px 9px;
}

.ref-stat b {
  font-size: 16px;
}

.ref-stat span {
  color: var(--text-muted, #8a96a3);
  font-size: 11px;
}

@media (max-width: 520px) {
  .ref-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ref-row {
    flex-wrap: wrap;
  }
}

.rewards-card {
  margin: 0 0 10px;
  border: 1px solid var(--border, #25303b);
  border-radius: 10px;
  padding: 10px 12px;
}

.rewards-card h3 {
  margin: 0 0 6px;
  font-size: 13px;
}

.rewards-card p {
  margin: 0 0 6px;
  color: var(--text-secondary, #aab4bf);
  font-size: 12.5px;
  line-height: 1.5;
}

.rewards-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rewards-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-secondary, #aab4bf);
  font-size: 12.5px;
  padding: 3px 0;
}

.rewards-ok {
  color: var(--buy, #14f195);
}

.rewards-quest {
  margin: 0 0 8px;
  border: 1px solid var(--border, #25303b);
  border-radius: 10px;
  padding: 10px 12px;
}

.rewards-quest-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.rewards-quest-title {
  font-size: 13px;
  font-weight: 760;
}

.rewards-quest-points {
  flex: none;
  color: var(--buy, #14f195);
  font-size: 12.5px;
  font-weight: 800;
}

.rewards-quest p {
  margin: 4px 0 0;
  color: var(--text-secondary, #aab4bf);
  font-size: 12.5px;
  line-height: 1.4;
}

.rewards-quest-meta {
  margin-top: 6px;
  color: var(--text-muted, #8a96a3);
  font-size: 11.5px;
}

.rewards-bar {
  height: 5px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 3px;
  background: color-mix(in srgb, var(--text, #fff) 10%, transparent);
}

.rewards-bar span {
  display: block;
  height: 100%;
  background: var(--buy, #14f195);
}

.rewards-no {
  color: var(--danger, #ff5d6c);
}

@media (max-width: 560px) {
  .rewards-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .rewards-dialog {
    width: 100%;
    max-height: 92%;
    border-radius: 14px 14px 0 0;
  }
}


.trader-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 0.6);
  padding: 16px;
}

.trader-backdrop[hidden] {
  display: none;
}

.trader-dialog {
  display: flex;
  width: min(520px, 100%);
  max-height: min(740px, 100%);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border, #25303b);
  border-radius: 14px;
  background: var(--surface, #10161d);
  box-shadow: 0 24px 70px rgb(0 0 0 / 0.5);
  color: var(--text, #fff);
}

.trader-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 8px;
}

.trader-avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--surface-raised, #18202a);
  object-fit: cover;
}

.trader-who {
  min-width: 0;
  flex: 1;
}

.trader-name {
  display: block;
  overflow: hidden;
  color: inherit;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trader-name:hover {
  color: var(--accent, #14f195);
}

.trader-sub {
  margin-top: 2px;
  color: var(--text-muted, #8a96a3);
  font-size: 12px;
}

.trader-chip {
  display: inline-block;
  margin-right: 6px;
  border: 1px solid color-mix(in srgb, var(--accent, #14f195) 45%, transparent);
  border-radius: 999px;
  color: var(--accent, #14f195);
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 8px;
}

.trader-head-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 2px;
}

.trader-close {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted, #8a96a3);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.trader-close:hover {
  background: color-mix(in srgb, var(--text, #fff) 10%, transparent);
  color: var(--text, #fff);
}

.trader-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 14px 10px;
}

.trader-seg {
  display: inline-flex;
  gap: 2px;
  border: 1px solid var(--border, #25303b);
  border-radius: 8px;
  padding: 2px;
}

.trader-seg button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted, #8a96a3);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 760;
  padding: 5px 12px;
}

.trader-seg button[aria-pressed="true"] {
  background: color-mix(in srgb, var(--text, #fff) 12%, transparent);
  color: var(--text, #fff);
}

.trader-body {
  overflow-y: auto;
  padding: 0 14px 14px;
}

.trader-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border, #25303b);
  border-radius: 10px;
  background: var(--border, #25303b);
  margin-bottom: 10px;
}

.trader-stat {
  min-width: 0;
  background: var(--surface, #10161d);
  padding: 8px 8px;
}

.trader-stat span {
  display: block;
  color: var(--text-muted, #8a96a3);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.trader-stat strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trader-up {
  color: var(--buy, #14f195);
}

.trader-down {
  color: var(--danger, #ff5d6c);
}

.trader-section {
  margin: 0 0 12px;
}

.trader-section h3 {
  margin: 0 0 6px;
  font-size: 12.5px;
}

.trader-note {
  margin: 0 0 8px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--text, #fff) 6%, transparent);
  color: var(--text-secondary, #aab4bf);
  font-size: 12px;
  line-height: 1.45;
  padding: 7px 10px;
}

.trader-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border, #25303b);
  color: inherit;
  padding: 7px 0;
  text-decoration: none;
}

.trader-row:last-child {
  border-bottom: 0;
}

.trader-logo {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 6px;
  background: var(--surface-raised, #18202a);
  object-fit: cover;
}

.trader-row-main {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  font-size: 13px;
  font-weight: 740;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trader-row-main small {
  display: block;
  color: var(--text-muted, #8a96a3);
  font-size: 11px;
  font-weight: 600;
  white-space: normal;
}

.trader-row-end {
  flex: none;
  text-align: right;
  font-size: 13px;
  font-weight: 800;
}

.trader-row-end small {
  display: block;
  color: var(--text-muted, #8a96a3);
  font-size: 11px;
  font-weight: 700;
}

.trader-empty {
  color: var(--text-muted, #8a96a3);
  font-size: 13px;
  padding: 26px 8px;
  text-align: center;
}

@media (max-width: 560px) {
  .trader-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .trader-dialog {
    width: 100%;
    max-height: 92%;
    border-radius: 14px 14px 0 0;
  }

  .trader-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.post-tip-button {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.12s ease, background 0.12s ease;
}

.post-tip-wrap {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 2px;
}

.post-tip-total {
  color: var(--accent, #14f195);
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
}

.post-tip-total[hidden] {
  display: none;
}

.post-tip-button[hidden] {
  display: none;
}

.post-tip-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.post-tip-button:hover,
.post-tip-button:focus-visible {
  background: color-mix(in srgb, var(--accent, #14f195) 14%, transparent);
  color: var(--accent, #14f195);
  outline: none;
}

.tip-backdrop {
  position: fixed;
  inset: 0;
  z-index: 125;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 0.6);
  padding: 16px;
}

.tip-backdrop[hidden] {
  display: none;
}

.tip-dialog {
  width: min(360px, 100%);
  border: 1px solid var(--border, #25303b);
  border-radius: 14px;
  background: var(--surface, #10161d);
  box-shadow: 0 24px 70px rgb(0 0 0 / 0.5);
  color: var(--text, #fff);
  padding: 16px;
}

.tip-dialog h2 {
  margin: 0 0 4px;
  font-size: 16px;
}

.tip-note {
  margin: 0 0 12px;
  color: var(--text-muted, #8a96a3);
  font-size: 12px;
  line-height: 1.45;
}

.tip-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.tip-amounts button {
  border: 1px solid var(--border, #25303b);
  border-radius: 8px;
  background: transparent;
  color: var(--text, #fff);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  padding: 8px 0;
}

.tip-amounts button[aria-pressed="true"] {
  border-color: var(--accent, #14f195);
  background: color-mix(in srgb, var(--accent, #14f195) 14%, transparent);
  color: var(--accent, #14f195);
}

.tip-custom {
  width: 100%;
  border: 1px solid var(--border, #25303b);
  border-radius: 8px;
  background: var(--bg, #0b1016);
  color: var(--text, #fff);
  font: inherit;
  font-size: 13px;
  margin-bottom: 12px;
  padding: 8px 10px;
}

.tip-status {
  min-height: 18px;
  margin: 0 0 10px;
  font-size: 12.5px;
}

.tip-status.is-bad {
  color: var(--danger, #ff5d6c);
}

.tip-status.is-good {
  color: var(--buy, #14f195);
}

.tip-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.tip-actions button {
  border: 1px solid var(--border, #25303b);
  border-radius: 8px;
  background: transparent;
  color: var(--text, #fff);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 760;
  padding: 8px 14px;
}

.tip-actions .tip-send {
  border-color: var(--accent, #14f195);
  background: var(--accent, #14f195);
  color: #04130c;
}

.tip-actions button:disabled {
  cursor: progress;
  opacity: 0.6;
}


.account-check {
  display: inline-grid;
  width: 16px;
  height: 15px;
  flex: none;
  place-items: center;
  margin-left: 4px;
  vertical-align: -2px;
}

.account-check svg {
  width: 100%;
  height: 100%;
  display: block;
}


@media (max-width: 1022px) {
  .mobile-dock {
    bottom: 10px !important;
  }
}

@media (max-width: 1022px) and (display-mode: standalone) {
  .mobile-dock {
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
  }
}


a.post-link {
  color: var(--accent, #14f195);
  text-decoration: none;
  overflow-wrap: anywhere;
}

a.post-link:hover,
a.post-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.link-preview {
  display: flex;
  min-width: 0;
  align-items: stretch;
  margin: 8px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-raised, var(--surface)) 70%, transparent);
  color: inherit;
  text-decoration: none;
}

/* Room before the action bar; a token card under the post brings its own spacing, so then none. */
.link-preview {
  margin-bottom: 14px;
}

.comment-item-main:has(~ .comment-token-card:not([hidden])) .link-preview {
  margin-bottom: 0;
}

.link-preview:hover,
.link-preview:focus-visible {
  border-color: color-mix(in srgb, var(--accent, #14f195) 55%, var(--border));
  outline: none;
}

.link-preview-image {
  /* A box with a definite shape before the picture loads (the aspect ratio, which a lazy image needs so the card does not jump). The card still decides
     its height: the picture stretches to the text beside it, at least 72px, and the width stays 96px. */
  align-self: stretch;
  aspect-ratio: 96 / 80;
  height: auto;
  flex: 0 0 96px;
  width: 96px;
  min-height: 72px;
  background: var(--surface-raised, var(--surface));
  object-fit: cover;
}

.link-preview-image[hidden] {
  display: none;
}

.link-preview-text {
  display: grid;
  min-width: 0;
  flex: 1;
  align-content: center;
  gap: 2px;
  padding: 8px 10px;
}

.link-preview-site {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.link-preview-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.25;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.link-preview-description {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.link-preview-description:empty {
  display: none;
}

/* Desktop only: hovering a preview's picture, a post's picture or video, or a chat picture or video shows it whole in a small floating box that follows the pointer. */
.link-preview-zoom {
  position: fixed;
  z-index: 9999;
  display: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.55);
  padding: 4px;
  pointer-events: none;
}

.link-preview-zoom img,
.link-preview-zoom video {
  display: block;
  max-width: min(560px, 60vw);
  max-height: min(70vh, 560px);
  border-radius: 8px;
}

@media (max-width: 480px) {
  .link-preview-image {
    aspect-ratio: 76 / 64;
    flex-basis: 76px;
    width: 76px;
    min-height: 64px;
  }

  .link-preview-description {
    -webkit-line-clamp: 1;
  }
}


#searchResults.search-results {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  max-height: min(62vh, 480px);
  margin-top: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}

#searchResults .search-result {
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 9px;
  min-height: 0;
  border-radius: 8px;
  padding: 6px 9px;
  cursor: pointer;
  transition: background 0.1s ease, border-color 0.1s ease;
}

#searchResults .search-result:hover,
#searchResults .search-result:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background: var(--surface-hover, var(--surface-raised));
}

#searchResults .search-result-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

/* A person's picture is round; a token's logo keeps its rounded square. */
#searchResults .search-result-icon.is-profile,
#searchResults .search-result-icon.is-profile img {
  border-radius: 50%;
}

/* The name on one line and "SYMBOL / address" under it. */
#searchResults .search-result-title,
#searchResults .search-result-subtitle {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#searchResults .search-result-title {
  font-size: 13px;
  line-height: 1.25;
}

#searchResults .search-result-subtitle {
  margin-top: 1px;
  font-size: 11px;
  line-height: 1.25;
}

#searchResults .search-result-kind {
  border-radius: 999px;
  font-size: 10px;
  padding: 2px 7px;
}

#searchResults .search-result.has-metrics .search-result-kind {
  display: none;
}

#searchResults .empty-state {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
}

.sr-metrics {
  display: grid;
  justify-items: end;
  gap: 1px;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.sr-price {
  color: var(--text);
  font-size: 12.5px;
  font-weight: 780;
}

.sr-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 11px;
}

.sr-change {
  font-weight: 700;
}

.sr-change.positive {
  color: var(--buy);
}

.sr-change.negative {
  color: var(--sell);
}

.sr-price.live-up {
  animation: live-card-up 0.9s ease-out;
}

.sr-price.live-down {
  animation: live-card-down 0.9s ease-out;
}

@media (max-width: 520px) {
  #searchResults .search-result {
    padding: 6px 8px;
  }

  .sr-sub .sr-vol {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sr-price.live-up,
  .sr-price.live-down {
    animation: none;
  }
}


.hover-card {
  position: fixed;
  z-index: 1300;
  width: 300px;
  max-width: calc(100vw - 16px);
  border: 1px solid var(--border, #243043);
  border-radius: 14px;
  background: var(--surface-raised, #121824);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  color: var(--text, #f4f7fb);
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  padding: 14px;
  animation: hover-card-in 120ms ease-out;
}

.hover-card[hidden] {
  display: none;
}

@keyframes hover-card-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hover-card-avatar {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--surface, #0d1118);
  color: var(--text, #f4f7fb);
  font-size: 22px;
  font-weight: 800;
}

.hover-card-avatar.is-token {
  border-radius: 12px;
}

.hover-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hover-card-name {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 17px;
  font-weight: 800;
}

.hover-card-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hover-card-seal {
  display: inline-grid;
  width: 19px;
  height: 18px;
  flex: none;
  place-items: center;
}

.hover-card-seal svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hover-card-handle {
  color: var(--text-muted, #5f7086);
  font-size: 14px;
}

.hover-card-bio {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow-wrap: anywhere;
}

.hover-card-counts {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  color: var(--text-muted, #5f7086);
}

.hover-card-counts strong {
  color: var(--text, #f4f7fb);
  font-weight: 800;
}

.hover-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hover-card-head .hover-card-name {
  margin-top: 0;
}

.hover-card-price {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 800;
}

.hover-card-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin-top: 12px;
}

.hover-card-stat span {
  display: block;
  color: var(--text-muted, #5f7086);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hover-card-stat strong {
  font-size: 14px;
  font-weight: 760;
}

.hover-card .is-up {
  color: var(--positive, #22c55e);
}

.hover-card .is-down {
  color: var(--negative, #ef4444);
}

.hover-card-empty {
  margin: 0;
  color: var(--text-muted, #5f7086);
}


.post-card-movers {
  width: calc(100% + 32px);
  margin: 10px -16px 0;
  overflow: hidden;
  border: 0;
  border-top: 1px solid var(--border, #243043);
  border-radius: 8px 8px 0 0;
  background: var(--surface, #0d1118);
}

.post-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--border, #243043);
  padding: 10px 14px;
}

.post-card-head strong {
  color: var(--text, #f4f7fb);
  font-size: 14px;
  font-weight: 800;
}

.post-card-head span {
  color: var(--text-muted, #5f7086);
  font-size: 12px;
  font-weight: 700;
}

.post-card-row {
  display: grid;
  grid-template-columns: 18px 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border, #243043);
  color: inherit;
  padding: 9px 14px;
  text-decoration: none;
}

.post-card-row:last-child {
  border-bottom: 0;
}

.post-card-row:hover {
  background: var(--surface-hover, rgba(148, 163, 184, 0.08));
}

.post-card-rank {
  color: var(--text-muted, #5f7086);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.post-card-logo {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-raised, #121824);
  color: var(--text, #f4f7fb);
  font-size: 12px;
  font-weight: 800;
}

.post-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-names {
  display: grid;
  min-width: 0;
}

.post-card-names strong {
  overflow: hidden;
  color: var(--text, #f4f7fb);
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-card-names span {
  overflow: hidden;
  color: var(--text-muted, #5f7086);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-card-change {
  font-size: 14px;
  font-weight: 800;
}

.post-card-change.is-up {
  color: var(--positive, #22c55e);
}

.post-card-change.is-down {
  color: var(--negative, #ef4444);
}
