:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* NAVBAR */
.nav {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-container {
  max-width: 900px;
  margin: auto;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent);
}

/* MAIN */
.container {
  max-width: 900px;
  margin: auto;
  padding: 16px;
}

.match-header h1 {
  margin-bottom: 4px;
}

.match-header p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* CARDS */
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 16px;
}

/* SCORE */
.score {
  text-align: center;
}

.score h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.score-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--muted);
}

/* PROBABILITY */
.prob-bar {
  height: 10px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin: 8px 0;
}

#prob-fill {
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, #2563eb, #22c55e);
}

/* TABLE */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  font-size: 0.9rem;
}

th {
  color: var(--muted);
  font-weight: 600;
}

/* FOOTER */
.footer {
  margin-top: 40px;
  padding: 24px 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
