body {
  font-family: -apple-system, "Segoe UI", sans-serif;
  text-align: center;
  margin: 0;
  padding: 1rem;
  background: #fdf6f8;
}

h1 {
  color: #c2185b;
  margin: 0.5rem 0;
}

.hint {
  color: #555;
  margin-bottom: 1rem;
}

.page-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.page-container img {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.zone {
  position: absolute;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.1s, border-color 0.1s;
}

.zone:hover,
.zone.group-hover {
  background: rgba(255, 235, 59, 0.25);
}

.zone.active {
  background: rgba(255, 235, 59, 0.55);
  border-color: #fbc02d;
}

.cell {
  position: absolute;
  border-radius: 6px;
  transition: background 0.1s, border-color 0.1s;
}

.cell-active {
  cursor: pointer;
  border: 2px solid transparent;
}

.cell-active:hover {
  background: rgba(255, 235, 59, 0.25);
  border-color: #fbc02d;
}

.cell-disabled {
  cursor: default;
}

#play-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 2rem;
  background: #fff;
  color: #c2185b;
  border: 2px solid #c2185b;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.15s;
  margin-bottom: 1rem;
}

#play-all-btn:hover {
  background: #c2185b;
  color: #fff;
}

#play-all-btn:active {
  transform: scale(0.97);
}

.home-link {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #c2185b;
  text-decoration: none;
  font-weight: bold;
}

.home-link:hover {
  text-decoration: underline;
}

.extra-link {
  display: block;
  margin: 1rem auto 0;
  max-width: 320px;
  padding: 0.7rem 1rem;
  background: #fff;
  border: 2px solid #f8bbd0;
  border-radius: 10px;
  color: #c2185b;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.1s, border-color 0.1s;
}

.extra-link:hover {
  background: rgba(255, 235, 59, 0.25);
  border-color: #fbc02d;
}
