.photoGroupLabel {
  font-size: 10px;
  color: #5544aa;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 24px 0 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.photoGroupLabel::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #330044, transparent);
}

.photoGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0;
}

.photoThumb {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #330044;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.photoThumb:hover {
  border-color: #aa44ff;
  box-shadow: 0 0 14px rgba(160,0,255,0.4);
}

.photoThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.photoThumb:hover img { transform: scale(1.06); }#photoModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

#photoModal.open { display: flex; }

#photoModalImg {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid #7a00aa;
  box-shadow: 0 0 40px rgba(120,0,200,0.5);
}

#photoModalClose {
  position: absolute;
  top: 18px;
  right: 24px;
  color: #7a00aa;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: monospace;
  line-height: 1;
}

#photoModalClose:hover { color: #ff66ff; }

.photoThumb--gif {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #050010;
  gap: 6px;
  cursor: pointer;
}

.gifIcon {
  font-size: 30px;
  color: #7a00aa;
  transition: color 0.2s;
  pointer-events: none;
}

.gifLabel {
  font-size: 9px;
  color: #5544aa;
  letter-spacing: 2px;
  pointer-events: none;
}

.photoThumb--gif:hover .gifIcon { color: #ff66ff; }
.photoThumb--gif:hover .gifLabel { color: #cc99ff; }