/* Shared by the website and story pages inside the native shell. */
.story-page .story-hero .story-hero__actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.story-page .story-hero .story-hero__actions > .story-action {
  display:inline-flex; align-items:center; justify-content:center;
  flex:0 0 auto; width:48px; min-width:48px; height:48px; min-height:48px;
  padding:0; border-radius:14px; gap:5px; font-size:13px;
}
.story-page .story-hero .story-action svg { width:22px; height:22px; flex-shrink:0; }
.story-page .story-hero .story-hero__actions > .story-like-button { width:auto; padding-inline:12px; }
.story-page .story-hero .story-action[aria-pressed="true"] { background:var(--story-soft, #edf3ff); }
.story-page .story-hero .story-action:focus-visible,
.story-page .story-author-message:focus-visible { outline:3px solid var(--story-blue, #245edb); outline-offset:3px; }
.story-page .story-author-link { flex-wrap:nowrap; gap:10px; }
.story-page .story-author-link > div { min-width:0; flex:1; }
.story-page .story-author-link > div > a { overflow-wrap:anywhere; }
.story-page .story-author-link > .story-author-message {
  display:inline-flex; align-items:center; justify-content:center;
  flex:0 0 48px; width:48px; min-width:48px; height:48px; padding:0; border-radius:14px;
}
@media(max-width:760px) {
  .story-page .story-hero__grid { grid-template-columns:100px minmax(0, 1fr); gap:16px; align-items:start; }
  .story-page .story-cover { width:100px; }
  .story-page .story-hero__copy { display:contents; }
  .story-page .story-hero__copy > :not(h1) { grid-column:1 / -1; margin-block:0; }
  .story-page .story-hero__copy > h1 { grid-column:2; grid-row:1; align-self:center; }
  .story-page .story-hero__actions { width:100%; }
}

/* Compatibility with the already deployed story markup and cached app shells.
   Text remains in the accessible name; only its visual size is suppressed. */
.story-page .story-hero .story-hero__actions > .button:not(.button--pro) {
 display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto;
 width:48px; min-width:48px; height:48px; min-height:48px; padding:0;
 border-radius:14px; gap:0; font-size:0;
}
.story-page .story-hero .story-hero__actions > .button:not(.button--pro) svg { width:22px; height:22px; flex-shrink:0; }
.story-page .story-hero .story-hero__actions > .story-like-button { width:auto; gap:5px; padding-inline:12px; }
.story-page .story-hero .story-like-button > span { font-size:0; }
.story-page .story-hero .story-like-button > strong { font-size:13px; }
.story-page .story-hero .story-hero__actions > .button > span { font-size:0; }
.story-page .story-author-link > .button:not(.author-private-message) { display:none; }
.story-page .story-author-link > .author-private-message {
 flex:0 0 48px; width:48px; min-width:48px; height:48px; min-height:48px;
 padding:0; border-radius:14px; font-size:0; gap:0;
}
.story-page .story-author-link > .author-private-message svg { width:22px; height:22px; }
.story-page .story-hero__actions > a[href*="/read/"] { order:-1; }
.story-page .story-hero__actions > a[href*="/read/"]:has(> .lucide-arrow-left) > svg { display:none; }
.story-page .story-hero__actions > a[href*="/read/"]:has(> .lucide-arrow-left)::before { content:""; display:block; width:22px; height:22px; background:currentColor; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%207v14m-9-3V3c4-1%207%200%209%203%202-3%205-4%209-3v15c-4-1-7%200-9%203-2-3-5-4-9-3z%22/%3E%3C/svg%3E") center / contain no-repeat; }
.story-page .story-hero__actions > button.button--ghost:has(> .lucide-heart) > svg { display:none; }
.story-page .story-hero__actions > button.button--ghost:has(> .lucide-heart)::before { content:""; display:block; width:22px; height:22px; background:currentColor; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%227%22%20r%3D%224%22/%3E%3Cpath%20d%3D%22M2%2021v-2a7%207%200%200%201%2014%200v2m3-13v6m-3-3h6%22/%3E%3C/svg%3E") center / contain no-repeat; }
.story-page .story-hero__actions > button:has(> .lucide-book-open) > svg { display:none; }
.story-page .story-hero__actions > button:has(> .lucide-book-open)::before { content:""; display:block; width:22px; height:22px; background:currentColor; mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%206h12M9%2012h12M9%2018h12M3%206h1M3%2012h1M3%2018h1%22/%3E%3C/svg%3E") center / contain no-repeat; }
