.float-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.float-hero-top .big-number { font-size: 44px; text-align: right; }
.float-hero-top .sub { font-size: 12px; color: var(--text-60); max-width: 32ch; text-align: right; }

.float-panel {
  background: var(--white);
  border-radius: 14px;
  padding: 20px;
}
.float-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.float-panel-grid .metric { padding: 18px 22px; }
.float-panel-grid .metric:nth-child(1),
.float-panel-grid .metric:nth-child(2) { border-bottom: 1px solid var(--rule); }
.float-panel-grid .metric:nth-child(1) { border-right: 1px solid var(--rule); }
.float-panel-grid .metric:nth-child(3) { border-right: 1px solid var(--rule); }
.float-panel-grid .value { font-size: 30px; margin: 6px 0 4px; }

.panels-2col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: 20px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.panel-head .label { margin: 0; }
.panel-head .sub { font-size: 12px; color: var(--text-60); }

.event-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}
.event-row:last-child { border-bottom: none; }
.event-row .time { color: var(--text-45); width: 34px; font-family: var(--font-mono); font-size: 11px; }
.event-row .launched-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--text-60);
}
.event-row .quoted { color: var(--text-60); }
.event-row .quoted img { width: 14px; height: 14px; border-radius: 3px; vertical-align: middle; margin: 0 3px; }

.rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.rank-row:last-child { border-bottom: none; }
.rank-row .n { font-family: var(--font-mono); font-size: 12px; color: var(--text-45); width: 16px; }
.rank-row .name { font-size: 13px; width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row .bar-track { flex: 1; height: 8px; background: var(--rule); border-radius: 4px; overflow: hidden; }
.rank-row .bar-fill { height: 100%; background: var(--bg-dark); }
.rank-row .amt { font-family: var(--font-mono); font-size: 12px; width: 90px; text-align: right; }
.rank-row .pill-btn { margin-left: 8px; }

.filter-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 14px 0; }
.filter-row .label { margin-bottom: 0; }
.search-box {
  flex: 1;
  min-width: 200px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  background: var(--white);
  color: var(--text-60);
}
.min-supply-row { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--text-60); }
.min-supply-row button {
  border: 1px solid var(--rule);
  background: none;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
}
.min-supply-row button.active { background: var(--bg-dark); color: var(--white); border-color: var(--bg-dark); }

.empty-state { text-align: center; padding: 40px 0; color: var(--text-45); font-size: 14px; }

.legend-row { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--text-60); margin-top: 10px; }
.legend-row .swatch { width: 10px; height: 10px; display: inline-block; border-radius: 2px; margin-right: 5px; vertical-align: middle; }

@media (max-width: 900px) {
  .panels-2col, .float-panel-grid { grid-template-columns: 1fr; }
  .float-hero-top { flex-direction: column; }
  .float-hero-top .big-number, .float-hero-top .sub { text-align: left; }
}
