.share-page {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - var(--topbar-h) - 56px);
  padding: 28px 0;
}

.share-card {
  width: min(100%, 760px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line-strong, #d7dee8);
  border-radius: 18px;
  background:
    radial-gradient(circle at 20% 0%, rgba(79, 141, 249, .16), transparent 34%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .12);
}

.share-eyebrow {
  margin: 0 0 6px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.share-card h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.16;
  letter-spacing: -.03em;
}

.share-copy {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  color: #334155;
  font-size: 15px;
  line-height: 1.7;
}

.share-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.share-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(0);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.share-btn:hover,
.share-btn:focus-visible {
  color: #fff;
  outline: none;
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 12px 24px rgba(15, 23, 42, .18);
}

.share-btn:focus-visible {
  outline: 3px solid rgba(79, 141, 249, .32);
  outline-offset: 3px;
}

.share-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.share-icon svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.share-btn--x {
  background: #000;
}

.share-btn--line {
  background: #06c755;
}

.share-btn--facebook {
  background: #1877f2;
}

.share-btn--bluesky {
  background: linear-gradient(180deg, #1185fe 0%, #0866d9 100%);
}

.share-btn--native {
  background: linear-gradient(135deg, #0f766e 0%, #2563eb 100%);
}

.share-btn--copy {
  border-color: #cbd5e1;
  background: #fff;
  color: #0f172a;
}

.share-btn--copy:hover,
.share-btn--copy:focus-visible {
  color: #0f172a;
}

.share-btn--copy.is-copied {
  border-color: rgba(16, 185, 129, .42);
  background: #ecfdf5;
  color: #047857;
}

@media (max-width: 640px) {
  .share-page {
    align-items: start;
    padding-top: 12px;
  }

  .share-card {
    padding: 22px 16px;
    border-radius: 14px;
  }

  .share-actions {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .share-btn {
    min-height: 52px;
    padding: 0 10px;
    border-radius: 14px;
    font-size: 14px;
  }
}
