.upload-zone {
  border: 3px dashed var(--candy-pink);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  background: var(--white);
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--candy-pink-dark);
  background: var(--candy-pink-light);
  transform: translateY(-2px);
}
.upload-zone-icon {
  font-size: 56px;
  font-family: var(--font-display);
  color: var(--candy-pink);
  margin-bottom: 12px;
  line-height: 1;
}
.upload-zone-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.upload-zone-hint {
  font-size: 13px;
  color: var(--ink-light);
}
.upload-zone-hint .price-tag { margin-left: 8px; }

.upload-options {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}
.upload-options label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-light);
}
.format-select {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.format-chip {
  padding: 6px 14px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: var(--white);
  color: var(--ink-light);
  transition: all 0.15s;
  user-select: none;
}
.format-chip:hover { border-color: var(--candy-pink); color: var(--candy-pink-dark); }
.format-chip.active {
  background: var(--candy-pink);
  border-color: var(--candy-pink);
  color: var(--white);
}

.upload-progress-wrap {
  margin: 16px 0;
  display: none;
}
.upload-progress-wrap.show { display: block; }
.upload-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-light);
  margin-bottom: 6px;
}

.file-queue {
  margin: 16px 0;
}
.file-queue-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  box-shadow: var(--shadow-soft);
}
.file-queue-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--cream-dark);
  flex-shrink: 0;
}
.file-queue-info {
  flex: 1;
  min-width: 0;
}
.file-queue-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-queue-meta {
  font-size: 12px;
  color: var(--ink-faint);
}
.file-queue-status {
  font-size: 12px;
  font-weight: 700;
}
.file-queue-status.done { color: var(--success); }
.file-queue-status.error { color: var(--danger); }
.file-queue-status.pending { color: var(--ink-faint); }
.file-queue-remove {
  background: none;
  border: none;
  color: var(--ink-faint);
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
}
.file-queue-remove:hover { color: var(--danger); }

.result-list {
  margin-top: 24px;
}
.result-item {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.result-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--cream-dark);
}
.result-body { flex: 1; min-width: 0; }
.result-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.link-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.link-tab {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: var(--cream-dark);
  color: var(--ink-light);
  border: none;
  transition: all 0.15s;
}
.link-tab:hover { background: var(--candy-pink-light); color: var(--candy-pink-dark); }
.link-tab.active { background: var(--candy-pink); color: var(--white); }
.link-box {
  display: flex;
  gap: 8px;
  align-items: center;
}
.link-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: 'Courier New', monospace;
  background: var(--receipt);
  color: var(--ink);
  min-width: 0;
}
.link-input:focus { outline: none; border-color: var(--candy-pink); }

.storage-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
}
.storage-banner-info { flex: 1; }
.storage-banner-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-light);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 640px) {
  .upload-zone { padding: 32px 16px; }
  .upload-zone-icon { font-size: 42px; }
  .result-item { flex-direction: column; }
  .result-thumb { width: 100%; height: 160px; }
}
