.submit-page {
  padding-top: calc(var(--header-h) + 0.5rem);
}

.submit-wrap {
  max-width: 42rem;
}

.submit-hero {
  text-align: center;
  padding-bottom: 1.25rem;
}

.submit-logo {
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow), 0 0 0 1px rgba(184, 147, 90, 0.28);
}

.submit-tagline {
  margin: 0 0 0.55rem;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.submit-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 7vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

.submit-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.submit-section {
  padding-top: 0.35rem;
  padding-bottom: 2.75rem;
}

.submit-form {
  margin-top: 0.35rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(30, 36, 68, 0.88);
  display: grid;
  gap: 1.05rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.field-grid {
  display: grid;
  gap: 1.05rem;
}

@media (min-width: 640px) {
  .field-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
}

.req,
.opt {
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.req {
  color: var(--gold-bright);
}

.opt {
  color: var(--muted);
}

.field-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(15, 18, 34, 0.88);
  color: var(--cream);
  padding: 0.8rem 0.95rem;
  font: inherit;
}

.field-textarea {
  resize: vertical;
  min-height: 5.25rem;
}

.field-input:focus {
  outline: 2px solid rgba(184, 147, 90, 0.55);
  outline-offset: 1px;
}

.field-input.is-invalid {
  border-color: rgba(240, 160, 168, 0.7);
}

.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.field-error {
  margin: 0;
  color: #f0a0a8;
  font-size: 0.86rem;
}

.dropzone {
  position: relative;
  border: 1.5px dashed rgba(184, 147, 90, 0.45);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(22, 27, 51, 0.55), rgba(15, 18, 34, 0.72));
  min-height: 8.5rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.dropzone:hover,
.dropzone:focus {
  border-color: rgba(201, 166, 107, 0.9);
  outline: none;
}

.dropzone.is-dragover {
  border-color: var(--gold-bright);
  background: rgba(184, 147, 90, 0.12);
  transform: translateY(-1px);
}

.dropzone-cover {
  min-height: 7.25rem;
}

.dropzone-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.dropzone-inner {
  pointer-events: none;
  text-align: center;
  padding: 1.1rem 1rem;
}

.dropzone-title {
  margin: 0;
  color: var(--cream);
  font-weight: 650;
  font-size: 1.02rem;
}

.dropzone-sub {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.dropzone-formats {
  margin: 0.65rem 0 0;
  color: rgba(184, 191, 212, 0.85);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.media-preview,
.cover-preview {
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(15, 18, 34, 0.72);
}

.cover-preview {
  grid-template-columns: 88px 1fr;
  align-items: center;
}

.media-preview-meta,
.cover-preview-meta {
  display: grid;
  gap: 0.25rem;
}

.media-name {
  margin: 0;
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  word-break: break-word;
}

.media-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.media-player,
.media-video {
  width: 100%;
  border-radius: 10px;
  background: #0b0e1a;
}

.media-video {
  max-height: 240px;
}

.cover-thumb {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0b0e1a;
}

.btn-clear,
.btn-secondary {
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 18, 34, 0.9);
  color: var(--cream);
  font: inherit;
  font-weight: 650;
  font-size: 0.88rem;
  padding: 0.5rem 0.95rem;
  cursor: pointer;
}

.btn-clear:hover,
.btn-secondary:hover {
  border-color: rgba(201, 166, 107, 0.7);
}

.progress-block {
  display: grid;
  gap: 0.45rem;
}

.progress-label-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.progress-track {
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(15, 18, 34, 0.9);
  border: 1px solid var(--line);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transition: width 0.18s ease;
}

.record-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.6rem;
  padding: 0.95rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--navy-deep);
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(184, 147, 90, 0.28);
}

.record-cta:hover:not(:disabled) {
  filter: brightness(1.05);
}

.record-cta:disabled {
  opacity: 0.7;
  cursor: wait;
}

.submit-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  min-height: 1.35em;
}

.upload-result {
  margin: 0;
  color: #f0a0a8;
  font-weight: 600;
  text-align: center;
  line-height: 1.55;
}

.success-card {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  text-align: center;
  padding: 1.15rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(184, 147, 90, 0.45);
  background:
    radial-gradient(500px 160px at 50% 0%, rgba(184, 147, 90, 0.18), transparent 70%),
    rgba(15, 18, 34, 0.78);
}

.success-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold-bright);
}

.success-body {
  margin: 0;
  color: var(--cream);
  line-height: 1.55;
  max-width: 34rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

@media (max-width: 719px) {
  .submit-page {
    padding-top: 0.5rem;
  }

  .submit-logo {
    width: 6.25rem;
    height: 6.25rem;
  }

  .submit-form {
    padding: 1rem;
  }

  .cover-preview {
    grid-template-columns: 72px 1fr;
  }

  .cover-thumb {
    width: 72px;
    height: 72px;
  }
}
