/* Market Pulse */
.pulse-ticker {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4);
  font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary);
  white-space: nowrap; overflow: hidden;
  position: relative;
}
.pulse-ticker::before {
  content: 'LIVE'; display: inline-block; background: var(--accent-red);
  color: #fff; font-weight: 700; padding: 2px 8px; border-radius: var(--r-sm);
  margin-right: var(--sp-3); font-size: 10px; animation: pulse 2s ease-in-out infinite;
}

.pulse-layout {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--sp-4); margin-bottom: var(--sp-4);
}
.news-feed { display: flex; flex-direction: column; gap: var(--sp-3); max-height: 520px; overflow-y: auto; padding-right: var(--sp-2); }
.news-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-4);
  cursor: pointer; transition: all var(--dur-fast) var(--ease);
}
.news-item:hover { border-color: var(--accent-green); transform: translateX(4px); }
.news-item.active { border-color: var(--accent-green); background: var(--accent-green-dim); }
.news-headline { font-weight: 600; font-size: 14px; margin-bottom: var(--sp-2); }
.news-summary { font-size: 12px; color: var(--text-secondary); margin-bottom: var(--sp-3); line-height: 1.6; }
.news-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.news-meta { display: flex; justify-content: space-between; margin-top: var(--sp-2); font-size: 11px; color: var(--text-muted); }

.impact-panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-5);
}
.impact-item {
  padding: var(--sp-3) 0; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.impact-item:last-child { border-bottom: none; }
.impact-instrument { font-weight: 600; }
.impact-direction { font-family: var(--font-mono); font-weight: 700; }

.sentiment-timeline { padding: var(--sp-5); }

/* Atmosphere */
.gauges-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4); margin-bottom: var(--sp-5);
}
.gauge-card { text-align: center; }
.gauge-label {
  font-size: 12px; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: var(--sp-3);
}

.instruments-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-3); margin-bottom: var(--sp-5);
}
.instrument-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--sp-4);
  position: relative; overflow: hidden;
}
.instrument-card::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--bullish);
}
.instrument-card.bearish::after { background: var(--bearish); }
.instrument-card.neutral::after { background: var(--neutral); }
.instrument-name { font-weight: 700; font-size: 15px; margin-bottom: var(--sp-1); }
.instrument-sentiment { font-size: 11px; color: var(--text-muted); text-transform: uppercase; margin-bottom: var(--sp-3); }
.instrument-bar { height: 4px; background: var(--border); border-radius: var(--r-pill); overflow: hidden; margin-bottom: var(--sp-2); }
.instrument-bar-fill { height: 100%; background: var(--bullish); transition: width var(--dur-slow) var(--ease); }
.instrument-trend { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 12px; }

.heatmap-card { padding: var(--sp-5); }

/* FOMO */
.fomo-filters { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.fomo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-4);
}
.fomo-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-4);
  position: relative; overflow: hidden;
  transition: all var(--dur-med) var(--ease);
}
.fomo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.fomo-card.hot { border-color: var(--accent-red); box-shadow: 0 0 24px rgba(255, 71, 87, 0.2); }
.fomo-card.warm { border-color: var(--accent-orange); }
.fomo-card.cool { border-color: var(--accent-blue); }
.fomo-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--sp-3);
}
.fomo-instrument { font-size: 20px; font-weight: 700; font-family: var(--font-mono); }
.fomo-event { font-size: 13px; color: var(--text-secondary); margin-bottom: var(--sp-3); line-height: 1.5; }
.fomo-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2); padding-top: var(--sp-3); border-top: 1px solid var(--border);
}
.fomo-stat { text-align: center; }
.fomo-stat .label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }
.fomo-stat .value { font-family: var(--font-mono); font-size: 14px; font-weight: 700; margin-top: 2px; }
