/* SIGNAL MONSTER V8.12.0 — Screenshot-led market screen pass. */
:root{--sm12-panel:#0b1b2d;--sm12-border:#29445c;--sm12-cyan:#42e0d7;--sm12-red:#fa5979}
#marketPage>.hero:first-child{margin-bottom:12px!important}
#marketPage .grid{gap:14px!important;align-items:start}
#marketPage .grid>.stack{min-width:0}
#marketPage .grid>.stack:first-child>section.panel:first-child{background:linear-gradient(150deg,#102439,#081626)!important}
/* Use ONLY the real Binance 1s spot chart. The auxiliary chart was duplicating it. */
#smV86MainSpot,#sm15Chart,#marketChartSvg{display:none!important}
#sm77Chart{display:block!important;height:clamp(265px,27vw,355px)!important;border:1px solid #29506a;border-radius:15px;background:linear-gradient(#0c2438,#061626)!important;margin-top:9px}
#sm77Chart svg{display:block!important;width:100%!important;height:100%!important}
/* Hide legacy duplicate price+timer row. sm87PriceHeader is the single canonical summary. */
#marketPage .grid>.stack:first-child>section.panel:first-child>.row:first-of-type{display:none!important}
#sm87PriceHeader{grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr) minmax(120px,.6fr)!important;min-height:82px;align-items:center;padding:2px 0 14px!important;margin-bottom:12px!important;gap:15px!important}
#sm87PriceHeader .sm87-price-number{font-variant-numeric:tabular-nums;font-size:clamp(20px,2.6vw,32px)!important}
#sm87PriceHeader .sm87-clock span{color:#ef6880!important;text-shadow:0 0 16px #e9396233;font-variant-numeric:tabular-nums}
#sm812ChartSource{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0 0;font-size:11px;line-height:1.45;color:#a8cbdc}
#sm812SpotState{font-weight:850;letter-spacing:.03em;border:1px solid #34566b;border-radius:6px;padding:4px 8px;color:#d7e7f5;background:#15304a}
#sm812SpotState[data-state="SPOT"]{border-color:#277b72;color:#76eed2}
#sm812SpotState[data-state="STALE"],#sm812SpotState[data-state="OFFLINE"]{border-color:#86525b;color:#ffafc0}
#sm812StartNote{font-size:11px;color:#b5cada}
#sm812HistoryRow{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:9px 0 0}
#sm812HistoryRow .history-trigger{min-height:40px}
#sm812HistoryRow .chart-tools{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:5px}
#sm812HistoryRow .chart-tools button{border:1px solid #32526d;border-radius:9px;background:#0e263b;color:#c6e6f4;min-height:35px}
#sm87Moves{border-top:1px solid #19394f;margin-top:10px;padding:10px 0 3px!important}
#sm77Rounds,#smV86History,#sm87ChartFooter{display:none!important}
/* One coherent quote presentation (Gamma/CLOB REST), no copies showing older archive data. */
#liveTradeQuote,#sm77TradePrice,#sm77TradeEstimate,#sm77Confirm,#sm77TradeMsg,#sm87BuyPayout,#smV86SellValue{display:none!important}
#tradeActions+#sm811Desk{margin:11px 0!important}
#sm811Desk{box-shadow:none!important;border-color:#30566e!important;background:#0a2033!important}
#sm811Desk .sm811-prices strong{font-size:clamp(18px,2vw,25px)!important}
#sm811Desk .sm811-heading{flex-wrap:wrap}
#sm811Desk .sm811-warning{font-size:10px}
#sm811Desk .sm811-meta{font-size:10px;line-height:1.4}
#sm811Desk #sm811Estimate{font-weight:750;line-height:1.5}
#sides button.selected{box-shadow:inset 0 -2px #46dac5,0 0 16px #1ae5d21c}
#tradeActions .trade-action.active{border-color:#4be1d5!important}
#tradeAmountControl{border:0;padding:0}
#sm87AmountExtras{margin-top:9px}
#sm87AmountExtras button{border:1px solid #33546d!important;border-radius:9px;background:#142c44;color:#d7f3fb}
#sellPercentButtons button{min-height:43px}
#simulateBtn{letter-spacing:.03em!important;font-size:13px!important}
/* Approved six analytics cards: collapse instead of a second six-cell table. */
#marketPage .insight-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#sm812StatsToggle{border-radius:9px;border:1px solid #3c647a;background:#11334a;color:#a6eff0;min-height:35px;padding:7px 11px;font-size:11px;font-weight:750;cursor:pointer}
#marketPage .health-grid[data-collapsed="true"]{display:none!important}
#marketPage .stack:first-child>section.panel:has(#analyticsBtn){display:none!important}
#marketPage .forecast-heading{margin-top:15px}
#smYodaDuo .forecast-card{background:linear-gradient(140deg,#10253a,#07192b)!important}
#sm812QuoteBanner{display:flex;gap:9px;align-items:center;justify-content:space-between;margin:9px 0 2px;font-size:11px;color:#9ebdd2}
#sm812QuoteBanner strong{color:#c8e6f2}
@media(max-width:1000px){#sm87PriceHeader{gap:10px!important}}
@media(max-width:760px){#sm87PriceHeader{grid-template-columns:1fr 1px 1fr!important}#sm87PriceHeader .sm87-clock{grid-column:1/-1!important;text-align:left!important}#sm77Chart{height:260px!important}#sm812HistoryRow{align-items:flex-start;flex-direction:column}}
@media(max-width:430px){#sm812HistoryRow .chart-tools button{padding:6px 8px;font-size:11px}#sm87PriceHeader .sm87-price-number{font-size:clamp(17px,5vw,23px)!important}#sm811Desk .sm811-prices{gap:6px}#sm811Desk .sm811-prices>div{padding:9px!important}}
/* Visual QA fix: remove obsolete 7.9 / 8.1 quote blocks and old calculation values. */
#sm79Quotes,#sm81History{display:none!important}
#marketPage .grid>.stack:first-child>section.panel:first-child>#sm87PriceHeader + .row{display:none!important}
#marketPage .grid>.stack:last-child>section.panel:has(#tradeActions) .row:has(#askPrice),
#marketPage .grid>.stack:last-child>section.panel:has(#tradeActions) .row:has(#payout),
#marketPage .grid>.stack:last-child>section.panel:has(#tradeActions) .row:has(#profit),
#marketPage .grid>.stack:last-child>section.panel:has(#tradeActions) .row:has(#smv76PayoutValue),
#marketPage .grid>.stack:last-child>section.panel:has(#tradeActions) .row:has(#smv76ProfitValue){display:none!important}
/* The old calculation would use archive quotes; only the live REST snapshot may display an indicative estimate. */
#smv76TradeSummary,#smv76TradePayoff{display:none!important}
/* V8.12 final visual dedupe: old legacy calculator widgets still had contradictory archival prices. */
#smv76QuoteStrip,#smv76Payout{display:none!important}
