
/* CRT typography sourced from supplied Core Page, scoped to Trade Ideas only. */
@media (prefers-reduced-motion: no-preference) {
  #trade-ideas .terminal-heading {
    position: relative;
    isolation: isolate;
  }
  #trade-ideas .terminal-heading > span { position: relative; }
  #trade-ideas .terminal-heading[data-terminal-phase]::before {
    content: "";
    position: absolute;
    z-index: -1;
    /* The glow extends past the centered headline and fades on BOTH sides.
       The former off-centre mask ended in a visible vertical cutoff. */
    inset: -.72em -12vw -.62em -12vw;
    border-radius: 50%;
    background:
      repeating-linear-gradient(180deg, transparent 0 2px, #62d58b14 2px 3px),
      radial-gradient(ellipse 58% 62% at 50% 50%, #1a683229, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 48% 48% at 50% 50%, #000 10%, #000b 38%, transparent 95%);
    mask-image: radial-gradient(ellipse 48% 48% at 50% 50%, #000 10%, #000b 38%, transparent 95%);
    opacity: 0;
    transition: opacity calc(.42s / var(--terminal-speed)) ease-out;
    pointer-events: none;
  }
  #trade-ideas .terminal-heading[data-terminal-phase="typing"]::before { opacity: .82; }
  #trade-ideas .terminal-heading .terminal-glyph {
    transition: color calc(.38s / var(--terminal-speed)) ease-out,
                text-shadow calc(.38s / var(--terminal-speed)) ease-out;
  }
  #trade-ideas .terminal-heading[data-terminal-phase="typing"] .terminal-glyph {
    color: #a1e2b6;
    text-shadow: 0 0 .085em #66e29880, 0 0 .21em #25ad6280;
    transition: none;
  }
  #trade-ideas .terminal-heading[data-terminal-phase="typing"] .accent .terminal-glyph { color: #50da91; }
  #trade-ideas .terminal-heading[data-terminal-phase="typing"] .terminal-caret::after,
  #trade-ideas .terminal-heading[data-terminal-phase="typing"] .terminal-leading-caret::after {
    content: "";
    position: absolute;
    left: calc(100% + .07em);
    bottom: -.065em;
    width: .47em;
    height: max(2px, .061em);
    background: #53d88c;
    box-shadow: 0 0 .15em #41d783a6;
  }
}
@media (prefers-reduced-motion: reduce) {
  #trade-ideas .terminal-heading[data-terminal-phase]::before { display: none; }
}
