/* Portfolio: three numbers, then holdings, launched tokens and trades as plain tables and cards. */

.pf-title { display: grid; gap: 12px; }
.pf-addr { gap: 8px; font-size: 14px; color: var(--muted); }
.pf-addr .mono { color: var(--text); }

.pf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; }
.pf-stat { display: grid; gap: 6px; }
.pf-sub { color: var(--muted); }
.pf-sub.up { color: var(--up); }
.pf-sub.down { color: var(--down); }

.pf-section { margin-bottom: 48px; }
.pf-empty { padding: 40px 16px; }
.pf-empty .empty-title { font-size: 18px; }

.pf-table td { padding-top: 10px; padding-bottom: 10px; }
.pf-table tbody tr:last-child td { border-bottom: 0; }
.pf-token { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.pf-token-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-weight: 500; }
.pf-token:hover .pf-token-name > :first-child { text-decoration: underline; text-underline-offset: 3px; }
.pf-act { width: 1%; }
.pf-side { font-weight: 600; }

.pf-mine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
a.pf-mine { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pf-mine-main { display: grid; gap: 6px; min-width: 0; }
.pf-mine-sub { display: flex; align-items: center; gap: 10px; font-size: 14px; }

.pf-reset { display: flex; justify-content: center; padding-top: 8px; }
.pf-reset-btn { border: 0; background: none; padding: 4px; font-size: 13px; color: var(--muted); }

@media (max-width: 767px) {
  .pf-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-bottom: 36px; }
  .pf-stat { padding: 16px; }
  .pf-stat:first-child { grid-column: 1 / -1; }
  .pf-stat:not(:first-child) .t-big { font-size: 20px; }
  .pf-token .av { --s: 32px !important; }
  .pf-section { margin-bottom: 36px; }
  .pf-token .tk { display: none; }
  .pf-token-name > :first-child { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pf-table th, .pf-table td { padding-left: 6px; padding-right: 6px; }
}
