/* Equity Bot — page body matches the professional sample digest
   (homeheartbeat/sample-digest.html + homeheartbeat/hhb.css).
   Site header/nav/footer stay blue. Live Equity Bot reddish-pink (#ff2d6a / #ff5a8a / #e0195a); no amber/teal. */

body.eb-warm-page {
  background-color: #07080c;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255,45,106,0.12), transparent 55%),
    repeating-linear-gradient(115deg, transparent 0, transparent 11px, rgba(255,255,255,0.015) 11px, rgba(255,255,255,0.015) 12px),
    repeating-linear-gradient(-115deg, transparent 0, transparent 17px, rgba(0,0,0,0.25) 17px, rgba(0,0,0,0.25) 18px),
    linear-gradient(180deg, #0c0e14 0%, #07080c 40%, #05060a 100%);
}

main.eb-warm {
  --eb-hot: #ff2d6a;
  --eb-hot-soft: #ff5a8a;
  --eb-crimson: #e0195a;
  --eb-deep: #b01a4a;
  --eb-glow: rgba(255,45,106,0.35);
  --eb-text: #eef2f7;
  --eb-body: #eef2f7;
  --eb-muted: #8b95a8;
  --eb-dim: #5c6678;
  --eb-panel: rgba(18,22,32,0.94);
  --eb-panel-solid: #121620;
  --eb-edge: rgba(255,255,255,0.08);
  --eb-edge-hot: rgba(255,45,106,0.45);
  color: var(--eb-text);
}

/* Hero — wordmark treatment like the digest header */
main.eb-warm .sx-kicker { color: var(--eb-hot-soft); }
main.eb-warm .sx-hero h1.eb-title {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; flex-wrap: wrap;
  color: #eef2f7; font-size: clamp(2.1rem, 5vw, 3.2rem);
  text-shadow: none;
}
main.eb-warm .eb-title .eb-hot { color: var(--eb-hot); text-shadow: 0 0 18px var(--eb-glow); }
main.eb-warm .sx-lede { color: var(--eb-muted); }

/* Heart buddy with two simple black-dot eyes.
   8s look-around (syncs with five 1.6s pulses): glance left, right, up,
   a couple of blinks, and a tiny tilt/bob. Colors unchanged. */
.eb-heart {
  display: inline-block; width: 1.25em; height: 1.15em; flex-shrink: 0;
  filter: drop-shadow(0 0 14px var(--eb-glow));
  animation: eb-pulse 1.6s ease-in-out infinite; transform-origin: 50% 60%;
}
.eb-heart svg {
  width: 100%; height: 100%; display: block; overflow: visible;
  transform-origin: 50% 70%;
  animation: eb-tilt 8s infinite;
}
.eb-heart .eb-eyes {
  transform-box: view-box;
  transform-origin: 32px 25px;
  animation: eb-look 8s infinite;
}
.eb-heart .eb-lids {
  transform-box: view-box;
  transform-origin: 32px 25px;
  animation: eb-blink 8s infinite;
}
@keyframes eb-pulse { 0%,100% { transform: scale(1); } 14% { transform: scale(1.1); } 28% { transform: scale(0.98); } 42% { transform: scale(1.06); } }
@keyframes eb-tilt {
  0%, 8% { transform: rotate(0deg) translateY(0); animation-timing-function: ease-in-out; }
  12%, 22% { transform: rotate(-6deg) translateY(0.5px); animation-timing-function: ease-in-out; }
  28%, 32% { transform: rotate(0deg) translateY(0); animation-timing-function: ease-in-out; }
  36%, 48% { transform: rotate(6deg) translateY(0.5px); animation-timing-function: ease-in-out; }
  54% { transform: rotate(0deg) translateY(0); animation-timing-function: ease-in-out; }
  58%, 68% { transform: rotate(-2deg) translateY(-1.5px); animation-timing-function: ease-in-out; }
  74%, 78% { transform: rotate(0deg) translateY(0); animation-timing-function: ease-in-out; }
  82%, 90% { transform: rotate(-5deg) translateY(-0.5px); animation-timing-function: ease-in-out; }
  100% { transform: rotate(0deg) translateY(0); }
}
@keyframes eb-look {
  0%, 8% { transform: translate(0, 0); animation-timing-function: ease-in-out; }
  12%, 22% { transform: translate(-3px, 0.4px); animation-timing-function: ease-in-out; }
  28%, 32% { transform: translate(0, 0); animation-timing-function: ease-in-out; }
  36%, 48% { transform: translate(3px, 0.4px); animation-timing-function: ease-in-out; }
  54% { transform: translate(0, 0); animation-timing-function: ease-in-out; }
  58%, 68% { transform: translate(0, -2.6px); animation-timing-function: ease-in-out; }
  74%, 78% { transform: translate(0, 0); animation-timing-function: ease-in-out; }
  82%, 90% { transform: translate(-2.2px, -1.4px); animation-timing-function: ease-in-out; }
  100% { transform: translate(0, 0); }
}
@keyframes eb-blink {
  0%, 28%, 32%, 72%, 76%, 92%, 94.5%, 96%, 98%, 100% { transform: scaleY(1); }
  30%, 74%, 93.5%, 97% { transform: scaleY(0.08); }
}
@media (prefers-reduced-motion: reduce) {
  .eb-heart, .eb-heart svg, .eb-heart .eb-eyes, .eb-heart .eb-lids { animation: none; }
}

/* Buttons: digest .hhb-btn-hot / ghost (red edge, no teal) */
main.eb-warm .sx-cta {
  background: linear-gradient(135deg, #ff2d6a, #e0195a);
  border: 1px solid transparent;
  color: #fff !important;
  box-shadow: 0 0 22px rgba(255,45,106,0.35);
}
main.eb-warm .sx-cta:hover { border-color: transparent; box-shadow: 0 0 30px rgba(255,45,106,0.55); }
main.eb-warm .sx-cta-ghost {
  background: rgba(255,255,255,0.03);
  border-color: var(--eb-edge-hot);
  box-shadow: none;
  color: var(--eb-text) !important;
}
main.eb-warm .sx-cta-ghost:hover { background: rgba(255,45,106,0.12); border-color: var(--eb-hot-soft); }

/* Section headings — digest section titles are cool white, not candy pink.
   Accents match the live “heartbeat” reddish-pink. */
main.eb-warm .sx-section h2, main.eb-warm .card h2 { color: var(--eb-text); }
main.eb-warm .sx-section h2::after, main.eb-warm .card h2::after {
  background: linear-gradient(90deg, var(--eb-hot), transparent);
  opacity: 0.7;
}
main.eb-warm .lm-caption { color: var(--eb-muted); }

/* Cards — digest .hhb-shell / .hhb-station */
main.eb-warm .sx-card, main.eb-warm .hot, main.eb-warm .card {
  background: var(--eb-panel-solid);
  border: 1px solid var(--eb-edge);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,45,106,0.08);
  position: relative;
  overflow: hidden;
}
main.eb-warm .sx-card::before, main.eb-warm .hot::before, main.eb-warm .card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--eb-hot);
  box-shadow: 0 0 10px var(--eb-glow);
}
main.eb-warm .card.pulse {
  background: var(--eb-panel);
  border-color: var(--eb-edge);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,45,106,0.08);
}
main.eb-warm .sx-card h3, main.eb-warm .hot h3 { color: var(--eb-text); }
main.eb-warm .sx-card p, main.eb-warm .hot p, main.eb-warm .card p, main.eb-warm .card li { color: var(--eb-muted); }
main.eb-warm .sx-icon {
  border: 1px solid var(--eb-edge-hot);
  background: rgba(255,45,106,0.08);
  color: var(--eb-hot-soft);
}
main.eb-warm .hot .tag, main.eb-warm .pulse-block .label { color: var(--eb-hot-soft); }

/* Sample badge — digest .hhb-tag, not a solid neon pill */
main.eb-warm .sample-badge {
  color: var(--eb-hot-soft);
  background: rgba(255,45,106,0.12);
  border: 1px solid rgba(255,45,106,0.35);
  box-shadow: none;
}
main.eb-warm .byline { color: var(--eb-muted); }
main.eb-warm .byline strong { color: var(--eb-text); }
main.eb-warm .pulse-stat { color: var(--eb-text); }
main.eb-warm .pulse-stat.up { color: var(--eb-hot-soft); text-shadow: 0 0 14px var(--eb-glow); }
main.eb-warm .pulse-note { color: var(--eb-muted) !important; }
main.eb-warm .eb-disclaimer { color: var(--eb-dim) !important; }
main.eb-warm .eb-lists li::marker { color: var(--eb-hot); }
main.eb-warm a:not(.sx-cta) { color: var(--eb-hot-soft); }
main.eb-warm .sx-close p { color: var(--eb-muted); }
