/* evo.css —— 进化合成表:配方卡片网格 + 不可进化武器 chips */
.evo-note {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 16px; font-size: 13px; color: var(--text-dim); line-height: 1.8; margin-bottom: 14px;
}
.evo-note b { color: var(--accent); font-weight: 600; }

.evo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
  gap: 10px;
}

/* 单条配方卡片:素材(竖排) → 分隔 → 结果 */
.recipe-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 12px; display: flex; flex-direction: column; gap: 6px;
  transition: border-color .12s, background .12s; min-width: 0;
}
.recipe-card:hover { border-color: var(--accent); background: var(--card-hover); }

.rc-item {
  display: flex; align-items: center; gap: 8px; padding: 3px 6px; border-radius: 8px;
  cursor: pointer; min-width: 0;
}
.rc-item:hover { background: rgba(255,255,255,.05); }
.rc-item img.it-icon { width: 32px; height: 32px; }
.rc-item .icon-ph { width: 32px; height: 32px; font-size: 14px; border-radius: 8px; }
.rc-item .rc-name {
  font-size: 13px; font-weight: 600; line-height: 1.2;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.rc-item .rc-sub { font-size: 10.5px; color: var(--text-dim); line-height: 1.2; }
.rc-item .rc-sub .need-max { color: var(--accent); font-weight: 600; }
.rc-plus { color: var(--text-dim); font-size: 13px; font-weight: 700; padding-left: 12px; line-height: 1; }

.rc-divider {
  display: flex; align-items: center; gap: 6px; color: var(--evolved);
  font-size: 11px; margin: 4px 0; letter-spacing: 2px; font-weight: 600;
}
.rc-divider::before, .rc-divider::after {
  content: ""; flex: 1; border-top: 1px dashed rgba(194,91,216,.45);
}

.rc-result {
  background: rgba(194,91,216,.08); border: 1px solid rgba(194,91,216,.35);
  border-radius: 10px; padding: 6px;
}
.rc-result .rc-name { color: var(--evolved); }
.rc-note {
  font-size: 10.5px; color: #ffd98a; background: rgba(0,0,0,.25);
  border-radius: 8px; padding: 3px 8px; line-height: 1.5;
}

/* 不可进化的武器:紧凑 chips */
.no-evo-box { margin-top: 16px; }
.no-evo-title { font-size: 13px; color: var(--text-dim); font-weight: 600; margin-bottom: 8px; }
.no-evo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 4px 10px 4px 5px; cursor: pointer; transition: border-color .12s;
}
.chip:hover { border-color: var(--accent); }
.chip img.it-icon { width: 24px; height: 24px; }
.chip .icon-ph { width: 24px; height: 24px; font-size: 11px; border-radius: 6px; }
.chip .n { font-size: 12px; }

@media (max-width: 640px) {
  .evo-grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; }
}
