body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}
h1 {
  margin: 20px;
  font-size: 2rem;
}
#grid {
  display: grid;
  grid-template-columns: repeat(200, 5px);
  grid-template-rows: repeat(100, 5px);
  gap: 1px;
  background-color: #ddd;
  overflow: auto;
  max-width: 100vw;
  max-height: 90vh;
  border: 1px solid #ccc;
}
.square {
  width: 5px;
  height: 5px;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}
.square:hover {
  background-color: #ddd;
}
.square.claimed {
  background-color: #4caf50;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal.hidden {
  display: none;
}
.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  width: 300px;
}
.modal-content input[type="text"],
.modal-content input[type="file"] {
  width: 100%;
  margin: 10px 0;
}
.modal-content button {
  width: 100%;
  padding: 10px;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}
.close {
  float: right;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
}
