/* ============================================================
   styles/stats.css — 面板互相跳转按钮 + 背包角色加成区
   （原 styles/main.css 拆解而来：2120~2202 行）
   ============================================================ */

/* ---- 头部按钮组 ---- */
.panel-head-right,
.inv-head-right {
  display: flex;
  gap: 6px;
  align-items: center;
}

/* ---- 跳转按钮 ---- */
.panel-head .jump-btn,
.inv-head .jump-btn {
  width: auto;
  height: 30px;
  padding: 0 12px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #cfc6b8;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}

.panel-head .jump-btn:hover,
.inv-head .jump-btn:hover {
  background: rgba(255, 217, 122, 0.18);
  color: #ffe296;
}

/* ---- 角色加成区 ---- */
.stats-section {
  flex: 1;
  min-width: 200px;
}

.stats-box {
  width: 100%;
  height: 168px;          /* 和 convert-zone 等高 */
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.stats-box::-webkit-scrollbar { width: 6px; }
.stats-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

.stat-line {
  font-size: 13px;
  line-height: 1.5;
  color: #8ec8ff;
  white-space: nowrap;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.stat-line .stat-label {
  color: #8ec8ff;
}

.stat-line .stat-value {
  color: #ffffff;
  font-weight: 700;
}

.stat-empty {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  font-style: italic;
}
