.gf-screener-mode { display:flex; gap:5px; width:fit-content; margin:0 0 16px;
  padding:4px; border:1px solid #253d58; background:#101b2b; border-radius:12px }
.gf-screener-mode button,.gf-screener-toolbar button { color:#b2c6df; background:transparent;
  border:1px solid transparent; border-radius:8px; font:inherit; font-size:.84rem;
  font-weight:650; min-height:38px; padding:0 13px; white-space:nowrap }
.gf-screener-mode button[aria-pressed="true"],.gf-screener-toolbar button[aria-pressed="true"] {
  color:#e8f6ff; background:#173858; border-color:#426d98 }
.gf-screener-panel[hidden],.gf-screener-state[hidden],.gf-screener-panel [hidden] { display:none!important }
.gf-screener-toolbar { position:sticky; top:0; z-index:6; display:flex; gap:4px; overflow-x:auto;
  overscroll-behavior-x:contain; scrollbar-width:none; padding:6px 4px; margin-bottom:10px;
  background:#0d1725; border:1px solid #243a54; border-radius:12px }
.gf-screener-toolbar::-webkit-scrollbar { display:none }
.gf-screener-toolbar button { flex:0 0 auto; padding:0 10px; min-width:40px }
.gf-screener-feed { display:grid; gap:12px; padding-bottom:12px }
.gf-screener-card { min-width:0; contain:layout paint; border:1px solid #273d5a;
  border-radius:15px; background:linear-gradient(155deg,#10264d 0%,#050b18 100%);
  color:#eaf3ff; overflow:hidden; touch-action:pan-y }
.gf-screener-header { display:flex; align-items:center; justify-content:space-between;
  gap:8px; padding:12px 12px 4px; min-width:0 }
.gf-screener-identity { display:flex; align-items:center; gap:8px; min-width:0 }
.gf-screener-identity b { display:block; overflow-wrap:anywhere; font-size:.96rem }
.gf-screener-header small,.gf-screener-card footer small { display:block; color:#a2b5cc; font-size:.72rem }
.gf-screener-quote { display:grid; gap:3px; text-align:right; font-variant-numeric:tabular-nums;
  font-size:.87rem; flex:0 0 auto }
.gf-screener-quote .positive { color:#46d5b2 }
.gf-screener-quote .negative { color:#f98ca9 }
.gf-screener-quote .flat { color:#a2b5cc }
.gf-screener-plot { position:relative; width:100%; aspect-ratio:400/191; touch-action:pan-y }
.gf-screener-svg { width:100%; height:100%; pointer-events:none }
.gf-screener-svg svg { width:100%; height:100%; display:block }
.gf-screener-svg text { fill:#afc2db; font-family:inherit; font-size:10px }
.gf-screener-grid { fill:none; stroke:#557193; stroke-opacity:.36; stroke-width:.7 }
.gf-screener-state { position:absolute; inset:0; display:flex; flex-direction:column;
  justify-content:center; align-items:center; gap:8px; color:#bccce3; font-size:.84rem;
  text-align:center; padding:10px; background:#091427c9 }
.gf-screener-state button,.gf-screener-card footer button { color:#d9eeff; background:#17324d;
  border:1px solid #315775; border-radius:8px; min-height:40px; padding:0 10px; font:inherit }
.gf-screener-card footer { display:flex; align-items:center; gap:7px; padding:0 10px 8px;
  min-height:45px; font-size:.78rem }
.gf-screener-card footer span { color:#bae0ff; background:#102b48; border-radius:6px; padding:3px 6px; flex:none }
.gf-screener-card footer small { flex:1 }
.gf-screener-card footer button { margin-left:auto; min-width:42px; flex:none }
.gf-screener-empty { color:#a2b5cc; text-align:center; padding:24px 8px }
@media(min-width:780px) { .gf-screener-plot { aspect-ratio:auto; height:280px } }

/* GASFINA_MARKET_DUAL_SORT_2 */
.gf-market-sort-combined[hidden] { display: none !important; }
.gf-market-sort-combined {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 justify-content: space-between;
 gap: 7px 14px;
 padding: 8px 10px;
 margin: 0 0 10px;
 border: 1px solid #28445f;
 border-radius: 10px;
 background: #101e2e;
 color: #b9d0e7;
 font-size: .8rem;
}
.gf-market-sort-combined label {
 display: flex;
 align-items: center;
 gap: 9px;
 font-weight: 650;
}
.gf-market-sort-combined select {
 min-height: 36px;
 border: 1px solid #426c95;
 border-radius: 7px;
 padding: 3px 8px;
 background: #183354;
 color: #edf5ff;
 font: inherit;
}
.gf-market-sort-combined p { margin: 0; color: #9fb8d1; }

/* GASFINA_SCREENER_LIVE_3 */
.gf-screener-card footer small.gf-screener-live {
 color:#3de4b5;
 font-weight:650;
}

/* GASFINA_SCREENER_HISTORY_4 */
.gf-screener-meta { flex:1; min-width:0; display:grid; gap:2px }
.gf-screener-meta small + small { font-variant-numeric:tabular-nums }
.gf-screener-card footer button[title] { margin-left:0 }

/* GASFINA_MARKET_TOP_MOVES_6 */
#screen-markets .market-sort-group { flex-wrap: wrap; max-width: 100%; }

/* GASFINA_MARKET_VOLATILITY_7 */
.gf-market-sort-combined label[hidden], .gf-market-sort-combined p[hidden], .gf-market-volatility:empty { display: none; }
.gf-market-sort-combined p { flex-basis: 100%; }
.gf-market-volatility { display: block; color: #a6cbe6; font-size: .72rem; line-height: 1.35; }
