/* Генерално класиране */
.st-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border, #1e2836);
  padding-bottom: 1rem;
}

.st-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.st-header h1 span {
  color: var(--accent, #e10600);
}

.st-session {
  background: var(--panel, #12181f);
  border: 1px solid var(--border, #1e2836);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: #cbd5e1;
}

.st-session p {
  margin: 0.2rem 0;
}

.st-session .muted {
  color: var(--muted, #8b9aad);
  font-size: 0.82rem;
}

.st-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .st-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.st-panel {
  background: var(--panel, #12181f);
  border: 1px solid var(--border, #1e2836);
  border-radius: 12px;
  overflow: hidden;
}

.st-panel h2 {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  background: #0f141c;
  border-bottom: 1px solid var(--border, #1e2836);
  color: var(--text, #e8eef5);
}

.st-table-wrap {
  overflow-x: auto;
}

.st-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.st-table th,
.st-table td {
  padding: 0.55rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid var(--border, #1e2836);
}

.st-table th {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted, #8b9aad);
  background: #0a1018;
}

.st-table tr:last-child td {
  border-bottom: none;
}

.st-pos {
  width: 2.5rem;
  font-weight: 700;
  color: var(--muted, #8b9aad);
}

.st-pts {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #f8fafc;
}

.st-driver-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.st-bar {
  width: 4px;
  height: 32px;
  border-radius: 2px;
  background: #444;
  flex-shrink: 0;
}

.st-name {
  font-weight: 600;
}

.st-team {
  font-size: 0.78rem;
  color: var(--muted, #8b9aad);
}

.st-loading,
.st-error,
.st-empty {
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border, #1e2836);
  background: var(--panel, #12181f);
  color: var(--muted, #8b9aad);
}

.st-error {
  border-color: #7f1d1d;
  background: #3f1515;
  color: #fecaca;
}
