/* Public links + guest mode (web/js/public.js). Kept out of app.css so it stays one small file. */

/* Share / Copy link: a quiet icon like the star, never gold (gold is for actions and eggs). */
.link-btn { flex: none; border-color: transparent; background: none; }
.link-btn svg { stroke: var(--halo-ink); }
.res-row .link-btn { margin-right: -10px; }
.pod-top .link-btn { margin-right: -6px; }
.chat-head .link-btn { margin-left: auto; }

/* The Resources header and section titles carry their own Share. */
.page-head-share { display: flex; align-items: flex-start; gap: 8px; }
.page-head-share > div { flex: 1; min-width: 0; }
.section-share { display: flex; align-items: center; gap: 8px; scroll-margin-top: 84px; } /* a For you link lands below the sticky header */
.res-row.lit { scroll-margin-top: 84px; }
.section-share .section-title { flex: 1; min-width: 0; }

/* The resource a shared link pointed at. */
.res-row.lit { border-color: var(--halo); box-shadow: 0 0 0 1px var(--halo), 0 0 18px color-mix(in srgb, var(--halo) 30%, transparent); }

.hotline-share { margin-top: 18px; text-align: center; }
.hotline-share .btn { margin-top: 8px; }

/* Guests (signed out, on a public page): no Messages / Settings / Profile, no orb, no "..." menu. A Sign in link instead. */
body.guest .top-actions, body.guest .orbnav, body.guest .more-btn { display: none; }
.guest-signin { margin-left: auto; }
body:not(.guest) .guest-signin { display: none; }

/* The one quiet sign-up line at the bottom of a public page (public.js guestNudge). */
.guest-nudge { text-align: center; margin: 28px 0 8px; }
