:root {
  --bg-primary: #0f172a;
  --bg-card: #1e293b;
  --border-card: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --green: #4ade80;
  --green-dim: #166534;
  --red: #f87171;
  --red-dim: #991b1b;
  --yellow: #facc15;
  --yellow-dim: #854d0e;
  --blue: #60a5fa;
}

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  overscroll-behavior: none;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-card);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.live-pulse {
  animation: pulse-live 2s ease-in-out infinite;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 0.5rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.status-pill.green {
  background: var(--green-dim);
  color: var(--green);
}
.status-pill.yellow {
  background: var(--yellow-dim);
  color: var(--yellow);
}
.status-pill.red {
  background: var(--red-dim);
  color: var(--red);
}

@media (max-width: 640px) {
  .desktop-nav { display: none !important; }
  .mobile-nav { display: flex !important; }
  body { padding-bottom: 4rem; }
}
@media (min-width: 641px) {
  .desktop-nav { display: flex !important; }
  .mobile-nav { display: none !important; }
}
