.galleryWrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.mainDisplay {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.03);
}

html[data-theme='dark'] .mainDisplay {
  background: rgba(255, 255, 255, 0.02);
}

.mainImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fadeIn 0.4s ease;
}

.thumbnailList {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumbBtn {
  width: 90px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  background: var(--glass-bg);
}

.thumbBtn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.activeThumb {
  border-color: var(--accent) !important;
  border-width: 2px;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

.thumbImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fallback state */
.galleryPlaceholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.placeholderIcon {
  font-size: 36px;
  margin-bottom: 12px;
}

.galleryPlaceholder p {
  font-size: 14px;
  max-width: 240px;
}

@keyframes fadeIn {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}
