/* AUREA News — AI summary tags (sentiment chip on cards + summary box
   on article pages). Data comes from summaries.json, generated by
   gen-article-summaries.py from each article's own text; the chip and
   box render ONLY for articles that have a generated entry, so nothing
   is ever shown without real generated content behind it.
   Classes are namespaced .st-*. Neon frame follows the site standard
   (gold->purple gradient border + glow, fill = the site's card
   colour); text colours stay on the readability baseline. */

.st-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  line-height: 1; padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted);
  vertical-align: middle; white-space: nowrap;
}
.st-chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; flex: none;
}
.st-chip.st-bullish { color: #4ade80; border-color: rgba(74, 222, 128, .55); }
.st-chip.st-bearish { color: #f87171; border-color: rgba(248, 113, 113, .55); }
.st-chip.st-neutral { color: var(--gold); border-color: rgba(255, 215, 0, .45); }

/* On cards the chip sits right after the category label. */
.news-card-body .st-chip, .side-item-body .st-chip { margin-left: 8px; }
.side-item-body .st-chip { padding: 3px 7px; font-size: 10px; }

/* Article-page summary box. */
.st-box {
  margin: 20px 0 6px; border-radius: var(--radius, 14px); padding: 16px 18px;
  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);
}
.st-box-head {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 0 8px;
}
.st-box-title {
  font-size: 13px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold);
}
.st-box ul { margin: 0; padding-left: 20px; }
.st-box li {
  color: var(--text); font-size: 15px; line-height: 1.6; margin: 3px 0;
}
.st-box-note { color: var(--muted-2, #8B90A5); font-size: 12px; margin: 10px 0 0; }
