:root {
  --bg: #0e0d08;
  --bg2: #12110c;
  --bg3: #17160f;
  --txt: #f5f4ef;
  --txt2: #c9c8c5;
  --txt3: #929290;
  --bd1: #f5f4ef0f;
  --bd2: #f5f4ef1f;
  --lynx: #00d4aa;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-panel: 0 24px 80px rgba(0, 0, 0, 0.5);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt2);
  font-family: "Geist", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

code,
pre,
.font-mono {
  font-family: "Geist Mono", monospace;
}

.lr-shell {
  position: relative;
  isolation: isolate;
}

.lr-panel {
  background: var(--bg2);
  border: 1px solid var(--bd1);
  border-radius: var(--radius-lg);
}

.lr-panel-soft {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bd1);
  border-radius: var(--radius-md);
}

.lr-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--bd1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.55rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--txt3);
}

.lr-kicker-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--txt2);
  animation: pulse 2s ease-in-out infinite;
}

.lr-btn-primary,
.lr-btn-secondary,
.lr-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.lr-btn-primary {
  background: var(--lynx);
  color: var(--bg);
}

.lr-btn-primary:hover {
  transform: translateY(-1px);
  background: #00e8bb;
}

.lr-btn-secondary {
  border: 1px solid var(--bd1);
  background: transparent;
  color: var(--txt2);
}

.lr-btn-secondary:hover {
  border-color: var(--bd2);
  color: var(--txt);
}

.lr-btn-ghost {
  color: var(--txt2);
}

.lr-btn-ghost:hover {
  color: var(--txt);
}

.lr-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--bd1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  color: var(--txt2);
}

.lr-stat-card {
  position: relative;
}

.lr-empty-state {
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
}

.lr-log-line {
  border-radius: 10px;
  transition: background-color 0.18s ease;
}

.lr-log-line:hover {
  background: rgba(255, 255, 255, 0.045);
}

.pulse-dot {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(201, 200, 197, 0.4);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 4px rgba(201, 200, 197, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.visible > *:nth-child(1) {
  transition-delay: 0.03s;
}

.stagger.visible > *:nth-child(2) {
  transition-delay: 0.08s;
}

.stagger.visible > *:nth-child(3) {
  transition-delay: 0.13s;
}

.stagger.visible > *:nth-child(4) {
  transition-delay: 0.18s;
}

.stagger.visible > *:nth-child(5) {
  transition-delay: 0.23s;
}

.stagger.visible > *:nth-child(6) {
  transition-delay: 0.28s;
}

.scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.scrollbar::-webkit-scrollbar-track {
  background: var(--bg2);
}

.scrollbar::-webkit-scrollbar-thumb {
  background: var(--bd2);
  border-radius: 3px;
}

.scrollbar::-webkit-scrollbar-thumb:hover {
  background: #ffffff33;
}
