/* ==========================================================================
   Predictalytics — Premium Glassmorphic Design System
   Inspired by Lucid prototype (Claude Designer).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Roboto+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg: #0a0d14;
  --bg-sidebar: rgba(255,255,255,0.015);
  --bg-card: rgba(255,255,255,0.045);
  --bg-card-hover: rgba(255,255,255,0.07);
  --bg-input: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --border-glow: rgba(22,82,240,0.3);
  --text-primary: #EDEFF5;
  --text-secondary: #C7CCDA;
  --text-muted: #8B93A7;
  --text-darker: #5B6377;
  --primary: #1652F0;
  --primary-glow: rgba(22,82,240,0.22);
  --primary-light: #5b9dff;
  --success: #12D48A;
  --success-glow: rgba(18,212,138,0.12);
  --danger: #F6465D;
  --danger-glow: rgba(246,70,93,0.12);
  --warning: #FF9500;
  --font: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  --sidebar-w: 236px;
  --radius: 18px;
  --radius-sm: 10px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  margin: 0;
  background: radial-gradient(1100px 700px at 15% -10%, rgba(22,82,240,0.25), transparent 60%), 
              radial-gradient(900px 600px at 110% 10%, rgba(18,212,138,0.08), transparent 55%), 
              #0a0d14;
  color: var(--text-primary);
  font-family: var(--font);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }

a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: #8ab8ff; }

/* Decorative Glow Layer */
.glow-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px 400px at 80% 85%, rgba(76,141,255,0.08), transparent 60%);
  z-index: 0;
}

.app-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-w);
  flex: none;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-right: 1px solid var(--border);
  background: var(--bg-sidebar);
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 100;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
}

.logo-icon {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), #4c8dff);
  box-shadow: 0 0 20px rgba(22,82,240,0.6);
}

.logo-text {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-title {
  font: 600 10px/1 var(--font);
  letter-spacing: 0.08em;
  color: var(--text-darker);
  padding: 0 12px 8px;
  text-transform: uppercase;
}

.nav-item {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  text-decoration: none;
}

.nav-item:hover {
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
}

.nav-item.active {
  background: rgba(22,82,240,0.12);
  color: var(--primary-light);
  border: 1px solid rgba(22,82,240,0.25);
}

.nav-item .nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-darker);
  transition: var(--transition);
}

.nav-item.active .nav-dot {
  background: var(--primary-light);
  box-shadow: 0 0 8px var(--primary-light);
}

.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.data-feed-badge {
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.data-feed-badge .label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.data-feed-badge .status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
}

.data-feed-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}

.user-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg,#2a2f3d,#1a1e28);
  border: 1px solid rgba(255,255,255,0.1);
}

.user-info .name {
  font-size: 12.5px;
  font-weight: 700;
}

.user-info .workspace {
  font-size: 11px;
  color: var(--text-darker);
}

/* Main Content Area */
.main-content {
  flex: 1;
  min-width: 0;
  margin-left: var(--sidebar-w);
  padding: 22px 32px 60px;
}

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  max-width: 600px;
}

.platform-select {
  padding: 10px 14px;
  border-radius: 11px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 13px;
  font-family: var(--font);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.platform-select:hover, .platform-select:focus {
  border-color: var(--border-hover);
}

.search-box {
  position: relative;
  flex: 1;
}

.search-box input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border-radius: 11px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 13px;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--border-hover);
}

.search-box svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-darker);
  pointer-events: none;
}

.topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-vol-badge {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--success-glow);
  border: 1px solid rgba(18,212,138,0.25);
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  font-family: var(--font-mono);
}

.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition);
}

.theme-toggle:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  margin-bottom: 18px;
  font-weight: 600;
}

.breadcrumb span {
  transition: var(--transition);
}

.breadcrumb .crumb-link {
  cursor: pointer;
  color: var(--text-muted);
}

.breadcrumb .crumb-link:hover {
  color: var(--text-primary);
}

.breadcrumb .crumb-active {
  color: var(--text-primary);
  cursor: default;
}

.breadcrumb .crumb-sep {
  color: #3a4152;
}

/* Page Views */
.page { display: none; }
.page.active { display: block; animation: fadeIn 0.25s ease-out; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-title-wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.page-title {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.page-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

/* Stats Cards Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.metric-card {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  transition: var(--transition);
}

.metric-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.metric-card.accent {
  background: linear-gradient(135deg, var(--primary), #4c8dff);
  border: 1px solid rgba(22,82,240,0.3);
}

.metric-card .metric-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: none;
  letter-spacing: normal;
}

.metric-card.accent .metric-label {
  color: rgba(255, 255, 255, 0.7);
}

.metric-card .metric-value {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.metric-card .metric-delta {
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
  font-family: var(--font-mono);
}

.metric-card .metric-delta.positive { color: var(--success); }
.metric-card .metric-delta.negative { color: var(--danger); }
.metric-card.accent .metric-delta { color: rgba(255, 255, 255, 0.9); }

/* Premium Grid Cards */
.glass-row {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 16px;
  align-items: start;
}

.charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.card {
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
  margin-bottom: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
}

.chart-card {
  margin-bottom: 0;
}

.chart-container {
  padding: 20px 24px;
  height: 260px;
}

.card-header {
  padding: 18px 22px 14px;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-header h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table th {
  padding: 10px 22px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-darker);
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.data-table td {
  padding: 13px 22px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text-secondary);
}

.data-table tbody tr {
  cursor: pointer;
  transition: var(--transition);
}

.data-table tbody tr:hover {
  background: rgba(255,255,255,0.025);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* Alignments inside tables */
.data-table .num-col {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 700;
}

/* Badges */
.tier-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.tier-diamond { background: rgba(99,102,241,0.12); color: #818CF8; border: 1px solid rgba(99,102,241,0.25); }
.tier-platinum { background: rgba(168,85,247,0.12); color: #C084FC; border: 1px solid rgba(168,85,247,0.25); }
.tier-gold { background: rgba(245,158,11,0.12); color: #F59E0B; border: 1px solid rgba(245,158,11,0.25); }
.tier-silver { background: rgba(156,163,175,0.12); color: #9CA3AF; border: 1px solid rgba(156,163,175,0.25); }
.tier-bronze { background: rgba(180,83,9,0.12); color: #D97706; border: 1px solid rgba(180,83,9,0.25); }
.tier-unknown { background: rgba(255,255,255,0.04); color: var(--text-muted); border: 1px solid var(--border); }

.side-buy { color: var(--success); font-weight: 700; }
.side-sell { color: var(--danger); font-weight: 700; }
.pnl-positive { color: var(--success); font-weight: 700; }
.pnl-negative { color: var(--danger); font-weight: 700; }

.side-buy-badge {
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--success-glow);
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(18,212,138,0.2);
}

.side-sell-badge {
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--danger-glow);
  color: var(--danger);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(246,70,93,0.2);
}

/* Buttons */
.btn-premium {
  cursor: pointer;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), #4c8dff);
  box-shadow: 0 4px 20px rgba(22,82,240,0.4);
  color: white;
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-premium:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(22,82,240,0.5);
}

.btn-sm {
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.btn-sm:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.btn-tab {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
}

.btn-tab:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.03);
}

.btn-tab.active {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

/* Custom Dual Range Sliders (Filter Area) */
.filter-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
  margin-bottom: 20px;
}

.filter-section {
  margin-bottom: 20px;
}

.filter-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.traits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trait-chip {
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 9px;
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.trait-chip:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.trait-chip.active {
  background: rgba(22,82,240,0.12);
  color: var(--primary-light);
  border-color: rgba(22,82,240,0.3);
}

/* Slider Style */
.slider-container {
  position: relative;
  height: 24px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.slider-track {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  width: 100%;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
}

.slider-track-highlight {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.dual-range {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px;
}

.dual-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 2px solid var(--bg);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(91,157,255,0.6);
  margin-top: 0;
  transition: var(--transition);
}

.dual-range::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.dual-range::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 2px solid var(--bg);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(91,157,255,0.6);
  transition: var(--transition);
}

.dual-range::-webkit-slider-runnable-track { background: transparent; }
.dual-range::-moz-range-track { background: transparent; }

.slider-values {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* Detail Views */
.detail-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: start;
}

.detail-sidebar {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: white;
}

.profile-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.profile-sub {
  font-size: 12px;
  color: var(--text-darker);
  font-family: var(--font-mono);
}

.profile-joined {
  font-size: 12.5px;
  color: var(--text-muted);
}

.detail-main {
  min-width: 0;
}

.detail-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  padding: 16px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  backdrop-filter: blur(20px);
}

.detail-actions-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.detail-actions-bar-right {
  display: flex;
  gap: 10px;
}

.actions-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
}

.tabs-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.stat-group {
  margin-bottom: 16px;
}

.stat-group:last-child {
  margin-bottom: 0;
}

.stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-darker);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-value.small {
  font-size: 12px;
  font-family: var(--font-mono);
  word-break: break-all;
  opacity: 0.8;
}

/* Order Book Depth Bars */
.depth-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12.5px;
}

.depth-row .price-label {
  font-family: var(--font-mono);
  width: 50px;
  font-weight: 700;
}

.depth-row .size-label {
  font-family: var(--font-mono);
  width: 70px;
  text-align: right;
  color: var(--text-muted);
}

.depth-row .depth-bar-container {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  overflow: hidden;
}

.depth-row .depth-bar {
  height: 100%;
  border-radius: 4px;
}

.depth-row.ask .price-label { color: var(--danger); }
.depth-row.ask .depth-bar { background: var(--danger); }
.depth-row.bid .price-label { color: var(--success); }
.depth-row.bid .depth-bar { background: var(--success); }

/* Outcome list for market */
.outcome-row {
  margin-bottom: 10px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.outcome-row span {
  font-size: 13.5px;
  font-weight: 700;
}

.outcome-row strong {
  font-size: 15px;
  font-family: var(--font-mono);
}

.progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* Alert list */
.alert-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.alert-item:hover {
  background: rgba(255,255,255,0.02);
}

.alert-item:last-child {
  border-bottom: none;
}

.alert-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.alert-severity-4 { background: rgba(246,70,93,0.12); border: 1px solid rgba(246,70,93,0.2); color: var(--danger); }
.alert-severity-3 { background: rgba(255,149,0,0.12); border: 1px solid rgba(255,149,0,0.2); color: var(--warning); }
.alert-severity-2 { background: rgba(22,82,240,0.12); border: 1px solid rgba(22,82,240,0.2); color: var(--primary-light); }
.alert-severity-1 { background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text-muted); }

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 3px;
}

.alert-message {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.alert-time {
  font-size: 11px;
  color: var(--text-darker);
  white-space: nowrap;
  margin-top: 2px;
}

.alert-unread .alert-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  margin-right: 8px;
  box-shadow: 0 0 6px var(--primary-light);
}

/* Empty State */
.empty-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-muted);
}

.empty-state p {
  font-size: 14px;
  margin-top: 8px;
}

/* Platform-specific trait coloring helpers */
.trait-sentiment { background: rgba(22,82,240,0.12) !important; color: #5b9dff !important; border-color: rgba(22,82,240,0.2) !important; }
.trait-whales { background: rgba(168,85,247,0.12) !important; color: #C084FC !important; border-color: rgba(168,85,247,0.2) !important; }
.trait-volume { background: rgba(245,158,11,0.12) !important; color: #F59E0B !important; border-color: rgba(245,158,11,0.2) !important; }
.trait-winrate { background: rgba(18,212,138,0.12) !important; color: #12D48A !important; border-color: rgba(18,212,138,0.2) !important; }

/* Responsive adjustments */
@media (max-width: 1200px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .charts-row, .glass-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  .main-content {
    margin-left: 0;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
