:root {
  --bg: #05060a;
  --panel: #10131d;
  --rowA: #1a1d28;
  --rowB: #141722;
  --line: #2a2d3a;
  --txt: #e8ecf1;
  --muted: #9ca5b0;
  --red: #ef1010;
  --yellow: #f6f10f;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: linear-gradient(180deg, #070811 0%, #05060a 40%, #030409 100%);
  color: var(--txt);
  font-family: "Segoe UI", Tahoma, sans-serif;
}
.topbar {
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  font-weight: 700;
}
.brand { letter-spacing: 1px; }
.tabs { display: flex; gap: 20px; font-size: 14px; }
.tab { opacity: .8; }
.tab.active { opacity: 1; border-bottom: 3px solid #fff; padding-bottom: 4px; }
.status {
  background: #fff;
  color: #111;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}
.wrap { padding: 16px 20px 24px; }
.summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.tile {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 10px;
}
.tile .k { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.tile .v { margin-top: 6px; font-size: 20px; font-weight: 700; }
.board {
  background: #0b0f18;
  border: 1px solid var(--line);
}
.board-head {
  text-align: center;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .5px;
}
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
thead th {
  font-size: 14px;
  color: #c6ccd4;
  padding: 10px 8px;
  text-align: left;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
tbody td {
  padding: 11px 8px;
  font-size: 17px;
  border-bottom: 1px solid #232734;
}
tbody tr:nth-child(odd) { background: var(--rowA); }
tbody tr:nth-child(even) { background: var(--rowB); }
.pos {
  min-width: 38px;
  background: #f5f5f5;
  color: #111;
  text-align: center;
  border-radius: 2px;
  display: inline-block;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  padding: 0 6px;
}
.driver { font-weight: 700; }
.bar {
  height: 18px;
  background: #2b2e39;
  border: 1px solid #3b3f4e;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.fill {
  height: 100%;
  background: linear-gradient(90deg, #f9ff17 0%, #dbe201 100%);
}
.barTxt {
  position: absolute;
  right: 6px;
  top: 0;
  line-height: 16px;
  font-size: 12px;
  color: #f0f015;
  font-weight: 700;
}
@media (max-width: 1100px) {
  .summary { grid-template-columns: repeat(2, 1fr); }
  .tabs { display: none; }
  thead th:nth-child(7), thead th:nth-child(8), tbody td:nth-child(7), tbody td:nth-child(8) { display: none; }
}
