body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f3f4f6;
  color: #111827;
}

main#app {
  max-width: 420px;
  margin: 0 auto;
  padding: 16px;
}

h1 {
  text-align: center;
  margin-bottom: 8px;
}

#status {
  text-align: center;
  font-size: 14px;
  margin-bottom: 12px;
  color: #4b5563;
}

.hidden {
  display: none;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  outline: none;
  background: #2563eb;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.button.secondary {
  background: #e5e7eb;
  color: #111827;
}

.input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  box-sizing: border-box;
}

.player-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.player-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 14px;
}

.player-name {
  font-weight: 600;
}

.controls-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.controls-buttons {
  display: flex;
  gap: 8px;
}

.vip-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: #f97316;
  color: #111827;
  margin-left: 6px;
}

.section-title {
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 4px;
}

.round-label {
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  margin-top: 4px;
  margin-bottom: 4px;
}

.round-helper {
  font-size: 13px;
  color: #6b7280;
  margin-top: 0;
  margin-bottom: 8px;
}

.round-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.round-score-input {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
}

.round-score-plus {
  min-width: 72px;
  font-size: 16px;
}

.card-header-with-crown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-header-with-crown h2 {
  margin: 0;
  flex: 1;
}

.crown-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid #d1d5db;
  background: #f9fafb;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.crown-button:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.crown-button-active {
  background: #fef3c7;
  border-color: #fbbf24;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
}

.crown-button-active:hover {
  background: #fde68a;
  border-color: #f59e0b;
}


