/* Theme */
:root {
  --accent1: #d35400;
  --accent2: #f39c12;
  --bg1: #0c0c0f;
  --panel1: #1e1818;
  --panel2: #181414;
  --border: #333;
  --text: #e0e0e0;
  --muted: #999;
}

* { box-sizing: border-box; }
body {
  background: var(--bg1);
  color: var(--text);
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header (match site) */

/* Hero */
.lb-hero {
  background: linear-gradient(135deg, #2c1a1a 0%, #1a1010 100%);
  border-bottom: 3px solid var(--accent1);
  padding: 48px 0 36px;
  margin-bottom: 24px;
  text-align: center;
}
.lb-hero h1 { margin:0 0 8px; color: var(--accent2); font-size: 2.2rem; }
.lb-hero p { margin:0; color:#ccc; }

/* Controls */
.lb-controls {
  display:flex; align-items:center; justify-content:space-between;
  gap: 16px; margin-bottom: 16px;
}
.lb-search {
  display:flex; align-items:center; gap:8px;
  background: linear-gradient(145deg, var(--panel1), var(--panel2));
  border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; min-width: 260px;
}
.lb-search i { color: var(--accent1); }
.lb-search input {
  background: transparent; border: none; outline: none; color: var(--text); width: 100%;
}
.lb-selects { display:flex; gap: 12px; flex-wrap: wrap; }
.lb-selects label { display:flex; align-items:center; gap:8px; color:#ccc; }
.lb-selects select {
  background: #1a1010; color: var(--text);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 8px 10px;
}

/* Card / table */
.lb-card {
  background: linear-gradient(145deg, var(--panel1), var(--panel2));
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.lb-table-wrap { overflow-x: auto; }

/* Key: fixed layout + colgroup widths + numeric alignment */
.lb-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.lb-table thead th {
  text-align: left; font-weight: 700; color:#ccc;
  padding: 14px 16px; border-bottom: 1px solid var(--border);
}
.lb-table thead th.num { text-align: right; }      /* numeric headers */
.lb-table tbody td {
  padding: 12px 16px; border-bottom: 1px solid #2a2222;
}
.lb-table tbody tr:hover { background: rgba(211,84,0,0.07); }
.lb-table tbody td.col-r { text-align: right; }    /* numeric cells */

/* Badge column */
.lb-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 32px; border-radius: 999px;
  padding: 0 10px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent1), var(--accent2)); color:#fff;
}

/* Guild name cell truncates */
.lb-table tbody td:nth-child(2) {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Footer */
.lb-footer {
  display:flex; align-items:center; justify-content:space-between;
  gap: 12px; padding: 12px 16px;
}
.lb-summary { color:#bbb; }

/* Pagination */
.lb-pagination { display:flex; gap: 8px; flex-wrap: wrap; }
.lb-page {
  padding: 10px 14px; border-radius: 8px; text-decoration:none;
  background: linear-gradient(145deg, var(--panel1), var(--panel2));
  border: 1px solid var(--border); color: #ddd; font-weight: 600;
}
.lb-page:hover { border-color: var(--accent1); color:#fff; }
.lb-page.active { background: linear-gradient(135deg, var(--accent1), var(--accent2)); color:#fff; border-color: var(--accent1); }
.lb-page.disabled { opacity:.6; pointer-events:none; }

/* Responsive */
@media (max-width: 768px) {
  .lb-controls { flex-direction: column; align-items: stretch; }
  .lb-selects { justify-content: space-between; }
}
