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

body {
  font-family: 'Courier New', monospace;
  background: #050508;
  color: #c8a84b;
  min-height: 100vh;
}

.bv-app {
  max-width: 520px;
  margin: 0 auto;
  padding: 16px;
}

.bv-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  margin-bottom: 12px;
  gap: 8px;
}

.bv-header h1 {
  font-size: 0.95rem;
  color: #8b0000;
  letter-spacing: 0.06em;
}

.bv-header a { color: #888; text-decoration: none; }
.bv-header a:hover { color: #c8a84b; }

.bv-hud {
  text-align: center;
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid rgba(200, 168, 75, 0.3);
  border-radius: 8px;
  background: rgba(10, 5, 5, 0.8);
}

.bv-battery { font-size: 0.88rem; }
.bv-battery-icon { margin-right: 6px; }

.bv-hud-tip { font-size: 0.72rem; color: #888; margin-top: 6px; }

.bv-hud.is-hunt .bv-hud-tip { color: #c44; }
.bv-hud.is-safe .bv-hud-tip { color: #6a6; }

#bv-canvas {
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border: 2px solid #333;
  background: #0a0a12;
  image-rendering: pixelated;
}

.bv-controls, .bv-status {
  text-align: center;
  font-size: 0.72rem;
  margin-top: 10px;
  color: #666;
}

.bv-status { color: #888; min-height: 1.2em; }

.bv-fallback {
  margin-top: 12px;
  padding: 12px;
  font-size: 0.78rem;
  color: #aaa;
  border: 1px dashed #444;
  border-radius: 6px;
}

.bv-fallback input[type="range"] { width: 100%; margin: 8px 0; }

.bv-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 50;
}

.bv-overlay[hidden] { display: none !important; }
.bv-overlay h2 { color: #8b0000; font-size: 1.5rem; }
.bv-overlay p { color: #aaa; font-size: 0.88rem; max-width: 320px; text-align: center; }
.bv-overlay button {
  padding: 10px 24px;
  font-family: inherit;
  background: #8b0000;
  color: #f0d880;
  border: 1px solid #c8a84b;
  cursor: pointer;
}
