/* AUREA Terminal — Copy Trade / Leaderboard page (terminal-native). */
.lb-disclaimer {
  border: 1px solid rgba(255, 215, 0, 0.45);
  background: rgba(255, 215, 0, 0.07);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.7;
}
.lb-disclaimer strong { color: var(--gold, #ffd700); }

.cs-pill {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #FFD700;
  background: rgba(255, 215, 0, .07);
  border: 1px solid rgba(255, 215, 0, .45);
  white-space: nowrap;
}

.lb-table-wrap { overflow-x: auto; }
table.lb-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.lb-table th, table.lb-table td { padding: 8px 10px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.07); white-space: nowrap; }
table.lb-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted, #9aa3b2); }
table.lb-table td.num, table.lb-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.lb-pos { color: #7dd87d; }
.lb-neg { color: #ff8f8f; }
.lb-rank {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  font-size: 12px; font-weight: 800;
  background: rgba(255, 255, 255, 0.08); color: var(--muted, #9aa3b2);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.lb-rank-1 { background: linear-gradient(135deg, #ffd700, #b8860b); color: #141828; border-color: #ffd700; }
.lb-rank-2 { background: linear-gradient(135deg, #ececf1, #9aa3b2); color: #141828; border-color: #ececf1; }
.lb-rank-3 { background: linear-gradient(135deg, #e0a370, #a06a35); color: #141828; border-color: #e0a370; }
.lb-name { font-weight: 600; }
.lb-note { font-size: 12.5px; color: var(--muted, #9aa3b2); line-height: 1.7; }
.lb-loading { padding: 18px 4px; color: var(--muted, #9aa3b2); font-size: 13.5px; }

.lb-watch-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  border-radius: 999px;
  padding: 5px 12px;
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
}
.lb-watch-btn:hover { border-color: rgba(255, 215, 0, 0.6); }
.lb-watch-btn.on {
  background: rgba(255, 215, 0, 0.14);
  border-color: var(--gold, #ffd700);
  color: var(--gold, #ffd700);
  font-weight: 700;
}

.lb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 10px 0 4px; }
.lb-stat {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
}
.lb-stat-label { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted, #9aa3b2); margin-bottom: 6px; }
.lb-stat-value { display: block; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .lb-stats { grid-template-columns: repeat(2, 1fr); } }

.lb-watch-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 9px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.lb-watch-item:last-child { border-bottom: none; }
.lb-watch-item .lb-wi-name { font-weight: 600; }
.lb-watch-item .lb-wi-meta { font-size: 12.5px; color: var(--muted, #9aa3b2); font-variant-numeric: tabular-nums; }
.lb-empty { color: var(--muted, #9aa3b2); font-size: 13.5px; padding: 8px 0; }

/* --- mobile table layout: stacked card rows (user order 2026-12-03) --- */
@media (max-width: 700px) {
  .lb-table-wrap { overflow-x: visible; }
  table.lb-table,
  table.lb-table tbody,
  table.lb-table tr,
  table.lb-table td { display: block; width: auto; }
  table.lb-table thead { display: none; }
  table.lb-table tr {
    padding: 10px 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }
  table.lb-table tr:last-child { border-bottom: none; }
  table.lb-table td {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 14px; padding: 3px 0; border-bottom: none; white-space: normal;
    text-align: right;
  }
  table.lb-table td::before {
    content: attr(data-label); flex: none; text-align: left;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.04em; color: var(--muted, #9aa3b2);
  }
  table.lb-table td.lb-row-head {
    display: block; text-align: left; font-size: 15px; padding: 0 0 5px;
  }
  table.lb-table td.lb-row-head::before { content: none; }
}

/* ---------- NEON FRAME STANDARD v1: gradient gold->purple frame + glow --- */
.lb-table-wrap, .lb-stat {
  border: 1px solid rgba(255,215,0,.45);
  box-shadow: 0 0 18px rgba(138,43,226,.20), 0 0 10px rgba(255,215,0,.10), 0 10px 28px rgba(0,0,0,.36), inset 0 0 24px rgba(138,43,226,.05);
}
@media (hover: hover) {
  .lb-table-wrap:hover {
    border-color: rgba(255,215,0,.75);
    box-shadow: 0 0 24px rgba(255,215,0,.24), 0 0 38px rgba(138,43,226,.30), 0 14px 34px rgba(0,0,0,.44), inset 0 0 24px rgba(138,43,226,.07);
  }
}
