.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.dashboard-card {
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  background: rgba(30, 41, 59, 0.68);
}

.dashboard-card span,
.dashboard-card strong,
.dashboard-card small {
  display: block;
}

.dashboard-card span {
  margin-bottom: 8px;
  color: #94a3b8;
  font-size: 0.82rem;
}

.dashboard-card strong {
  font-size: 1.28rem;
}

.dashboard-card small {
  margin-top: 6px;
  color: #64748b;
  line-height: 1.45;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.5fr);
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-summary .panel {
  min-width: 0;
}

.race-share-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.race-share-row {
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.race-share-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.race-share-fill {
  height: 100%;
  border-radius: inherit;
  background: #38bdf8;
}

.latest-event {
  margin: 16px 0 0;
  color: #cbd5e1;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-summary {
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    padding: 14px;
  }

  .dashboard-card strong {
    font-size: 1.08rem;
  }
}
