.card    { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); }
.card-sm { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm); }

.sh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sh-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
}
.sh-bar { width: 3px; height: 14px; background: var(--accent); border-radius: 2px; }
.sh-more {
  font-size: 11px;
  color: var(--text3);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: color .15s;
}
.sh-more:hover { color: var(--accent); }

.stats-strip {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  overflow: hidden;
  margin-bottom: 16px;
}
.ssi {
  flex: 1;
  padding: 14px 10px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.ssi:last-child { border-right: none; }
.ssi-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}
.ssi-n.ac { color: var(--accent); }
.ssi-n.li { color: var(--live); }
.ssi-l { font-size: 10px; color: var(--text3); margin-top: 3px; }

@media (max-width: 580px) {
  .stats-strip { flex-wrap: wrap; }
  .ssi { min-width: 50%; }
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--live-bg);
  border: 1px solid rgba(220,38,38,.22);
  border-radius: 6px;
  padding: 3px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--live);
}
.badge-ft {
  display: inline-flex;
  align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 500;
  color: var(--text3);
}
.badge-soon {
  display: inline-flex;
  align-items: center;
  background: var(--gold-bg);
  border: 1px solid rgba(180,83,9,.2);
  border-radius: 6px;
  padding: 3px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
}

.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  overflow-x: auto;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  font-size: 12px;
  font-weight: 500;
  color: var(--text3);
  padding: 9px 13px;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .12s;
}
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab:hover:not(.active) { color: var(--text2); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

.table-wrap {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.std-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.std-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text3);
  padding: 9px 10px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}
.std-table th:nth-child(2) { text-align: left; }
.std-table td {
  padding: 8px 10px;
  text-align: center;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background .1s;
}
.std-table tr:last-child td { border-bottom: none; }
.std-table tr:hover td { background: var(--hover); }
.std-table td:nth-child(2) { text-align: left; font-weight: 500; }
.std-table td:first-child {
  color: var(--text3);
  width: 30px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}
.td-pts {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent) !important;
}
.pos-cl { color: var(--accent) !important; font-weight: 700; }
.pos-el { color: var(--green) !important; }
.pos-rel { color: var(--red) !important; }

.fb {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.fb.w { background: var(--green); }
.fb.d { background: var(--text3); }
.fb.l { background: var(--red); }
.form-badges { display: inline-flex; gap: 2px; }

.legend { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text3); }
.legend-dot { width: 9px; height: 9px; border-radius: 2px; }

.mini-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.mini-table tr { border-bottom: 1px solid var(--border); }
.mini-table tr:last-child { border-bottom: none; }
.mini-table td { padding: 7px 10px; color: var(--text); }
.mini-table td:first-child {
  color: var(--text3);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  width: 22px;
}
.mini-table td:nth-child(2) { font-weight: 500; }
.mini-table td:last-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  text-align: right;
}
.mini-table tr:hover td { background: var(--hover); }

.search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  margin-bottom: 12px;
}
.search-wrap input {
  background: none;
  border: none;
  outline: none;
  font-size: 12px;
  color: var(--text);
  flex: 1;
  padding: 8px 0;
}
.search-wrap input::placeholder { color: var(--text3); }

.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chip {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text2);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--border2); }
.chip.active { background: var(--accent-g); border-color: var(--accent); color: var(--accent); }

.watch-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.watch-label { font-size: 10px; color: var(--text3); font-weight: 500; white-space: nowrap; }
.watch-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent-g);
  border: 1px solid rgba(37,99,235,.2);
  color: var(--accent);
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  transition: all .15s;
  white-space: nowrap;
}
.watch-link:hover { background: var(--accent); color: #fff; }
