/* ---------------------------------------------------------------- stats panel */

.stats-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}
.stats-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 0.8rem;
}
.stats-history {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 48px;
}
.stats-bar-wrap {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.stats-bar {
  width: 100%;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  min-height: 2px;
}
.stats-bar.empty { background: var(--border); min-height: 2px; }
.stats-bar-wrap:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-dark);
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  white-space: nowrap;
  margin-bottom: 0.3rem;
}
