.reader-share-cta {
  margin: 0 0 52px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--accent-soft);
}

.reader-share-cta h2 {
  margin: 0 0 20px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.25;
}

.share-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 140;
  transform: translate(-50%, 18px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: var(--shadow);
}

.share-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

#readerShare {
  font-size: 18px;
  font-weight: 700;
}

body.share-sheet-open { overflow: hidden; }

.story-share-sheet {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  align-items: end;
}

.story-share-sheet.hidden { display: none; }

.share-sheet-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(18, 25, 21, .46);
  backdrop-filter: blur(4px);
}

.share-sheet-panel {
  position: relative;
  width: min(620px, calc(100% - 24px));
  margin: 0 auto 12px;
  padding: 18px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(20, 27, 23, .24);
  animation: shareSheetIn .22s ease both;
}

.share-sheet-handle {
  width: 48px;
  height: 5px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: var(--line);
}

.share-sheet-panel h2 {
  margin: 4px 0 10px;
  font-family: "Literata", serif;
  font-size: clamp(25px, 5vw, 36px);
  line-height: 1.2;
}

.share-sheet-preview {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.65;
}

.share-sheet-actions {
  display: grid;
  gap: 10px;
}

.share-option {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.share-option:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.share-option strong,
.share-option span {
  display: block;
}

.share-option strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.share-option span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.share-sheet-close {
  margin-top: 18px;
}

@keyframes shareSheetIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 851px) {
  .story-share-sheet { align-items: center; }
  .share-sheet-panel { margin-bottom: 0; }
}

@media (max-width: 850px) {
  .share-toast { bottom: 88px; }
  .reader-share-cta { padding: 22px; }
  .share-sheet-panel {
    width: calc(100% - 16px);
    margin-bottom: 8px;
    border-radius: 24px;
  }
}