/* Generated by scripts/export-pro-features.mjs from public/om/features/news-replay.html. Do not edit by hand. */
/* News Replay and Backtesting. Every page-only class, variable and keyframe starts with nr-.
     The windows copy the app: the Trade replay bar (ReplayPlayer.tsx, replayPlayer.css), the Jump to panel
     (ChartReplayBar.tsx, homeChart.css), Replayed headlines (news-replay/ReplayHeadlines.tsx) and Similar news
     (news-flow/SimilarView.tsx, Badge.tsx). */
  :root {
    --nr-ink: #fafafa; --nr-ink2: #a1a1aa; --nr-ink3: #71717a; --nr-ink4: #52525b;
    --nr-line: rgba(255,255,255,0.07); --nr-line2: rgba(255,255,255,0.12); --nr-hover: rgba(255,255,255,0.06);
    --nr-acc: #8B6CFF; --nr-up: #4ADE80; --nr-down: #F87171; --nr-flip: #FBBF24; --nr-flat: #A1A1AA;
    --nr-app: Figtree, var(--sans);
  }
  .nr-st { container: nrs / inline-size; }
  .nr-win { position: relative; background: #000; color: var(--nr-ink); font-family: var(--nr-app); font-variant-numeric: tabular-nums; container: nrw / inline-size; }
  .nr-win svg { display: inline-block; flex: none; }

  /* Head: the app's market pills and the chart's line */
  .nr-head { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 12px; border-bottom: 1px solid var(--nr-line); }
  .nr-pills { display: flex; gap: 2px; padding: 3px; border-radius: 10px; box-shadow: 0 0 0 1px var(--nr-line) inset; }
  .nr-pill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px 0 8px; border-radius: 7px; font-size: 13.5px; font-weight: 600; color: var(--nr-ink); white-space: nowrap; transition: background .45s var(--ease); }
  .nr-pill.is-on { background: rgba(255,255,255,0.11); }
  .nr-coin { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; font: 800 7.5px/1 var(--nr-app); font-style: normal; color: #fff; letter-spacing: -0.02em; }
  .nr-coin-g { background: radial-gradient(circle at 35% 30%, #fde68a, #d4a017 55%, #a16207); }
  .nr-coin-es { background: #dc2626; } .nr-coin-nq { background: #2563eb; }
  .nr-meta { font-size: 13px; font-weight: 600; color: var(--nr-ink); white-space: nowrap; }
  .nr-meta span { color: var(--nr-ink3); font-weight: 500; }
  .nr-sp { flex: 1; }
  .nr-tool { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(139,108,255,0.2); box-shadow: 0 0 0 1px rgba(165,148,255,0.45) inset; }
  .nr-tool svg { width: 14px; height: 14px; }

  /* Body: chart, then the news column */
  .nr-body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 344px; height: 476px; }
  .nr-plot { position: relative; min-width: 0; border-right: 1px solid var(--nr-line); }
  .nr-cv { position: absolute; inset: 0; width: 100%; height: 100%; }
  .nr-col { position: relative; overflow: hidden; background: #000; }
  .nr-pane { position: absolute; inset: 0; padding: 12px 12px 0; display: flex; flex-direction: column; }

  /* Replayed headlines (ReplayHeadlines.tsx) */
  .nr-rh-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 10px; }
  .nr-rh-t { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; }
  .nr-rh-t svg { width: 16px; height: 16px; color: #c4b5fd; }
  .nr-rh-s { margin-top: 1px; font-size: 11.5px; color: var(--nr-ink3); white-space: nowrap; }
  .nr-rh-ctl { display: flex; align-items: center; gap: 6px; }
  .nr-pob { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--nr-ink); background: rgba(255,255,255,0.08); box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset; white-space: nowrap; transition: box-shadow .35s; }
  .nr-pob svg { width: 14px; height: 14px; }
  .nr-pob.is-hit { box-shadow: 0 0 0 1px rgba(165,148,255,0.7) inset, 0 0 0 4px rgba(124,92,255,0.18); }
  .nr-x { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--nr-ink2); box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset; }
  .nr-x svg { width: 15px; height: 15px; }
  .nr-ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
  .nr-li { display: grid; grid-template-rows: 1fr; }
  .nr-li > div { min-height: 0; overflow: hidden; }
  .nr-ln { display: flex; gap: 10px; margin-bottom: 6px; padding: 8px 10px; border-radius: 8px; box-shadow: 0 0 0 1px var(--nr-line) inset; text-align: left; }
  .nr-ln.is-big { box-shadow: 0 0 0 1px rgba(252,211,77,0.25) inset; }
  .nr-ln.is-arr { box-shadow: 0 0 0 1px rgba(167,139,250,0.55) inset; background: rgba(139,92,246,0.08); }
  .nr-tm { width: 46px; flex: none; padding-top: 2px; text-align: right; font-size: 12px; font-weight: 600; color: #d4d4d8; white-space: nowrap; line-height: 1.2; }
  .nr-tm small { margin-left: 2px; font-size: 9.5px; font-weight: 500; color: var(--nr-ink4); text-transform: uppercase; }
  .nr-flag { width: 18px; height: 18px; flex: none; margin-top: 1px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Crect width='26' height='26' fill='%23fff'/%3E%3Cg fill='%23d22f27'%3E%3Crect y='0' width='26' height='2'/%3E%3Crect y='4' width='26' height='2'/%3E%3Crect y='8' width='26' height='2'/%3E%3Crect y='12' width='26' height='2'/%3E%3Crect y='16' width='26' height='2'/%3E%3Crect y='20' width='26' height='2'/%3E%3Crect y='24' width='26' height='2'/%3E%3C/g%3E%3Crect width='12' height='14' fill='%233c3b6e'/%3E%3C/svg%3E") center/cover; }
  .nr-tx { min-width: 0; flex: 1; font-size: 13px; line-height: 1.38; color: #d4d4d8; }
  .nr-ln.is-big .nr-tx { color: #fafafa; }
  .nr-bs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
  .nr-b { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 6px; border-radius: 5px; font-size: 11.5px; font-weight: 500; line-height: 1; white-space: nowrap; }
  .nr-b.up { background: rgba(52,211,153,0.12); color: #6ee7b7; }
  .nr-b.down { background: rgba(248,113,113,0.12); color: #fca5a5; }
  .nr-b.watch { background: rgba(252,211,77,0.12); color: #fde68a; }
  .nr-b.quiet { color: var(--nr-ink3); box-shadow: 0 0 0 1px rgba(255,255,255,0.09) inset; }
  .nr-b.strong { font-weight: 600; }
  .nr-b.up.strong { box-shadow: 0 0 0 1px rgba(52,211,153,0.4) inset; }
  .nr-b.down.strong { box-shadow: 0 0 0 1px rgba(248,113,113,0.4) inset; }
  .nr-b.watch.strong { box-shadow: 0 0 0 1px rgba(252,211,77,0.4) inset; }
  .nr-simbtn { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; height: 20px; padding: 0 2px 0 6px; border-radius: 5px; font-size: 11.5px; font-weight: 500; color: var(--nr-ink2); opacity: 0; }
  .nr-simbtn svg { width: 13px; height: 13px; }

  /* Similar news (SimilarView.tsx) */
  .nr-sim { opacity: 0; }
  .nr-back { display: flex; align-items: center; gap: 8px; margin: -12px -12px 12px; padding: 9px 12px; border-bottom: 1px solid var(--nr-line); }
  .nr-back span { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px 0 6px; border-radius: 6px; font-size: 13px; font-weight: 600; box-shadow: 0 0 0 1px var(--nr-line) inset; }
  .nr-back svg { width: 15px; height: 15px; }
  .nr-sim h4 { margin: 0; font-size: 14px; font-weight: 600; }
  .nr-sim-s { margin-top: 2px; font-size: 11.5px; line-height: 1.4; color: var(--nr-ink3); }
  .nr-lab { margin-top: 12px; font-size: 11.5px; font-weight: 600; color: var(--nr-ink3); }
  .nr-lab b { margin-left: 6px; font-weight: 600; color: var(--nr-ink2); }
  .nr-lab b .g { color: var(--nr-up); } .nr-lab b .r { color: var(--nr-down); }
  .nr-dl { display: flex; gap: 10px; margin-top: 6px; padding: 9px 10px; border-radius: 8px; background: rgba(255,255,255,0.05); }
  .nr-dl.is-row { background: none; box-shadow: 0 0 0 1px var(--nr-line) inset; }
  .nr-dt { width: 54px; flex: none; white-space: nowrap; font-size: 11.5px; font-weight: 600; color: var(--nr-ink2); line-height: 1.25; }
  .nr-dt small { display: block; color: var(--nr-ink3); font-size: 11px; font-weight: 600; }
  .nr-dl .nr-tx { font-size: 12.5px; color: #e4e4e7; }

  /* Replay bar (ReplayPlayer.tsx): one capsule under the chart */
  .nr-foot { padding: 10px 12px 12px; border-top: 1px solid var(--nr-line); }
  .nr-rp { display: flex; flex-direction: column; gap: 4px; width: min(100%, 760px); margin: 0 auto; padding: 7px 10px 7px 14px; border-radius: 20px; box-shadow: 0 0 0 1px rgba(139,108,255,0.55) inset; background: #000; color: var(--nr-ink2); font-size: 13px; font-weight: 500; }
  .nr-rp-top { display: flex; align-items: center; gap: 12px; min-height: 24px; }
  .nr-rp-st { display: inline-flex; align-items: center; gap: 8px; min-width: 196px; color: var(--nr-ink); font-weight: 600; white-space: nowrap; }
  .nr-rp-bd { padding: 3px 7px; border-radius: 999px; background: rgba(139,108,255,0.2); color: #b9a8ff; font-size: 12px; font-weight: 700; }
  .nr-scrub { position: relative; flex: 1; min-width: 0; height: 22px; display: flex; align-items: center; }
  .nr-trk { position: relative; display: block; width: 100%; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.14); overflow: hidden; }
  .nr-fill { position: absolute; inset: 0; transform-origin: left center; background: var(--nr-acc); }
  .nr-tick { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fafafa; opacity: .55; }
  .nr-tick.is-rel { opacity: 1; }
  .nr-hd { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fafafa; box-shadow: 0 1px 4px rgba(0,0,0,.5); }
  .nr-rp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 8px; }
  .nr-side { display: flex; align-items: center; gap: 2px; min-width: 0; }
  .nr-side.r { justify-content: flex-end; gap: 6px; }
  .nr-txt { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; border-radius: 999px; color: var(--nr-ink2); font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .3s, color .3s; }
  .nr-txt svg { width: 15px; height: 15px; }
  .nr-txt.is-on { background: rgba(255,255,255,0.12); color: var(--nr-ink); }
  .nr-jmp svg { transition: transform .3s var(--ease); }
  .nr-jmp.is-on svg { transform: rotate(180deg); }
  .nr-exit { padding: 0 12px; background: var(--nr-acc); color: #000; font-weight: 600; }
  .nr-tr { display: flex; align-items: center; gap: 8px; }
  .nr-rnd { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--nr-ink); }
  .nr-rnd svg { width: 17px; height: 17px; }
  .nr-play { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fafafa; color: #000; transition: transform .25s var(--spring); }
  .nr-gl { position: relative; display: block; width: 20px; height: 20px; }
  .nr-gl i { position: absolute; inset: 0; background: currentColor; transition: clip-path .24s var(--ease); }
  .nr-gl i:first-child { clip-path: polygon(24% 8%, 58% 29%, 58% 71%, 24% 92%); }
  .nr-gl i:last-child { clip-path: polygon(58% 29%, 94% 50%, 94% 50%, 58% 71%); }
  .nr-gl.is-on i:first-child { clip-path: polygon(20% 12%, 42% 12%, 42% 88%, 20% 88%); }
  .nr-gl.is-on i:last-child { clip-path: polygon(58% 12%, 80% 12%, 80% 88%, 58% 88%); }
  .nr-spd { display: inline-flex; align-items: center; height: 32px; border-radius: 999px; background: rgba(255,255,255,0.06); }
  .nr-spd i { width: 28px; height: 32px; display: grid; place-items: center; color: var(--nr-ink2); font-style: normal; border-radius: 999px; transition: color .2s, background .2s; }
  .nr-spd i svg { width: 13px; height: 13px; }
  .nr-spd i.is-hit { color: #fff; background: rgba(255,255,255,0.12); }
  .nr-spd b { min-width: 40px; text-align: center; color: var(--nr-ink); font-weight: 600; }

  /* The newest replayed line under the bar, when there is no column (ReplayHeadlinesDock) */
  .nr-dock { display: none; align-items: center; gap: 8px; margin: 0 12px 12px; padding: 0 10px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px var(--nr-line) inset; font-size: 12.5px; }
  .nr-dock svg { width: 15px; height: 15px; color: #c4b5fd; }
  .nr-dock b { flex: none; font-weight: 600; color: #d4d4d8; }
  .nr-dock span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #e4e4e7; }
  .nr-dock.is-arr { box-shadow: 0 0 0 1px rgba(167,139,250,0.55) inset; background: rgba(139,92,246,0.08); }

  /* Jump to (ChartReplayBar.tsx ReplayJumpPanel) */
  .nr-jp { position: absolute; z-index: 4; width: 392px; max-width: calc(100% - 16px); border-radius: 12px; box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset, 0 16px 40px rgba(0,0,0,0.6); background: #000; overflow: hidden; color: var(--nr-ink); }
  .nr-jp-h { display: flex; align-items: center; justify-content: space-between; padding: 9px 8px 0 12px; font-size: 13px; font-weight: 600; }
  .nr-jp-h svg { width: 16px; height: 16px; color: var(--nr-ink2); margin-right: 6px; }
  .nr-jp-d { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--nr-line); font-size: 12px; color: var(--nr-ink2); white-space: nowrap; }
  .nr-in { flex: 1; min-width: 0; height: 32px; display: flex; align-items: center; padding: 0 8px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset; background: rgba(255,255,255,0.04); color: var(--nr-ink3); font-size: 13px; overflow: hidden; }
  .nr-in.t { flex: 0 0 96px; }
  .nr-go { height: 32px; padding: 0 14px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,0.06); color: var(--nr-ink3); font-size: 13px; font-weight: 600; }
  .nr-qk { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 2px; }
  .nr-qr { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
  .nr-qr > span { flex: 0 0 62px; color: var(--nr-ink3); font-size: 12px; font-weight: 500; }
  .nr-qr i { height: 28px; padding: 0 10px; border-radius: 999px; display: inline-grid; place-items: center; box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset; font-size: 12.5px; font-weight: 500; font-style: normal; }
  .nr-qr i.off { color: var(--nr-ink4); }
  .nr-hint { padding: 9px 12px 0; color: var(--nr-ink3); font-size: 11.5px; line-height: 1.35; }
  .nr-flt { display: flex; gap: 6px; padding: 10px 12px 8px; overflow: hidden; }
  .nr-flt i { flex: none; height: 28px; padding: 0 11px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 500; font-style: normal; white-space: nowrap; color: var(--nr-ink2); background: rgba(255,255,255,0.05); transition: background .3s, color .3s, transform .2s; }
  .nr-flt i.is-on { color: #09090b; background: #e4e4e7; }
  .nr-ev-l { list-style: none; margin: 0; padding: 0 6px 6px; }
  .nr-ev { display: grid; grid-template-columns: 112px auto minmax(0, 1fr); align-items: center; gap: 8px; min-height: 38px; padding: 5px 8px; border-radius: 8px; font-size: 12px; transition: background .3s, transform .2s; }
  .nr-ev.is-hov { background: rgba(255,255,255,0.07); }
  .nr-ev.is-prs { transform: scale(.98); background: rgba(139,108,255,0.16); }
  .nr-ev-k { display: flex; align-items: center; gap: 7px; min-width: 0; font-weight: 600; white-space: nowrap; transition: color .5s; }
  .nr-ev-k em { font-style: normal; overflow: hidden; text-overflow: ellipsis; }
  .nr-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: currentColor; }
  .nr-ev-k.o-u { color: var(--nr-up); } .nr-ev-k.o-d { color: var(--nr-down); } .nr-ev-k.o-f { color: var(--nr-flip); } .nr-ev-k.o-n { color: var(--nr-flat); }
  .nr-ev-k.is-chg .nr-dot { animation: nr-pop .6s var(--spring); }
  @keyframes nr-pop { 0% { transform: scale(1); } 40% { transform: scale(1.9); } 100% { transform: scale(1); } }
  .nr-ev-day { color: var(--nr-ink); white-space: nowrap; }
  .nr-ev-n { min-width: 0; overflow: hidden; color: var(--nr-ink3); white-space: nowrap; text-overflow: ellipsis; text-align: right; }

  /* Hero stage */
  .nr-hero .nr-jp { left: 50%; bottom: 10px; transform: translateX(-50%); opacity: 0; visibility: hidden; }
  /* Section 1: the Jump to panel on its own */
  .nr-s1 .nr-body { display: flex; justify-content: center; align-items: flex-start; height: auto; padding: 24px 8px 28px; background: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px) 0 18px / 100% 64px; }
  .nr-s1 .nr-jp { position: relative; max-width: 100%; }
  .nr-flt { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .nr-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
  .nr-key span { display: inline-flex; align-items: center; gap: 6px; }
  .nr-key i { width: 7px; height: 7px; border-radius: 50%; }
  /* Section 2: Pause on big news */
  .nr-s2 .nr-body { grid-template-columns: minmax(0, 1fr) 300px; height: 404px; }
  .nr-s2 .nr-rp-st { min-width: 0; }

  /* Narrow windows (phones, and the side-by-side section stages below 620px) */
  @container nrw (max-width: 620px) {
    .nr-head { height: 50px; gap: 8px; padding: 0 10px; }
    .nr-pill { height: 28px; padding: 0 8px 0 6px; gap: 6px; font-size: 13px; }
    .nr-meta span, .nr-tool span { display: none; }
    .nr-tool { padding: 0 9px; }
    .nr-body { grid-template-columns: 1fr; height: 348px; }
    .nr-plot { border-right: 0; }
    .nr-hero .nr-col { position: absolute; inset: 0; z-index: 3; }
    .nr-hero .nr-rh { display: none; }
    .nr-dock { display: flex; }
    .nr-rp { padding: 8px 10px; border-radius: 18px; }
    .nr-rp-top { flex-direction: column; align-items: stretch; gap: 2px; }
    .nr-rp-st { min-width: 0; }
    .nr-sel, .nr-spd, .nr-exit span { display: none; }
    .nr-exit { width: 32px; padding: 0; justify-content: center; }
    .nr-hide-n { display: none !important; }
    .nr-s1 .nr-body { padding: 14px 8px 18px; }
    .nr-hero .nr-jp-d { display: none; }
    .nr-hero .nr-body { height: 384px; }
    .nr-jp .nr-in.t { display: none; }
    .nr-s2 .nr-body { grid-template-columns: 1fr; grid-template-rows: 200px auto; height: auto; }
    .nr-s2 .nr-plot { border-bottom: 1px solid var(--nr-line); }
    .nr-s2 .nr-col { height: 296px; }
    .nr-s2 .nr-spd { display: inline-flex; }
    .nr-s2 .nr-exit { display: none; }
    .nr-s2 .nr-spd b { min-width: 32px; }
  }
  @container nrw (max-width: 400px) {
    .nr-rh-s { display: none; }
    .nr-ev { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
    .nr-ev-n { display: none; }
    .nr-qr i { padding: 0 8px; font-size: 12px; }
    .nr-qr > span { flex-basis: 56px; }
  }
  @media (max-width: 760px) { .nr-key { gap: 6px 12px; } }
