html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: sans-serif;
}

#viewer {
  width: 100%;
  height: 100%;
}

#thumbnail-strip {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 101;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  overflow-x: auto;
  max-width: 95%;
}

.thumb-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thumb {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}

.thumb:hover {
  transform: scale(1.05);
}

.thumb.active {
  border-color: #00d1ff;
}

.thumb-label {
  margin-top: 5px;
  font-size: 12px;
  color: white;
  text-align: center;
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
