/* ==========================================================================
   Funding Tracker — theme colors
   Same palette as market-map.css. Edit these six values to retheme.
   ========================================================================== */
.aft-wrap{
  --aft-base:      #0A0E17;
  --aft-base-2:    #141925;
  --aft-border:    #2c312f;
  --aft-contrast:  #ffffff;
  --aft-contrast-2:#575760;
  --aft-contrast-3:#A0AABF;
  --aft-accent:    #00E6CC;

  font-family:inherit;
  color:var(--aft-contrast);
}

.aft-stats{ display:flex; border:1px solid var(--aft-border); border-radius:10px; overflow:hidden; margin-bottom:16px; background:var(--aft-base-2); }
.aft-stats div{ flex:1; padding:12px 16px; border-right:1px solid var(--aft-border); }
.aft-stats div:last-child{ border-right:none; }
.aft-stats .n{ font-size:20px; font-weight:600; color:var(--aft-contrast); }
.aft-stats .l{ font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--aft-contrast-2); }

.aft-filters{
  display:flex; flex-wrap:wrap; gap:8px; align-items:center; border:1px solid var(--aft-border);
  border-radius:10px; padding:12px 14px; margin-bottom:14px; background:var(--aft-base-2);
}
.aft-filters select, .aft-filters input[type="text"]{
  padding:6px 10px; border:1px solid var(--aft-border); border-radius:6px; font-size:13px;
  background:var(--aft-base); color:var(--aft-contrast);
}
.aft-filters input[type="text"]{ flex:1; min-width:180px; }
.aft-filters input[type="text"]::placeholder{ color:var(--aft-contrast-2); }
.aft-filters select:focus, .aft-filters input:focus{ outline:none; border-color:var(--aft-accent); }

.aft-table{ width:100%; border-collapse:collapse; font-size:13.5px; }
.aft-table thead th{
  text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--aft-contrast-2);
  padding:8px 10px; border-bottom:2px solid var(--aft-border); cursor:pointer; white-space:nowrap;
}
.aft-table thead th:hover{ color:var(--aft-accent); }
.aft-table thead th.aft-sorted::after{ content:' ▾'; color:var(--aft-accent); }
.aft-table thead th.aft-sorted.asc::after{ content:' ▴'; }
.aft-table tbody tr{ border-bottom:1px solid var(--aft-border); }
.aft-table tbody tr:hover{ background:rgba(255,255,255,0.02); }
.aft-table td{ padding:10px; vertical-align:top; }
.aft-co a{ font-weight:600; color:var(--aft-contrast); text-decoration:none; }
.aft-co a:hover{ color:var(--aft-accent); }
.aft-co .cat{ display:block; font-size:11px; color:var(--aft-contrast-2); }
.aft-amount{ color:var(--aft-accent); font-weight:600; }
.aft-round{
  font-size:11px; padding:2px 8px; border-radius:99px; background:rgba(0,230,204,0.12);
  color:var(--aft-accent); border:1px solid var(--aft-border); white-space:nowrap;
}
.aft-source a{ font-size:12px; color:var(--aft-contrast-2); }
.aft-source a:hover{ color:var(--aft-accent); }
.aft-empty{ text-align:center; padding:40px; color:var(--aft-contrast-2); }
.aft-loading{ text-align:center; padding:30px; color:var(--aft-contrast-3); font-size:13.5px; }
