    /* ── Journey CSS Variables ── */
    :root {
      --jc-bg: rgba(8, 8, 22, .95);
      --jc-card-bg: rgba(255, 255, 255, .035);
      --jc-card-border: rgba(255, 255, 255, .08);
      --jc-card-hover: rgba(124, 58, 237, .06);
      --jc-text: #e2e8f0;
      --jc-text-secondary: #cbd5e1;
      --jc-text-muted: #94a3b8;
      --jc-text-dim: #64748b;
      --jc-green: #34d399;
      --jc-red: #f87171;
      --jc-purple: #a78bfa;
      --jc-cyan: #22d3ee;
      --jc-yellow: #fbbf24;
      --jc-orange: #fb923c;
      --jc-glow: rgba(124, 58, 237, .15);
      --jc-spark-up: #34d399;
      --jc-spark-down: #f87171;
      --jc-spark-fill-up: rgba(52, 211, 153, .12);
      --jc-spark-fill-down: rgba(248, 113, 113, .12);
    }

    :root[data-mockup-theme-resolved="light"] {
      --jc-bg: var(--bg-base, #f1f5f9);
      --jc-card-bg: rgba(255, 255, 255, .94);
      --jc-card-border: rgba(15, 23, 42, .12);
      --jc-card-hover: rgba(99, 102, 241, .06);
      --jc-text: #0f172a;
      --jc-text-secondary: #1e293b;
      --jc-text-muted: #475569;
      --jc-text-dim: #64748b;
      --jc-green: #047857;
      --jc-red: #b91c1c;
      --jc-purple: #6d28d9;
      --jc-cyan: #0e7490;
      --jc-yellow: #b45309;
      --jc-orange: #c2410c;
      --jc-glow: rgba(99, 102, 241, .08);
      --jc-spark-up: #047857;
      --jc-spark-down: #b91c1c;
      --jc-spark-fill-up: rgba(4, 120, 87, .1);
      --jc-spark-fill-down: rgba(185, 28, 28, .1);
    }

    /* Light-mode card gradient overrides */
    :root[data-mockup-theme-resolved="light"] .jc-story--hero {
      background: linear-gradient(160deg, rgba(99, 102, 241, .08), rgba(6, 182, 212, .04) 60%, #fff);
    }

    :root[data-mockup-theme-resolved="light"] .jc-story--theme {
      background: linear-gradient(160deg, rgba(245, 158, 11, .07), rgba(239, 68, 68, .03) 60%, #fff);
    }

    :root[data-mockup-theme-resolved="light"] .jc-tv-chart-block {
      background: rgba(0, 0, 0, .03);
      border-color: rgba(0, 0, 0, .08);
    }

    :root[data-mockup-theme-resolved="light"] .jc-story--market {
      background: linear-gradient(160deg, rgba(6, 182, 212, .07), rgba(16, 185, 129, .03) 60%, #fff);
    }

    :root[data-mockup-theme-resolved="light"] .jc-story--movers {
      background: linear-gradient(160deg, rgba(16, 185, 129, .07), rgba(239, 68, 68, .03) 60%, #fff);
    }

    :root[data-mockup-theme-resolved="light"] .jc-story--spotlight {
      background: linear-gradient(160deg, rgba(99, 102, 241, .08), rgba(16, 185, 129, .03) 60%, #fff);
    }

    :root[data-mockup-theme-resolved="light"] .jc-story--commodity {
      background: linear-gradient(160deg, rgba(245, 158, 11, .07), rgba(6, 182, 212, .03) 60%, #fff);
    }

    :root[data-mockup-theme-resolved="light"] .jc-story--mustknow {
      background: linear-gradient(160deg, rgba(99, 102, 241, .06), rgba(245, 158, 11, .03) 60%, #fff);
    }

    :root[data-mockup-theme-resolved="light"] .jc-story--trending {
      background: linear-gradient(160deg, rgba(239, 68, 68, .06), rgba(245, 158, 11, .04) 60%, #fff);
    }

    :root[data-mockup-theme-resolved="light"] .jc-story {
      box-shadow: 0 2px 12px rgba(15, 23, 42, .06);
      opacity: .65;
      background-color: #fff;
    }

    :root[data-mockup-theme-resolved="light"] .jc-story.jc-active {
      box-shadow: 0 4px 24px rgba(15, 23, 42, .1), 0 0 0 1.5px rgba(99, 102, 241, .25);
      opacity: 1;
      border-color: rgba(99, 102, 241, .3);
    }

    :root[data-mockup-theme-resolved="light"] .jc-story::after {
      display: none !important;
    }

    :root[data-mockup-theme-resolved="light"] .jc-kpi {
      background: rgba(248, 250, 252, .9);
      border-color: rgba(15, 23, 42, .08);
    }

    :root[data-mockup-theme-resolved="light"] .jc-ls-item {
      background: rgba(248, 250, 252, .9);
      border-color: rgba(15, 23, 42, .08);
    }

    :root[data-mockup-theme-resolved="light"] .jc-com-item {
      background: rgba(248, 250, 252, .9);
      border-color: rgba(15, 23, 42, .08);
    }

    :root[data-mockup-theme-resolved="light"] .jc-bullet {
      background: rgba(248, 250, 252, .9);
      border-color: rgba(15, 23, 42, .08);
    }

    :root[data-mockup-theme-resolved="light"] .journey-dot {
      background: #94a3b8;
    }

    :root[data-mockup-theme-resolved="light"] .journey-arrow {
      background: rgba(255, 255, 255, .9);
      border-color: rgba(15, 23, 42, .1);
      color: #475569;
    }

    :root[data-mockup-theme-resolved="light"] .jc-badge {
      background: rgba(248, 250, 252, .9);
      border-color: rgba(15, 23, 42, .08);
      color: #475569;
    }

    :root[data-mockup-theme-resolved="light"] .jc-hero-widget {
      background: rgba(248, 250, 252, .9);
      border-color: rgba(15, 23, 42, .08);
    }

    :root[data-mockup-theme-resolved="light"] .jc-market-featured {
      background: linear-gradient(135deg, rgba(6, 182, 212, .06), rgba(124, 58, 237, .04));
      border-color: rgba(6, 182, 212, .12);
    }

    :root[data-mockup-theme-resolved="light"] .jc-market-tile {
      background: rgba(248, 250, 252, .9);
      border-color: rgba(15, 23, 42, .08);
    }

    /* ── Financial metrics grid ── */
    .jc-fin-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 8px;
    }

    .jc-fin-item {
      padding: 10px 12px;
      border-radius: 10px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
      text-align: center;
    }

    .jc-fin-lbl {
      font-size: .5625rem;
      color: var(--jc-text-muted);
      text-transform: uppercase;
      letter-spacing: .6px;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .jc-fin-val {
      font-size: 1.125rem;
      font-weight: 900;
      color: var(--jc-text);
    }

    /* ── Revenue/Profit mini bar chart ── */
    .jc-bars {
      display: flex;
      align-items: flex-end;
      gap: 4px;
      height: 60px;
      padding: 4px 0;
    }

    .jc-bar-col {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      height: 100%;
      justify-content: flex-end;
    }

    .jc-bar {
      border-radius: 3px 3px 0 0;
      min-height: 3px;
      width: 100%;
      transition: height .3s;
    }

    .jc-bar--rev {
      background: var(--jc-purple);
      opacity: .7;
    }

    .jc-bar--profit {
      background: var(--jc-green);
      opacity: .85;
    }

    .jc-bar-lbl {
      font-size: .5rem;
      color: var(--jc-text-dim);
    }

    .jc-bars-legend {
      display: flex;
      gap: 12px;
      margin-top: 4px;
    }

    .jc-bars-legend-item {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: .5625rem;
      color: var(--jc-text-muted);
    }

    .jc-bars-legend-dot {
      width: 8px;
      height: 8px;
      border-radius: 2px;
    }

    /* ── Trending card type ── */
    .jc-story--trending {
      flex: 0 0 min(94vw, 860px);
      width: min(94vw, 860px);
      max-width: 860px;
      background: linear-gradient(160deg, rgba(239, 68, 68, .08), rgba(245, 158, 11, .04) 60%, var(--jc-card-bg));
    }

    .jc-story--spotlight .jc-tv-chart-block,
    .jc-story--trending .jc-tv-chart-block {
      width: 100%;
      align-self: stretch;
    }

    .jc-story--spotlight .jc-tv-chart-container,
    .jc-story--trending .jc-tv-chart-container {
      height: 240px;
    }

    .jc-story--trending::after {
      background: #ef4444;
      top: -60px;
      left: -50px;
    }

    /* ── Inline Highlights ── */
    .jc-kw-hl {
      color: var(--jc-accent);
      font-weight: 700;
      background: rgba(124, 58, 237, 0.08);
      padding: 0 4px;
      border-radius: 4px;
    }

    :root[data-mockup-theme-resolved="light"] .jc-kw-hl {
      background: rgba(124, 58, 237, 0.12);
    }

    .jc-news-snippet {
      font-size: .8125rem;
      color: var(--jc-text-secondary);
      line-height: 1.7;
      padding: 8px 12px;
      border-radius: 10px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
    }

    /* ── Hero card inline market widgets ── */
    .jc-hero-widgets {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      scrollbar-width: none;
      padding: 4px 0;
    }

    .jc-hero-widgets::-webkit-scrollbar {
      display: none;
    }

    .jc-hero-widget {
      flex: 0 0 auto;
      min-width: 140px;
      padding: 12px 14px;
      border-radius: 14px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
      display: flex;
      flex-direction: column;
      gap: 6px;
      transition: all .2s;
      cursor: default;
    }

    .jc-hero-widget:hover {
      border-color: rgba(124, 58, 237, .2);
      transform: translateY(-2px);
    }

    .jc-hw-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
    }

    .jc-hw-label {
      font-size: .625rem;
      font-weight: 700;
      color: var(--jc-text-muted);
      text-transform: uppercase;
      letter-spacing: .6px;
    }

    .jc-hw-chg {
      font-size: .625rem;
      font-weight: 800;
      padding: 2px 6px;
      border-radius: 4px;
    }

    .jc-hw-chg.up {
      color: var(--jc-green);
      background: rgba(52, 211, 153, .12);
    }

    .jc-hw-chg.down {
      color: var(--jc-red);
      background: rgba(248, 113, 113, .12);
    }

    .jc-hw-price {
      font-size: 1.125rem;
      font-weight: 900;
      color: var(--jc-text);
      letter-spacing: -.3px;
    }

    .jc-hw-spark {
      height: 28px;
    }

    .jc-hw-spark svg {
      width: 100%;
      display: block;
    }

    /* ════════════════════════════════════════════
       FULL-SCREEN IMMERSIVE MODE
       ════════════════════════════════════════════ */
    body.journey-active .right-panel,
    body.journey-active .content-area>aside:not(.icon-sidebar),
    body.journey-active .scroll-area,
    body.journey-active .greeting,
    body.journey-active .guest-hero {
      display: none !important;
    }

    body.journey-active .content-area {
      margin-left: 0 !important;
      grid-template-columns: 1fr !important;
    }

    body.journey-active .main-content {
      max-width: 100%;
      width: 100%;
    }

    body.journey-active .journey-hero {
      width: 100%;
    }

    body.journey-active .journey-track {
      width: 100%;
    }

    /* Initial state before JS init (prevent first-paint flash) */
    :root[data-home-view-init="journey"] .right-panel,
    :root[data-home-view-init="journey"] .content-area>aside:not(.icon-sidebar),
    :root[data-home-view-init="journey"] .scroll-area,
    :root[data-home-view-init="journey"] .greeting,
    :root[data-home-view-init="journey"] .guest-hero {
      display: none !important;
    }

    :root[data-home-view-init="journey"] .content-area {
      margin-left: 0 !important;
      grid-template-columns: 1fr !important;
    }

    :root[data-home-view-init="journey"] .main-content,
    :root[data-home-view-init="journey"] .journey-hero,
    :root[data-home-view-init="journey"] .journey-track {
      width: 100%;
      max-width: 100%;
    }

    :root[data-home-view-init="journey"] #journeyHeroView {
      display: flex !important;
    }

    /* ── Journey Mode Toggle (Market / Personal) ── */
    .jc-mode-toggle {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 4px;
      padding: 8px 16px 4px;
      z-index: 10;
    }

    .jc-mode-group {
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .jc-mode-btn {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--jc-text-muted);
      border-radius: 20px;
      padding: 6px 18px;
      font-size: .8rem;
      font-family: inherit;
      cursor: pointer;
      transition: all .25s ease;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .jc-mode-btn:hover {
      background: rgba(255, 255, 255, 0.1);
      color: var(--jc-text);
    }

    .jc-mode-btn.active {
      background: linear-gradient(135deg, var(--jc-purple), #6366f1);
      color: #fff;
      border-color: transparent;
      box-shadow: 0 2px 12px rgba(124, 58, 237, 0.35);
    }

    .jc-mode-btn i {
      font-size: .75rem;
    }

    :root[data-mockup-theme-resolved="light"] .jc-mode-btn {
      background: rgba(0, 0, 0, 0.04);
      border-color: rgba(0, 0, 0, 0.1);
      color: #666;
    }

    :root[data-mockup-theme-resolved="light"] .jc-mode-btn:hover {
      background: rgba(0, 0, 0, 0.08);
      color: #333;
    }

    :root[data-mockup-theme-resolved="light"] .jc-mode-btn.active {
      background: linear-gradient(135deg, #7c3aed, #6366f1);
      color: #fff;
      border-color: transparent;
    }

    .jc-refresh-btn {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.09);
      color: var(--jc-text-muted);
      border-radius: 20px;
      padding: 6px 14px;
      font-size: .75rem;
      font-family: inherit;
      cursor: pointer;
      transition: all .2s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .jc-refresh-btn:hover {
      color: var(--jc-text);
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.14);
    }

    /* ── Journey Market Chips (MaX Briefing per market) ── */
    .jc-market-chips {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 6px;
      padding: 4px 16px 8px;
      z-index: 10;
    }

    /* Home topnav: market chips replace global clock */
    #globalNavTime.topnav-center--home-chips .jc-market-chips,
    .topnav-center--home-chips .jc-market-chips {
      flex-wrap: nowrap;
      gap: 5px;
      padding: 0;
    }

    .jc-mkt-chip {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      border: 1px solid rgba(255, 255, 255, .1);
      background: rgba(255, 255, 255, .04);
      color: var(--jc-text-muted);
      font-size: .7rem;
      font-weight: 600;
      padding: 5px 12px;
      border-radius: 999px;
      cursor: pointer;
      font-family: inherit;
      transition: all .15s;
      white-space: nowrap;
    }

    .jc-mkt-chip-icon {
      line-height: 1;
    }

    .jc-mkt-chip:hover {
      border-color: rgba(124, 58, 237, .35);
      color: var(--jc-text);
    }

    .jc-mkt-chip.active {
      border-color: rgba(124, 58, 237, .5);
      background: rgba(124, 58, 237, .16);
      color: var(--jc-purple);
    }

    :root[data-mockup-theme-resolved="light"] .jc-mkt-chip {
      border-color: rgba(15, 23, 42, .12);
      background: rgba(255, 255, 255, .9);
      color: #475569;
    }

    :root[data-mockup-theme-resolved="light"] .jc-mkt-chip.active {
      border-color: rgba(109, 40, 217, .45);
      background: rgba(109, 40, 217, .1);
      color: #6d28d9;
    }

    /* ── Per-market journey card variants ── */
    .jc-story--sentiment {
      background: linear-gradient(160deg, rgba(99, 102, 241, .1), rgba(6, 182, 212, .04) 60%, var(--jc-card-bg));
    }

    .jc-story--indices {
      background: linear-gradient(160deg, rgba(6, 182, 212, .08), rgba(16, 185, 129, .03) 60%, var(--jc-card-bg));
    }

    .jc-story--heatmap {
      background: linear-gradient(160deg, rgba(6, 182, 212, .07), rgba(99, 102, 241, .04) 60%, var(--jc-card-bg));
    }

    .jc-story--crypto {
      background: linear-gradient(160deg, rgba(245, 158, 11, .08), rgba(99, 102, 241, .05) 60%, var(--jc-card-bg));
    }

    .jc-story--gold {
      background: linear-gradient(160deg, rgba(245, 158, 11, .1), rgba(234, 179, 8, .04) 60%, var(--jc-card-bg));
    }

    .jc-story--insight {
      background: linear-gradient(160deg, rgba(124, 58, 237, .09), rgba(6, 182, 212, .03) 60%, var(--jc-card-bg));
    }

    .jc-insight-impact {
      margin-bottom: 12px;
    }

    .jc-insight-impact-title {
      position: relative;
      z-index: 1;
      font-size: 1.05rem;
      font-weight: 900;
      line-height: 1.45;
      color: var(--jc-text);
      margin-bottom: 10px;
    }

    .jc-insight-impact-badges {
      position: relative;
      z-index: 1;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 10px;
    }

    .jc-story--news {
      background: linear-gradient(160deg, rgba(239, 68, 68, .07), rgba(245, 158, 11, .03) 60%, var(--jc-card-bg));
    }

    .jc-story--mk-single {
      background: linear-gradient(160deg, rgba(99, 102, 241, .07), rgba(245, 158, 11, .03) 60%, var(--jc-card-bg));
    }

    .jc-story--sowhat {
      background: linear-gradient(160deg, rgba(245, 158, 11, .08), rgba(239, 68, 68, .03) 60%, var(--jc-card-bg));
    }

    .jc-story--link {
      background: linear-gradient(160deg, rgba(124, 58, 237, .12), rgba(6, 182, 212, .06) 60%, var(--jc-card-bg));
    }

    .jc-sent-hero {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 10px;
    }

    .jc-sent-emoji {
      font-size: 2rem;
      line-height: 1;
    }

    .jc-idx-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .jc-idx-tile {
      background: rgba(255, 255, 255, .04);
      border: 1px solid var(--jc-card-border);
      border-radius: 10px;
      padding: 10px;
    }

    .jc-idx-tile-name {
      font-size: .72rem;
      color: var(--jc-text-muted);
      margin-bottom: 4px;
    }

    .jc-idx-tile-val {
      font-size: 1rem;
      font-weight: 700;
      color: var(--jc-text);
    }

    .jc-hm-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 6px;
    }

    .jc-hm-cell {
      border-radius: 8px;
      padding: 8px 6px;
      text-align: center;
      border: 1px solid var(--jc-card-border);
    }

    .jc-hm-cell.up {
      background: rgba(52, 211, 153, .12);
    }

    .jc-hm-cell.down {
      background: rgba(248, 113, 113, .12);
    }

    .jc-hm-cell.flat {
      background: rgba(148, 163, 184, .08);
    }

    .jc-hm-name {
      font-size: .62rem;
      color: var(--jc-text-muted);
      margin-bottom: 3px;
    }

    .jc-hm-pct {
      font-size: .78rem;
      font-weight: 700;
    }

    .jc-heatmap-headline {
      font-size: .9375rem;
      font-weight: 800;
      line-height: 1.5;
      color: var(--jc-text);
      margin-bottom: 8px;
    }

    .jc-heatmap-context {
      font-size: .8125rem;
      line-height: 1.6;
      color: var(--jc-text-soft);
      margin-bottom: 10px;
      padding: 10px 12px;
      border-radius: 10px;
      background: rgba(255, 255, 255, .03);
      border: 1px solid rgba(255, 255, 255, .05);
    }

    .jc-hm-sector-host {
      margin-top: 12px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .jc-hm-sector-detail {
      padding: 10px 12px;
      border-radius: 10px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
    }

    .jc-hm-sector-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 6px;
    }

    .jc-hm-sector-name {
      font-size: .75rem;
      font-weight: 800;
      color: var(--jc-text);
    }

    .jc-hm-sector-chg {
      font-size: .625rem !important;
      flex-shrink: 0;
    }

    .jc-hm-sector-news {
      font-size: .75rem;
      line-height: 1.5;
      color: var(--jc-text-soft);
      margin-bottom: 8px;
    }

    .jc-hm-sector-stocks {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .jc-hm-stock-chip {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 5px 9px;
      border-radius: 999px;
      background: rgba(255, 255, 255, .04);
      border: 1px solid var(--jc-card-border);
      cursor: pointer;
      transition: border-color .2s;
    }

    .jc-hm-stock-chip:hover {
      border-color: rgba(6, 182, 212, .3);
    }

    .jc-hm-stock-sym {
      font-size: .6875rem;
      font-weight: 800;
      color: var(--jc-text);
    }

    .jc-hm-stock-chg {
      font-size: .625rem !important;
    }

    :root[data-mockup-theme-resolved="light"] .jc-heatmap-context {
      background: rgba(0, 0, 0, .03);
      border-color: rgba(0, 0, 0, .06);
    }

    .jc-crypto-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .jc-crypto-tile {
      background: rgba(255, 255, 255, .04);
      border: 1px solid var(--jc-card-border);
      border-radius: 10px;
      padding: 12px;
    }

    .jc-crypto-tile.featured {
      grid-column: span 2;
      background: linear-gradient(135deg, rgba(245, 158, 11, .12), rgba(99, 102, 241, .08));
    }

    .jc-crypto-name {
      font-size: .75rem;
      color: var(--jc-text-muted);
    }

    .jc-crypto-val {
      font-size: 1.15rem;
      font-weight: 800;
      margin: 4px 0;
    }

    .jc-gold-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 0;
      border-bottom: 1px solid var(--jc-card-border);
    }

    .jc-gold-lbl {
      font-size: .82rem;
      color: var(--jc-text-muted);
    }

    .jc-gold-val {
      font-size: 1rem;
      font-weight: 700;
      color: var(--jc-yellow);
    }

    .jc-gold-chg {
      margin-top: 10px;
      font-size: .85rem;
    }

    .jc-mk-single-text {
      font-size: 1.05rem;
      line-height: 1.65;
      font-weight: 600;
      color: var(--jc-text);
    }

    .jc-news-sym {
      margin-top: 10px;
      font-size: .78rem;
      color: var(--jc-cyan);
      font-weight: 600;
    }

    .jc-link-icon {
      font-size: 2.5rem;
      margin-bottom: 8px;
    }

    .jc-refresh-btn[disabled] {
      opacity: .6;
      cursor: wait;
    }

    .jc-refresh-btn.is-loading i {
      animation: spin 1s linear infinite;
    }

    :root[data-mockup-theme-resolved="light"] .jc-refresh-btn {
      background: rgba(0, 0, 0, 0.04);
      border-color: rgba(0, 0, 0, 0.1);
      color: #666;
    }

    :root[data-mockup-theme-resolved="light"] .jc-refresh-btn:hover {
      background: rgba(0, 0, 0, 0.08);
      color: #333;
    }

    /* ── Journey Container ── */
    .journey-hero {
      flex: 1;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      position: relative;
      background: var(--jc-bg);
      min-height: 0;
    }

    .journey-track {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      flex: 1;
      gap: 0;
      scroll-behavior: smooth;
      padding: 16px 0 90px 0;
      /* Extra bottom padding so chat bar doesn't cover content */
      min-height: 0;
      align-items: stretch;
      touch-action: pan-x;
    }

    .journey-track::-webkit-scrollbar {
      display: none;
    }

    .jc-story {
      flex: 0 0 90%;
      max-width: 560px;
      scroll-snap-align: center;
      margin: 0 10px;
      padding: 28px 24px;
      border-radius: 20px;
      background: var(--jc-card-bg);
      border: 1.5px solid var(--jc-card-border);
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      min-height: 0;
      gap: 16px;
      transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .4s, box-shadow .4s;
      opacity: .45;
      transform: scale(.92);
      align-self: stretch;
      max-height: 100%;
    }

    .jc-story.jc-active {
      opacity: 1;
      transform: scale(1);
      box-shadow: 0 0 50px var(--jc-glow), 0 12px 40px rgba(0, 0, 0, .25);
      border-color: rgba(124, 58, 237, .35);
    }

    /* ── Card Types — unique gradient personalities ── */
    .jc-story--hero {
      background: linear-gradient(160deg, rgba(124, 58, 237, .15), rgba(6, 182, 212, .06) 60%, var(--jc-card-bg));
    }

    .jc-story--hero-market {
      min-height: 320px;
    }

    .jc-hero-market-banner {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: -28px -24px 12px;
      padding: 16px 20px;
      border-radius: 20px 20px 0 0;
      background: linear-gradient(135deg, rgba(124, 58, 237, .22) 0%, rgba(6, 182, 212, .12) 55%, rgba(16, 185, 129, .08) 100%);
      border-bottom: 1px solid rgba(124, 58, 237, .2);
    }

    .jc-hero-market-icon {
      font-size: 2rem;
      line-height: 1;
      flex-shrink: 0;
    }

    .jc-hero-market-title {
      font-size: 1.05rem;
      font-weight: 800;
      color: var(--jc-text);
      line-height: 1.25;
    }

    .jc-hero-market-sub {
      font-size: .72rem;
      color: var(--jc-text-muted);
      margin-top: 2px;
    }

    .jc-headline--hero {
      font-size: 1.15rem !important;
      font-weight: 800 !important;
      line-height: 1.45 !important;
      margin-bottom: 10px;
    }

    .jc-hero-news {
      margin-top: 12px;
      padding: 10px 12px;
      border-radius: 12px;
      background: rgba(255, 255, 255, .04);
      border: 1px solid var(--jc-card-border);
    }

    .jc-hero-news-title {
      font-size: .72rem;
      font-weight: 700;
      color: var(--jc-text-muted);
      margin-bottom: 8px;
      letter-spacing: .02em;
    }

    .jc-hero-news-list {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .jc-hero-news-item {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: .78rem;
      line-height: 1.45;
    }

    .jc-hero-news-num {
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      border-radius: 99px;
      background: rgba(124, 58, 237, .2);
      color: var(--jc-purple);
      font-size: .62rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .jc-hero-news-text {
      flex: 1;
      color: var(--jc-text-secondary);
    }

    .jc-hero-news-src {
      flex-shrink: 0;
      font-size: .6rem;
      color: var(--jc-text-dim);
      padding: 2px 6px;
      border-radius: 99px;
      background: rgba(255, 255, 255, .05);
    }

    /* ── Geo / Politics card ── */
    .jc-story--geopol {
      background: linear-gradient(160deg, rgba(245, 158, 11, .08), rgba(124, 58, 237, .04) 55%, var(--jc-card-bg));
    }

    .jc-geopol-summary {
      font-size: .9375rem;
      font-weight: 800;
      line-height: 1.5;
      color: var(--jc-text);
      margin-bottom: 8px;
    }

    .jc-geopol-context {
      font-size: .8125rem;
      line-height: 1.6;
      color: var(--jc-text-soft);
      margin-bottom: 10px;
      padding: 10px 12px;
      border-radius: 10px;
      background: rgba(245, 158, 11, .06);
      border: 1px solid rgba(245, 158, 11, .12);
    }

    .jc-geopol-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .jc-geopol-item {
      padding: 10px 12px;
      border-radius: 10px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
    }

    .jc-geopol-item-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 5px;
    }

    .jc-geopol-cat {
      font-size: .625rem;
      font-weight: 800;
      color: var(--jc-amber);
      letter-spacing: .3px;
    }

    .jc-geopol-src {
      font-size: .5625rem;
      color: var(--jc-text-muted);
      flex-shrink: 0;
    }

    .jc-geopol-title {
      font-size: .8125rem;
      font-weight: 700;
      line-height: 1.45;
      color: var(--jc-text);
    }

    .jc-geopol-snippet {
      font-size: .75rem;
      line-height: 1.5;
      color: var(--jc-text-muted);
      margin-top: 4px;
    }

    :root[data-mockup-theme-resolved="light"] .jc-geopol-context {
      background: rgba(245, 158, 11, .08);
      border-color: rgba(245, 158, 11, .18);
    }

    .jc-hero-stock-widgets {
      margin-top: 8px;
      padding: 0 4px 8px;
    }

    .jc-hero-stock-label {
      font-size: .68rem;
      font-weight: 700;
      color: var(--jc-text-muted);
      margin-bottom: 6px;
      padding-left: 4px;
    }

    .jc-hero-stock-grid {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 4px;
      scrollbar-width: none;
    }

    .jc-hero-stock-grid::-webkit-scrollbar {
      display: none;
    }

    .jc-hero-widget--stock {
      flex: 0 0 140px;
      min-width: 140px;
      background: linear-gradient(160deg, rgba(16, 185, 129, .1), rgba(6, 182, 212, .06));
      border-color: rgba(16, 185, 129, .2);
    }

    .jc-hw-stock-hint {
      font-size: .58rem;
      color: var(--jc-text-dim);
      line-height: 1.35;
      margin-top: 4px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .jc-theme-hero {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 14px 16px 12px;
      margin: -20px -20px 12px;
      border-radius: 20px 20px 0 0;
      background: linear-gradient(135deg, rgba(245, 158, 11, .22) 0%, rgba(239, 68, 68, .12) 50%, rgba(124, 58, 237, .1) 100%);
      border-bottom: 1px solid rgba(245, 158, 11, .2);
    }

    .jc-theme-hero-top {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .jc-theme-hero-icon {
      font-size: 2.2rem;
      line-height: 1;
      flex-shrink: 0;
    }

    .jc-theme-hero-title {
      font-size: 1.15rem;
      font-weight: 900;
      color: var(--jc-text);
      letter-spacing: -.2px;
      line-height: 1.25;
    }

    .jc-theme-hero-sub {
      font-size: .64rem;
      font-weight: 700;
      color: var(--jc-text-muted);
      margin-top: 1px;
    }

    .jc-theme-hero-badges {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    .jc-theme-hero-badge {
      font-size: .6rem;
      font-weight: 800;
      padding: 3px 9px;
      border-radius: 10px;
      letter-spacing: .3px;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .jc-theme-hero-badge--pos {
      background: rgba(16, 185, 129, .18);
      color: #10b981;
      border: 1px solid rgba(16, 185, 129, .25);
    }

    .jc-theme-hero-badge--neg {
      background: rgba(239, 68, 68, .15);
      color: #ef4444;
      border: 1px solid rgba(239, 68, 68, .2);
    }

    .jc-theme-hero-badge--neu {
      background: rgba(245, 158, 11, .15);
      color: #f59e0b;
      border: 1px solid rgba(245, 158, 11, .2);
    }

    .jc-theme-hero-badge--count {
      background: rgba(255, 255, 255, .07);
      color: var(--jc-text-muted);
      border: 1px solid rgba(255, 255, 255, .09);
    }

    .jc-theme-hero-stocks {
      display: flex;
      gap: 5px;
      flex-wrap: wrap;
    }

    .jc-theme-hero-chip {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 4px 10px;
      border-radius: 8px;
      background: rgba(0, 0, 0, .18);
      border: 1px solid rgba(255, 255, 255, .1);
      font-size: .65rem;
      font-weight: 800;
      color: var(--jc-text);
      cursor: pointer;
      transition: background .18s, transform .15s;
    }

    .jc-theme-hero-chip:hover {
      background: rgba(245, 158, 11, .22);
      transform: translateY(-1px);
    }

    .jc-theme-hero-chip-chg {
      font-size: .58rem;
      font-weight: 700;
    }

    .jc-theme-hero-chip-chg.up {
      color: #10b981;
    }

    .jc-theme-hero-chip-chg.down {
      color: #ef4444;
    }

    :root[data-mockup-theme-resolved="light"] .jc-theme-hero {
      background: linear-gradient(135deg, rgba(245, 158, 11, .14) 0%, rgba(239, 68, 68, .07) 50%, rgba(124, 58, 237, .06) 100%);
      border-bottom-color: rgba(245, 158, 11, .15);
    }

    :root[data-mockup-theme-resolved="light"] .jc-theme-hero-chip {
      background: rgba(0, 0, 0, .06);
      border-color: rgba(0, 0, 0, .1);
    }

    :root[data-mockup-theme-resolved="light"] .jc-theme-hero-chip:hover {
      background: rgba(245, 158, 11, .15);
    }

    :root[data-mockup-theme-resolved="light"] .jc-theme-hero-badge--count {
      background: rgba(0, 0, 0, .05);
      color: #666;
      border-color: rgba(0, 0, 0, .08);
    }

    /* ── Theme Impact Hero: "Why Important" eye-catching section ── */
    .jc-theme-impact {
      position: relative;
      margin: 0 -4px 10px;
      padding: 14px 14px 12px;
      border-radius: 14px;
      background: linear-gradient(135deg, rgba(239, 68, 68, .08), rgba(245, 158, 11, .06) 60%, rgba(16, 185, 129, .04));
      border: 1px solid rgba(239, 68, 68, .14);
      overflow: hidden;
    }

    .jc-theme-impact--positive {
      background: linear-gradient(135deg, rgba(16, 185, 129, .10), rgba(6, 182, 212, .06) 60%, rgba(124, 58, 237, .04));
      border-color: rgba(16, 185, 129, .18);
    }

    .jc-theme-impact--neutral {
      background: linear-gradient(135deg, rgba(245, 158, 11, .08), rgba(124, 58, 237, .05) 60%, rgba(6, 182, 212, .04));
      border-color: rgba(245, 158, 11, .15);
    }

    /* Animated pulse glow */
    .jc-theme-impact::before {
      content: '';
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      background: transparent;
      border: 2px solid transparent;
      animation: jcImpactPulse 2.4s ease-in-out infinite;
      pointer-events: none;
      z-index: 0;
    }

    .jc-theme-impact--positive::before {
      animation-name: jcImpactPulseGreen;
    }

    .jc-theme-impact--neutral::before {
      animation-name: jcImpactPulseAmber;
    }

    @keyframes jcImpactPulse {

      0%,
      100% {
        border-color: rgba(239, 68, 68, .0);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
      }

      50% {
        border-color: rgba(239, 68, 68, .35);
        box-shadow: 0 0 18px 2px rgba(239, 68, 68, .12);
      }
    }

    @keyframes jcImpactPulseGreen {

      0%,
      100% {
        border-color: rgba(16, 185, 129, .0);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
      }

      50% {
        border-color: rgba(16, 185, 129, .35);
        box-shadow: 0 0 18px 2px rgba(16, 185, 129, .12);
      }
    }

    @keyframes jcImpactPulseAmber {

      0%,
      100% {
        border-color: rgba(245, 158, 11, .0);
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
      }

      50% {
        border-color: rgba(245, 158, 11, .30);
        box-shadow: 0 0 16px 2px rgba(245, 158, 11, .10);
      }
    }

    .jc-theme-impact-why {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 10px;
    }

    .jc-theme-impact-why-tag {
      font-size: .52rem;
      font-weight: 900;
      letter-spacing: .4em;
      text-transform: uppercase;
      color: #ef4444;
      background: rgba(239, 68, 68, .12);
      padding: 2px 8px 2px 9px;
      border-radius: 6px;
      border: 1px solid rgba(239, 68, 68, .2);
      flex-shrink: 0;
    }

    .jc-theme-impact--positive .jc-theme-impact-why-tag {
      color: #10b981;
      background: rgba(16, 185, 129, .12);
      border-color: rgba(16, 185, 129, .2);
    }

    .jc-theme-impact--neutral .jc-theme-impact-why-tag {
      color: #f59e0b;
      background: rgba(245, 158, 11, .12);
      border-color: rgba(245, 158, 11, .2);
    }

    .jc-theme-impact-why-text {
      font-size: .68rem;
      font-weight: 700;
      color: var(--jc-text-secondary);
      line-height: 1.4;
      flex: 1;
      min-width: 0;
    }

    .jc-theme-impact-row {
      position: relative;
      z-index: 1;
      display: flex;
      gap: 0;
      margin-bottom: 6px;
    }

    .jc-theme-impact-stat {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 3px;
      padding: 6px 4px;
      position: relative;
    }

    .jc-theme-impact-stat+.jc-theme-impact-stat::before {
      content: '';
      position: absolute;
      left: 0;
      top: 20%;
      height: 60%;
      width: 1px;
      background: rgba(255, 255, 255, .08);
    }

    .jc-theme-impact-number {
      font-size: 1.8rem;
      font-weight: 900;
      line-height: 1;
      letter-spacing: -.5px;
      color: #ef4444;
      font-variant-numeric: tabular-nums;
    }

    .jc-theme-impact-number--positive {
      color: #10b981;
    }

    .jc-theme-impact-number--neutral {
      color: #f59e0b;
    }

    .jc-theme-impact-number--text {
      font-size: 1.3rem;
      letter-spacing: 0;
    }

    .jc-theme-impact-label {
      font-size: .54rem;
      font-weight: 700;
      color: var(--jc-text-muted);
      letter-spacing: .3px;
      text-transform: uppercase;
      text-align: center;
    }

    .jc-theme-impact-context {
      position: relative;
      z-index: 1;
      font-size: .66rem;
      font-weight: 600;
      color: var(--jc-text-secondary);
      line-height: 1.5;
      padding-top: 6px;
      border-top: 1px solid rgba(255, 255, 255, .05);
    }

    :root[data-mockup-theme-resolved="light"] .jc-theme-impact {
      background: linear-gradient(135deg, rgba(239, 68, 68, .06), rgba(245, 158, 11, .04) 60%, rgba(16, 185, 129, .02));
      border-color: rgba(239, 68, 68, .12);
    }

    :root[data-mockup-theme-resolved="light"] .jc-theme-impact--positive {
      background: linear-gradient(135deg, rgba(16, 185, 129, .06), rgba(6, 182, 212, .04) 60%, rgba(124, 58, 237, .02));
      border-color: rgba(16, 185, 129, .12);
    }

    :root[data-mockup-theme-resolved="light"] .jc-theme-impact--neutral {
      background: linear-gradient(135deg, rgba(245, 158, 11, .06), rgba(124, 58, 237, .03) 60%, rgba(6, 182, 212, .02));
      border-color: rgba(245, 158, 11, .10);
    }

    :root[data-mockup-theme-resolved="light"] .jc-theme-impact-stat+.jc-theme-impact-stat::before {
      background: rgba(0, 0, 0, .08);
    }

    :root[data-mockup-theme-resolved="light"] .jc-theme-impact-context {
      border-top-color: rgba(0, 0, 0, .06);
    }

    /* ── ACK Knowledge Enrichment Chips ── */
    .jc-ack-row {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 8px;
      padding: 0;
    }

    .jc-ack-chip {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      padding: 3px 8px;
      border-radius: 8px;
      font-size: .58rem;
      font-weight: 700;
      color: var(--jc-text-secondary);
      background: rgba(255, 255, 255, .04);
      border: 1px solid rgba(255, 255, 255, .06);
      white-space: nowrap;
      transition: background .15s, transform .1s;
      cursor: default;
      letter-spacing: .1px;
    }

    .jc-ack-chip:hover {
      background: rgba(255, 255, 255, .08);
      transform: translateY(-1px);
    }

    .jc-ack-chip-icon {
      font-size: .62rem;
      line-height: 1;
      flex-shrink: 0;
    }

    .jc-ack-chip-val {
      font-variant-numeric: tabular-nums;
    }

    .jc-ack-chip--pos {
      color: #10b981;
      background: rgba(16, 185, 129, .08);
      border-color: rgba(16, 185, 129, .14);
    }

    .jc-ack-chip--neg {
      color: #ef4444;
      background: rgba(239, 68, 68, .08);
      border-color: rgba(239, 68, 68, .14);
    }

    .jc-ack-chip--warn {
      color: #f59e0b;
      background: rgba(245, 158, 11, .08);
      border-color: rgba(245, 158, 11, .14);
    }

    .jc-ack-chip--info {
      color: #8b5cf6;
      background: rgba(139, 92, 246, .08);
      border-color: rgba(139, 92, 246, .14);
    }

    .jc-ack-chip--xd {
      color: #06b6d4;
      background: rgba(6, 182, 212, .10);
      border-color: rgba(6, 182, 212, .20);
      animation: jcAckXdPulse 2s ease-in-out infinite;
    }

    @keyframes jcAckXdPulse {

      0%,
      100% {
        box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
      }

      50% {
        box-shadow: 0 0 8px 1px rgba(6, 182, 212, .15);
      }
    }

    .jc-ack-chip--iaa {
      color: #a78bfa;
      background: rgba(167, 139, 250, .08);
      border-color: rgba(167, 139, 250, .14);
    }

    :root[data-mockup-theme-resolved="light"] .jc-ack-chip {
      color: #555;
      background: rgba(0, 0, 0, .04);
      border-color: rgba(0, 0, 0, .08);
    }

    :root[data-mockup-theme-resolved="light"] .jc-ack-chip:hover {
      background: rgba(0, 0, 0, .07);
    }

    :root[data-mockup-theme-resolved="light"] .jc-ack-chip--pos {
      color: #059669;
      background: rgba(16, 185, 129, .06);
      border-color: rgba(16, 185, 129, .12);
    }

    :root[data-mockup-theme-resolved="light"] .jc-ack-chip--neg {
      color: #dc2626;
      background: rgba(239, 68, 68, .06);
      border-color: rgba(239, 68, 68, .12);
    }

    :root[data-mockup-theme-resolved="light"] .jc-ack-chip--warn {
      color: #d97706;
      background: rgba(245, 158, 11, .06);
      border-color: rgba(245, 158, 11, .10);
    }

    :root[data-mockup-theme-resolved="light"] .jc-ack-chip--xd {
      color: #0891b2;
      background: rgba(6, 182, 212, .06);
      border-color: rgba(6, 182, 212, .12);
    }

    :root[data-mockup-theme-resolved="light"] .jc-ack-chip--iaa {
      color: #7c3aed;
      background: rgba(124, 58, 237, .06);
      border-color: rgba(124, 58, 237, .12);
    }

    /* ── Portfolio Selector Chips ── */
    .jc-port-selector {
      display: flex;
      gap: 6px;
      margin-bottom: 10px;
      overflow-x: auto;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
    }

    .jc-port-selector::-webkit-scrollbar {
      display: none;
    }

    .jc-port-chip {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 5px 12px;
      border-radius: 20px;
      font-size: .62rem;
      font-weight: 700;
      color: var(--jc-text-muted);
      background: rgba(255, 255, 255, .04);
      border: 1px solid rgba(255, 255, 255, .06);
      white-space: nowrap;
      cursor: pointer;
      transition: all .2s;
      flex-shrink: 0;
    }

    .jc-port-chip:hover {
      background: rgba(255, 255, 255, .08);
    }

    .jc-port-chip--active {
      color: #22d3ee;
      background: rgba(34, 211, 238, .10);
      border-color: rgba(34, 211, 238, .25);
      box-shadow: 0 0 8px rgba(34, 211, 238, .08);
    }

    .jc-port-chip-count {
      font-size: .52rem;
      opacity: .6;
    }

    :root[data-mockup-theme-resolved="light"] .jc-port-chip {
      color: #666;
      background: rgba(0, 0, 0, .04);
      border-color: rgba(0, 0, 0, .08);
    }

    :root[data-mockup-theme-resolved="light"] .jc-port-chip--active {
      color: #0891b2;
      background: rgba(6, 182, 212, .08);
      border-color: rgba(6, 182, 212, .20);
    }

    /* ── Pulse Impact Dashboard ── */
    .jc-pulse-dash {
      padding: 0;
    }

    .jc-pulse-dash-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 10px;
    }

    .jc-pulse-dash-title {
      font-size: .72rem;
      font-weight: 800;
      color: var(--jc-text);
    }

    .jc-pulse-dash-badge {
      font-size: .56rem;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 6px;
      background: rgba(34, 211, 238, .10);
      color: #22d3ee;
      border: 1px solid rgba(34, 211, 238, .14);
    }

    /* 3-column stat grid */
    .jc-pulse-stat-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 6px;
      margin-bottom: 10px;
    }

    .jc-pulse-stat {
      padding: 10px 8px;
      border-radius: 10px;
      background: rgba(255, 255, 255, .03);
      border: 1px solid rgba(255, 255, 255, .06);
      text-align: center;
    }

    .jc-pulse-stat-num {
      font-size: 1.3rem;
      font-weight: 900;
      line-height: 1.2;
      font-variant-numeric: tabular-nums;
      color: var(--jc-text);
    }

    .jc-pulse-stat-num--neg {
      color: #ef4444;
    }

    .jc-pulse-stat-num--pos {
      color: #10b981;
    }

    .jc-pulse-stat-num--warn {
      color: #f59e0b;
    }

    .jc-pulse-stat-lbl {
      font-size: .52rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .3px;
      color: var(--jc-text-muted);
      margin-top: 3px;
    }

    .jc-pulse-stat-sub {
      font-size: .52rem;
      color: var(--jc-text-muted);
      margin-top: 1px;
      opacity: .7;
    }

    /* Stock impact rows */
    .jc-pulse-impact-title {
      font-size: .58rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .3px;
      color: var(--jc-text-muted);
      margin: 8px 0 5px;
    }

    .jc-pulse-impact {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 10px;
      border-radius: 8px;
      background: rgba(255, 255, 255, .03);
      border: 1px solid rgba(255, 255, 255, .06);
      margin-bottom: 5px;
      transition: background .15s;
      cursor: pointer;
    }

    .jc-pulse-impact:hover {
      background: rgba(255, 255, 255, .06);
    }

    .jc-pulse-impact-left {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .jc-pulse-impact-icon {
      font-size: .9rem;
      line-height: 1;
    }

    .jc-pulse-impact-sym {
      font-size: .78rem;
      font-weight: 800;
      color: var(--jc-text);
    }

    .jc-pulse-impact-role {
      font-size: .52rem;
      font-weight: 700;
      color: var(--jc-text-muted);
      margin-left: 2px;
    }

    .jc-pulse-impact-badge {
      font-size: .72rem;
      font-weight: 900;
      padding: 3px 9px;
      border-radius: 6px;
      font-variant-numeric: tabular-nums;
    }

    .jc-pulse-impact-badge--neg {
      background: rgba(239, 68, 68, .12);
      color: #ef4444;
    }

    .jc-pulse-impact-badge--pos {
      background: rgba(16, 185, 129, .12);
      color: #10b981;
    }

    /* Dividend summary bar */
    .jc-pulse-div-bar {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 10px;
      border-radius: 8px;
      background: rgba(6, 182, 212, .05);
      border: 1px solid rgba(6, 182, 212, .10);
      margin-top: 8px;
    }

    .jc-pulse-div-icon {
      font-size: .9rem;
    }

    .jc-pulse-div-text {
      font-size: .68rem;
      font-weight: 700;
      color: var(--jc-text-secondary);
    }

    /* Sector weight bar */
    .jc-pulse-sector-wrap {
      margin-top: 8px;
    }

    .jc-pulse-sector-bar {
      height: 8px;
      border-radius: 4px;
      background: rgba(255, 255, 255, .04);
      overflow: hidden;
      display: flex;
      margin-bottom: 4px;
    }

    .jc-pulse-sector-seg {
      height: 100%;
      min-width: 3px;
      transition: width .4s ease;
    }

    .jc-pulse-sector-labels {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .jc-pulse-sector-label {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      font-size: .5rem;
      color: var(--jc-text-muted);
    }

    .jc-pulse-sector-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    /* Light theme */
    :root[data-mockup-theme-resolved="light"] .jc-pulse-stat {
      background: rgba(0, 0, 0, .03);
      border-color: rgba(0, 0, 0, .06);
    }

    :root[data-mockup-theme-resolved="light"] .jc-pulse-impact {
      background: rgba(0, 0, 0, .02);
      border-color: rgba(0, 0, 0, .06);
    }

    :root[data-mockup-theme-resolved="light"] .jc-pulse-sector-bar {
      background: rgba(0, 0, 0, .04);
    }

    .jc-story--theme {
      background: linear-gradient(160deg, rgba(245, 158, 11, .1), rgba(239, 68, 68, .04) 60%, var(--jc-card-bg));
    }

    .jc-story--market {
      background: linear-gradient(160deg, rgba(6, 182, 212, .1), rgba(16, 185, 129, .04) 60%, var(--jc-card-bg));
    }

    .jc-story--movers {
      background: linear-gradient(160deg, rgba(16, 185, 129, .1), rgba(239, 68, 68, .05) 60%, var(--jc-card-bg));
    }

    .jc-story--spotlight {
      flex: 0 0 min(94vw, 860px);
      width: min(94vw, 860px);
      max-width: 860px;
      background: linear-gradient(160deg, rgba(124, 58, 237, .12), rgba(16, 185, 129, .04) 60%, var(--jc-card-bg));
    }

    .jc-story--commodity {
      background: linear-gradient(160deg, rgba(245, 158, 11, .1), rgba(6, 182, 212, .04) 60%, var(--jc-card-bg));
    }

    .jc-story--mustknow {
      background: linear-gradient(160deg, rgba(124, 58, 237, .08), rgba(245, 158, 11, .05) 60%, var(--jc-card-bg));
    }

    .jc-story--personal {
      background: linear-gradient(180deg, rgba(124, 58, 237, .16), rgba(14, 165, 233, .05) 42%, var(--jc-card-bg));
      border-color: rgba(124, 58, 237, .22);
    }

    .jc-personal-hero {
      position: relative;
      margin-bottom: 16px;
      padding: 18px 18px 16px;
      border-radius: 20px;
      background:
        radial-gradient(circle at top right, rgba(34, 211, 238, .12), transparent 36%),
        linear-gradient(145deg, rgba(124, 58, 237, .18), rgba(15, 23, 42, .04) 55%, rgba(16, 185, 129, .08));
      border: 1px solid rgba(124, 58, 237, .18);
      display: flex;
      flex-direction: column;
      flex: 0 0 auto;
      gap: 12px;
      overflow: hidden;
      touch-action: pan-y;
    }

    .jc-personal-hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent 42%);
      pointer-events: none;
    }

    .jc-personal-hero-top {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }

    .jc-personal-hero-kicker {
      font-size: .58rem;
      font-weight: 900;
      letter-spacing: .34em;
      text-transform: uppercase;
      color: var(--jc-text-muted);
    }

    .jc-personal-hero-status {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: .56rem;
      font-weight: 900;
      letter-spacing: .35px;
      text-transform: uppercase;
      width: fit-content;
    }

    .jc-personal-hero-status--bull {
      color: #10b981;
      background: rgba(16, 185, 129, .14);
      border: 1px solid rgba(16, 185, 129, .28);
    }

    .jc-personal-hero-status--bear {
      color: #ef4444;
      background: rgba(239, 68, 68, .12);
      border: 1px solid rgba(239, 68, 68, .24);
    }

    .jc-personal-hero-status--flat {
      color: var(--jc-yellow);
      background: rgba(250, 204, 21, .14);
      border: 1px solid rgba(250, 204, 21, .24);
    }

    .jc-personal-hero-title {
      position: relative;
      z-index: 1;
      font-family: 'Kanit', 'Sarabun', sans-serif;
      font-size: 1.95rem;
      font-weight: 900;
      line-height: 1.28;
      color: var(--jc-text);
      letter-spacing: -.35px;
      max-width: 22ch;
    }

    .jc-personal-hero-subtitle {
      position: relative;
      z-index: 1;
      font-size: 0.9rem;
      line-height: 1.65;
      color: var(--jc-text-secondary);
      font-weight: 600;
      max-width: 60ch;
    }

    .jc-personal-proof-line {
      position: relative;
      z-index: 1;
      font-size: .72rem;
      line-height: 1.6;
      color: var(--jc-text-secondary);
      font-weight: 650;
      max-width: 54ch;
    }

    .jc-personal-proof-row {
      position: relative;
      z-index: 1;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .jc-personal-proof-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 10px;
      border-radius: 999px;
      font-size: .62rem;
      font-weight: 800;
      letter-spacing: .2px;
      color: var(--jc-text);
      background: rgba(255, 255, 255, .06);
      border: 1px solid rgba(255, 255, 255, .08);
    }

    .jc-personal-proof-chip--accent {
      background: rgba(124, 58, 237, .16);
      border-color: rgba(124, 58, 237, .22);
    }

    .jc-personal-proof-chip--soft {
      background: rgba(16, 185, 129, .12);
      border-color: rgba(16, 185, 129, .18);
    }

    .jc-personal-insight {
      margin-bottom: 12px;
      padding: 12px;
      border-radius: 14px;
      background: linear-gradient(145deg, rgba(124, 58, 237, .16), rgba(14, 165, 233, .08));
      border: 1px solid rgba(124, 58, 237, .22);
    }

    .jc-personal-status {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: .56rem;
      font-weight: 900;
      letter-spacing: .35px;
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .jc-personal-status--bull {
      color: #10b981;
      background: rgba(16, 185, 129, .14);
      border: 1px solid rgba(16, 185, 129, .28);
    }

    .jc-personal-status--bear {
      color: #ef4444;
      background: rgba(239, 68, 68, .12);
      border: 1px solid rgba(239, 68, 68, .24);
    }

    .jc-personal-status--flat {
      color: var(--jc-yellow);
      background: rgba(250, 204, 21, .14);
      border: 1px solid rgba(250, 204, 21, .24);
    }

    .jc-personal-conclusion {
      font-size: 1rem;
      font-weight: 900;
      line-height: 1.5;
      color: var(--jc-text);
    }

    .jc-personal-subline {
      margin-top: 4px;
      font-size: .75rem;
      color: var(--jc-text-secondary);
      line-height: 1.6;
      font-weight: 600;
    }

    .jc-personal-flow {
      display: flex;
      flex-direction: column;
      gap: 0;
      margin: 2px 0 0;
    }

    .jc-personal-flow-section {
      position: relative;
      z-index: 1;
      padding: 14px 0;
      border-bottom: 1px solid rgba(255, 255, 255, .06);
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .jc-personal-flow-section:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .jc-personal-flow-section:first-child {
      padding-top: 8px;
    }

    /* Keep .jc-personal-grid and .jc-personal-block for backward compat */
    .jc-personal-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin: 2px 0 0;
    }

    .jc-personal-block {
      position: relative;
      z-index: 1;
      padding: 14px 14px 12px;
      border-radius: 16px;
      background: rgba(6, 10, 24, .18);
      border: 1px solid rgba(255, 255, 255, .08);
      backdrop-filter: blur(12px);
      min-height: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .jc-personal-list {
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .jc-personal-list li {
      font-size: .69rem;
      line-height: 1.58;
      color: var(--jc-text);
      font-weight: 650;
    }

    .jc-personal-list li::before {
      content: '• ';
      color: var(--jc-purple);
      font-weight: 900;
    }

    .jc-personal-action-box {
      margin-top: 4px;
      padding: 10px 11px;
      border-radius: 12px;
      background: rgba(16, 185, 129, .10);
      border: 1px solid rgba(16, 185, 129, .16);
    }

    .jc-personal-action-box .jc-urgency {
      display: inline-block;
      margin-top: 8px;
      padding: 2px 9px;
      border-radius: 999px;
      font-size: .54rem;
      font-weight: 900;
      letter-spacing: .3px;
      text-transform: uppercase;
      color: #10b981;
      background: rgba(16, 185, 129, .16);
      border: 1px solid rgba(16, 185, 129, .26);
    }

    .jc-personal-watchlist {
      margin-bottom: 12px;
      padding: 12px 12px 10px;
      border-radius: 16px;
      background: linear-gradient(135deg, rgba(124, 58, 237, .08), rgba(34, 211, 238, .04));
      border: 1px solid rgba(124, 58, 237, .14);
    }

    .jc-personal-watchlist-head {
      font-size: .58rem;
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: .3px;
      color: var(--jc-purple);
      margin-bottom: 6px;
    }

    .jc-personal-watchlist-row {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      overflow-y: hidden;
      padding-bottom: 4px;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-x;
    }

    .jc-personal-watchlist-row::-webkit-scrollbar {
      height: 4px;
    }

    .jc-personal-watchlist-row::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, .02);
      border-radius: 2px;
    }

    .jc-personal-watchlist-row::-webkit-scrollbar-thumb {
      background: rgba(124, 58, 237, .25);
      border-radius: 2px;
    }

    .jc-personal-watchlist-row::-webkit-scrollbar-thumb:hover {
      background: rgba(124, 58, 237, .4);
    }

    .jc-personal-watch-item {
      flex: 0 0 auto;
      min-width: 135px;
      padding: 10px 9px;
      border-radius: 11px;
      background: linear-gradient(135deg, rgba(124, 58, 237, .06), rgba(34, 211, 238, .03));
      border: 1px solid rgba(124, 58, 237, .14);
      cursor: pointer;
      transition: all .2s ease;
    }

    .jc-personal-watch-item:hover {
      background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(34, 211, 238, .06));
      border-color: rgba(124, 58, 237, .26);
      transform: translateY(-2px);
    }

    .jc-personal-watch-item-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      font-size: .68rem;
      font-weight: 900;
      color: var(--jc-text);
      margin-bottom: 4px;
    }

    .jc-personal-watch-item-price {
      font-size: .73rem;
      font-weight: 800;
      color: var(--jc-text-secondary);
      margin-bottom: 3px;
    }

    .jc-personal-watch-item-note {
      font-size: .58rem;
      color: var(--jc-text-muted);
      font-weight: 700;
      line-height: 1.45;
    }

    .jc-personal-watch-item-spark {
      width: 100%;
      height: 24px;
      margin: 3px 0;
      display: block;
    }

    .jc-personal-carousel-note {
      font-size: .62rem;
      color: var(--jc-text-muted);
      padding: 4px 0;
      margin-top: 2px;
      font-weight: 600;
      letter-spacing: .2px;
    }

    :root[data-mockup-theme-resolved="light"] .jc-story--personal {
      background: linear-gradient(180deg, rgba(124, 58, 237, .12), rgba(14, 165, 233, .04) 42%, var(--jc-card-bg));
      border-color: rgba(124, 58, 237, .16);
    }

    :root[data-mockup-theme-resolved="light"] .jc-personal-hero {
      background:
        radial-gradient(circle at top right, rgba(34, 211, 238, .1), transparent 36%),
        linear-gradient(145deg, rgba(124, 58, 237, .1), rgba(255, 255, 255, .72) 58%, rgba(16, 185, 129, .06));
      border-color: rgba(124, 58, 237, .14);
    }

    :root[data-mockup-theme-resolved="light"] .jc-personal-hero::after {
      background: linear-gradient(180deg, rgba(255, 255, 255, .32), transparent 38%);
    }

    :root[data-mockup-theme-resolved="light"] .jc-personal-proof-chip {
      background: rgba(0, 0, 0, .04);
      border-color: rgba(0, 0, 0, .08);
    }

    :root[data-mockup-theme-resolved="light"] .jc-personal-proof-chip--accent {
      background: rgba(124, 58, 237, .1);
      border-color: rgba(124, 58, 237, .14);
    }

    :root[data-mockup-theme-resolved="light"] .jc-personal-proof-chip--soft {
      background: rgba(16, 185, 129, .08);
      border-color: rgba(16, 185, 129, .14);
    }

    :root[data-mockup-theme-resolved="light"] .jc-personal-block {
      background: rgba(255, 255, 255, .58);
      border-color: rgba(0, 0, 0, .06);
    }

    :root[data-mockup-theme-resolved="light"] .jc-personal-flow-section {
      border-bottom-color: rgba(0, 0, 0, .06);
    }

    :root[data-mockup-theme-resolved="light"] .jc-personal-watchlist {
      background: linear-gradient(135deg, rgba(124, 58, 237, .06), rgba(34, 211, 238, .03));
      border-color: rgba(124, 58, 237, .12);
    }

    @media (max-width: 1180px) {
      .jc-personal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 900px) {
      .jc-personal-grid {
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .jc-personal-hero-title {
        font-size: 1.4rem;
        max-width: none;
      }

      .jc-personal-hero {
        padding: 16px;
      }

      .jc-personal-conclusion {
        font-size: .9rem;
      }

      .jc-personal-subline {
        font-size: .72rem;
      }

      /* Mobile swipe pattern for multi-card groups */
      .jc-personal-grid,
      .jc-kpis,
      .jc-market-assets,
      .jc-spotlight-mini-grid,
      .jc-spot-pulse-grid,
      .jc-port-kpi-grid,
      .jc-profile-grid,
      .jc-com-grid {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        padding-bottom: 4px;
      }

      /* Flow stays vertical on mobile (not horizontal swipe) */
      .jc-personal-flow {
        display: flex;
        flex-direction: column;
        gap: 0;
        overflow-x: visible;
        overflow-y: visible;
        scroll-snap-type: none;
      }

      .jc-personal-grid::-webkit-scrollbar,
      .jc-kpis::-webkit-scrollbar,
      .jc-market-assets::-webkit-scrollbar,
      .jc-spotlight-mini-grid::-webkit-scrollbar,
      .jc-spot-pulse-grid::-webkit-scrollbar,
      .jc-port-kpi-grid::-webkit-scrollbar,
      .jc-profile-grid::-webkit-scrollbar,
      .jc-com-grid::-webkit-scrollbar {
        display: none;
      }

      .jc-personal-grid>* {
        flex: 0 0 min(78vw, 320px);
        scroll-snap-align: start;
      }

      .jc-kpis>*,
      .jc-market-assets>*,
      .jc-port-kpi-grid>*,
      .jc-profile-grid>*,
      .jc-com-grid>* {
        flex: 0 0 min(62vw, 240px);
        scroll-snap-align: start;
      }

      .jc-spotlight-mini-grid>* {
        flex: 0 0 min(52vw, 200px);
        scroll-snap-align: start;
      }

      .jc-spot-pulse-grid>* {
        flex: 0 0 min(58vw, 220px);
        scroll-snap-align: start;
      }
    }

    /* Small-height screens */
    @media (max-height: 760px) {
      .jc-personal-hero {
        padding: 14px 12px 12px;
        gap: 10px;
      }

      .jc-personal-grid {
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .jc-personal-conclusion {
        font-size: .85rem;
      }

      .jc-personal-list li {
        font-size: .66rem;
      }
    }

    .jc-story--insight {
      background: linear-gradient(160deg, rgba(245, 158, 11, .12), rgba(124, 58, 237, .06) 60%, var(--jc-card-bg));
      border-color: rgba(245, 158, 11, .15);
    }

    /* ── Port Journey Card ── */
    .jc-story--port {
      background: linear-gradient(160deg, rgba(6, 182, 212, .12), rgba(124, 58, 237, .06) 60%, var(--jc-card-bg));
      border-color: rgba(6, 182, 212, .2);
    }

    .jc-port-kpi-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
      margin-bottom: 10px;
    }

    .jc-port-kpi {
      padding: 10px 12px;
      border-radius: 10px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
    }

    .jc-port-kpi-label {
      font-size: .5625rem;
      color: var(--jc-text-muted);
      text-transform: uppercase;
      letter-spacing: .3px;
      font-weight: 600;
    }

    .jc-port-kpi-val {
      font-size: 1rem;
      font-weight: 900;
      margin-top: 2px;
      letter-spacing: -.3px;
    }

    .jc-port-kpi-sub {
      font-size: .5625rem;
      color: var(--jc-text-dim);
      margin-top: 1px;
    }

    .jc-port-holdings-list {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .jc-port-row {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px;
      border-radius: 8px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
      cursor: pointer;
      transition: all .15s;
    }

    .jc-port-row:hover {
      background: var(--jc-card-hover);
      border-color: rgba(124, 58, 237, .15);
    }

    .jc-port-row-sym {
      font-weight: 800;
      font-size: .8125rem;
      min-width: 50px;
      color: var(--jc-text);
    }

    .jc-port-row-pnl {
      font-size: .75rem;
      font-weight: 700;
      margin-left: auto;
    }

    .jc-port-cta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 8px;
      margin-top: 8px;
      border-radius: 8px;
      background: rgba(124, 58, 237, .1);
      border: 1px solid rgba(124, 58, 237, .2);
      color: var(--jc-purple);
      font-weight: 700;
      font-size: .75rem;
      cursor: pointer;
      transition: all .2s;
      font-family: inherit;
    }

    .jc-port-cta:hover {
      background: rgba(124, 58, 237, .18);
      transform: translateY(-1px);
    }

    /* ── Smart Action Card ── */
    .jc-story--actions {
      background: linear-gradient(160deg, rgba(16, 185, 129, .10), rgba(245, 158, 11, .06) 60%, var(--jc-card-bg));
      border-color: rgba(16, 185, 129, .2);
    }

    .jc-action-list {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .jc-action-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border-radius: 10px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
      cursor: pointer;
      transition: all .2s;
    }

    .jc-action-item:hover {
      background: var(--jc-card-hover);
      border-color: rgba(16, 185, 129, .2);
      transform: translateX(3px);
    }

    .jc-action-icon {
      font-size: 1.25rem;
      flex-shrink: 0;
      width: 28px;
      text-align: center;
    }

    .jc-action-text {
      flex: 1;
      font-size: .8125rem;
      color: var(--jc-text);
      font-weight: 600;
      line-height: 1.4;
    }

    .jc-action-btn {
      padding: 4px 10px;
      border-radius: 6px;
      font-size: .625rem;
      font-weight: 700;
      border: 1px solid;
      cursor: pointer;
      transition: all .15s;
      flex-shrink: 0;
      font-family: inherit;
    }

    .jc-action-btn--add {
      background: rgba(124, 58, 237, .12);
      border-color: rgba(124, 58, 237, .25);
      color: var(--jc-purple);
    }

    .jc-action-btn--add:hover {
      background: rgba(124, 58, 237, .22);
    }

    .jc-action-btn--view {
      background: rgba(6, 182, 212, .12);
      border-color: rgba(6, 182, 212, .25);
      color: var(--jc-cyan);
    }

    .jc-action-btn--view:hover {
      background: rgba(6, 182, 212, .22);
    }

    .jc-action-btn--warn {
      background: rgba(245, 158, 11, .12);
      border-color: rgba(245, 158, 11, .25);
      color: var(--jc-yellow);
    }

    .jc-action-btn--warn:hover {
      background: rgba(245, 158, 11, .22);
    }

    /* ── Behavior Profile Card ── */
    .jc-story--profile {
      background: linear-gradient(160deg, rgba(124, 58, 237, .10), rgba(245, 158, 11, .05) 60%, var(--jc-card-bg));
      border-color: rgba(124, 58, 237, .18);
    }

    .jc-profile-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .jc-profile-stat {
      padding: 10px 12px;
      border-radius: 10px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
    }

    .jc-profile-stat-label {
      font-size: .5rem;
      color: var(--jc-text-dim);
      text-transform: uppercase;
      letter-spacing: .4px;
      font-weight: 600;
    }

    .jc-profile-stat-val {
      font-size: .875rem;
      font-weight: 800;
      color: var(--jc-text);
      margin-top: 3px;
    }

    /* Mini Donut Chart */
    .jc-donut-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 8px;
    }

    .jc-donut-svg {
      width: 80px;
      height: 80px;
      flex-shrink: 0;
    }

    .jc-donut-legend {
      display: flex;
      flex-direction: column;
      gap: 3px;
      flex: 1;
    }

    .jc-donut-legend-item {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: .825rem;
      color: var(--jc-text-muted);
    }

    .jc-donut-legend-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .jc-donut-legend-pct {
      margin-left: auto;
      font-weight: 700;
      color: var(--jc-text-secondary);
    }

    .jc-profile-trend {
      margin-top: 10px;
      padding: 8px 12px;
      border-radius: 8px;
      background: rgba(124, 58, 237, .06);
      border: 1px solid rgba(124, 58, 237, .12);
      font-size: .75rem;
      color: var(--jc-text-muted);
      line-height: 1.5;
    }

    .jc-profile-trend strong {
      color: var(--jc-purple);
      font-weight: 800;
    }

    /* ── Info Tooltip (i) button ── */
    .jc-info-btn {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .06);
      border: 1px solid rgba(255, 255, 255, .12);
      color: var(--jc-text-dim);
      font-size: .625rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all .2s;
      z-index: 5;
      font-style: italic;
      font-family: Georgia, 'Times New Roman', serif;
    }

    .jc-info-btn:hover {
      background: rgba(124, 58, 237, .15);
      border-color: rgba(124, 58, 237, .3);
      color: var(--jc-purple);
      transform: scale(1.1);
    }

    .jc-info-tooltip {
      position: absolute;
      top: 38px;
      right: 8px;
      width: 220px;
      padding: 10px 12px;
      border-radius: 10px;
      background: rgba(15, 23, 42, .95);
      border: 1px solid rgba(124, 58, 237, .25);
      backdrop-filter: blur(12px);
      color: var(--jc-text-muted);
      font-size: .6875rem;
      line-height: 1.5;
      z-index: 10;
      display: none;
      box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
      animation: jcInfoFade .15s ease-out;
    }

    .jc-info-tooltip.visible {
      display: block;
    }

    .jc-info-tooltip-title {
      font-weight: 800;
      color: var(--jc-purple);
      font-size: .6875rem;
      margin-bottom: 4px;
    }

    @keyframes jcInfoFade {
      from {
        opacity: 0;
        transform: translateY(-4px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Light mode overrides for new cards */
    :root[data-mockup-theme-resolved="light"] .jc-story--port {
      background: linear-gradient(160deg, rgba(6, 182, 212, .08), rgba(124, 58, 237, .03) 60%, #fff);
    }

    :root[data-mockup-theme-resolved="light"] .jc-story--actions {
      background: linear-gradient(160deg, rgba(16, 185, 129, .07), rgba(245, 158, 11, .03) 60%, #fff);
    }

    :root[data-mockup-theme-resolved="light"] .jc-story--profile {
      background: linear-gradient(160deg, rgba(124, 58, 237, .07), rgba(245, 158, 11, .03) 60%, #fff);
    }

    :root[data-mockup-theme-resolved="light"] .jc-info-btn {
      background: rgba(0, 0, 0, .04);
      border-color: rgba(0, 0, 0, .1);
    }

    :root[data-mockup-theme-resolved="light"] .jc-info-tooltip {
      background: rgba(255, 255, 255, .97);
      border-color: rgba(99, 102, 241, .2);
      box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    }

    /* ── Glow blobs behind active cards ── */
    .jc-story::after {
      content: '';
      position: absolute;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      filter: blur(90px);
      opacity: 0;
      transition: opacity .5s;
      pointer-events: none;
      z-index: -1;
    }

    .jc-story.jc-active::after {
      opacity: .25;
    }

    .jc-story--hero::after {
      background: #7c3aed;
      top: -80px;
      right: -60px;
    }

    .jc-story--theme::after {
      background: #f59e0b;
      bottom: -60px;
      left: -40px;
    }

    .jc-story--market::after {
      background: #06b6d4;
      top: -60px;
      left: -60px;
    }

    .jc-story--movers::after {
      background: #10b981;
      bottom: -60px;
      right: -60px;
    }

    .jc-story--spotlight::after {
      background: #7c3aed;
      top: -70px;
      right: -50px;
    }

    .jc-story--commodity::after {
      background: #f97316;
      bottom: -50px;
      left: -50px;
    }

    .jc-story--mustknow::after {
      background: #a78bfa;
      top: -60px;
      left: -40px;
    }

    /* ── Card Header ── */
    .jc-head {
      display: flex;
      align-items: center;
      gap: 12px;
      z-index: 1;
    }

    .jc-ico {
      width: 46px;
      height: 46px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      flex-shrink: 0;
      color: #fff;
      box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
    }

    .jc-ico--purple {
      background: linear-gradient(135deg, #7c3aed, #06b6d4);
    }

    .jc-ico--green {
      background: linear-gradient(135deg, #10b981, #06b6d4);
    }

    .jc-ico--amber {
      background: linear-gradient(135deg, #f59e0b, #ef4444);
    }

    .jc-ico--cyan {
      background: linear-gradient(135deg, #06b6d4, #10b981);
    }

    .jc-ico--red {
      background: linear-gradient(135deg, #ef4444, #f97316);
    }

    .jc-ico--orange {
      background: linear-gradient(135deg, #f97316, #f59e0b);
    }

    .jc-h-title {
      font-size: 1.125rem;
      font-weight: 800;
      color: var(--jc-text);
      letter-spacing: -.2px;
    }

    .jc-h-sub {
      font-size: .6875rem;
      color: var(--jc-text-muted);
      margin-top: 2px;
      font-weight: 500;
    }

    /* ── Card Body ── */
    .jc-body {
      flex: 1;
      min-height: 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
      z-index: 1;
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-y;
      scrollbar-width: thin;
      scrollbar-color: rgba(124, 58, 237, .12) transparent;
    }

    .jc-body::-webkit-scrollbar {
      width: 3px;
    }

    .jc-body::-webkit-scrollbar-thumb {
      background: rgba(124, 58, 237, .12);
      border-radius: 99px;
    }

    /* ── Card counter badge ── */
    .jc-badge {
      position: absolute;
      top: 16px;
      right: 16px;
      font-size: .625rem;
      font-weight: 800;
      color: var(--jc-text-dim);
      letter-spacing: 1px;
      background: var(--jc-card-bg);
      padding: 3px 9px;
      border-radius: 6px;
      border: 1px solid var(--jc-card-border);
      z-index: 2;
    }

    /* ── Hero headline ── */
    .jc-headline {
      font-family: 'Kanit', 'Sarabun', sans-serif;
      font-size: 2.5rem;
      font-weight: 900;
      line-height: 1.45;
      color: var(--jc-text);
      letter-spacing: -.3px;
      text-wrap: balance;
    }

    .jc-headline .jc-latn {
      font-family: 'Open Sans', sans-serif;
      font-weight: 800;
      letter-spacing: 0;
    }

    .jc-narrative {
      font-size: 0.85rem;
      line-height: 1.85;
      color: var(--jc-text-secondary);
      margin-top: 4px;
    }

    .jc-narrative--headline {
      margin-top: 8px;
      font-family: 'Kanit', 'Sarabun', sans-serif;
      font-size: clamp(1.35rem, 2.2vw, 1.95rem);
      font-weight: 700;
      line-height: 1.38;
      letter-spacing: -0.01em;
      color: var(--jc-text);
      text-wrap: balance;
    }

    .jc-narrative--headline .jc-latn {
      font-family: 'Open Sans', sans-serif;
      font-weight: 800;
      letter-spacing: 0;
    }

    /* ── Sentiment badge ── */
    .jc-sent {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 18px;
      border-radius: 99px;
      font-size: .8125rem;
      font-weight: 800;
      letter-spacing: 1.2px;
      text-transform: uppercase;
    }

    .jc-sent--bullish {
      background: rgba(52, 211, 153, .15);
      color: var(--jc-green);
    }

    .jc-sent--bearish {
      background: rgba(248, 113, 113, .15);
      color: var(--jc-red);
    }

    .jc-sent--mixed {
      background: rgba(251, 191, 36, .12);
      color: var(--jc-yellow);
    }

    .jc-sent--neutral {
      background: rgba(148, 163, 184, .1);
      color: var(--jc-text-muted);
    }

    /* ── Fear & Greed Gauge ── */
    .jc-gauge {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 4px;
    }

    .jc-gauge-bar {
      flex: 1;
      height: 8px;
      border-radius: 4px;
      background: linear-gradient(90deg, var(--jc-red), var(--jc-yellow), var(--jc-green));
      position: relative;
    }

    .jc-gauge-dot {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: #fff;
      border: 2px solid var(--jc-purple);
      position: absolute;
      top: -3px;
      box-shadow: 0 0 8px var(--jc-glow);
      transition: left .6s cubic-bezier(.4, 0, .2, 1);
    }

    .jc-gauge-label {
      font-size: .75rem;
      font-weight: 800;
      color: var(--jc-text);
      min-width: 32px;
      text-align: center;
    }

    /* ── KPI grid ── */
    .jc-kpis {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
    }

    .jc-kpi {
      padding: 14px 16px;
      border-radius: 14px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
      position: relative;
      overflow: hidden;
    }

    .jc-kpi::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 3px;
      height: 100%;
      border-radius: 3px 0 0 3px;
      background: linear-gradient(180deg, var(--jc-purple), var(--jc-cyan));
    }

    .jc-kpi-lbl {
      font-size: .5625rem;
      color: var(--jc-text-muted);
      text-transform: uppercase;
      letter-spacing: .8px;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .jc-kpi-val {
      font-size: 1.5rem;
      font-weight: 900;
      color: var(--jc-text);
      letter-spacing: -.5px;
    }

    .jc-kpi-val.up {
      color: var(--jc-green) !important;
    }

    .jc-kpi-val.down {
      color: var(--jc-red) !important;
    }

    .jc-kpi-chg {
      font-size: .6875rem;
      font-weight: 700;
      margin-top: 4px;
    }

    .jc-kpi-chg.up {
      color: var(--jc-green);
    }

    .jc-kpi-chg.down {
      color: var(--jc-red);
    }

    /* ── Sparkline container ── */
    .jc-spark {
      margin-top: 4px;
    }

    .jc-spark svg {
      width: 100%;
      display: block;
    }

    .jc-spark-lg {
      padding: 8px 0;
    }

    .jc-spark-lg svg {
      height: 120px;
    }

    /* ── Market Pulse: Featured SET Block ── */
    .jc-market-featured {
      padding: 16px 18px;
      border-radius: 16px;
      background: linear-gradient(135deg, rgba(6, 182, 212, .08), rgba(124, 58, 237, .06));
      border: 1px solid rgba(6, 182, 212, .15);
      margin-bottom: 10px;
    }

    .jc-mf-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 4px;
    }

    .jc-mf-label {
      font-size: .75rem;
      font-weight: 800;
      color: var(--jc-text-muted);
      text-transform: uppercase;
      letter-spacing: .8px;
    }

    .jc-mf-value {
      font-size: 2rem;
      font-weight: 900;
      color: var(--jc-text);
      letter-spacing: -1px;
      line-height: 1.2;
    }

    .jc-mf-spark {
      margin-top: 8px;
      height: 50px;
    }

    .jc-mf-spark svg {
      width: 100%;
      height: 50px;
      display: block;
    }

    /* ── Market Pulse: enriched per-market sections ── */
    .jc-pulse-section {
      margin-top: 12px;
    }

    .jc-pulse-section-title {
      font-size: .6875rem;
      font-weight: 800;
      color: var(--jc-text-muted);
      text-transform: uppercase;
      letter-spacing: .7px;
      margin-bottom: 8px;
    }

    .jc-pulse-context {
      font-size: .8125rem;
      line-height: 1.65;
      color: var(--jc-text-soft);
      margin-bottom: 4px;
      padding: 10px 12px;
      border-radius: 10px;
      background: rgba(255, 255, 255, .03);
      border: 1px solid rgba(255, 255, 255, .05);
    }

    .jc-pulse-idx-grid {
      grid-template-columns: repeat(3, 1fr);
    }

    .jc-pulse-stock-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .jc-pulse-stock-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border-radius: 999px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
      cursor: pointer;
      transition: border-color .2s, transform .15s;
    }

    .jc-pulse-stock-chip:hover {
      border-color: rgba(6, 182, 212, .3);
      transform: translateY(-1px);
    }

    .jc-pulse-stock-sym {
      font-size: .75rem;
      font-weight: 800;
      color: var(--jc-text);
    }

    .jc-pulse-stock-chg {
      font-size: .6875rem !important;
    }

    .jc-pulse-movers-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .jc-pulse-movers-label {
      font-size: .625rem;
      font-weight: 700;
      color: var(--jc-text-muted);
      margin-bottom: 6px;
      text-transform: uppercase;
      letter-spacing: .5px;
    }

    :root[data-mockup-theme-resolved="light"] .jc-pulse-context {
      background: rgba(0, 0, 0, .03);
      border-color: rgba(0, 0, 0, .06);
    }

    /* ── Market Pulse: Supporting Asset Tiles ── */
    .jc-market-assets {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }

    .jc-market-tile {
      padding: 12px 10px;
      border-radius: 12px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
      display: flex;
      flex-direction: column;
      gap: 4px;
      transition: border-color .2s, transform .2s;
    }

    .jc-market-tile:hover {
      border-color: rgba(6, 182, 212, .25);
      transform: translateY(-2px);
    }

    .jc-mt-head {
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .jc-mt-icon {
      font-size: 1rem;
    }

    .jc-mt-label {
      font-size: .5625rem;
      font-weight: 700;
      color: var(--jc-text-muted);
      text-transform: uppercase;
      letter-spacing: .6px;
    }

    .jc-mt-val {
      font-size: 1.125rem;
      font-weight: 900;
      color: var(--jc-text);
      letter-spacing: -.3px;
    }

    .jc-mt-spark {
      height: 24px;
      margin-top: 2px;
    }

    .jc-mt-spark svg {
      width: 100%;
      height: 24px;
      display: block;
    }

    /* ── Theme Card: Related Stocks Section ── */
    .jc-theme-stocks {
      padding: 10px 12px;
      border-radius: 14px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
    }

    .jc-ts-title {
      font-size: .6875rem;
      font-weight: 800;
      color: var(--jc-text-muted);
      text-transform: uppercase;
      letter-spacing: .5px;
      margin-bottom: 8px;
    }

    .jc-ts-list {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .jc-ts-row {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px;
      border-radius: 8px;
      background: rgba(124, 58, 237, .04);
      transition: background .2s;
    }

    .jc-ts-row:hover {
      background: rgba(124, 58, 237, .1);
    }

    .jc-ts-sym {
      font-size: .75rem;
      font-weight: 900;
      color: var(--jc-purple);
      min-width: 50px;
    }

    .jc-ts-rel {
      font-size: .625rem;
      color: var(--jc-text-muted);
      flex: 1;
    }

    .jc-ts-impact {
      font-size: .5625rem;
      font-weight: 800;
      padding: 2px 8px;
      border-radius: 6px;
      white-space: nowrap;
    }

    .jc-ts-impact.up {
      color: var(--jc-green);
      background: rgba(52, 211, 153, .12);
    }

    .jc-ts-impact.down {
      color: var(--jc-red);
      background: rgba(248, 113, 113, .12);
    }

    /* ── Drill-down Button ── */
    .jc-drill-btn {
      padding: 8px 16px;
      border-radius: 10px;
      border: none;
      background: linear-gradient(135deg, rgba(124, 58, 237, .15), rgba(6, 182, 212, .1));
      color: var(--jc-purple);
      font-size: .75rem;
      font-weight: 700;
      cursor: pointer;
      transition: all .2s;
      display: flex;
      align-items: center;
      gap: 6px;
      flex: 1;
      justify-content: center;
    }

    .jc-drill-btn:hover {
      background: linear-gradient(135deg, rgba(124, 58, 237, .25), rgba(6, 182, 212, .15));
      transform: translateY(-1px);
    }

    :root[data-mockup-theme-resolved="light"] .jc-theme-stocks {
      background: rgba(248, 250, 252, .9);
      border-color: rgba(15, 23, 42, .08);
    }

    :root[data-mockup-theme-resolved="light"] .jc-ts-row {
      background: rgba(124, 58, 237, .04);
    }

    :root[data-mockup-theme-resolved="light"] .jc-drill-btn {
      background: linear-gradient(135deg, rgba(124, 58, 237, .1), rgba(6, 182, 212, .06));
    }

    /* ── Theme Card: Full-width Chart Block ── */
    .jc-theme-chart {
      padding: 12px 14px;
      border-radius: 14px;
      background: linear-gradient(135deg, rgba(245, 158, 11, .06), rgba(124, 58, 237, .04));
      border: 1px solid rgba(245, 158, 11, .12);
      transition: border-color .2s, transform .2s;
    }

    .jc-theme-chart:hover {
      border-color: rgba(245, 158, 11, .25);
      transform: translateY(-1px);
    }

    .jc-tc-head {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 6px;
    }

    .jc-tc-icon {
      font-size: 1.125rem;
    }

    .jc-tc-label {
      font-size: .8125rem;
      font-weight: 800;
      color: var(--jc-text);
      flex: 1;
    }

    .jc-tc-action {
      font-size: .625rem;
      font-weight: 700;
      color: var(--jc-purple);
      background: rgba(124, 58, 237, .08);
      padding: 2px 8px;
      border-radius: 6px;
    }

    .jc-tc-spark {
      width: 100%;
      height: 60px;
    }

    .jc-tc-spark svg {
      width: 100%;
      height: 60px;
      display: block;
    }

    :root[data-mockup-theme-resolved="light"] .jc-theme-chart {
      background: linear-gradient(135deg, rgba(245, 158, 11, .04), rgba(124, 58, 237, .02));
      border-color: rgba(245, 158, 11, .1);
    }

    /* ── Theme Card: TradingView Candlestick Chart Block ── */
    .jc-tv-chart-block {
      flex-shrink: 0;
      border-radius: 14px;
      background: linear-gradient(135deg, rgba(124, 58, 237, .08), rgba(6, 182, 212, .04));
      border: 1px solid rgba(124, 58, 237, .18);
      overflow: hidden;
      transition: border-color .2s, transform .2s;
    }

    .jc-tv-chart-block:hover {
      border-color: rgba(124, 58, 237, .35);
      transform: translateY(-1px);
    }

    .jc-tv-chart-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 14px;
      background: rgba(255, 255, 255, .02);
      border-bottom: 1px solid rgba(255, 255, 255, .05);
    }

    .jc-tv-chart-sym {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .jc-tv-chart-sym-name {
      font-size: .875rem;
      font-weight: 900;
      color: var(--jc-text);
      letter-spacing: -.2px;
    }

    .jc-tv-chart-sym-price {
      font-size: .75rem;
      font-weight: 700;
      color: var(--jc-text-muted);
    }

    .jc-tv-chart-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 3px 10px;
      border-radius: 12px;
      font-size: .6875rem;
      font-weight: 800;
    }

    .jc-tv-chart-badge.up {
      background: rgba(16, 185, 129, .15);
      color: #10b981;
      border: 1px solid rgba(16, 185, 129, .25);
    }

    .jc-tv-chart-badge.down {
      background: rgba(239, 68, 68, .15);
      color: #ef4444;
      border: 1px solid rgba(239, 68, 68, .25);
    }

    .jc-tv-chart-container {
      width: 100%;
      height: 200px;
    }

    .jc-tv-chart-container--spotlight {
      height: 220px;
    }

    .jc-spotlight-price-row {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 10px;
      margin-bottom: 4px;
    }

    .jc-spotlight-price {
      font-size: 2rem;
      font-weight: 900;
      letter-spacing: -0.8px;
      line-height: 1;
      color: var(--jc-text);
    }

    .jc-spotlight-price-meta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-top: 6px;
    }

    .jc-spotlight-score {
      font-size: .625rem;
      font-weight: 800;
      color: var(--jc-text-muted);
      padding: 4px 8px;
      border-radius: 999px;
      background: rgba(124, 58, 237, .12);
      border: 1px solid rgba(124, 58, 237, .22);
      letter-spacing: .3px;
    }

    .jc-spotlight-mini-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin-top: 6px;
      flex-shrink: 0;
    }

    .jc-spot-pulse-wrap {
      margin-top: 10px;
      padding: 12px;
      border-radius: 14px;
      border: 1px solid rgba(124, 58, 237, .18);
      background: linear-gradient(135deg, rgba(124, 58, 237, .08), rgba(6, 182, 212, .04));
      flex-shrink: 0;
    }

    .jc-spot-pulse-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 9px;
      gap: 8px;
    }

    .jc-spot-pulse-title {
      font-size: .75rem;
      font-weight: 800;
      letter-spacing: .6px;
      color: var(--jc-text);
      text-transform: uppercase;
    }

    .jc-spot-pulse-sub {
      font-size: .625rem;
      color: var(--jc-text-muted);
    }

    .jc-spot-pulse-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .jc-spot-pulse-card {
      padding: 9px 10px;
      border-radius: 10px;
      border: 1px solid var(--jc-card-border);
      background: var(--jc-card-bg);
      min-height: 64px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 4px;
    }

    .jc-spot-pulse-card.good {
      border-color: rgba(16, 185, 129, .25);
      background: rgba(16, 185, 129, .08);
    }

    .jc-spot-pulse-card.bad {
      border-color: rgba(239, 68, 68, .25);
      background: rgba(239, 68, 68, .08);
    }

    .jc-spot-pulse-card.warn {
      border-color: rgba(245, 158, 11, .24);
      background: rgba(245, 158, 11, .08);
    }

    .jc-spot-pulse-card.neutral {
      border-color: var(--jc-card-border);
      background: var(--jc-card-bg);
    }

    .jc-spot-pulse-lbl {
      font-size: .5625rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .6px;
      color: var(--jc-text-muted);
    }

    .jc-spot-pulse-val {
      font-size: .875rem;
      font-weight: 800;
      letter-spacing: -.15px;
      color: var(--jc-text);
      line-height: 1.2;
    }

    .jc-spot-pulse-note {
      font-size: .5625rem;
      color: var(--jc-text-muted);
      line-height: 1.2;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .jc-spot-mini {
      padding: 9px 10px;
      border-radius: 10px;
      border: 1px solid var(--jc-card-border);
      background: var(--jc-card-bg);
      min-height: 56px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 4px;
    }

    .jc-spot-mini-lbl {
      font-size: .5625rem;
      font-weight: 700;
      letter-spacing: .6px;
      text-transform: uppercase;
      color: var(--jc-text-muted);
    }

    .jc-spot-mini-val {
      font-size: .875rem;
      font-weight: 800;
      color: var(--jc-text);
      letter-spacing: -.2px;
      line-height: 1.2;
    }

    .jc-spot-mini-val.up {
      color: var(--jc-green);
    }

    .jc-spot-mini-val.down {
      color: var(--jc-red);
    }

    .jc-tv-chart-footer {
      display: flex;
      gap: 6px;
      padding: 8px 14px;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .jc-tv-chart-footer::-webkit-scrollbar {
      display: none;
    }

    .jc-tv-chart-mini {
      flex: 0 0 auto;
      padding: 6px 12px;
      border-radius: 8px;
      background: rgba(255, 255, 255, .03);
      border: 1px solid rgba(255, 255, 255, .06);
      cursor: pointer;
      transition: all .15s;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .jc-tv-chart-mini:hover {
      background: rgba(124, 58, 237, .08);
      border-color: rgba(124, 58, 237, .2);
    }

    .jc-tv-chart-mini-sym {
      font-size: .625rem;
      font-weight: 800;
      color: var(--jc-text);
    }

    .jc-tv-chart-mini-chg {
      font-size: .5625rem;
      font-weight: 700;
    }

    :root[data-mockup-theme-resolved="light"] .jc-tv-chart-block {
      background: linear-gradient(135deg, rgba(124, 58, 237, .04), rgba(6, 182, 212, .02));
      border-color: rgba(124, 58, 237, .12);
    }

    :root[data-mockup-theme-resolved="light"] .jc-tv-chart-header {
      background: rgba(0, 0, 0, .02);
      border-bottom-color: rgba(0, 0, 0, .05);
    }

    :root[data-mockup-theme-resolved="light"] .jc-tv-chart-mini {
      background: rgba(0, 0, 0, .03);
      border-color: rgba(0, 0, 0, .06);
    }

    :root[data-mockup-theme-resolved="light"] .jc-spot-mini {
      background: rgba(248, 250, 252, .9);
      border-color: rgba(15, 23, 42, .08);
    }

    :root[data-mockup-theme-resolved="light"] .jc-spotlight-score {
      background: rgba(99, 102, 241, .08);
      border-color: rgba(99, 102, 241, .2);
      color: #4338ca;
    }

    :root[data-mockup-theme-resolved="light"] .jc-spot-pulse-wrap {
      border-color: rgba(99, 102, 241, .2);
      background: linear-gradient(135deg, rgba(99, 102, 241, .07), rgba(6, 182, 212, .04));
    }

    :root[data-mockup-theme-resolved="light"] .jc-spot-pulse-card.neutral {
      background: rgba(248, 250, 252, .92);
      border-color: rgba(15, 23, 42, .08);
    }

    /* ── Clickable stock symbol highlights ── */
    .jc-kw-stock {
      cursor: pointer;
      text-decoration: underline;
      text-decoration-style: dotted;
      text-underline-offset: 2px;
    }

    .jc-kw-stock:hover {
      background: rgba(124, 58, 237, .2) !important;
    }

    /* ── List items (movers, stocks) ── */
    .jc-ls {
      display: flex;
      flex-direction: column;
      gap: 7px;
    }

    /* ── Top Movers Tab Bar ── */
    .jc-mv-tabs {
      display: flex;
      gap: 4px;
      padding: 4px;
      border-radius: 12px;
      background: rgba(255, 255, 255, .03);
      margin-bottom: 10px;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .jc-mv-tabs::-webkit-scrollbar {
      display: none;
    }

    .jc-mv-tab {
      flex: 1;
      padding: 6px 8px;
      border-radius: 8px;
      border: none;
      background: transparent;
      color: var(--jc-text-muted);
      font-size: .6875rem;
      font-weight: 700;
      cursor: pointer;
      transition: all .2s;
      white-space: nowrap;
      text-align: center;
      font-family: inherit;
    }

    .jc-mv-tab:hover {
      background: rgba(255, 255, 255, .05);
      color: var(--jc-text);
    }

    .jc-mv-tab.active {
      background: linear-gradient(135deg, rgba(16, 185, 129, .15), rgba(124, 58, 237, .1));
      color: var(--jc-green);
      box-shadow: 0 0 8px rgba(16, 185, 129, .15);
    }

    .jc-mv-panel {
      display: none;
    }

    .jc-mv-panel.active {
      display: block;
    }

    .jc-ls-extra {
      font-size: .625rem;
      color: var(--jc-text-muted);
      min-width: 60px;
      text-align: right;
      font-weight: 600;
    }

    .jc-ls-extra-label {
      font-size: .5625rem;
      color: rgba(255, 255, 255, .2);
      display: block;
    }

    .jc-ls-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 11px 14px;
      border-radius: 12px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
      cursor: pointer;
      transition: all .2s;
    }

    .jc-ls-item:hover {
      background: var(--jc-card-hover);
      border-color: rgba(124, 58, 237, .2);
      transform: translateX(3px);
    }

    .jc-ls-sym {
      font-weight: 900;
      font-size: .9375rem;
      color: var(--jc-text);
      min-width: 55px;
    }

    .jc-ls-name {
      font-size: .6875rem;
      color: var(--jc-text-muted);
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .jc-ls-val {
      font-size: 1rem;
      font-weight: 800;
      color: var(--jc-purple);
    }

    .jc-ls-chg {
      font-size: .6875rem;
      font-weight: 700;
      min-width: 52px;
      text-align: right;
    }

    .jc-ls-chg.up {
      color: var(--jc-green);
    }

    .jc-ls-chg.down {
      color: var(--jc-red);
    }

    .jc-ls-rank {
      font-size: .875rem;
      font-weight: 900;
      color: var(--jc-text-dim);
      min-width: 22px;
      text-align: center;
    }

    .jc-ls-rank.gold {
      color: var(--jc-yellow);
      text-shadow: 0 0 8px rgba(251, 191, 36, .3);
    }

    .jc-ls-spark {
      width: 60px;
      flex-shrink: 0;
    }

    /* ── Commodity grid ── */
    .jc-com-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .jc-com-insight {
      padding: 10px 12px;
      border-radius: 12px;
      border: 1px solid var(--jc-card-border);
      background: linear-gradient(135deg, rgba(245, 158, 11, .1), rgba(6, 182, 212, .05));
      font-size: .8125rem;
      line-height: 1.55;
      color: var(--jc-text-secondary);
    }

    .jc-com-featured {
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid rgba(245, 158, 11, .2);
      background: linear-gradient(135deg, rgba(245, 158, 11, .12), rgba(124, 58, 237, .05));
    }

    .jc-com-featured-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 6px;
    }

    .jc-com-featured-title {
      font-size: .8125rem;
      font-weight: 800;
      color: var(--jc-text);
      letter-spacing: -.2px;
    }

    .jc-com-featured-sub {
      font-size: .625rem;
      color: var(--jc-text-muted);
      text-transform: uppercase;
      letter-spacing: .6px;
    }

    .jc-com-spark {
      margin-top: 4px;
      height: 48px;
    }

    .jc-com-spark canvas,
    .jc-com-spark svg {
      width: 100%;
      height: 48px;
      display: block;
    }

    .jc-com-item {
      padding: 12px 14px;
      border-radius: 12px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
      cursor: pointer;
      transition: all .2s;
    }

    .jc-com-item:hover {
      background: var(--jc-card-hover);
      border-color: rgba(245, 158, 11, .2);
      transform: translateY(-2px);
    }

    .jc-com-lbl {
      font-size: .6875rem;
      color: var(--jc-text-muted);
      font-weight: 600;
      margin-bottom: 3px;
    }

    .jc-com-val {
      font-size: 1.125rem;
      font-weight: 800;
      color: var(--jc-text);
    }

    .jc-com-chg {
      font-size: .6875rem;
      font-weight: 700;
      margin-top: 2px;
    }

    :root[data-mockup-theme-resolved="light"] .jc-com-insight {
      background: linear-gradient(135deg, rgba(245, 158, 11, .08), rgba(6, 182, 212, .03));
      border-color: rgba(15, 23, 42, .08);
    }

    :root[data-mockup-theme-resolved="light"] .jc-com-featured {
      background: linear-gradient(135deg, rgba(245, 158, 11, .09), rgba(99, 102, 241, .04));
      border-color: rgba(245, 158, 11, .22);
    }

    /* ── Must-know bullets ── */
    .jc-bullets {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .jc-bullet {
      padding: 10px 14px;
      border-radius: 10px;
      background: var(--jc-card-bg);
      border: 1px solid var(--jc-card-border);
      font-size: .8125rem;
      line-height: 1.6;
      color: var(--jc-text-secondary);
      display: flex;
      gap: 8px;
    }

    .jc-bullet-icon {
      color: var(--jc-purple);
      font-size: .875rem;
      flex-shrink: 0;
      margin-top: 2px;
    }

    /* ── CTA button ── */
    .jc-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      border-radius: 12px;
      background: linear-gradient(135deg, #7c3aed, #06b6d4);
      color: #fff;
      font-size: .875rem;
      font-weight: 700;
      cursor: pointer;
      border: none;
      font-family: inherit;
      transition: all .2s;
      align-self: flex-start;
    }

    .jc-cta:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(124, 58, 237, .3);
    }

    /* ── Section divider ── */
    .jc-div {
      height: 1px;
      background: var(--jc-card-border);
      margin: 4px 0;
    }

    /* ── Dots navigation ── */
    .journey-dots {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 0 6px;
      flex-shrink: 0;
    }

    .journey-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--jc-text-dim);
      opacity: .35;
      cursor: pointer;
      transition: all .3s;
      border: none;
      padding: 0;
    }

    .journey-dot.active {
      width: 26px;
      border-radius: 4px;
      opacity: 1;
      background: linear-gradient(90deg, var(--jc-purple), var(--jc-cyan));
    }

    /* ── Auto-scroll progress ── */
    .jc-progress {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      z-index: 20;
      overflow: hidden;
      background: transparent;
    }

    .jc-progress-bar {
      height: 100%;
      width: 0;
      background: linear-gradient(90deg, var(--jc-purple), var(--jc-cyan));
      transition: width linear;
    }

    /* ── Nav Arrows ── */
    .journey-nav {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      transform: translateY(-50%);
      display: flex;
      justify-content: space-between;
      padding: 0 6px;
      pointer-events: none;
      z-index: 10;
    }

    .journey-arrow {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1px solid var(--jc-card-border);
      background: var(--jc-card-bg);
      backdrop-filter: blur(8px);
      color: var(--jc-text-muted);
      font-size: 1.25rem;
      cursor: pointer;
      pointer-events: all;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all .2s;
    }

    .journey-arrow:hover {
      background: var(--jc-card-hover);
      border-color: rgba(124, 58, 237, .3);
      color: var(--jc-purple);
    }

    /* ── Entrance animation ── */
    @keyframes jcSlideIn {
      from {
        opacity: 0;
        transform: translateY(18px) scale(.92);
      }
    }

    .jc-story {
      animation: jcSlideIn .5s ease-out backwards;
    }

    .jc-story:nth-child(1) {
      animation-delay: 0s;
    }

    .jc-story:nth-child(2) {
      animation-delay: .06s;
    }

    .jc-story:nth-child(3) {
      animation-delay: .12s;
    }

    .jc-story:nth-child(4) {
      animation-delay: .18s;
    }

    .jc-story:nth-child(5) {
      animation-delay: .24s;
    }

    .jc-story:nth-child(6) {
      animation-delay: .30s;
    }

    .jc-story:nth-child(7) {
      animation-delay: .36s;
    }

    .jc-story:nth-child(8) {
      animation-delay: .42s;
    }

    /* ── Responsive ── */
    @media (max-width: 768px) {
      .jc-story {
        flex: 0 0 92%;
        max-width: none;
        margin: 0 6px;
        padding: 20px 16px;
      }

      .journey-nav {
        display: none;
      }

      .jc-headline {
        font-size: 1.25rem;
      }

      .jc-kpi-val {
        font-size: 1.25rem;
      }

      .jc-spotlight-price {
        font-size: 1.55rem;
      }

      .jc-spotlight-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .jc-spot-pulse-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .topnav-center--home-chips .jc-market-chips,
      #globalNavTime .jc-market-chips {
        padding: 0 !important;
      }

      .journey-hero .jc-market-chips {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        padding: 16px 20px 1px !important;
        gap: 8px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }

      .journey-hero .jc-market-chips::-webkit-scrollbar {
        display: none;
      }

      .journey-hero .jc-mkt-chip {
        flex-shrink: 0 !important;
        font-size: 0.75rem !important;
        padding: 6px 14px !important;
      }
    }

    @media (min-width: 769px) and (max-width: 1200px) {
      .jc-story {
        flex: 0 0 58%;
        max-width: 520px;
      }
    }

    @media (min-width: 1201px) {
      .jc-story {
        flex: 0 0 40%;
        max-width: 560px;
      }
    }

    /* Hide the floating plus chat button on desktop screens by default */
    .journey-chat-btn {
      display: none !important;
    }

    /* Only show it on Mobile & iPad (screen width <= 1024px) */
    @media (max-width: 1024px) {
      .journey-chat-btn {
        display: flex !important;
      }
    }