/* ═══════════════════════════════════════════════════════════════
   HOME OVERVIEW & B3 RADAR MODULE STYLES — Self-Contained Styling
   ═══════════════════════════════════════════════════════════════ */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.kpi-card {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kpi-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.kpi-value {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--text-primary);
}

.kpi-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.engine-cta-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-bot-activate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 197, 94, 0.52);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(16, 185, 129, 0.12));
  color: #bbf7d0;
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.16);
  transition: transform var(--transition-fast), filter var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-bot-activate:hover {
  transform: translateY(-1px);
  filter: brightness(1.14);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.28);
}

.btn-bot-deactivate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(236, 72, 153, 0.58);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.24), rgba(239, 68, 68, 0.16));
  color: #fbcfe8;
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.18);
  transition: transform var(--transition-fast), filter var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-bot-deactivate:hover {
  transform: translateY(-1px);
  filter: brightness(1.14);
  box-shadow: 0 0 24px rgba(236, 72, 153, 0.3);
}

.active-setup-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  background: rgba(15, 15, 35, 0.55);
  border: var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.setup-badge {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.setup-key {
  font-size: 0.71rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.setup-badge strong {
  font-size: 0.85rem;
}

.status-ok {
  color: var(--color-success);
}

.status-tripped {
  color: var(--color-error);
}

.open-pos-box {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.open-pos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-long {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 6px;
}

.badge-short {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 6px;
}

.btn-close-home {
  background: rgba(236, 72, 153, 0.2);
  border: 1px solid rgba(236, 72, 153, 0.5);
  color: #fbcfe8;
  font-family: var(--font-family);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-close-home:hover {
  background: rgba(236, 72, 153, 0.36);
}

.open-pos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  font-size: 0.82rem;
}

.open-pos-grid span {
  color: var(--text-secondary);
}

.open-pos-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.open-pos-item + .open-pos-item {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-widgets-slot {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.live-monitor-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(9, 9, 20, 0.72);
  border: 1px solid rgba(139, 92, 246, 0.28);
}

.live-heartbeat-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.live-heartbeat-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.radar-beacon {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f59e0b;
  flex-shrink: 0;
}

.radar-beacon.is-online {
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
}

.live-heartbeat-label {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #e2e8f0;
}

.live-heartbeat-metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hb-pill {
  font-size: 0.73rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.hb-pill strong {
  color: #f8fafc;
}

.coins-pane-host {
  flex: 1;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.coins-pane {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.coins-pane-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.coins-pane-stats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.coins-stat {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.coins-stat.is-approved {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
}

.coins-stat.is-sell {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.4);
}

.coins-stat.is-hot {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.4);
}

.coin-filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.coin-filter-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.coin-filter-chip.is-active {
  color: #ffffff;
  background: var(--gradient-subtle);
  border-color: rgba(236, 72, 153, 0.45);
}

.coin-grid {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  align-content: start;
}

.coin-grid-empty {
  grid-column: 1 / -1;
  padding: 24px 12px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.coin-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-family);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.coin-card:hover {
  border-color: rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.09);
}

.coin-card.is-hot {
  border-color: rgba(245, 158, 11, 0.55);
}

.coin-card.has-position {
  border-color: rgba(34, 197, 94, 0.65);
  background: rgba(34, 197, 94, 0.09);
}

.coin-card.is-selected {
  border-color: #ec4899;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.16), rgba(139, 92, 246, 0.16));
}

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

.coin-card-symbol {
  font-size: 1rem;
}

.coin-badge {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.coin-badge.is-approved {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
}

.coin-badge.is-sell-bias {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.coin-badge.is-open {
  background: rgba(34, 197, 94, 0.3);
  color: #bbf7d0;
}

.coin-badge.is-short-open {
  background: rgba(239, 68, 68, 0.3);
  color: #fecaca;
}

.coin-card-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.coin-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.coin-card-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
}

.score-pips {
  display: inline-flex;
  gap: 3px;
}

.score-pip {
  width: 14px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}

.score-pip.is-on {
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
}

.score-text {
  color: #e2e8f0;
  font-weight: 700;
}

.coin-pf {
  margin-left: auto;
  color: var(--text-muted);
}

.hunter-tag {
  font-size: 0.56rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

.coin-inspector {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.coin-inspector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.coin-inspector-sub {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.btn-radar-bet {
  background: var(--gradient-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

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

.radar-check-card {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.radar-check-card.is-ready {
  background: rgba(34, 197, 94, 0.09);
  border-color: rgba(34, 197, 94, 0.35);
}

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

.radar-check-name {
  font-size: 0.71rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.radar-check-pill {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.16);
  color: #c4b5fd;
}

.radar-check-card.is-ready .radar-check-pill {
  background: rgba(34, 197, 94, 0.22);
  color: #86efac;
}

.radar-check-detail {
  font-size: 0.79rem;
}

.live-feed-terminal {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: rgba(4, 4, 12, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.74rem;
}

.feed-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #cbd5e1;
}

.feed-ts {
  color: #a78bfa;
}

.feed-cycle {
  color: #f472b6;
  font-weight: 700;
}

.feed-price {
  color: #38bdf8;
  font-weight: 600;
}

.feed-trade .feed-msg {
  color: #86efac;
  font-weight: 700;
}

.feed-warn .feed-msg {
  color: #fcd34d;
  font-weight: 700;
}

.news-catalyst-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 13px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.08), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(236, 72, 153, 0.28);
}

.news-catalyst-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.news-catalyst-title {
  font-size: 0.74rem;
  color: #f9a8d4;
  letter-spacing: 0.02em;
}

.news-catalyst-count {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.news-picks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-pick-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
}

.news-pick-pill.is-bull {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.42);
  color: #6ee7b7;
}

.news-pick-pill.is-bear {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.42);
  color: #fca5a5;
}

.news-headlines-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-headline-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.71rem;
  color: #e2e8f0;
  min-width: 0;
}

.news-hl-badge {
  flex-shrink: 0;
  font-size: 0.64rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.news-hl-badge.is-bull {
  background: rgba(16, 185, 129, 0.2);
  color: #86efac;
}

.news-hl-badge.is-bear {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.news-hl-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-tag {
  font-size: 0.61rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.news-tag.is-bull {
  background: rgba(16, 185, 129, 0.18);
  color: #6ee7b7;
}

.news-tag.is-bear {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.stock-news-note {
  font-size: 0.72rem;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  line-height: 1.35;
}

.stock-news-note.is-bull {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
}

.stock-news-note.is-bear {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

@media (max-width: 1180px) {
  .coins-pane-host {
    height: auto;
  }

  .coin-grid {
    overflow: visible;
  }
}

@media (max-width: 960px) {
  .kpi-grid,
  .active-setup-strip,
  .open-pos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .kpi-grid,
  .active-setup-strip,
  .open-pos-grid,
  .coin-grid,
  .coin-radar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .coins-pane {
    padding: 14px;
  }

  .kpi-value {
    font-size: 1.06rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RAIO-X INSTITUCIONAL & MATRIZ SETORIAL (-10 A +10)
   ═══════════════════════════════════════════════════════════════ */

.xray-confluence-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
}

.xray-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.xray-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.xray-cal-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
}

.xray-cal-pill.is-active {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.18);
  color: #fde68a;
}

.xray-full-pill {
  font-size: 0.67rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.xray-full-pill.is-bull {
  border: 1px solid rgba(236, 72, 153, 0.55);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.24), rgba(139, 92, 246, 0.26));
  color: #a7f3d0;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.22);
}

.xray-full-pill.is-bear {
  border: 1px solid rgba(244, 63, 94, 0.55);
  background: rgba(244, 63, 94, 0.2);
  color: #fecdd3;
}

.xray-struct-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 5px;
  border-top: 1px dashed rgba(255, 255, 255, 0.09);
  font-size: 0.67rem;
  color: #cbd5e1;
}

.xray-info-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 0.74rem;
  font-weight: 700;
  color: #fbcfe8;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.22));
  border: 1px solid rgba(236, 72, 153, 0.5);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.xray-info-pill:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.36), rgba(139, 92, 246, 0.36));
  color: #ffffff;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.28);
}

.xray-main-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1.15fr) minmax(0, 1.15fr);
  gap: 14px;
  align-items: stretch;
}

.xray-gauge-box,
.xray-bars-box,
.xray-subcard {
  background: rgba(9, 9, 22, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 13px 14px;
}

.xray-gauge-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.xray-gauge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.xray-sym-tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: #f8fafc;
}

.xray-verdict-badge {
  font-size: 0.66rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.xray-verdict-badge.is-bull {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.42);
}

.xray-verdict-badge.is-bear {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.42);
}

.xray-verdict-badge.is-neutral {
  background: rgba(139, 92, 246, 0.18);
  color: #ddd6fe;
  border: 1px solid rgba(139, 92, 246, 0.38);
}

.xray-svg-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.xray-gauge-svg {
  width: 168px;
  height: 94px;
}

.xray-score-center {
  margin-top: -34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.xray-score-num {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
}

.xray-mult-tag {
  font-size: 0.66rem;
  color: var(--text-secondary);
}

.xray-leds-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.xray-tf-led {
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 4px 4px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xray-tf-led.is-bull {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.36);
}

.xray-tf-led.is-bear {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.36);
}

.xray-bars-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.xray-bipolar-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.xray-bipolar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
}

.xray-bipolar-label {
  color: var(--text-secondary);
}

.xray-bipolar-track {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.xray-bipolar-zero {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.38);
  z-index: 2;
}

.xray-bipolar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.xray-bipolar-fill.is-pos {
  background: linear-gradient(90deg, #8b5cf6, #10b981);
}

.xray-bipolar-fill.is-neg {
  background: linear-gradient(90deg, #ef4444, #ec4899);
}

.xray-crowd-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.xray-subcard {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.xray-subcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.73rem;
  color: var(--text-secondary);
}

.xray-mini-tag {
  font-size: 0.66rem;
  color: #f472b6;
}

.xray-crowd-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.35);
  overflow: hidden;
}

.xray-crowd-long {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399);
  transition: width 0.25s ease;
}

.xray-crowd-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
}

.xray-vwap-txt {
  color: #cbd5e1;
}

.xray-trapped-desc {
  margin: 0;
  font-size: 0.71rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.xray-rel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.xray-rel-chip {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 7px;
}

.xray-rel-chip.is-strong {
  background: rgba(16, 185, 129, 0.16);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.32);
}

.xray-rel-chip.is-weak {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.32);
}

.xray-rel-empty {
  font-size: 0.71rem;
  color: var(--text-muted);
}

@media (max-width: 1080px) {
  .xray-main-grid {
    grid-template-columns: 1fr;
  }
}
