:root{
  --bg:#0b0f14;
  --panel:#0f1620;
  --panel2:#101a26;
  --text:#dbe7ff;
  --muted:#93a4bf;
  --line:rgba(255,255,255,0.08);
  --accent:#2ea8ff;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:linear-gradient(180deg,#070a0f, #0b0f14);
  color:var(--text);
}
.topnav{
  display:flex;
  gap:10px;
  padding:12px 16px;
  background:rgba(255,255,255,0.04);
  border-bottom:1px solid var(--line);
}
.topnav a{
  color:var(--text);
  text-decoration:none;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  opacity:.9;
}
.topnav a:hover{opacity:1;border-color:rgba(46,168,255,0.5)}
.header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:18px 16px;
  border-bottom:1px solid var(--line);
}
.title h1{margin:0 0 6px 0;font-size:22px}
.sub{color:var(--muted);font-size:12px;max-width:700px}
.actions{display:flex;gap:10px;flex-wrap:wrap}
button{
  background:transparent;
  color:var(--text);
  border:1px solid var(--line);
  padding:8px 12px;
  border-radius:10px;
  cursor:pointer;
}
button:hover{border-color:rgba(46,168,255,0.5)}
button.primary{border-color:rgba(46,168,255,0.8)}
.grid{padding:16px}
.card{
  background:linear-gradient(180deg,var(--panel),var(--panel2));
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
}
.table{
  width:100%;
  border-collapse:collapse;
  margin-top:8px;
}
.table th,.table td{
  border-bottom:1px solid var(--line);
  padding:10px 8px;
  font-size:12px;
  text-align:left;
  vertical-align:top;
}
.table thead th{
  position:sticky;
  top:0;
  background:rgba(10,14,20,0.95);
  z-index:2;
}
.muted{color:var(--muted)}
.badge{
  display:inline-block;
  padding:3px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:11px;
  color:var(--muted);
}
.liveScore{
  font-weight:700;
  color:var(--accent);
}
.footer{
  padding:10px 16px;
  color:var(--muted);
  font-size:12px;
  border-top:1px solid var(--line);
}
/* === TIPSTER_LIVE_STYLES === */
.tableWrap{
  max-height: calc(100vh - 260px);
  overflow:auto;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
}

.tableWrap table{ margin:0; }

.tableWrap thead th{
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(10,14,22,0.98);
}

.kpisRow{
  display:flex;
  gap:14px;
  align-items:center;
  font-size: 13px;
  opacity: 0.90;
  margin: 0 0 10px 0;
}

.liveScoreCell{
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
/* === END TIPSTER_LIVE_STYLES === */

/* === TIPSTER_UI_GLOBAL === */
.tableWrap{
  max-height: calc(100vh - 260px);
  overflow:auto;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
}

.tableWrap table{ margin:0; }

.tableWrap thead th{
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(10,14,22,0.98);
}

.kpisRow{
  display:flex;
  gap:14px;
  align-items:center;
  font-size: 13px;
  opacity: 0.90;
  margin: 0 0 10px 0;
}

.liveScore{
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
/* === END TIPSTER_UI_GLOBAL === */
