/* The approved four-theme animation treatment. All selectors are screen-scoped. */
.theme-tv-preview[data-market-effects]{container-type:inline-size;}
.theme-tv-preview[data-market-effects] .tde-fx-layer{--green:var(--theme-accent-color,#39e967);--red:var(--theme-crash-color,#ff424d);--ink:var(--theme-text-color,#f0fff3);--muted:#a9b8af;position:absolute;inset:0;z-index:80;pointer-events:none;overflow:hidden;font-family:Arial,sans-serif;color:var(--ink);isolation:isolate;}
.theme-tv-preview[data-market-effects] .tde-fx-layer *{box-sizing:border-box;}
.theme-tv-preview[data-market-effects] .tde-fx-sample{position:absolute;top:7%;left:3%;z-index:30;padding:3px 5px;background:#051b13e8;color:#fff;font:500 clamp(8px,.9cqw,12px)/1.2 Arial,sans-serif;letter-spacing:.05em;}
.theme-tv-preview[data-market-effects].tde-fx-bear:not(.crash-imminent):not(.crash-counting-down) .crash-takeover{visibility:hidden;}
.theme-tv-preview[data-market-effects] .tde-fx-target{box-shadow:inset 3px 0 var(--theme-accent-color,#39e967);}
.theme-tv-preview[data-market-effects] .market-mover-spotlight{display:none!important;}
.theme-tv-preview[data-market-effects].tde-fx-running .market-animal-signal,
.theme-tv-preview[data-market-effects].tde-fx-static .market-animal-signal,
.theme-tv-preview[data-market-effects].tde-fx-running .market-signal-panel,
.theme-tv-preview[data-market-effects].tde-fx-static .market-signal-panel{visibility:hidden!important;}
.theme-tv-preview[data-market-effects] .moon-path{ position:absolute; right:17%; top:9%; width:22%; height:69%; z-index:7; pointer-events:none; }
.theme-tv-preview[data-market-effects] .rocket{ position:absolute; bottom:3%; left:3%; color:var(--green); filter:drop-shadow(0 0 8px #39e96a80); transform:rotate(-10deg); }
.theme-tv-preview[data-market-effects] .rocket svg{ width:5cqw; height:5cqw; }
.theme-tv-preview[data-market-effects] .exhaust{ position:absolute; width:6px; height:30%; left:11%; bottom:0; transform-origin:top; transform:rotate(34deg); background:linear-gradient(var(--green),transparent); box-shadow:0 0 14px #39e96770; }
.theme-tv-preview[data-market-effects] .moon-label{ position:absolute; right:4%; top:20%; background:#0a2212; color:var(--green); padding:1% 2%; font-size:clamp(11px,1.65cqw,20px); font-weight:900; transform:rotate(-3deg); z-index:8; }
.theme-tv-preview[data-market-effects] .crash-effect{ position:absolute; inset:0; z-index:12; pointer-events:none; }
.theme-tv-preview[data-market-effects] .red-wash{ position:absolute; inset:0; background:radial-gradient(ellipse at 75% 45%,#ff173a22,transparent 75%); }
.theme-tv-preview[data-market-effects] .crash-card{ position:absolute; bottom:8%; left:3%; right:3%; height:11%; display:flex; align-items:center; gap:2%; padding:0 2%; background:#300b12; border-left:4px solid var(--red); color:#fff0f2; }
.theme-tv-preview[data-market-effects] .bear-mark{ font:clamp(22px,4cqw,44px)/1 "Segoe UI Emoji",sans-serif; filter:grayscale(1); }
.theme-tv-preview[data-market-effects] .crash-card strong{ font-size:clamp(13px,2.4cqw,28px); letter-spacing:.04em; }
.theme-tv-preview[data-market-effects] .crash-card small{ font-size:clamp(9px,1.1cqw,13px); color:#ffacb6; }
.theme-tv-preview[data-market-effects] .crash-card .crash-drop{ margin-left:auto; font-size:clamp(19px,4cqw,44px); font-weight:900; }
.theme-tv-preview[data-market-effects].tde-fx-running .rocket{ animation:tdeFxRocketLaunch calc(var(--motion-time)*1s) both; }
.theme-tv-preview[data-market-effects].tde-fx-running .exhaust{ animation:tdeFxRocketExhaust calc(var(--motion-time)*1s) both; }
.theme-tv-preview[data-market-effects].tde-fx-running .moon-label{ animation:tdeFxWordReveal calc(var(--motion-time)*1s) both; }
.theme-tv-preview[data-market-effects].tde-fx-running .crash-card{ animation:tdeFxNewsEnter calc(var(--motion-time)*1s) both; }
.theme-tv-preview[data-market-effects].tde-fx-running .red-wash{ animation:tdeFxRedWash calc(var(--motion-time)*1s) both; }
.theme-tv-preview[data-market-effects].tde-fx-static .rocket{ bottom:80%; left:70%; }
.theme-tv-preview[data-market-effects].tde-fx-static .exhaust{ bottom:55%; left:68%; height:34%; opacity:.3; }
@keyframes tdeFxNewsEnter{ 0% { transform:translateY(140%); opacity:0; } 12%,84% { transform:translateY(0); opacity:1; } 100% { transform:translateY(140%); opacity:0; } }
@keyframes tdeFxWordReveal{ 0%,22% { opacity:0; } 32%,82% { opacity:1; } 100% { opacity:0; } }
@keyframes tdeFxRocketLaunch{ 0% { bottom:3%; left:3%; transform:rotate(-10deg) scale(.75); opacity:0; } 10% { opacity:1; } 25% { bottom:10%; left:7%; transform:rotate(-10deg); } 70% { bottom:85%; left:72%; opacity:1; } 84%,100% { bottom:119%; left:98%; opacity:0; } }
@keyframes tdeFxRocketExhaust{ 0%,10% { opacity:0; transform:rotate(34deg) scaleY(.1); } 25% { opacity:1; } 70% { left:75%; bottom:58%; opacity:.7; transform:rotate(34deg) scaleY(1.4); } 95%,100% { opacity:0; left:94%; bottom:85%; } }
@keyframes tdeFxRedWash{ 0% { opacity:0; } 14% { opacity:1; } 60%,100% { opacity:0; } }
.theme-tv-preview[data-market-effects].theme-preset-nightclub .rocket{ filter:drop-shadow(0 0 12px #22f55f) drop-shadow(0 0 20px #c04bff); }
.theme-tv-preview[data-market-effects].theme-preset-traders .moon-path{ right:33%; top:14%; height:43%; width:18%; }
.theme-tv-preview[data-market-effects].theme-preset-traders .moon-label{ right:5%; top:61%; font-size:clamp(10px,1.6cqw,19px); }
.theme-tv-preview[data-market-effects].theme-preset-traders .crash-card{ bottom:8%; }
.theme-tv-preview[data-market-effects].theme-preset-pop .moon-path{ right:38%; top:13%; width:24%; height:55%; }
.theme-tv-preview[data-market-effects].theme-preset-pop .moon-label{ top:14%; right:4%; background:#ffe76b; color:#191919; border:1px solid #191919; box-shadow:3px 3px #191919; }
.theme-tv-preview[data-market-effects].theme-preset-pop .crash-card{ background:#ff704e; color:#191919; border:2px solid #191919; box-shadow:3px 3px #191919; bottom:7%; height:8%; }
.theme-tv-preview[data-market-effects].theme-preset-pop .crash-card small{ color:#191919; }
.theme-tv-preview[data-market-effects].theme-preset-pop .crash-card strong{ font-size:2cqw; }
.theme-tv-preview[data-market-effects].theme-preset-pop .crash-card .crash-drop{ font-size:3cqw; }
.theme-tv-preview[data-market-effects].theme-preset-pop .red-wash{ background:radial-gradient(ellipse at 70% 50%,#ff704e30,transparent 75%); }
@media (max-width:640px){
.theme-tv-preview[data-market-effects] .rocket svg{ width:32px; height:32px; }
.theme-tv-preview[data-market-effects] .moon-label{ top:20%; font-size:11px; }
.theme-tv-preview[data-market-effects] .crash-card{ bottom:7.5%; height:12%; }
.theme-tv-preview[data-market-effects] .crash-card strong{ font-size:14px; }
.theme-tv-preview[data-market-effects] .crash-card small{ font-size:9px; }
.theme-tv-preview[data-market-effects] .crash-drop{ font-size:23px; }
.theme-tv-preview[data-market-effects].theme-preset-traders .moon-label{ right:4%; top:17%; }
.theme-tv-preview[data-market-effects].theme-preset-pop .crash-card{ bottom:7.5%; height:12%; }
.theme-tv-preview[data-market-effects].theme-preset-pop .crash-card strong{ font-size:12px; }
.theme-tv-preview[data-market-effects].theme-preset-pop .crash-card small{ display:block; font-size:9px; }
.theme-tv-preview[data-market-effects].theme-preset-pop .crash-card .crash-drop{ font-size:22px; }
}

.theme-tv-preview[data-market-effects] .broadcast { --orb:#28e28b; --dock-scale:.27; position:absolute; inset:0; z-index:14; pointer-events:none; }
.theme-tv-preview[data-market-effects] .broadcast-veil { position:absolute; inset:0; background:#000b; opacity:0; }
.theme-tv-preview[data-market-effects] .news-intro { position:absolute; left:50%; top:43%; width:64%; height:64%; transform:translate(-50%,-50%); }
.theme-tv-preview[data-market-effects] .news-globe { position:absolute; inset:-6% 16%; border-radius:50%; background:radial-gradient(ellipse at 38% 27%,#10397c,#020d36 65%); box-shadow:0 0 50px color-mix(in srgb,var(--orb) 35%,transparent),inset 0 0 28px #0598ef66; overflow:hidden; }
.theme-tv-preview[data-market-effects] .news-globe::before { content:""; position:absolute; inset:9%; border-radius:50%; background:radial-gradient(ellipse at 50% 50%,transparent 47%,#1f94b955 48% 49%,transparent 50%),repeating-linear-gradient(0deg,transparent 0 8%,#0ebbe428 8.5% 9%,transparent 9.5% 15%),repeating-linear-gradient(90deg,transparent 0 13%,#0ebbe427 13.5% 14%,transparent 14.5% 22%); box-shadow:inset 0 0 40px #0059a455; transform:rotate(-18deg); }
.theme-tv-preview[data-market-effects] .news-globe::after { content:""; position:absolute; inset:12%; border-radius:50%; background:radial-gradient(ellipse at 24% 31%,#17c6ec70 0 14%,transparent 15%),radial-gradient(ellipse at 38% 58%,#16aee955 0 13%,transparent 14%),radial-gradient(ellipse at 68% 37%,#17c6ec55 0 18%,transparent 19%),radial-gradient(ellipse at 75% 70%,#17c6ec66 0 9%,transparent 10%); filter:blur(3px); }
.theme-tv-preview[data-market-effects] .orbit { position:absolute; inset:-4% 13%; border:2px solid color-mix(in srgb,var(--orb) 70%,#12bcff); border-radius:50%; box-shadow:0 0 13px color-mix(in srgb,var(--orb) 50%,transparent); }
.theme-tv-preview[data-market-effects] .orbit-a { transform:rotate(-20deg) scaleY(.92); border-top-color:transparent; border-bottom-color:transparent; }
.theme-tv-preview[data-market-effects] .orbit-b { inset:1% 16%; transform:rotate(22deg) scaleY(.94); border-left-color:transparent; }
.theme-tv-preview[data-market-effects] .orbit-c { inset:6% 19%; border-width:1px; opacity:.6; }
.theme-tv-preview[data-market-effects] .news-lockup { position:absolute; inset:26% 3% 12%; transform:skewX(-12deg); filter:drop-shadow(7px 10px 5px #0009); }
.theme-tv-preview[data-market-effects] .live-flag { position:absolute; right:3%; top:-13%; padding:.5% 3%; background:#ffde20; color:#151b2a; font:900 italic 2.1cqw/1.2 Arial,sans-serif; }
.theme-tv-preview[data-market-effects] .breaking-word { position:absolute; inset:0 0 auto; padding:1.8% 5%; background:linear-gradient(#ff6d6d 0%,#e6171e 24%,#bc0004 80%,#f60009 100%); border-top:2px solid #ff9d9d; color:white; border-radius:18px 0 0; font:900 italic 5.3cqw/1.12 Arial,sans-serif; letter-spacing:-.04em; text-align:center; }
.theme-tv-preview[data-market-effects] .news-word { position:absolute; top:43%; right:4%; padding:0 6%; background:linear-gradient(#2853ad,#09125b); color:white; border-top:2px solid #0a8ed7; font:800 italic 4.5cqw/1.2 Arial,sans-serif; }
.theme-tv-preview[data-market-effects] .broadcast-headline { position:absolute; inset:auto 3% 8%; height:12%; padding:0 2% 0 30%; display:flex; align-items:center; justify-content:space-between; gap:12px; background:linear-gradient(90deg,#061744,#0b214e); color:#fff; border-bottom:3px solid #e81d30; box-shadow:0 7px 20px #0008; }
.theme-tv-preview[data-market-effects] .broadcast-story { display:flex; flex-direction:column; gap:3px; font-size:clamp(12px,2.2cqw,25px); font-weight:800; }
.theme-tv-preview[data-market-effects] .broadcast-story small { font:500 clamp(9px,1cqw,12px)/1 Arial,sans-serif; color:#8cbbdd; letter-spacing:.12em; }
.theme-tv-preview[data-market-effects] .broadcast-price { font-size:clamp(16px,3cqw,35px); font-weight:900; white-space:nowrap; font-variant-numeric:tabular-nums; }
.theme-tv-preview[data-market-effects].tde-fx-static .news-intro { left:17%; top:85%; transform:translate(-50%,-50%) scale(var(--dock-scale)); }
.theme-tv-preview[data-market-effects].tde-fx-running .broadcast-veil { animation:tdeFxBroadcastVeil calc(var(--motion-time)*1s) both; }
.theme-tv-preview[data-market-effects].tde-fx-running .news-intro { animation:tdeFxBroadcastDock calc(var(--motion-time)*1s) both; }
.theme-tv-preview[data-market-effects].tde-fx-running .orbit-a { animation:tdeFxOrbitSpin 2.8s linear 3; }
.theme-tv-preview[data-market-effects].tde-fx-running .orbit-b { animation:tdeFxOrbitSpin 4s linear reverse 2; }
.theme-tv-preview[data-market-effects].tde-fx-running .breaking-word { animation:tdeFxBreakingSlide calc(var(--motion-time)*1s) both; }
.theme-tv-preview[data-market-effects].tde-fx-running .news-word { animation:tdeFxNewsSlide calc(var(--motion-time)*1s) both; }
.theme-tv-preview[data-market-effects].tde-fx-running .broadcast-headline { animation:tdeFxBroadcastStory calc(var(--motion-time)*1s) both; }
.theme-tv-preview[data-market-effects].theme-preset-nightclub .broadcast { --orb:#bd4bff; }
.theme-tv-preview[data-market-effects].theme-preset-traders .broadcast { --orb:#50e234; }
.theme-tv-preview[data-market-effects].theme-preset-pop .broadcast { --orb:#00c8ff; }
.theme-tv-preview[data-market-effects].theme-preset-pop .broadcast-headline { background:#244ad9; box-shadow:4px 4px #191919; border:2px solid #191919; }
.theme-tv-preview[data-market-effects].theme-preset-pop .broadcast-story small { color:#ffe76b; }
.theme-tv-preview[data-market-effects] .bull-stage { position:absolute; inset:0; z-index:13; pointer-events:none; }
.theme-tv-preview[data-market-effects] .bull-runner { position:absolute; top:30%; left:30%; width:46%; aspect-ratio:504/290; filter:drop-shadow(0 0 2px #33ec61) drop-shadow(0 0 12px #33ec6166); }
.theme-tv-preview[data-market-effects] .bull-canvas { display:block; width:100%; height:100%; }
.theme-tv-preview[data-market-effects] .bull-dust { position:absolute; width:65%; height:30%; left:-28%; bottom:21%; background:linear-gradient(90deg,transparent,#39e96788); filter:blur(8px); transform:skewX(-20deg); }
.theme-tv-preview[data-market-effects] .bull-floor { position:absolute; left:0; right:0; top:69%; height:1px; background:linear-gradient(90deg,transparent,#48ed6c99,transparent); }
.theme-tv-preview[data-market-effects] .bull-callout { position:absolute; left:3%; right:3%; bottom:8%; height:11%; display:flex; align-items:center; justify-content:space-between; padding:0 2%; background:#081d12; border-left:4px solid var(--green); color:var(--ink); box-shadow:0 0 20px #1ee65422; }
.theme-tv-preview[data-market-effects] .bull-callout strong { color:var(--green); font-size:clamp(18px,3.8cqw,44px); font-weight:900; font-style:italic; }
.theme-tv-preview[data-market-effects] .bull-callout span { font-size:clamp(12px,2cqw,24px); font-weight:700; }
.theme-tv-preview[data-market-effects] .bull-callout b { color:var(--green); font-variant-numeric:tabular-nums; }
.theme-tv-preview[data-market-effects].theme-preset-nightclub .bull-runner { filter:drop-shadow(0 0 3px #22f55f) drop-shadow(0 0 20px #ad3aff99); }
.theme-tv-preview[data-market-effects].theme-preset-nightclub .bull-callout { background:#160a28; }
.theme-tv-preview[data-market-effects].theme-preset-pop .bull-callout { background:#daf2b6; border:2px solid #191919; box-shadow:3px 3px #191919; color:#191919; }
.theme-tv-preview[data-market-effects].theme-preset-pop .bull-callout strong,.theme-tv-preview[data-market-effects].theme-preset-pop .bull-callout b { color:#116c39; }
.theme-tv-preview[data-market-effects].theme-preset-pop .bull-runner { filter:drop-shadow(3px 3px 0 #191919); }
.theme-tv-preview[data-market-effects].tde-fx-running .bull-runner { animation:tdeFxFullBullRun calc(var(--motion-time)*1s) linear both; }
.theme-tv-preview[data-market-effects].tde-fx-running .bull-callout { animation:tdeFxNewsEnter calc(var(--motion-time)*1s) both; }
.theme-tv-preview[data-market-effects].tde-fx-running .bull-floor { animation:tdeFxWordReveal calc(var(--motion-time)*1s) both; }
.theme-tv-preview[data-market-effects] .moon-label { white-space:nowrap; }
.theme-tv-preview[data-market-effects] .rocket svg { width:clamp(28px,5cqw,60px)!important; height:clamp(28px,5cqw,60px)!important; }
.theme-tv-preview[data-market-effects] .bull-runner { aspect-ratio:504/250; }
.theme-tv-preview[data-market-effects] .scratch-canvas { position:absolute; inset:0; width:100%; height:100%; display:block; }
@keyframes tdeFxBroadcastDock { 0% { left:50%;top:43%;opacity:0;transform:translate(-50%,-50%) scale(.65); } 10%,30% { left:50%;top:43%;opacity:1;transform:translate(-50%,-50%) scale(1); } 43%,88% { left:17%;top:85%;opacity:1;transform:translate(-50%,-50%) scale(var(--dock-scale)); } 100% { left:17%;top:108%;opacity:0;transform:translate(-50%,-50%) scale(var(--dock-scale)); } }
@keyframes tdeFxBroadcastVeil { 0% {opacity:0;} 8%,30% {opacity:1;} 43%,100% {opacity:0;} }
@keyframes tdeFxOrbitSpin { from {transform:rotate(0deg) scaleY(.94);} to {transform:rotate(360deg) scaleY(.94);} }
@keyframes tdeFxBreakingSlide { 0%,3% {transform:translateX(-120%);opacity:0;} 12%,100% {transform:none;opacity:1;} }
@keyframes tdeFxNewsSlide { 0%,7% {transform:translateX(100%);opacity:0;} 17%,100% {transform:none;opacity:1;} }
@keyframes tdeFxBroadcastStory { 0%,32% {transform:translateY(130%);opacity:0;} 43%,88% {transform:none;opacity:1;} 100% {transform:translateY(130%);opacity:0;} }
@keyframes tdeFxFullBullRun { 0% {left:-49%;opacity:0;} 6% {opacity:1;} 92% {opacity:1;} 100% {left:109%;opacity:0;} }
@media (max-width:640px) {
 .theme-tv-preview[data-market-effects] .broadcast {--dock-scale:.38;}
 .theme-tv-preview[data-market-effects] .news-intro { width:90%;height:40%; }
 .theme-tv-preview[data-market-effects] .breaking-word { font-size:8cqw;padding:4% 5%; }
 .theme-tv-preview[data-market-effects] .news-word { font-size:7cqw;top:48%; }
 .theme-tv-preview[data-market-effects] .live-flag { font-size:3.4cqw;top:-16%; }
 .theme-tv-preview[data-market-effects] .broadcast-headline { height:13%;padding-left:32%;gap:5px; }
 .theme-tv-preview[data-market-effects] .broadcast-story {font-size:11px;}
 .theme-tv-preview[data-market-effects] .broadcast-story small {font-size:8px;letter-spacing:0;}
 .theme-tv-preview[data-market-effects] .broadcast-price {font-size:15px;}
 .theme-tv-preview[data-market-effects] .bull-runner {width:68%;top:36%;}
 .theme-tv-preview[data-market-effects] .bull-floor {top:66%;}
 .theme-tv-preview[data-market-effects] .bull-callout {height:11%;}
 .theme-tv-preview[data-market-effects] .bull-callout strong {font-size:20px;}
 .theme-tv-preview[data-market-effects] .bull-callout span {font-size:11px;max-width:50%;}
 .theme-tv-preview[data-market-effects] .moon-label {font-size:10px;}
}
@media (prefers-reduced-motion:reduce) { .theme-tv-preview[data-market-effects] .broadcast *,.theme-tv-preview[data-market-effects] .bull-stage * {animation:none!important;} }

.theme-tv-preview[data-market-effects] .tde-fx-layer .moon-label{max-width:80%;white-space:normal;overflow-wrap:anywhere;}
.theme-tv-preview[data-market-effects] .broadcast-story{min-width:0;overflow-wrap:anywhere;}
.theme-tv-preview[data-market-effects] .broadcast-story>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.theme-tv-preview[data-market-effects] .bull-callout>span{max-width:65%;overflow-wrap:anywhere;text-align:right;}
.theme-tv-preview[data-market-effects] .crash-card small{display:block;max-width:65cqw;}
.theme-tv-preview[data-market-effects] .crash-drop{font-size:clamp(12px,2.2cqw,36px)!important;}
.theme-tv-preview[data-market-effects].tde-fx-static .tde-fx-layer *{animation:none!important;}
.theme-tv-preview[data-market-effects].tde-fx-static .bull-runner{left:28%;}
.theme-tv-preview[data-market-effects].tde-fx-static .rocket{bottom:65%;left:60%;}
.theme-tv-preview[data-market-effects] .rocket{font-size:5cqw;line-height:1;}
@media(prefers-reduced-motion:reduce){.theme-tv-preview[data-market-effects] .tde-fx-layer *{animation:none!important;}}
