/* Muster-Generator – tool-specific styles (shared look: ../../shared/css/ui.css) */

/* ---------- background image ---------- */

.bg-thumb { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-muted); }
.bg-thumb img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }

/* ---------- modifiers ---------- */

.add-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.add-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 8px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
}
.add-btn:hover { border-style: solid; border-color: var(--accent); color: var(--text); }
.add-btn .icon { width: 16px; height: 16px; }

.mod-list { display: grid; gap: 8px; }
.mod-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-2); }
.mod-card.selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent-soft); }
.mod-card.disabled .mod-title, .mod-card.disabled .mod-icon { opacity: 0.45; }
.mod-head { display: flex; align-items: center; gap: 2px; padding: 6px 6px 6px 10px; cursor: pointer; user-select: none; }
.mod-icon { display: inline-flex; color: var(--accent); margin-right: 4px; }
.mod-icon .icon { width: 17px; height: 17px; }
.mod-title { flex: 0 1 auto; min-width: 0; font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mod-body { display: none; padding: 4px 10px 12px; gap: 10px; }
.mod-card.open .mod-body { display: grid; }
.ctl-note.empty { padding: 4px 2px; }
