/* NarratiaVerse share menu and poem card dialog. */
.nv-share { position: relative; display: inline-block; }
.nv-share > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.nv-share > summary::-webkit-details-marker { display: none; }
.nv-share__menu { position: absolute; z-index: 50; top: calc(100% + 6px); left: 0; min-width: 220px; display: grid; gap: 2px; padding: 6px; border-radius: 10px; background: var(--bg-800, #211f26); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.nv-share._story .nv-share__menu { left: auto; right: 0; }
.nv-share__item { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 6px; color: inherit; text-decoration: none; background: none; border: 0; font: inherit; font-size: 15px; text-align: left; cursor: pointer; width: 100%; }
.nv-share__item:hover, .nv-share__item:focus-visible { background: rgba(255,255,255,.08); }
.nv-share__item i { width: 20px; text-align: center; }
.nv-share__item._whatsapp i { color: #25d366; }
.nv-share__item._facebook i { color: #1877f2; }
.nv-share__item._card i { color: #ff6a3d; }
.nv-share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 24px 0 8px; }
.nv-share-bar__hint { margin: 0; font-size: 14px; opacity: .75; }
.nv-share-bar__hint._warn { opacity: 1; color: var(--primary-500, #ff6a3d); }
.nv-poem-dialog { max-width: min(92vw, 460px); padding: 16px; border: 0; border-radius: 12px; background: var(--bg-800, #211f26); color: inherit; }
.nv-poem-dialog::backdrop { background: rgba(0,0,0,.7); }
.nv-poem-dialog img { display: block; width: 100%; height: auto; border-radius: 8px; }
.nv-poem-dialog__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.nv-poem-dialog__actions .button { min-height: 44px; flex: 1 1 auto; justify-content: center; display: inline-flex; align-items: center; }
.nv-genre-header { margin: 0 0 20px; border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 1; }
.nv-genre-header img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 480px) { .nv-share._story .nv-share__menu { position: fixed; left: 8px; right: 8px; top: auto; bottom: 72px; } }
