:root {
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #21262d;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --accent-primary: #58a6ff;
  --accent-success: #3fb950;
  --accent-warning: #d29922;
  --accent-danger: #f85149;
  --border: #30363d;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-sans: 'Inter', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3 { font-weight: 600; margin-bottom: 0.5rem; }
h1 { font-size: 2rem; color: var(--accent-primary); }
h2 { font-size: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }

.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.stat-box {
  background: var(--bg-tertiary);
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
}

.stat-value { font-size: 2rem; font-weight: 700; color: var(--accent-primary); }
.stat-label { font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; }

.winner { color: var(--accent-success); }
.loser { color: var(--accent-danger); }
.draw { color: var(--accent-warning); }

.bar {
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
  margin: 0.25rem 0;
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
}

.round {
  border-left: 3px solid var(--accent-primary);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.transcript {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  white-space: pre-wrap;
  background: var(--bg-tertiary);
  padding: 1rem;
  border-radius: 6px;
}

@media (max-width: 768px) {
  body { padding: 1rem; }
  .stats-grid { grid-template-columns: 1fr; }
}
