/* AUREA News — article spread block (build_shared._spread_block,
   patched into built pages by apply-share.py). Loaded only by article
   pages. Classes are namespaced .spread-*. Neon frame follows
   NEON FRAME STANDARD v1 (gold->purple gradient border + glow, fill =
   the site's own card colour); text colours stay on the readability
   baseline (--muted #A7ACC2 floor). Each button carries its brand
   colour in --sp: the icon renders in the brand colour and the border
   lights up in it on hover. */

.spread {
  margin: 20px 0 24px;
  padding: 16px 18px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card, #121626), var(--card, #121626)) padding-box,
    linear-gradient(135deg, rgba(255,215,0,.55), rgba(138,43,226,.55) 52%, rgba(255,215,0,.30)) border-box;
  box-shadow: 0 0 16px rgba(138,43,226,.16), 0 0 8px rgba(255,215,0,.08),
    0 10px 28px rgba(0,0,0,.36), inset 0 0 24px rgba(138,43,226,.05);
}
.spread-top { margin: 14px 0 18px; }

.spread-title {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 12px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--gold);
}
.spread-title svg { width: 16px; height: 16px; flex: none; }

.spread-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.spread-btn {
  --sp: var(--gold);
  display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-size: 13.5px; font-weight: 800;
  color: var(--text); background: var(--card-2, #141828);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 15px; cursor: pointer; text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.spread-btn svg { width: 15px; height: 15px; flex: none; color: var(--sp); }
.spread-btn:hover { border-color: var(--sp); box-shadow: 0 0 10px rgba(138,43,226,.25); }
.spread-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.spread-btn.is-copied { border-color: var(--gold); color: var(--gold); }

.sp-x { --sp: #e7e9ea; }
.sp-tg { --sp: #229ed9; }
.sp-fb { --sp: #1877f2; }
.sp-threads { --sp: #e7e9ea; }
.sp-copy { --sp: var(--gold); }

.spread-hint { color: var(--muted); font-size: 12px; margin: 10px 0 0; }

/* The end block keeps the hashtag chips directly under the panel. */
.spread-end + .article-tags { margin-top: 0; }

/* Rewards feedback line for the "Share News articles" task
   (news-share.js, patch #30): +1 pt status / registration hint.
   Rendered only for signed-in readers; anonymous sharing is
   untouched. */
.spread-pt { color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }
.spread-pt.is-earned { color: var(--gold); font-weight: 700; }
.spread-pt a { color: var(--gold); }
.spread-btn img { width: 15px; height: 15px; flex: none; }
