:root {
  --blue: #002395;
  --blue-light: #1a3a9c;
  --green: #007A33;
  --green-light: #0a9a40;
  --gold: #FFD100;
  --dark: #0a1628;
  --card: #112240;
  --text: #ffffff;
  --muted: #a0aec0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
#app { max-width: 480px; margin: 0 auto; min-height: 100vh; }

.header {
  background: linear-gradient(135deg, var(--blue) 50%, var(--green) 50%);
  padding: 20px 16px 16px;
  text-align: center;
  position: relative;
}
.logos { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.logo-rooster, .logo-bok { width: 56px; height: 56px; }
.title { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; }
.title span.blue { color: #4da6ff; }
.title span.green { color: #4ade80; }
.subtitle { font-size: 13px; opacity: 0.85; letter-spacing: 2px; margin-top: 2px; }

.screen { padding: 16px; }
.btn {
  display: block; width: 100%; padding: 16px; border: none; border-radius: 14px;
  font-size: 17px; font-weight: 600; margin-bottom: 12px; cursor: pointer;
  text-align: left; display: flex; align-items: center; gap: 12px;
}
.btn-blue { background: var(--blue); color: white; }
.btn-green { background: var(--green); color: white; }
.btn-ghost { background: var(--card); color: var(--text); }
.btn:active { transform: scale(0.98); }

.card {
  background: var(--card); border-radius: 16px; padding: 16px; margin-bottom: 12px;
}
.score-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid #1e3a5f;
}
.score-row:last-child { border-bottom: none; }
.team-name { font-weight: 600; font-size: 16px; }
.score { font-size: 32px; font-weight: 800; }
.score.blue { color: #60a5fa; }
.score.green { color: #4ade80; }

.points-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 12px 0; }
.point-btn {
  background: #1e3a5f; color: white; border: none; border-radius: 10px;
  padding: 12px 4px; font-weight: 700; font-size: 15px; cursor: pointer;
}
.point-btn:active { background: var(--blue); }

.series { text-align: center; font-size: 20px; font-weight: 700; margin: 8px 0; }
.series span.blue { color: #60a5fa; }
.series span.green { color: #4ade80; }

.rules { font-size: 14px; line-height: 1.5; color: var(--muted); }
.rules h3 { color: var(--text); margin: 12px 0 6px; }

.emoji-grid { display: flex; gap: 8px; justify-content: center; margin: 12px 0; flex-wrap: wrap; }
.emoji-card { background: #1e3a5f; border-radius: 12px; padding: 8px 12px; text-align: center; font-size: 12px; }

.footer-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 20px; }
