/* 2026-09-29 Burcu Kopar Akademi: tahta büyütüldü, delikler görünür ve
   dokunmaya uygun (özgün sürümde 140×120 px, görünmez hücreler). Oyun
   mantığı ve sınıf adları (taken, player-one, player-two) değişmedi. */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 16px;
  display: grid;
  justify-items: center;
  gap: 10px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #071226;
  background: #fff;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 650;
}

#result:empty {
  display: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: min(1.6vw, 10px);
  width: min(100%, 560px);
  padding: min(2vw, 14px);
  border-radius: 18px;
  background: #087f8c;
}

.grid div {
  aspect-ratio: 1;
  min-width: 0;
  border-radius: 50%;
  background: #e8f7f7;
  box-shadow: inset 0 3px 6px rgb(7 18 38 / 0.25);
  cursor: pointer;
}

/* Alt sınır satırı yalnız oyun mantığı için; görünmez. */
.grid div.taken:nth-last-child(-n + 7) {
  display: none;
}

.grid div:hover {
  background: #fff;
}

.player-one {
  background: #d64545 !important;
}

.player-two {
  background: #1f5fbf !important;
}
