.upload-hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-top: clamp(3.4rem, 7vw, 6.5rem);
  padding-bottom: clamp(3.4rem, 7vw, 6.5rem);
}

.upload-intro h1 { max-width: 720px; }
.upload-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; }

.upload-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.5rem;
}

.upload-highlights span {
  padding: .55rem .8rem;
  border: 1px solid #c9d8ef;
  border-radius: 999px;
  color: #44309a;
  background: rgba(255,255,255,.78);
  font-weight: 800;
  font-size: .88rem;
}

.upload-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 22px 65px rgba(42, 61, 103, .16);
}

.upload-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.upload-card-head h2 { margin: 0 0 .15rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.upload-card-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.upload-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e9e3ff, #dff7ff);
  font-size: 1.55rem;
}

.contributor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-bottom: 1rem;
}

.contributor-grid label { color: var(--ink); font-weight: 800; font-size: .9rem; }
.contributor-grid label span { color: var(--muted); font-weight: 600; }
.contributor-grid input {
  width: 100%;
  margin-top: .4rem;
  padding: .78rem .86rem;
  border: 1px solid #c9d5e8;
  border-radius: 12px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}
.contributor-grid input:focus { outline: 3px solid rgba(22,93,255,.15); border-color: var(--blue); }

.drop-zone {
  display: grid;
  place-items: center;
  min-height: 195px;
  padding: 1.5rem;
  border: 2px dashed #98acd0;
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
  background: linear-gradient(145deg, #f9fbff, #f5f1ff);
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.drop-zone:hover, .drop-zone.is-dragging { border-color: var(--violet); background: #f1edff; transform: translateY(-1px); }
.drop-zone strong { margin: .45rem 0 .1rem; color: var(--ink); font-size: 1.15rem; }
.drop-symbol { font-size: 2.1rem; }
.drop-zone input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }

.selection {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcff;
}
.selection-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.selection-head button { border: 0; color: #b1285c; background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.selection ul { max-height: 190px; margin: .7rem 0 0; padding: 0; overflow: auto; list-style: none; }
.selection li { display: flex; justify-content: space-between; gap: 1rem; padding: .48rem 0; border-top: 1px solid #e5ebf4; font-size: .9rem; }
.selection li span:first-child { min-width: 0; overflow-wrap: anywhere; }
.selection li span:last-child { flex: 0 0 auto; color: var(--muted); }

.upload-submit { width: 100%; justify-content: center; margin-top: 1rem; border: 0; cursor: pointer; }
.upload-submit:disabled { opacity: .62; cursor: wait; transform: none; }
.upload-progress { margin-top: 1rem; }
.progress-label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .38rem; color: var(--muted); font-size: .88rem; }
.upload-progress progress { width: 100%; height: 12px; accent-color: var(--violet); }

.upload-status { min-height: 1.5rem; margin-top: .85rem; border-radius: 12px; font-weight: 750; font-size: .92rem; }
.upload-status:not(:empty) { padding: .8rem .9rem; }
.upload-status.success { color: #116348; background: #e6faef; }
.upload-status.error { color: #9b234f; background: #fff0f4; }
.upload-status.info { color: #284c88; background: #eef5ff; }

.uploaded-links {
  display: grid;
  gap: .55rem;
  margin-top: .8rem;
}
.uploaded-links[hidden] { display: none; }
.uploaded-links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .72rem .85rem;
  border: 1px solid #bbd4f5;
  border-radius: 12px;
  color: var(--blue-dark);
  background: #f1f7ff;
  font-weight: 800;
  text-decoration: none;
}
.uploaded-links a:hover { border-color: var(--blue); background: #e8f2ff; }

.bot-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.upload-guide { padding-top: 3.8rem; }
.upload-help { margin: 1.5rem 0 0; color: var(--muted); text-align: center; }
.upload-help a { color: var(--blue-dark); font-weight: 800; }

@media (max-width: 920px) {
  .upload-hero { grid-template-columns: 1fr; }
  .upload-intro { text-align: center; }
  .upload-intro .eyebrow, .upload-highlights { justify-content: center; }
}

@media (max-width: 620px) {
  .upload-hero { width: min(100% - 1rem, 1180px); padding-top: 2.3rem; }
  .upload-card { padding: 1rem; border-radius: 20px; }
  .contributor-grid { grid-template-columns: 1fr; }
  .drop-zone { min-height: 165px; }
  .selection li { display: grid; gap: .15rem; }
}
