.share-topbar { justify-content: space-between; }
.share-page .button {
  min-height: 66px;
  padding: 16px clamp(20px, 2.5vw, 32px);
  font: 800 clamp(17px, 1.55vw, 20px) / 1.25 var(--body);
  box-shadow: inset 0 1px 0 #ffffff40, 0 0 10px 2px #3956ff73, 0 0 27px 6px #3956ff4d, 0 9px 53px 10px #526aff26;
}
.share-text-link { font-size: 15px; font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.share-text-link:hover { color: var(--blue-dark); }

.share-heading { position: relative; padding-top: 9px; }
.share-gift-sticker {
  float: right;
  width: 76px;
  height: auto;
  margin: 0 0 6px 12px;
  transform: rotate(9deg);
  filter: drop-shadow(0 4px 0 #fff) drop-shadow(0 10px 14px #3d41a630);
}
.share-page h1 {
  display: block;
  margin-block: 18px;
  font-size: clamp(32px, 4.3vw, 59px);
  line-height: 1.08;
  text-wrap: balance;
}
.share-page h1 span { display: block; color: var(--blue-dark); }
.share-hero {
  background:
    radial-gradient(ellipse at 100% 5%, #dce3ff 0%, transparent 63%),
    radial-gradient(ellipse at 10% 85%, #f0e6ff 0%, transparent 58%),
    #fafaff;
}
.share-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.share-event { color: #353989; font-weight: 750; }
.share-lead { max-width: 42ch; color: #282842; font-size: clamp(18px, 1.65vw, 22px); }
.share-requirement {
  max-width: 46ch;
  margin-block: 20px;
  padding: 12px 15px;
  border-inline-start: 3px solid var(--blue);
  border-radius: 0 var(--small-radius) var(--small-radius) 0;
  background: #ffffffb8;
  color: #272743;
  font-size: 16px;
}

.share-gifts { display: grid; gap: 12px; }
.share-gift {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(18px, 2.5vw, 28px);
  border-radius: 22px;
}
.share-gift h2 {
  margin-block: 6px;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.2;
  text-wrap: balance;
}
.share-gift p { line-height: 1.3; }
.share-gift .share-gift-label { font-size: 14px; font-weight: 750; }
.share-gift-featured {
  background: radial-gradient(ellipse at 100% 0%, #38458b, transparent 74%), #131328;
  box-shadow: 0 16px 32px #202b683b;
  color: #fff;
}
.share-gift-featured h2 { font-size: clamp(23px, 2.6vw, 34px); }
.share-gift-featured p { color: #e5e7ff; }
.share-gift-featured .share-gift-label { color: #bbcbff; }
.share-gift-featured::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 -35%;
  width: 26%;
  background: linear-gradient(90deg, transparent, #ffffff20, transparent);
  transform: skewX(-18deg);
  animation: share-gift-shine 1.25s .45s ease-out both;
  pointer-events: none;
}
@keyframes share-gift-shine {
  to { transform: translateX(545%) skewX(-18deg); }
}
.share-speaker-faces { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.share-speaker-faces img {
  width: calc((100% - 56px) / 8);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid #b4c1ff80;
  border-radius: 50%;
  box-shadow: 0 4px 10px #06081d66;
}
.share-gift-partner {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e2e4fe;
  background: #fff;
  color: #232342;
}
.share-gift-partner .share-gift-label { color: #4033a0; }
.share-gift-partner img { width: min(23%, 103px); height: auto; margin-inline-start: auto; flex: 0 0 auto; }
.share-gift-raffle {
  background: linear-gradient(110deg, #263fe0, #5b2bc5);
  box-shadow: 0 13px 28px #283cca31;
  color: #fff;
}
.share-gift-raffle .share-gift-label { color: #eeebff; }

.share-section-title {
  margin-bottom: clamp(24px, 4vw, 36px);
  text-align: center;
  font-size: clamp(26px, 3.25vw, 42px);
  line-height: 1.16;
  text-wrap: balance;
}
.share-instructions { background: #f5f5fa; }
.share-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: share-step;
}
.share-steps li {
  counter-increment: share-step;
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid #e4e4f2;
  border-radius: 18px;
  background: #fff;
}
.share-steps li::before {
  content: counter(share-step, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font: 800 24px / 1.2 var(--display);
}
.share-steps h3, .share-actions h3 {
  font: 750 20px / 1.22 var(--body);
  letter-spacing: -.01em;
}
.share-steps a { text-decoration: underline; text-underline-offset: .16em; }
.share-steps a:hover { color: var(--blue-dark); }
.share-steps p { margin-top: 6px; color: #444359; }

.share-action {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid #e5e5f4;
  border-radius: 24px;
  background: #f4f5ff;
}
.share-action-grid {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
}
.share-poster {
  width: 100%;
  height: auto;
  border: 1px solid #e4e4f1;
  border-radius: 12px;
  background: #fff;
}
.share-actions { display: grid; gap: 10px; min-width: 0; }
.share-post-preview { color: #2d3caa; }
.share-post-preview summary { cursor: pointer; font-size: 15px; font-weight: 700; }
.share-post-preview summary:focus-visible { outline: 2px solid var(--blue-dark); outline-offset: 3px; }
.share-post-preview textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  border: 1px solid #cdd2eb;
  border-radius: var(--small-radius);
  background: #fff;
  color: var(--black);
  font: 400 16px / 1.45 var(--body);
  resize: vertical;
}
.share-status { color: #2d3caa; font-size: 15px; }
.share-status:empty { display: none; }
.share-save-hint { display: none; color: #454559; font-size: 14px; }
.share-submit { margin-top: 18px; }
.share-submit .button { width: 100%; }
.share-submit p { margin: 12px auto 0; max-width: 52ch; text-align: center; color: #454559; font-size: 15px; }

.share-membership { padding-top: 0; }
.share-membership-card {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(22px, 4vw, 44px);
  padding: clamp(22px, 4vw, 44px);
  border-radius: 24px;
  background: radial-gradient(ellipse at 100% 0%, #402c83, transparent 70%), #151324;
  color: #fff;
}
.share-membership h2 { font-size: clamp(23px, 2.9vw, 36px); line-height: 1.17; text-wrap: balance; }
.share-membership p { margin-block: 10px 18px; color: #e3defa; }
.share-membership .button:focus-visible { outline-color: #a6b2ff; }
.share-membership ul { display: grid; gap: 8px; }
.share-membership li { padding: 10px 13px; border: 1px solid #ffffff33; border-radius: var(--small-radius); }

@media (max-width: 850px) {
  .share-hero-grid, .share-membership-card { grid-template-columns: minmax(0, 1fr); }
  .share-page h1 { max-width: 17ch; }
}
@media (max-width: 680px) {
  .share-action-grid, .share-steps { grid-template-columns: minmax(0, 1fr); }
  .share-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; }
  .share-steps li::before { grid-row: 1 / 3; margin: 0; font-size: 20px; }
  .share-section-title { text-align: left; }
  .share-save-hint { display: block; }
}
@media (max-width: 520px) {
  .share-speaker-faces img { width: calc((100% - 40px) / 6); }
  .share-gift-sticker { width: 76px; margin-inline-start: 8px; }
}
@media (max-width: 420px) {
  .share-intro .button, .share-membership .button { width: 100%; }
  .share-gift-partner img { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .share-gift-featured::after { animation: none; }
}
