/* Portfolio page (#/portfolio, js/views/portfolio.js) */
.pf-wallets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; align-items: center; }
.pf-wallet { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); padding: 2px 4px 2px 2px; }
.pf-wallet:not(.on) { opacity: .6; }
.pf-w-main { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; font: inherit; font-size: 13px; color: var(--text); padding: 4px 8px; cursor: pointer; border-radius: 999px; }
.pf-w-kind { font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 2px 6px; border-radius: 6px; background: var(--raise); color: var(--muted); }
.pf-w-x { background: none; border: 0; font-size: 18px; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 6px; }
.pf-w-x:hover { color: var(--down); }
.pf-add { display: inline-flex; gap: 6px; flex: 1; min-width: 260px; max-width: 520px; }
.pf-add-in { flex: 1; min-width: 0; }
.pf-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.pf-stats .stat strong.stat-v { font-size: 22px; }
.pf-alloc { margin-bottom: 14px; }
.pf-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--raise); }
.pf-bar i { display: block; height: 100%; }
.pf-bar i + i { box-shadow: -1px 0 0 var(--panel); }
.pf-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 12.5px; font-weight: 500; }
.pf-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pf-legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pf-chains { flex-wrap: wrap; }
.pf-track { display: inline-flex; gap: 6px; align-items: center; }
.pf-track select, .pf-track input { height: 30px; font-size: 12.5px; }
.pf-track input { width: 170px; }
.pf-table .row.pf-row { grid-template-columns: minmax(200px, 2.2fr) 1fr 0.8fr 1fr 1.1fr 1fr 90px; min-width: 860px; text-decoration: none; color: var(--text); }
.pf-row > span:not(.pf-tok) { text-align: right; }
.pf-row.head > span:first-child { text-align: left; }
.pf-tok { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pf-logo { position: relative; flex: none; }
.pf-chain { position: absolute; right: -4px; bottom: -3px; border-radius: 50%; background: var(--panel); padding: 1px; display: inline-flex; }
.pf-name { display: flex; flex-direction: column; min-width: 0; }
.pf-name > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-share { display: inline-flex; align-items: center; gap: 6px; justify-content: flex-end; width: 100%; }
.pf-share i { display: block; height: 4px; border-radius: 2px; background: var(--accent); max-width: 50px; flex: 0 0 auto; }
.pf-share em { font-style: normal; min-width: 42px; }
.pf-act { display: inline-flex; gap: 6px; justify-content: flex-end; align-items: center; }
.pf-ext { color: var(--muted); text-decoration: none; padding: 2px 4px; }
.pf-ext:hover { color: var(--text); }
.pf-illiquid { margin-left: 6px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); border-radius: 5px; padding: 1px 5px; }
.pf-hidden { margin-top: 14px; }
.pf-hidden .board { margin-top: 10px; }
.pf-spam { opacity: .65; }
@media (max-width: 720px) {
  .pf-stats { grid-template-columns: 1fr 1fr; }
  .pf-track input { width: 120px; }
}
.pf-wallet.on .cat-dot { border: 1.5px solid var(--accent); background: var(--accent); color: var(--accent-ink); }
