@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

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

body {
  background: #0a0a0a;
  color: #00ff41;
  font-family: 'Press Start 2P', monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

h1 {
  color: #ff00ff;
  font-size: 18px;
  margin-bottom: 6px;
  text-shadow: 0 0 10px #ff00ff;
}

.info {
  font-size: 8px;
  margin-bottom: 10px;
  color: #888;
}

canvas {
  border: 3px solid #00ff41;
  box-shadow: 0 0 20px #00ff41;
  display: block;
}

#msg {
  font-size: 10px;
  margin-top: 14px;
  color: #ffff00;
  min-height: 22px;
  text-align: center;
}

.back {
  margin-top: 16px;
  font-size: 9px;
  color: #00ff41;
  text-decoration: none;
  border: 2px solid #00ff41;
  padding: 8px 16px;
}

.back:hover {
  background: #00ff41;
  color: #0a0a0a;
}

.toggle-btn {
  font-family: 'Press Start 2P', monospace;
  font-size: 9px;
  cursor: pointer;
  padding: 8px 14px;
  border: 2px solid #ffff00;
  color: #ffff00;
  background: transparent;
}

.toggle-btn.active { background: #ffff00; color: #0a0a0a; }
.toggle-btn:hover { box-shadow: 0 0 10px #ffff00; }
