/* ============================================================
   Alpha Finance v2: Real World Assets (/real-world-assets/)
   Loaded after sentiment.css. The sector bar under the hero, the two
   stacked charts, the sector tabs and the token board live here.
   ============================================================ */

.feed.is-captured .dot { background: var(--lime); }

/* the split of the total by sector, one strip under the hero */
.sec-strip { padding: 12px 18px 14px; }
.sec-bar { display: flex; height: 8px; border-radius: 3px; overflow: hidden; background: var(--bg-2); }
.sec-bar i { display: block; height: 100%; }
.sec-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 11.5px; color: var(--text-2); }
.sec-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sec-legend i { width: 7px; height: 7px; border-radius: 2px; }
.sec-legend b { font-family: var(--mono); font-size: 10.5px; font-weight: 500; color: var(--text); }
.sec-legend small { font-family: var(--mono); font-size: 9px; color: var(--faint); }

/* charts */
.sntpanel-body.is-chart.rwa-ch { height: 300px; }
.ch-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 10px 18px 0; font-size: 11.5px; color: var(--text-2); }
.ch-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ch-legend i { width: 8px; height: 8px; border-radius: 2px; }

/* the board */
.snttable th[data-k] { cursor: pointer; user-select: none; }
.snttable th[data-k]:hover { color: var(--text); }
.snttable th[data-k].on { color: var(--lime); }
.snttable th[data-k].on::after { content: " \25BE"; }
.snttable th[data-k].on.asc::after { content: " \25B4"; }
.snttable td.rk { color: var(--faint); font-family: var(--mono); font-size: 10.5px; }
.snttable td.iss { color: var(--muted); font-size: 12px; white-space: nowrap; }
.secchip { display: inline-block; padding: 2px 7px; border-radius: 999px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); white-space: nowrap; }
.spk { width: 90px; height: 24px; display: block; margin-left: auto; }
.rwa-search { width: 170px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--text); }
.rwa-search::placeholder { color: var(--faint); }
.rwa-search:focus { outline: none; border-color: var(--line-2); }
.rwa-more { display: block; width: 100%; padding: 10px; border: 0; border-top: 1px solid var(--line); background: var(--bg-2); font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); cursor: pointer; }
.rwa-more:hover { color: var(--text); }
.coin-cell img { width: 18px; height: 18px; border-radius: 50%; background: var(--panel-2); }

@media (max-width: 760px) {
  .sntpanel-body.is-chart.rwa-ch { height: 220px; }
  .spk { width: 60px; }
}

/* the two charts side by side inside one panel */
.snt-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1080px) { .snt-grid-2 { grid-template-columns: minmax(0, 1fr); } }
