body.dashboard-body {
  background: #12151f;
  color: #e7eaf2;
}

.dashboard-body .topnav {
  background: #181c29;
  background-image: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.dashboard-body .topnav nav a { background: rgba(255,255,255,0.06); color: #c6cbda; }
.dashboard-body .topnav nav a.active { background: #f2b705; color: #181c29; }

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  align-items: center;
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  background: #1c2132;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}
.filter-btn {
  padding: 8px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #9aa3b9;
  cursor: pointer;
  border: none;
  background: transparent;
}
.filter-btn.active { background: #2f6fed; color: #fff; }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
@media (max-width: 700px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }

.kpi-card {
  background: linear-gradient(145deg, #1c2132, #181c29);
  border: 1px solid #262c40;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.kpi-card .kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7f89a3;
  margin-bottom: 8px;
  font-weight: 700;
}
.kpi-card .kpi-value {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
}
.kpi-card .kpi-sub { font-size: 12px; color: #8891a8; margin-top: 4px; }
.kpi-card.accent-yellow .kpi-value { color: #f2b705; }
.kpi-card.accent-teal .kpi-value { color: #26d0b0; }
.kpi-card.accent-coral .kpi-value { color: #ff6b6b; }

.panel-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
@media (max-width: 800px) { .panel-grid { grid-template-columns: 1fr; } }

.bi-panel {
  background: #181c29;
  border: 1px solid #262c40;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
.bi-panel h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9aa3b9;
  margin: 0 0 14px;
  font-weight: 700;
}
.bi-panel canvas { max-width: 100%; }
.chart-box { position: relative; height: 260px; width: 100%; }

.player-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.player-table th {
  text-align: left;
  color: #7f89a3;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 10px;
  border-bottom: 1px solid #262c40;
}
.player-table td {
  padding: 10px 10px;
  border-bottom: 1px solid #1f2436;
  color: #e7eaf2;
}
.player-table tr:hover td { background: #1f2436; }
.rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #262c40;
  font-size: 11px;
  font-weight: 800;
  margin-right: 6px;
}
.rank-pill.gold { background: #f2b705; color: #181c29; }
.winrate-bar-bg {
  background: #262c40;
  border-radius: 6px;
  height: 8px;
  width: 90px;
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
  margin-right: 8px;
}
.winrate-bar-fill { height: 100%; background: linear-gradient(90deg, #2f6fed, #26d0b0); }

.empty-state {
  text-align: center;
  color: #7f89a3;
  padding: 30px 10px;
  font-size: 14px;
}
