.share-page {
  background: #f5f8f7;
}

.share-page [hidden] {
  display: none !important;
}

.share-header {
  position: static;
}

.share-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.share-shell {
  width: min(940px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(38px, 7vw, 78px) 0 72px;
}

.share-hero {
  margin-bottom: 30px;
  text-align: center;
}

.share-kicker,
.share-eyebrow {
  margin: 0 0 7px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.share-hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 7vw, 4.7rem);
  line-height: 1.03;
  text-wrap: balance;
}

.share-hero > p:not(.share-kicker) {
  max-width: 710px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.share-steps {
  max-width: 680px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
}

.share-steps li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
}

.share-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  border-top: 1px solid #aebfba;
}

.share-steps span,
.share-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-weight: 800;
}

.share-steps strong {
  margin-top: 6px;
}

.share-steps small {
  color: var(--muted);
}

.share-alert {
  margin: 0 0 18px;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 14px 16px;
  background: var(--accent-soft);
  color: var(--ink);
}

.share-alert[data-kind="error"] {
  border-color: var(--danger);
  background: #f9e9e7;
}

.share-card {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(24, 47, 51, 0.06);
}

.share-card-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.share-card-heading h2,
.finish-note h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
}

.share-card-heading .share-eyebrow {
  margin-bottom: 2px;
}

.source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 17px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.button-dark {
  background: #161823;
  color: white;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.field-help,
.privacy-line {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.video-workspace {
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) minmax(260px, 1.25fr);
  gap: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.video-frame {
  width: min(100%, 270px);
  justify-self: center;
  overflow: hidden;
  border-radius: 12px;
  background: #0b1113;
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 16;
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.video-details {
  display: grid;
  align-content: start;
  gap: 8px;
}

.video-details label:not(.check-row) {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 800;
}

.video-details input[type="text"],
.video-details input:not([type]),
.video-details textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
}

.video-details textarea {
  resize: vertical;
  font: inherit;
  line-height: 1.5;
}

.field-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.field-actions span {
  color: var(--muted);
  font-size: 0.78rem;
}

.posting-checklist {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  border-left: 3px solid var(--gold);
  padding: 10px 12px;
  background: #f7f1e8;
  color: #4d4a43;
  font-size: 0.84rem;
}

.selected-file,
.account-state {
  display: flex;
  align-items: center;
  gap: 12px;
}

.selected-file > div,
.account-copy {
  display: grid;
  min-width: 0;
}

.selected-file small,
.account-copy span {
  color: var(--muted);
}

.status-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(47, 107, 79, 0.12);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
}

.check-row input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.text-button {
  width: fit-content;
  min-height: 42px;
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button.danger {
  color: var(--danger);
}

.account-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  overflow: hidden;
  border-radius: 50%;
  background: #161823;
  color: white;
  font-weight: 900;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-copy {
  flex: 1 1 auto;
}

.consent-list {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.send-button {
  width: 100%;
}

.upload-progress,
.delivery-result {
  margin-top: 22px;
  border-radius: 8px;
  padding: 18px;
  background: var(--subtle);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.upload-progress progress {
  width: 100%;
  height: 12px;
  margin-top: 10px;
  accent-color: var(--accent);
}

.upload-progress p,
.delivery-result p {
  margin: 8px 0 0;
  color: var(--muted);
}

.delivery-result {
  display: flex;
  gap: 14px;
  background: #e9f5ef;
}

.result-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 50%;
  background: var(--good);
  color: white;
  font-weight: 900;
}

.delivery-result small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.finish-note {
  margin: 20px 0 0;
  border-left: 4px solid var(--gold);
  border-radius: 7px;
  padding: 20px 22px;
  background: #f7f1e8;
}

.finish-note p {
  margin: 9px 0 0;
  color: #4d4a43;
}

@media (max-width: 700px) {
  .share-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .share-nav {
    width: 100%;
  }

  .share-nav a {
    padding-left: 0;
  }

  .share-steps small {
    display: none;
  }

  .video-workspace {
    grid-template-columns: 1fr;
  }

  .account-state {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .account-copy {
    width: calc(100% - 66px);
  }

  .account-state .button,
  .account-state .text-button {
    width: 100%;
  }
}
