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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #1a1a2e;
  color: #e0e0e0;
}

#header {
  padding: 10px 16px;
  background: #16213e;
  border-bottom: 1px solid #0f3460;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 1000;
}

#header h1 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4ade80;
  white-space: nowrap;
}

#controls {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

#controls label {
  font-size: 0.82rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 6px;
}

#controls select {
  background: #0f3460;
  border: 1px solid #1e5c9e;
  color: #e0e0e0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
  cursor: pointer;
}

#controls button {
  background: #0f3460;
  border: 1px solid #1e5c9e;
  color: #e0e0e0;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s;
}

#controls button:hover { background: #1e5c9e; }

#map {
  flex: 1;
  width: 100%;
}

#stats-panel {
  padding: 8px 20px;
  background: #16213e;
  border-top: 1px solid #0f3460;
  display: flex;
  gap: 24px;
  justify-content: center;
  z-index: 1000;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4ade80;
}

.stat-label {
  font-size: 0.75rem;
  color: #9ca3af;
}
