/* ═══════════════════════════════════════════════════════════════
   ARENA COCKPIT MODULE STYLES — Binomo-Inspired 1-Click Terminal
   ═══════════════════════════════════════════════════════════════ */

.binomo-cockpit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 256px;
  gap: 10px;
  height: 100%;
  min-height: 540px;
}

/* ── Palco Central do Gráfico (84%) ── */
.cockpit-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 15%, rgba(139, 92, 246, 0.09), transparent 52%),
    radial-gradient(circle at 82% 85%, rgba(236, 72, 153, 0.07), transparent 50%),
    #090b16;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.cockpit-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(12, 14, 28, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  z-index: 4;
}

.cockpit-assets-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
}

.cockpit-plus-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.cockpit-plus-btn:hover {
  border-color: #ec4899;
  background: rgba(236, 72, 153, 0.2);
}

.cockpit-asset-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cockpit-asset-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.cockpit-asset-tab:hover {
  color: #ffffff;
  border-color: rgba(139, 92, 246, 0.45);
}

.cockpit-asset-tab.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(139, 92, 246, 0.24));
  border-color: rgba(236, 72, 153, 0.65);
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.18);
}

.hot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}

.cockpit-quote-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cockpit-live-quote {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.cockpit-price-num {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  border-radius: 5px;
  padding: 1px 4px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.cockpit-price-num.quote-flash-up {
  animation: quoteFlashUp 0.65s ease-out;
}

.cockpit-price-num.quote-flash-down {
  animation: quoteFlashDown 0.65s ease-out;
}

@keyframes quoteFlashUp {
  0% {
    color: #6ee7b7;
    background-color: rgba(16, 185, 129, 0.28);
  }
  100% {
    color: #ffffff;
    background-color: transparent;
  }
}

@keyframes quoteFlashDown {
  0% {
    color: #fda4af;
    background-color: rgba(244, 63, 94, 0.28);
  }
  100% {
    color: #ffffff;
    background-color: transparent;
  }
}

.arena-session-overlay {
  position: absolute;
  top: 10px;
  left: 14px;
  z-index: 6;
  pointer-events: none;
}

.chart-session-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.chart-session-pill.is-live {
  background: rgba(10, 24, 22, 0.82);
  border: 1px solid rgba(16, 185, 129, 0.42);
  color: #a7f3d0;
}

.chart-session-pill.is-closed {
  background: rgba(18, 16, 34, 0.88);
  border: 1px solid rgba(245, 158, 11, 0.38);
  color: #fde68a;
}

.session-live-dot,
.session-closed-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.session-live-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: sessionLedPulse 1.6s ease-in-out infinite;
}

.session-closed-dot {
  background: #f59e0b;
  box-shadow: 0 0 7px #f59e0b;
  animation: sessionLedPulse 2.4s ease-in-out infinite;
}

@keyframes sessionLedPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.28);
    opacity: 0.55;
  }
}

.chart-switch-24h-btn {
  margin-left: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(236, 72, 153, 0.65);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.28), rgba(139, 92, 246, 0.32));
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.chart-switch-24h-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
}

.cockpit-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(139, 92, 246, 0.42);
  background: rgba(139, 92, 246, 0.14);
  color: #e9d5ff;
  font-family: var(--font-family);
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cockpit-tech-pill:hover {
  border-color: #ec4899;
  background: rgba(236, 72, 153, 0.2);
}

.tech-star {
  color: #fbbf24;
}

.cockpit-clock {
  font-size: 0.72rem;
  color: #94a3b8;
}

.arena-candle-stage {
  flex: 1 1 auto;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.arena-candle-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.arena-chart-empty {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.cockpit-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 14px;
  background: rgba(12, 14, 28, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 4;
}

.cockpit-ai-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #cbd5e1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hint-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ec4899;
  box-shadow: 0 0 8px #ec4899;
  flex-shrink: 0;
}

.cockpit-zoom-box {
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 18, 36, 0.85);
  overflow: hidden;
  flex-shrink: 0;
}

.zoom-icon-btn {
  width: 30px;
  height: 26px;
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.zoom-icon-btn:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.zoom-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.cockpit-cash-mini {
  font-size: 0.73rem;
  color: #94a3b8;
  white-space: nowrap;
}

/* ── Gavetas Flutuantes Sob Demanda (Zero Poluição Visual) ── */
.cockpit-drawer {
  position: absolute;
  top: 90px;
  bottom: 46px;
  z-index: 20;
  background: rgba(13, 15, 31, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.38);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  overflow-y: auto;
}

.cockpit-drawer.is-left {
  left: 12px;
  width: min(360px, calc(100% - 24px));
}

.cockpit-drawer.is-center {
  left: 12px;
  right: 12px;
  max-width: 780px;
  margin: 0 auto;
}

.cockpit-drawer.is-right {
  right: 12px;
  width: min(350px, calc(100% - 24px));
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.drawer-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.drawer-close-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.drawer-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.drawer-go-btn {
  padding: 0 16px !important;
  font-size: 0.82rem !important;
}

.drawer-assets-list,
.drawer-trades-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow-y: auto;
}

.drawer-asset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: var(--font-family);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.drawer-asset-row:hover {
  border-color: rgba(236, 72, 153, 0.5);
  background: rgba(236, 72, 153, 0.1);
}

.drawer-asset-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-asset-sub {
  font-size: 0.69rem;
  color: var(--text-secondary);
}

.drawer-asset-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
}

.mini-bias-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

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

.mini-bias-tag.is-down {
  background: rgba(244, 63, 94, 0.18);
  color: #fda4af;
}

.drawer-empty-state {
  padding: 24px 12px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-trade-card {
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.drawer-trade-top,
.drawer-trade-meta,
.drawer-trade-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
}

.btn-close-trade-mini {
  padding: 4px 10px;
  border-radius: 7px;
  border: 1px solid rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.16);
  color: #fecdd3;
  font-size: 0.71rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-close-trade-mini:hover {
  background: rgba(244, 63, 94, 0.32);
}

/* ── Coluna Direita Minimalista Estilo Binomo (256px) ── */
.cockpit-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  height: 100%;
  background: rgba(14, 16, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.cockpit-trades-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cockpit-trades-btn:hover {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.12);
}

.trades-btn-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trades-count-pill {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.73rem;
  color: #cbd5e1;
}

.trades-count-pill.has-open {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #ffffff;
}

.cockpit-control-wrap {
  position: relative;
}

.cockpit-stepper-box {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  min-height: 54px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(9, 11, 23, 0.85);
  overflow: hidden;
}

.cockpit-stepper-box:focus-within {
  border-color: #ec4899;
  box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.18);
}

.stepper-side-btn {
  height: 100%;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.stepper-side-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.stepper-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 2px;
}

.stepper-label {
  font-size: 0.67rem;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.stepper-input-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.stepper-prefix {
  font-size: 0.88rem;
  font-weight: 700;
  color: #cbd5e1;
}

.stepper-input {
  width: 56px;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}

.stepper-static-val {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
}

.stake-presets-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 25;
  padding: 8px;
  border-radius: 11px;
  background: rgba(16, 18, 38, 0.98);
  border: 1px solid rgba(236, 72, 153, 0.45);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.65);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.stake-preset-btn {
  padding: 7px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.stake-preset-btn:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(139, 92, 246, 0.3));
  border-color: #ec4899;
}

.cockpit-lev-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.lev-row-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
}

.lev-seg-group {
  display: inline-flex;
  gap: 4px;
}

.lev-seg-btn {
  padding: 3px 9px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  font-size: 0.71rem;
  font-weight: 700;
  cursor: pointer;
}

.lev-seg-btn.is-active {
  background: rgba(139, 92, 246, 0.28);
  border-color: rgba(139, 92, 246, 0.65);
  color: #ffffff;
}

/* ── Receita / Alvo + Termômetro de Opinião ── */
.cockpit-payout-card {
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.payout-top-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.payout-label {
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 600;
}

.payout-pct {
  font-size: 0.76rem;
  font-weight: 700;
  color: #fbbf24;
}

.payout-brl {
  font-size: 0.98rem;
  font-weight: 800;
}

.payout-sub-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #94a3b8;
}

.cockpit-sentiment-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 2px;
}

.sentiment-head {
  font-size: 0.71rem;
  color: #94a3b8;
  font-weight: 600;
}

.sentiment-bar-track {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.sentiment-bar-up {
  background: #10b981;
  height: 100%;
  transition: width 0.3s ease;
}

.sentiment-bar-down {
  background: #f43f5e;
  height: 100%;
  transition: width 0.3s ease;
}

.sentiment-pcts {
  display: flex;
  justify-content: space-between;
  font-size: 0.71rem;
  font-weight: 700;
}

/* ── Botões Gigantes de 1 Clique (PARA CIMA ↑ / PARA BAIXO ↓) ── */
.cockpit-cta-stack {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-binomo-action {
  width: 100%;
  min-height: 62px;
  padding: 10px 16px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-family: var(--font-family);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.2s ease;
}

.btn-binomo-action.is-up {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.28);
}

.btn-binomo-action.is-down {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  box-shadow: 0 8px 22px rgba(244, 63, 94, 0.28);
}

.btn-binomo-action.is-up.is-recommended {
  box-shadow: 0 0 0 2px rgba(110, 231, 183, 0.7), 0 10px 26px rgba(16, 185, 129, 0.42);
}

.btn-binomo-action.is-down.is-recommended {
  box-shadow: 0 0 0 2px rgba(253, 164, 175, 0.7), 0 10px 26px rgba(244, 63, 94, 0.42);
}

.btn-binomo-action:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-binomo-action:active:not(:disabled) {
  transform: translateY(0);
}

.btn-binomo-action:disabled {
  opacity: 0.6;
  cursor: wait;
}

.binomo-arrow {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.binomo-btn-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.binomo-btn-txt strong {
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.binomo-btn-txt small {
  font-size: 0.69rem;
  opacity: 0.9;
}

.cockpit-micro-help {
  font-size: 0.67rem;
  color: #64748b;
  text-align: left;
  line-height: 1.35;
  padding-right: 42px;
}

/* ── Grid das 6 Técnicas dentro da Gaveta Opcional ── */
.arena-techniques-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

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

.tech-rank-card:hover {
  border-color: rgba(139, 92, 246, 0.55);
  background: rgba(139, 92, 246, 0.08);
}

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

.tech-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tech-rank-badge {
  font-size: 0.66rem;
  font-weight: 700;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.tech-side-pill {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.tech-side-pill.is-long {
  background: rgba(16, 185, 129, 0.2);
  color: #86efac;
}

.tech-side-pill.is-short {
  background: rgba(244, 63, 94, 0.2);
  color: #fca5a5;
}

.tech-card-title {
  font-size: 0.9rem;
}

.tech-card-desc {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.tech-stats-row,
.tech-levels-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.71rem;
  color: var(--text-secondary);
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Faixa Bússola Macro Ao Vivo (6 Termômetros Globais + Painéis) ── */
.cockpit-macro-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 14px;
  background: linear-gradient(90deg, rgba(16, 19, 38, 0.92), rgba(20, 15, 38, 0.88));
  border-bottom: 1px solid rgba(139, 92, 246, 0.16);
  z-index: 4;
}

.macro-verdict-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 25px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  font-family: var(--font-family);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.macro-verdict-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(236, 72, 153, 0.55);
}

.macro-compass-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 7px #a855f7;
  flex-shrink: 0;
}

.macro-verdict-pill.is-bull {
  border-color: rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.14);
  color: #86efac;
}

.macro-verdict-pill.is-bull .macro-compass-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.macro-verdict-pill.is-bear {
  border-color: rgba(244, 63, 94, 0.48);
  background: rgba(244, 63, 94, 0.14);
  color: #fda4af;
}

.macro-verdict-pill.is-bear .macro-compass-dot {
  background: #f43f5e;
  box-shadow: 0 0 8px #f43f5e;
}

.macro-verdict-pill.is-alert {
  border-color: rgba(245, 158, 11, 0.55);
  background: rgba(245, 158, 11, 0.16);
  color: #fde68a;
}

.macro-verdict-pill.is-alert .macro-compass-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.macro-tickers-track {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.macro-tickers-track::-webkit-scrollbar {
  display: none;
}

.macro-ticker-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
  font-size: 0.67rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.macro-ticker-chip strong {
  color: #f8fafc;
  font-weight: 700;
}

.macro-ticker-chip small {
  font-size: 0.65rem;
  font-weight: 700;
}

.macro-ticker-chip.is-bull small {
  color: #34d399;
}

.macro-ticker-chip.is-bear small {
  color: #fb7185;
}

.macro-ticker-chip.is-neutral small {
  color: #94a3b8;
}

.macro-radars-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 25px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(236, 72, 153, 0.42);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.16), rgba(139, 92, 246, 0.18));
  color: #fbcfe8;
  font-family: var(--font-family);
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.macro-radars-btn:hover {
  border-color: #ec4899;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.28), rgba(139, 92, 246, 0.3));
  color: #ffffff;
}

/* ── Gaveta 4: Bússola Macro & Painéis Externos ── */
.macro-drawer-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.macro-focus-banner {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.32);
  font-size: 0.78rem;
  color: #e2e8f0;
  line-height: 1.4;
}

.macro-tides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.macro-tide-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.macro-tide-kicker {
  font-size: 0.69rem;
  color: #94a3b8;
  font-weight: 600;
}

.macro-tide-box small {
  font-size: 0.68rem;
  color: #cbd5e1;
}

.external-radars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.external-radar-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  color: #f8fafc;
  transition: all var(--transition-fast);
}

.external-radar-card:hover {
  border-color: rgba(236, 72, 153, 0.6);
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(139, 92, 246, 0.14));
  transform: translateY(-1px);
}

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

.external-open-tag {
  font-size: 0.68rem;
  color: #f472b6;
  font-weight: 700;
}

.external-radar-card strong {
  font-size: 0.85rem;
}

.external-radar-card p {
  margin: 0;
  font-size: 0.73rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ── Mobile-First (Samsung S22 ~360-412px & Tablets) ── */
@media (max-width: 960px) {
  .binomo-cockpit {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .cockpit-stage {
    height: 410px;
  }

  .cockpit-sidebar {
    height: auto;
  }

  .cockpit-cta-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cockpit-micro-help {
    grid-column: 1 / -1;
  }

  .arena-techniques-grid,
  .macro-tides-grid,
  .external-radars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .cockpit-stage {
    height: 360px;
  }

  .cockpit-macro-strip {
    flex-wrap: wrap;
    padding: 5px 10px;
    gap: 5px;
  }

  .macro-tickers-track {
    order: 3;
    flex-basis: 100%;
  }

  .cockpit-clock,
  .cockpit-cash-mini {
    display: none;
  }

  .btn-binomo-action {
    min-height: 56px;
    padding: 8px 10px;
    gap: 8px;
  }

  .binomo-btn-txt strong {
    font-size: 0.84rem;
  }
}

.cockpit-xray-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  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.45);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.cockpit-xray-pill:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.3);
}

.cockpit-xray-pill.is-bull {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.44);
}

.cockpit-xray-pill.is-bear {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.44);
}
