.wrapper {
  flex-shrink: 0;
  display: flex;
  gap: 12px;
  align-items: center;
}

.hiddenInput {
  display: none;
}

.trigger {
  height: var(--thumbnail-size);
  aspect-ratio: 3 / 4;
  border: 1.5px dashed var(--color-border-modal);
  background: var(--color-bg-upload);
  border-radius: var(--radius-btn);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.trigger:hover {
  border-color: var(--color-border-modal-hover);
  background: var(--color-bg-card);
}

.triggerText {
  font-size: 11px;
  color: var(--color-text-disabled);
}

.arrow {
  color: var(--color-text-disabled);
  animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.thumbItem {
  position: relative;
  height: var(--thumbnail-size);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-thumbnail);
  overflow: hidden;
  background: var(--color-bg-dropdown-elevated);
  flex-shrink: 0;
}

.thumbMedia {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbClose {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: var(--color-overlay-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s;
}

.thumbItem:hover .thumbClose {
  opacity: 1;
}

.thumbLabel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2px 0;
  text-align: center;
  font-size: 10px;
  color: var(--color-on-overlay);
  background: linear-gradient(transparent, var(--color-overlay-strong));
}
