/* ==========================================================================
   qgram share — file sharing surface
   Uses the global tokens from style.css (--brand, --card, --line, ...).
   ========================================================================== */

@keyframes shareRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes shareFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}
@keyframes shareDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(24px, -18px) scale(1.08); }
  66%      { transform: translate(-18px, 12px) scale(.95); }
}
@keyframes sharePulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.35); }
}
@keyframes shareSheen {
  from { transform: translateX(-120%) skewX(-18deg); }
  to   { transform: translateX(320%) skewX(-18deg); }
}
@keyframes shareCardSheen {
  from { background-position: -60% 0; }
  to   { background-position: 160% 0; }
}
@keyframes shareBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes shareSpinRing {
  to { transform: rotate(360deg); }
}
@keyframes shareMeter {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ---------------------------------------------------------------- hero --- */

.shareHero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  padding: 34px 30px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 140% at 8% 0%, var(--brand-subtle), transparent 58%),
    linear-gradient(140deg, var(--card), var(--card2));
  box-shadow: var(--shadow);
  animation: shareRise .5s cubic-bezier(.22,1,.36,1) both;
}

.shareHero__glow { position: absolute; inset: 0; pointer-events: none; }
.shareHero__glow span {
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  filter: blur(70px);
  background: var(--brand-glow);
  animation: shareDrift 18s ease-in-out infinite;
}
.shareHero__glow span:nth-child(1) { top: -110px; left: 12%; }
.shareHero__glow span:nth-child(2) { bottom: -140px; right: 6%; animation-delay: -7s; opacity: .7; }

.shareHero__copy { position: relative; z-index: 1; flex: 1 1 auto; min-width: 0; }

.shareHero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px 5px 9px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--card2);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand-light);
}
.shareHero__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-light);
  box-shadow: 0 0 10px var(--brand-light);
  animation: sharePulse 2.4s ease-in-out infinite;
}

.shareHero__title {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(27px, 4.4vw, 40px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--text-primary);
}
.shareHero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand), var(--brand-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.shareHero__lead {
  margin: 0 0 18px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.shareHero__stats { display: flex; flex-wrap: wrap; gap: 8px; }

.shareHero__cat {
  position: relative; z-index: 1;
  width: 132px;
  flex: 0 0 auto;
  align-self: flex-end;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.45));
  animation: shareFloat 6s ease-in-out infinite;
}

.shareChip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--card2);
  color: var(--text);
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  transition: border-color var(--transition), transform var(--transition), color var(--transition);
}
.shareChip--link:hover, .shareChip--btn:hover {
  border-color: var(--brand); color: var(--brand-light); transform: translateY(-1px);
}
.shareChip--btn { cursor: pointer; font-family: inherit; }
.shareChip--btn.is-active {
  border-color: var(--brand); background: var(--brand-subtle); color: var(--brand-light);
}

/* -------------------------------------------------------------- upload --- */

.shareUpload { animation: shareRise .5s .06s cubic-bezier(.22,1,.36,1) both; }
.shareUpload__head { margin-bottom: 16px; }
.shareUpload__title {
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 700;
  color: var(--text-primary);
}

.shareForm { display: flex; flex-direction: column; gap: 16px; }

.shareDrop {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  min-height: 190px;
  padding: 28px 20px;
  overflow: hidden;
  cursor: pointer;
  border: 2px dashed var(--line-hover);
  border-radius: var(--radius-lg);
  background: var(--card2);
  text-align: center;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.shareDrop:hover, .shareDrop:focus-visible {
  border-color: var(--brand);
  background: var(--card-hover);
  outline: none;
}
.shareDrop.is-drag {
  border-color: var(--brand);
  background: var(--brand-subtle);
  transform: scale(1.01);
}
.shareDrop.is-filled { border-style: solid; border-color: var(--ok); background: var(--ok-subtle); }
.shareDrop.is-error  { border-style: solid; border-color: var(--danger); background: var(--danger-subtle); }

.shareDrop__ring {
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow), transparent 62%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.shareDrop:hover .shareDrop__ring, .shareDrop.is-drag .shareDrop__ring { opacity: 1; }

.shareDrop__icon {
  position: relative;
  font-size: 42px; line-height: 1;
  animation: shareBob 3.2s ease-in-out infinite;
}
.shareDrop__title {
  position: relative;
  max-width: 100%;
  font-weight: 700; font-size: 16px;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}
.shareDrop__hint { position: relative; font-size: 13px; color: var(--muted); }

.shareDrop__meter {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; overflow: hidden;
  background: var(--line);
}
.shareDrop__meter i {
  display: block; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--brand-light), transparent);
  animation: shareMeter 1.1s linear infinite;
}

.shareTextarea { min-height: 76px; resize: vertical; width: 100%; }

/* visibility picker */
.shareVis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shareVis__opt { display: block; cursor: pointer; }
.shareVis__opt input { position: absolute; opacity: 0; width: 0; height: 0; }

.shareVis__card {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  height: 100%;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card2);
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.shareVis__opt:hover .shareVis__card { border-color: var(--line-hover); transform: translateY(-2px); }
.shareVis__opt input:checked + .shareVis__card {
  border-color: var(--brand);
  background: var(--brand-subtle);
  box-shadow: 0 0 0 1px var(--brand-subtle), 0 10px 26px -18px var(--brand);
}
.shareVis__opt input:focus-visible + .shareVis__card { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.shareVis__opt input:checked + .shareVis__card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  background-size: 42% 100%;
  background-repeat: no-repeat;
  animation: shareCardSheen .75s ease-out forwards;
  pointer-events: none;
}
.shareVis__icon { font-size: 20px; line-height: 1; }
.shareVis__name { font-weight: 700; font-size: 14px; color: var(--text-primary); }
.shareVis__desc { font-size: 12px; color: var(--muted); line-height: 1.4; }

.shareRecipients {
  display: flex; flex-direction: column; gap: 6px;
  animation: shareRise .3s cubic-bezier(.22,1,.36,1) both;
}
.shareRecipients[hidden] { display: none; }

.shareForm__actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px;
}
.shareForm__submit { display: inline-flex; align-items: center; gap: 8px; }
.shareForm__submit svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--transition);
}
.shareForm__submit:hover svg { transform: translateX(3px); }
.shareForm__submit.is-loading { opacity: .7; pointer-events: none; }
.shareForm__submit.is-loading svg { animation: shareSpinRing .9s linear infinite; }

.shareGuest {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  animation: shareRise .5s .06s cubic-bezier(.22,1,.36,1) both;
}
.shareGuest > div:not(.btnRow) { flex: 1 1 220px; }
.shareGuest__title { font-weight: 700; color: var(--text-primary); }

/* ------------------------------------------------------------ sections --- */

.shareSection { margin-top: 28px; }
.shareSection__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.shareSection__title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 19px; font-weight: 700;
  color: var(--text-primary);
}
.shareSection__head .shareSection__title { margin-bottom: 0; }
.shareSection__count {
  padding: 2px 9px;
  border-radius: var(--radius-full);
  background: var(--brand-subtle);
  color: var(--brand-light);
  font-size: 12px; font-weight: 700;
}
.shareSearch { max-width: 280px; flex: 1 1 200px; }

.shareGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

/* ---------------------------------------------------------- file cards --- */

.shareCard {
  position: relative;
  display: flex; flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  animation: shareRise .45s cubic-bezier(.22,1,.36,1) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
.shareCard:hover {
  transform: translateY(-4px);
  border-color: var(--line-hover);
  box-shadow: var(--shadow-lg);
}
.shareCard::before {
  content: "";
  position: absolute; inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.shareCard:hover::before { transform: scaleX(1); }

.shareCard__main {
  display: flex; gap: 13px;
  padding: 16px;
  color: inherit; text-decoration: none;
}
.shareCard__icon {
  display: grid; place-items: center;
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card2);
  font-size: 22px;
  transition: transform var(--transition-bounce), border-color var(--transition);
}
.shareCard:hover .shareCard__icon { transform: scale(1.08) rotate(-5deg); border-color: var(--brand); }

.shareCard__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.shareCard__name {
  font-weight: 700; font-size: 14.5px;
  color: var(--text-primary);
  overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.shareCard__desc {
  font-size: 13px; color: var(--muted); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.shareCard__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 5px;
  margin-top: 2px;
  font-size: 12px; color: var(--muted);
}

.shareCard__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: var(--card2);
}
.shareCard__owner {
  display: flex; align-items: center; gap: 7px;
  min-width: 0;
  color: var(--text); text-decoration: none;
  font-size: 13px; font-weight: 600;
}
.shareCard__owner:hover { color: var(--brand-light); }
.shareCard__owner img:first-child {
  width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
}
.shareCard__owner > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.shareCard__actions { display: flex; gap: 6px; flex: 0 0 auto; }
.shareIconBtn {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  font-size: 14px; text-decoration: none; cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.shareIconBtn:hover { transform: translateY(-2px); border-color: var(--brand); background: var(--brand-subtle); }
.shareIconBtn.is-copied { border-color: var(--ok); background: var(--ok-subtle); }

.shareCard__flag {
  padding: 7px 16px;
  background: var(--danger-subtle);
  border-top: 1px solid var(--line);
  color: var(--danger);
  font-size: 12px; font-weight: 700;
}

.shareEmpty { text-align: center; padding: 34px 20px; }
.shareEmpty__title { font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }

/* --------------------------------------------------------- file detail --- */

.shareBack { margin-bottom: 14px; }
.shareBack__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); text-decoration: none;
  font-size: 14px; font-weight: 600;
  transition: color var(--transition), transform var(--transition);
}
.shareBack__link svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.shareBack__link:hover { color: var(--brand-light); transform: translateX(-3px); }

.shareFile {
  position: relative;
  overflow: hidden;
  padding: 34px 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--card), var(--card2));
  box-shadow: var(--shadow);
  text-align: center;
  animation: shareRise .5s cubic-bezier(.22,1,.36,1) both;
}
.shareFile.is-blocked { border-color: var(--danger); }
.shareFile__aura {
  position: absolute; top: -180px; left: 50%;
  width: 420px; height: 420px;
  margin-left: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow), transparent 66%);
  filter: blur(20px);
  pointer-events: none;
  animation: shareDrift 20s ease-in-out infinite;
}

.shareFile__icon { position: relative; display: inline-grid; place-items: center; margin-bottom: 16px; }
.shareFile__iconGlow {
  position: absolute;
  width: 118px; height: 118px;
  border-radius: 34px;
  background: linear-gradient(140deg, var(--brand), var(--brand-light));
  opacity: .22;
  filter: blur(14px);
  animation: sharePulse 4.5s ease-in-out infinite;
}
.shareFile__iconGlyph {
  position: relative;
  display: grid; place-items: center;
  width: 92px; height: 92px;
  border: 1px solid var(--line-hover);
  border-radius: 26px;
  background: var(--card2);
  font-size: 42px;
  animation: shareBob 4.5s ease-in-out infinite;
}

.shareFile__name {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

.shareFile__facts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 16px;
}
.shareFile__desc {
  max-width: 58ch;
  margin: 0 auto 20px;
  color: var(--text);
  font-size: 15px; line-height: 1.6;
  overflow-wrap: anywhere;
}

.shareFile__owner {
  display: inline-flex; align-items: center; gap: 12px;
  max-width: 100%;
  padding: 10px 16px 10px 10px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--card2);
  color: inherit; text-decoration: none;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.shareFile__owner:hover {
  border-color: var(--brand); background: var(--brand-subtle); transform: translateY(-2px);
}
.shareFile__ownerAva {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
}
.shareFile__ownerCopy { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.shareFile__ownerLabel {
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted);
}
.shareFile__ownerName {
  display: flex; align-items: center; gap: 5px;
  font-weight: 700; color: var(--text-primary);
}
.shareFile__ownerArrow {
  width: 16px; height: 16px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  color: var(--muted);
  transition: transform var(--transition);
}
.shareFile__owner:hover .shareFile__ownerArrow { transform: translateX(3px); color: var(--brand-light); }

.shareNotice {
  display: flex; align-items: flex-start; gap: 10px;
  max-width: 56ch;
  margin: 0 auto 20px;
  padding: 12px 16px;
  border-radius: var(--radius);
  text-align: left;
  font-size: 14px; line-height: 1.5;
}
.shareNotice--danger {
  border: 1px solid var(--danger);
  background: var(--danger-subtle);
  color: var(--text);
}

.shareFile__cta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 16px;
}

.shareDownload {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  overflow: hidden;
  padding-left: 18px; padding-right: 22px;
  font-weight: 700;
}
.shareDownload::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 46px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: translateX(-120%) skewX(-18deg);
}
.shareDownload:hover::after { animation: shareSheen .85s ease-out; }
.shareDownload__arrow svg {
  display: block;
  width: 19px; height: 19px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.shareDownload:hover .shareDownload__arrow { animation: shareBob .7s ease-in-out infinite; }

.shareCopyBtn.is-copied { border-color: var(--ok); color: var(--ok); }

.shareLink {
  display: flex; align-items: center; gap: 10px;
  max-width: 100%;
  margin: 0 auto 22px;
  padding: 11px 16px;
  border: 1px dashed var(--line-hover);
  border-radius: var(--radius);
  background: var(--card2);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.shareLink:hover, .shareLink:focus-visible {
  border-color: var(--brand); background: var(--brand-subtle); outline: none;
}
.shareLink.is-copied { border-color: var(--ok); background: var(--ok-subtle); }
.shareLink__icon { flex: 0 0 auto; }
.shareLink__url {
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.shareRecipientsList {
  max-width: 56ch;
  margin: 0 auto 22px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card2);
  text-align: left;
}
.shareRecipientsList__title {
  margin-bottom: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted);
}
.shareRecipientsList__items { display: flex; flex-wrap: wrap; gap: 7px; }
.shareChip--link { text-decoration: none; }

.shareFile__footer {
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.shareSafety {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card2);
  text-align: left;
}
.shareSafety__copy { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.shareSafety__copy strong { color: var(--text-primary); display: block; }

.shareFile__tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.shareDeleteForm { margin: 0; }

.shareGhostBtn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--muted);
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition);
}
.shareGhostBtn:hover { transform: translateY(-2px); }
.shareGhostBtn--danger:hover {
  color: var(--danger); border-color: var(--danger); background: var(--danger-subtle);
}

/* -------------------------------------------------------- report modal --- */

.shareReport {
  position: fixed; inset: 0; z-index: 1200;
  display: grid; place-items: center;
  padding: 20px;
}
.shareReport[hidden] { display: none; }
.shareReport__back {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .22s ease;
}
.shareReport.is-open .shareReport__back { opacity: 1; }

.shareReport__card {
  position: relative;
  width: min(460px, 100%);
  max-height: 90vh; overflow-y: auto;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-lg);
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .24s cubic-bezier(.22,1,.36,1), transform .24s cubic-bezier(.22,1,.36,1);
}
.shareReport.is-open .shareReport__card { opacity: 1; transform: none; }

.shareReport__close {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--card2);
  color: var(--muted);
  font-size: 14px; cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}
.shareReport__close:hover { color: var(--danger); border-color: var(--danger); }

.shareReport__emoji { font-size: 40px; animation: shareBob 3s ease-in-out infinite; }
.shareReport__title {
  margin: 8px 0 6px;
  font-family: var(--font-heading);
  font-size: 20px; font-weight: 700;
  color: var(--text-primary);
}
.shareReport__text { margin: 0 0 16px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.shareReport__form { display: flex; flex-direction: column; gap: 12px; }
.shareReport__presets { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.shareReport__actions { justify-content: center; }

/* --------------------------------------------------------------- locked -- */

.shareLocked {
  position: relative;
  overflow: hidden;
  padding: 46px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--card), var(--card2));
  box-shadow: var(--shadow);
  text-align: center;
  animation: shareRise .5s cubic-bezier(.22,1,.36,1) both;
}
.shareLocked__aura {
  position: absolute; top: -160px; left: 50%;
  width: 380px; height: 380px; margin-left: -190px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-glow), transparent 68%);
  animation: shareDrift 22s ease-in-out infinite;
  pointer-events: none;
}
.shareLocked__lock { position: relative; font-size: 34px; margin: 16px 0 10px; }
.shareLocked__title {
  position: relative;
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(21px, 3.4vw, 28px); font-weight: 800;
  color: var(--text-primary);
}
.shareLocked__text {
  position: relative;
  max-width: 46ch; margin: 0 auto 20px;
  color: var(--muted); line-height: 1.6;
}
.shareLocked__text a { color: var(--brand-light); }

/* ------------------------------------------------------------ responsive - */

@media (max-width: 720px) {
  .shareHero { flex-direction: column; align-items: flex-start; padding: 26px 20px; gap: 12px; }
  .shareHero__cat { width: 100px; align-self: center; }
  .shareVis { grid-template-columns: 1fr; }
  .shareFile { padding: 26px 18px 22px; }
  .shareSafety { flex-direction: column; text-align: center; }
  .shareGrid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .shareHero, .shareUpload, .shareCard, .shareFile, .shareLocked, .shareRecipients { animation: none; }
  .shareHero__cat,
  .shareDrop__icon, .shareFile__iconGlyph, .shareFile__iconGlow, .shareHero__dot,
  .shareHero__glow span, .shareFile__aura, .shareLocked__aura, .shareReport__emoji,
  .shareDownload:hover .shareDownload__arrow { animation: none; }
  .shareCard:hover, .shareIconBtn:hover, .shareGhostBtn:hover, .shareFile__owner:hover { transform: none; }
}
