/* ═══════════════════════════════════════════════════
   AIRDROP COMMAND CENTER — DESIGN SYSTEM
   ═══════════════════════════════════════════════════ */

/* ──── Reset & Variables ──── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Surface */
  --bg-root: #06060e;
  --bg-surface: #0c0c1a;
  --bg-card: rgba(14, 14, 32, 0.85);
  --bg-card-hover: rgba(20, 20, 46, 0.95);
  --bg-elevated: rgba(22, 22, 50, 0.9);
  --bg-input: rgba(16, 16, 38, 0.8);
  --bg-sidebar: rgba(8, 8, 20, 0.95);

  /* Borders */
  --border: rgba(255, 255, 255, 0.06);
  --border-active: rgba(124, 58, 237, 0.4);
  --border-glow: rgba(124, 58, 237, 0.15);

  /* Typography */
  --text-primary: #e8e6f0;
  --text-secondary: rgba(232, 230, 240, 0.55);
  --text-muted: rgba(232, 230, 240, 0.3);
  --text-inverse: #06060e;

  /* Accent */
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --accent-dark: #5b21b6;
  --accent-glow: rgba(124, 58, 237, 0.25);

  /* Semantic */
  --green: #22c55e;
  --green-bg: rgba(34, 197, 94, 0.1);
  --yellow: #eab308;
  --yellow-bg: rgba(234, 179, 8, 0.1);
  --red: #ef4444;
  --red-bg: rgba(239, 68, 68, 0.1);
  --blue: #3b82f6;
  --blue-bg: rgba(59, 130, 246, 0.1);
  --cyan: #06b6d4;
  --orange: #f97316;

  /* Tier Colors */
  --tier1: #22c55e;
  --tier2: #eab308;
  --tier3: #3b82f6;
  --tier4: #a855f7;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px var(--accent-glow);

  /* Layout */
  --sidebar-w: 240px;
  --topbar-h: 64px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-root);
  color: var(--text-primary);
  line-height: 1.6;
  overflow: hidden;
  height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ──── Layout ──── */
#app {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ──── Sidebar ──── */
#sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: var(--space-lg) 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  z-index: 100;
  backdrop-filter: blur(20px);
}

#sidebar.collapsed {
  transform: translateX(-100%);
  opacity: 0;
  position: absolute;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 0 var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}

.brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 var(--space-sm);
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-md);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease);
  text-align: left;
  font-family: inherit;
  position: relative;
}

.nav-btn:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--text-primary);
}

.nav-btn.active {
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent-light);
}

.nav-btn.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--accent);
  border-radius: 0 4px 4px 0;
}

.sidebar-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border);
}

.sync-status {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.last-update {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ──── Main ──── */
#mainContent {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

/* ──── Top Bar ──── */
#topBar {
  height: var(--topbar-h);
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  border-bottom: 1px solid var(--border);
  background: rgba(6, 6, 14, 0.8);
  backdrop-filter: blur(16px);
  z-index: 50;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.topbar-left h1 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
  font-family: inherit;
}

.icon-btn:hover {
  border-color: var(--border-active);
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.06);
}

.search-box {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0 var(--space-md);
  height: 36px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s;
  width: 260px;
}

.search-box:focus-within {
  border-color: var(--border-active);
}

.search-box svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: inherit;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  height: 36px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
  white-space: nowrap;
}

.primary-btn:hover {
  background: var(--accent-dark);
  box-shadow: var(--shadow-glow);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: inherit;
}

.secondary-btn:hover {
  border-color: var(--border-active);
  color: var(--text-primary);
}

.danger-btn {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  height: 36px;
  background: var(--red-bg);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.danger-btn:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* ──── Views ──── */
.view {
  display: none;
  padding: var(--space-xl);
  overflow-y: auto;
  flex: 1;
  animation: fadeIn 0.3s var(--ease);
}

.view.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ──── Cards ──── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s, box-shadow 0.25s;
  margin-bottom: var(--space-lg);
}

.card:hover {
  border-color: var(--border-glow);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.card-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card-actions {
  display: flex;
  gap: var(--space-sm);
}

.card-body {
  padding: var(--space-lg);
}

/* ──── KPI ──── */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.kpi-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
}

.kpi-card:nth-child(1)::before {
  background: var(--accent);
}

.kpi-card:nth-child(2)::before {
  background: var(--green);
}

.kpi-card:nth-child(3)::before {
  background: var(--yellow);
}

.kpi-card:nth-child(4)::before {
  background: var(--cyan);
}

.kpi-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.kpi-value {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: 'JetBrains Mono', monospace;
}

.kpi-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: var(--space-xs);
}

/* ──── Grid ──── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ──── Select ──── */
.select-sm {
  height: 32px;
  padding: 0 var(--space-md);
  padding-right: 28px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  transition: border-color 0.2s;
}

.select-sm:focus {
  border-color: var(--border-active);
}

.select-sm option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

/* ──── Filter Bar ──── */
.filter-bar {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

/* ──── Airdrop Cards (list view) ──── */
.airdrop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-md);
}

.airdrop-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.airdrop-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

.airdrop-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.airdrop-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.airdrop-tier {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tier-1 {
  background: rgba(34, 197, 94, 0.12);
  color: var(--tier1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.tier-2 {
  background: rgba(234, 179, 8, 0.12);
  color: var(--tier2);
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.tier-3 {
  background: rgba(59, 130, 246, 0.12);
  color: var(--tier3);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.tier-4 {
  background: rgba(168, 85, 247, 0.12);
  color: var(--tier4);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.airdrop-meta {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.meta-value {
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.status-active {
  background: var(--green-bg);
  color: var(--green);
}

.status-upcoming {
  background: var(--yellow-bg);
  color: var(--yellow);
}

.status-completed {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.airdrop-progress {
  margin-top: var(--space-md);
}

.progress-bar-bg {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.5s var(--ease);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.airdrop-card-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.card-action-btn {
  flex: 1;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.card-action-btn:hover {
  border-color: var(--border-active);
  color: var(--text-primary);
}

.card-action-btn.accent {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.2);
  color: var(--accent-light);
}

/* ──── Timeline ──── */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-glow), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
  animation: slideInLeft 0.4s var(--ease) both;
}

.timeline-item:nth-child(1) {
  animation-delay: 0.05s;
}

.timeline-item:nth-child(2) {
  animation-delay: 0.1s;
}

.timeline-item:nth-child(3) {
  animation-delay: 0.15s;
}

.timeline-item:nth-child(4) {
  animation-delay: 0.2s;
}

.timeline-item:nth-child(5) {
  animation-delay: 0.25s;
}

.timeline-item:nth-child(6) {
  animation-delay: 0.3s;
}

.timeline-item:nth-child(7) {
  animation-delay: 0.35s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-dot {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg-root);
  box-shadow: 0 0 10px var(--accent-glow);
}

.timeline-date {
  font-size: 0.72rem;
  color: var(--accent-light);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.timeline-content {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.timeline-title {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ──── Tier Breakdown (Bar chart simulation) ──── */
.tier-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.tier-bar-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.tier-bar-label {
  width: 60px;
  font-size: 0.78rem;
  font-weight: 600;
  flex-shrink: 0;
}

.tier-bar-track {
  flex: 1;
  height: 24px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.tier-bar-fill {
  height: 100%;
  border-radius: var(--radius-sm);
  transition: width 0.8s var(--ease);
  display: flex;
  align-items: center;
  padding-left: var(--space-sm);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'JetBrains Mono', monospace;
}

.tier-bar-fill.t1 {
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.6), rgba(34, 197, 94, 0.2));
}

.tier-bar-fill.t2 {
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.6), rgba(234, 179, 8, 0.2));
}

.tier-bar-fill.t3 {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.6), rgba(59, 130, 246, 0.2));
}

.tier-bar-fill.t4 {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.6), rgba(168, 85, 247, 0.2));
}

/* ──── Probability Heatmap ──── */
.prob-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--space-sm);
}

.prob-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  transition: transform 0.2s;
}

.prob-cell:hover {
  transform: scale(1.05);
}

.prob-cell-name {
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.prob-cell-value {
  font-size: 1.2rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}

/* ──── Reward Estimator ──── */
.reward-slider-group {
  margin-bottom: var(--space-lg);
}

.reward-slider-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.reward-slider-group label span {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-light);
}

input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-glow);
}

.reward-total {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
}

.reward-total-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-sm);
}

.reward-total-value {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ──── Reward Comparison Bar ──── */
.reward-bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.reward-bar-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.reward-bar-name {
  width: 110px;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reward-bar-track {
  flex: 1;
  height: 28px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.reward-bar-fill {
  height: 100%;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.8s var(--ease);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: var(--space-sm);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
}

/* ──── Portfolio Potential ──── */
.portfolio-summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.portfolio-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.portfolio-row:last-child {
  border-bottom: none;
}

.portfolio-key {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.portfolio-val {
  font-size: 1rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

/* ──── Modal ──── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  animation: fadeIn 0.2s;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 540px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.35s var(--ease);
}

.modal-lg {
  width: 720px;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.modal-body {
  padding: var(--space-lg);
}

/* ──── Form ──── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-active);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* ──── Detail Modal Content ──── */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.detail-value {
  font-size: 0.92rem;
  font-weight: 600;
}

.detail-section {
  margin-bottom: var(--space-lg);
}

.detail-section h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--accent-light);
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.task-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}

.task-item:hover {
  background: rgba(124, 58, 237, 0.08);
}

.task-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.task-item.done .task-checkbox {
  background: var(--accent);
  border-color: var(--accent);
}

.task-item.done .task-checkbox::after {
  content: '✓';
  font-size: 11px;
  color: #fff;
  font-weight: 700;
}

.task-item.done .task-text {
  text-decoration: line-through;
  opacity: 0.5;
}

.task-text {
  font-size: 0.82rem;
  flex: 1;
}

.detail-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

/* ──── Settings ──── */
.setting-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
}

.setting-group:last-child {
  border-bottom: none;
}

.setting-group label {
  font-size: 0.9rem;
  font-weight: 500;
}

.setting-group input[type="file"] {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ──── Toast ──── */
#toastContainer {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 600;
  display: flex;
  flex-direction: column-reverse;
  gap: var(--space-sm);
}

.toast {
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.35s var(--ease);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  backdrop-filter: blur(16px);
}

.toast.success {
  border-left: 3px solid var(--green);
}

.toast.error {
  border-left: 3px solid var(--red);
}

.toast.info {
  border-left: 3px solid var(--blue);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* ──── Scrollbar ──── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ──── Responsive ──── */
@media (max-width: 1024px) {
  .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .airdrop-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #sidebar {
    position: fixed;
    transform: translateX(-100%);
    height: 100vh;
  }

  #sidebar.open {
    transform: translateX(0);
  }

  .kpi-row {
    grid-template-columns: 1fr;
  }

  .search-box {
    width: 160px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ──── Spinning refresh icon ──── */
.spinning svg {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ──── Empty state ──── */
.empty-state {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  opacity: 0.3;
}

.empty-state-text {
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

/* ═══════════════════════════════════════
   DISCOVER VIEW
   ═══════════════════════════════════════ */

.discover-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  gap: var(--space-lg);
}

.discover-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.discover-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ──── Source Chips ──── */
.source-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.source-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: default;
  transition: all 0.3s var(--ease);
}

.source-chip .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: background 0.3s;
}

.source-chip.scanning {
  border-color: var(--border-active);
  color: var(--accent-light);
}

.source-chip.scanning .chip-dot {
  background: var(--accent);
  animation: pulse-dot 0.6s infinite;
}

.source-chip.done {
  border-color: rgba(34, 197, 94, 0.3);
  color: var(--green);
}

.source-chip.done .chip-dot {
  background: var(--green);
}

.source-chip.error {
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--red);
  opacity: 0.7;
}

.source-chip.error .chip-dot {
  background: var(--red);
}

.chip-count {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  margin-left: 2px;
}

/* ──── Discover Status ──── */
.discover-status {
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.discover-status.scanning-active {
  border-color: var(--border-active);
}

.scan-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.scan-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.scan-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-light);
}

.scan-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.discover-count {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: auto;
}

/* ──── Discover Result Cards ──── */
.discover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.discover-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.discover-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

.discover-card.already-tracked {
  opacity: 0.5;
}

.discover-card.already-tracked::after {
  content: 'TRACKED';
  position: absolute;
  top: 12px;
  right: -28px;
  background: var(--green);
  color: var(--bg-root);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 32px;
  transform: rotate(45deg);
  letter-spacing: 0.08em;
}

.discover-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.discover-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.discover-card-source {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(124, 58, 237, 0.2);
  white-space: nowrap;
}

.discover-card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.discover-card-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.discover-card-actions {
  display: flex;
  gap: var(--space-sm);
}

.add-to-dash-btn {
  flex: 1;
  height: 34px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.add-to-dash-btn:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.add-to-dash-btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.dismiss-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.dismiss-btn:hover {
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--red);
}

/* ──── Skeleton Loader ──── */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-line {
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  margin-bottom: var(--space-sm);
}

.skeleton-line.w60 {
  width: 60%;
}

.skeleton-line.w80 {
  width: 80%;
}

.skeleton-line.w40 {
  width: 40%;
}

.skeleton-line.w100 {
  width: 100%;
}

.skeleton-line.h20 {
  height: 20px;
}

@keyframes skeleton-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* ──── Saved Discoveries Section ──── */
.saved-disc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: var(--space-xl) 0 var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.saved-disc-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.initial-discover-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  min-height: 300px;
}

.initial-discover-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 2rem;
}

.initial-discover-text {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.initial-discover-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.6;
}

/* ──── Clickable Card Link ──── */
.discover-card-link {
  text-decoration: none;
  color: var(--text-primary);
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
}

.discover-card-link:hover {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.discover-card-link svg {
  transition: opacity 0.2s;
}

.discover-card-link:hover svg {
  opacity: 1 !important;
}

/* ──── Inline Steps Section ──── */
.discover-steps {
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(124, 58, 237, 0.04);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-md);
}

.discover-steps-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-light);
  margin-bottom: var(--space-sm);
  opacity: 0.8;
}

.discover-steps-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.discover-step-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.step-num {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-light);
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.step-text {
  flex: 1;
}

.discover-step-more {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 2px;
  padding-left: 26px;
}

/* ──── Status Badges (Discover) ──── */
.status-upcoming {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--yellow);
}

.status-completed {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ═══════════════════════════════════════
   LIGHT THEME
   ═══════════════════════════════════════ */

[data-theme="light"] {
  --bg-root: #f5f5f7;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #ffffff;
  --bg-elevated: rgba(248, 248, 252, 0.95);
  --bg-input: rgba(245, 245, 247, 0.8);
  --bg-sidebar: rgba(245, 245, 247, 0.95);

  --border: rgba(0, 0, 0, 0.08);
  --border-active: rgba(124, 58, 237, 0.5);
  --border-glow: rgba(124, 58, 237, 0.2);

  --text-primary: #1a1a2e;
  --text-secondary: rgba(26, 26, 46, 0.6);
  --text-muted: rgba(26, 26, 46, 0.35);
  --text-inverse: #ffffff;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] body {
  background: var(--bg-root);
  color: var(--text-primary);
}

[data-theme="light"] .card,
[data-theme="light"] .kpi-card,
[data-theme="light"] .airdrop-card,
[data-theme="light"] .timeline-content {
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .brand-text,
[data-theme="light"] .discover-title,
[data-theme="light"] .kpi-value {
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ═══════════════════════════════════════
   ANALYTICS CARDS
   ═══════════════════════════════════════ */

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
}

.analytics-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease);
}

.analytics-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.analytics-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.analytics-content {
  display: flex;
  flex-direction: column;
}

.analytics-value {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.02em;
}

.analytics-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════
   REMINDERS
   ═══════════════════════════════════════ */

.reminders-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--space-lg);
}

.reminder-section {
  margin-bottom: var(--space-xl);
}

.reminder-section-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.reminder-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.reminder-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease);
}

.reminder-item:hover {
  border-color: var(--border-active);
}

.reminder-item.completed {
  opacity: 0.5;
}

.reminder-item.completed .reminder-title {
  text-decoration: line-through;
}

.reminder-item.overdue {
  border-color: rgba(239, 68, 68, 0.3);
}

.reminder-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}

.reminder-checkbox:hover {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.1);
}

.reminder-item.completed .reminder-checkbox {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.reminder-content {
  flex: 1;
  min-width: 0;
}

.reminder-title {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.reminder-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.reminder-airdrop {
  color: var(--accent-light);
}

.reminder-delete {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.reminder-delete:hover {
  background: var(--red-bg);
  color: var(--red);
}

/* ═══════════════════════════════════════
   TAGS
   ═══════════════════════════════════════ */

.airdrop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: var(--space-sm);
}

.airdrop-tag {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-light);
  font-weight: 500;
}

/* ═══════════════════════════════════════
   EXTERNAL LINKS
   ═══════════════════════════════════════ */

.detail-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  color: var(--accent-light);
  text-decoration: none;
  border-radius: var(--radius-sm);
  background: rgba(124, 58, 237, 0.08);
  transition: all 0.2s;
}

.detail-link:hover {
  background: rgba(124, 58, 237, 0.15);
}