
body {
  margin:0;
  background:#111;
  color:white;
  font-family:monospace;
  display:flex;
  flex-direction:column;
  align-items:center;
}

h1 { 
  margin:10px;
  cursor:pointer;
}

#info { 
  margin-bottom:6px; 
  font-size:16px; 
}

#score { 
  margin-bottom:10px; 
  font-size:14px; 
}

.board {
  display:grid;
  grid-template-columns:repeat(40,32px);
  grid-template-rows:repeat(20,32px);
  gap:2px;
  background:#333;
  padding:6px;
}

.cell {
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}

.wall { 
  background:#444; 
}

.floor { 
  background:#222; 
}

.gnome1,
.gnome2 {
  background: transparent;
}

.gnome-sprite {
  width: 28px;
  height: 28px;
  object-fit: contain;
  pointer-events: none;
}

.gold { 
  background:goldenrod; 
}

.beer { 
  background:purple; 
}

.hint { 
  margin-top:10px; 
  font-size:14px; 
  opacity:0.8; 
  text-align:center; 
}

.seo-text { 
  display: none; 
}

.age-warning {
  position: fixed;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 14px;
  padding: 4px 8px;
  border: 1px solid #fff;
  border-radius: 4px;
  z-index: 9999;
  opacity: 0.8;
}

.player-green {
  color: #5ecf5e;
  font-weight: bold;
}

.player-blue {
  color: #5eb0ff;
  font-weight: bold;
}

#seriesScore {
  margin: 6px 0;
  font-size: 14px;
}

#onlineLobby {
  margin: 8px 0;
  text-align: center;
}

.players-list {
  margin-bottom: 8px;
  line-height: 1.6;
}

.lobby-hint {
  font-size: 12px;
  opacity: 0.75;
  margin-top: 6px;
}
