/* ===== THUMBNAIL UPLOADER — HALLOWEEN STYLE ===== */
.thumb-uploader {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px;
  background: var(--bg-muted);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.thumb-uploader:hover {
  border-color: var(--pumpkin);
  background: var(--card-hover);
}

.thumb-preview {
  width: 120px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-strong);
  background: linear-gradient(135deg, var(--witch-soft) 0%, var(--pumpkin-soft) 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.thumb-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-placeholder {
  font-size: 28px;
  opacity: 0.5;
}

.thumb-controls {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.thumb-controls .btn {
  justify-content: center;
  padding: 8px 14px;
  font-size: 12.5px;
  width: 100%;
}

.thumb-hint {
  font-size: 11px;
  color: var(--ink-faint);
  font-weight: 500;
}

.thumb-progress {
  width: 100%;
  height: 6px;
  background: var(--bg);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
}

.thumb-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pumpkin) 0%, var(--witch) 100%);
  transition: width 0.2s ease;
}

.thumb-uploader.uploading {
  pointer-events: none;
  opacity: 0.7;
}

/* Mobile */
@media (max-width: 480px) {
  .thumb-uploader { flex-direction: column; align-items: stretch; }
  .thumb-preview { width: 100%; height: 140px; }
}