/* ============================================
 * 列表样式
 * 排行榜/属性列表/装备列表
 * ============================================ */

/* ---- 列表容器 ---- */
.g-list {
  background: var(--bg-dark);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.g-list-header {
  display: grid;
  padding: 8px 16px;
  background: var(--bg-surface);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1px;
  font-weight: 500;
}

.g-list-row {
  display: grid;
  padding: 8px 16px;
  align-items: center;
  border-bottom: 1px solid var(--border-dim);
  transition: background var(--transition-fast);
  font-size: 13px;
}

.g-list-row:last-child {
  border-bottom: none;
}

.g-list-row:hover {
  background: var(--bg-light);
}

/* ---- 排行榜 ---- */
.g-list-rank {
  display: block;
}

.g-list-rank .g-list-header,
.g-list-rank .g-list-row {
  grid-template-columns: 48px 1fr 120px;
  gap: 16px;
}

.g-list-rank-num {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
  text-align: center;
}

.g-list-rank-num.top-1 { color: #FFD700; text-shadow: 0 0 6px rgba(255,215,0,0.4); }
.g-list-rank-num.top-2 { color: #C0C0C0; text-shadow: 0 0 4px rgba(192,192,192,0.3); }
.g-list-rank-num.top-3 { color: #CD7F32; text-shadow: 0 0 4px rgba(205,127,50,0.3); }

.g-list-rank-name {
  color: var(--text-primary);
  font-weight: 500;
}

.g-list-rank-value {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
}

/* ---- 属性列表 ---- */
.g-list-stat {
  display: block;
}

.g-list-stat .g-list-header,
.g-list-stat .g-list-row {
  grid-template-columns: 1fr 100px;
  gap: 16px;
}

.g-list-stat-name {
  color: var(--text-secondary);
}

.g-list-stat-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
}

/* ---- 装备列表 ---- */
.g-list-equip {
  display: block;
}

.g-list-equip .g-list-header,
.g-list-equip .g-list-row {
  grid-template-columns: 44px 1fr 80px 80px;
  gap: 16px;
}

.g-list-equip-slot {
  width: 36px;
  height: 36px;
}

.g-list-equip-name {
  font-weight: 500;
}

.g-list-equip-type {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
}

.g-list-equip-power {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  text-align: right;
}