* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #f0f4f8; display: flex; justify-content: center; align-items: center; min-height: 100vh; font-family: 'Courier New', monospace; overflow: hidden; }
.game-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.score-bar { display: flex; gap: 24px; font-size: 16px; font-weight: bold; color: #1e293b; }
.score-bar strong { color: #2563eb; }
#grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 360px; height: 360px; }
.cell { background: #dbeafe; border-radius: 8px; display: flex; justify-content: center; align-items: center; font-size: 24px; font-weight: bold; transition: background 0.1s; }
#status { color: #2563eb; font-size: 14px; font-weight: bold; min-height: 20px; }
.home-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  background: rgba(255,255,255,0.9);
  color: #2563eb;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border: 2px solid #60a5fa;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.15s ease;
}

.home-btn:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
