/* studio27 — upload page */
.upload-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 16px 40px;
}

.hero { text-align: center; padding: 18px 4px 22px; }
.eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero h1 {
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 0%, var(--gold-2) 140%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.welcome { margin: 0; color: var(--muted); font-size: 1.08rem; }

.panel { padding: 22px; margin-bottom: 18px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* big picker */
.pick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 220px;
  padding: 28px 20px;
  border-radius: 20px;
  cursor: pointer;
  color: var(--gold-ink);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(135deg, var(--gold-2) 0%, var(--gold) 45%, #ff8f6b 80%, var(--magenta) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 16px 50px rgba(255, 61, 154, 0.35), 0 0 60px rgba(246, 196, 83, 0.25);
  transition: transform 0.15s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.pick:hover { transform: translateY(-2px); }
.pick:active { transform: scale(0.98); }
.pick:focus-within { outline: 3px solid #fff; outline-offset: 4px; }
.pick.disabled { opacity: 0.55; pointer-events: none; }
.pick-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(42, 29, 0, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1d00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3Ccircle cx='12' cy='13.5' r='4'/%3E%3C/svg%3E") center / 40px no-repeat;
}
.pick-text { font-size: 1.45rem; font-weight: 850; letter-spacing: -0.01em; }
.pick-sub { font-size: 0.88rem; font-weight: 650; opacity: 0.78; }

.name-field { margin-top: 20px; }

/* progress */
.progress-box { margin-top: 20px; }
.preview-row { display: flex; gap: 14px; align-items: center; }
.preview {
  width: 76px; height: 76px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  flex: none;
}
.progress-info { flex: 1; min-width: 0; }
.progress-label { margin: 0 0 8px; font-weight: 700; }
.small { font-size: 0.85rem; margin: 6px 0 0; }

.msg { margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.msg-err { background: rgba(255, 93, 120, 0.14); border: 1px solid rgba(255, 93, 120, 0.45); color: #ffd6dd; }
.msg-warn { background: rgba(255, 181, 71, 0.12); border: 1px solid rgba(255, 181, 71, 0.45); color: #ffe7c2; }

/* done */
.done-burst {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #062a1c;
  background: linear-gradient(135deg, #a6ffd9, var(--ok));
  box-shadow: 0 0 40px rgba(63, 224, 160, 0.45);
  animation: pop 0.45s cubic-bezier(.2, 1.6, .4, 1);
}
.done-burst.warn { background: linear-gradient(135deg, #ffe3b0, var(--warn)); box-shadow: 0 0 40px rgba(255, 181, 71, 0.4); color: #2e1b00; }
.done-burst svg { width: 40px; height: 40px; }
@keyframes pop { from { transform: scale(0.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.done-message { margin: 0; font-size: 1.1rem; font-weight: 600; }
.eta { margin: 0; color: var(--gold-2); font-weight: 650; }
.done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.done-actions .btn { min-height: 52px; padding: 12px 22px; font-size: 1rem; }

.done-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}
.done-results .res {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  padding: 4px;
}
.done-results .res img { width: 100%; height: 100%; object-fit: cover; }
.done-results .res.failed { border-color: rgba(255, 93, 120, 0.45); color: #ffc2cc; }
.done-results .res .spinner { width: 18px; height: 18px; border-width: 2px; }

.paused-icon { width: 64px; height: 64px; color: var(--gold); }
.paused h2 { font-size: 1.5rem; }

.foot { text-align: center; font-size: 0.88rem; padding: 0 8px; }
