.pb-pool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin: 12px 0;
  max-height: 280px;
  overflow-y: auto;
}

.pb-pool-card {
  margin: 0;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pb-pool-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.pb-pool-card figcaption {
  font-size: 0.72rem;
  margin: 4px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pb-drop-zone {
  border: 2px dashed rgba(124, 92, 255, 0.45);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.pb-drop-zone.is-drag,
.pb-drop-zone:hover {
  border-color: #7c5cff;
  background: rgba(124, 92, 255, 0.08);
}

.panel-photo-battle-only.hidden {
  display: none !important;
}

.dashboard-layout[data-game-mode="photo-battle"] .panel-puzzle-only:not(.panel-photo-battle-shared),
.dashboard-layout[data-game-mode="photo-battle"] #panelQuestions,
.dashboard-layout[data-game-mode="photo-battle"] #panelGuidePuzzle {
  display: none !important;
}
