.placement-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.placement-entity {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px;
  background: #181818;
  border: 1px solid var(--color-border-subtle);
  cursor: pointer;
  font-family: monospace;
  font-size: 12px;
  color: var(--color-text);
  text-align: left;
}

.placement-entity:hover {
  border-color: var(--color-border);
}

.placement-entity-active {
  border-color: #99bb66;
  background: linear-gradient(135deg, rgba(139, 190, 98, 0.22), rgba(225, 241, 167, 0.12));
}

/* Fixed-size slot that centers the sprite thumb regardless of the
 * sprite's aspect ratio (1×1 bush, 3×3 portal, 3×5 tree all land in a
 * consistent 64×64 box). */
.placement-thumb-box {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placement-thumb {
  flex-shrink: 0;
}

.placement-thumb-delete {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #cc6666;
  background: rgba(120, 40, 40, 0.2);
  border: 1px dashed #884444;
}

/* Purple square — the icon for invisible-trigger entities (portal
 * trigger today). Matches the in-world ghost so the palette icon and
 * placement preview read as the same thing. */
.placement-thumb-trigger {
  width: 56px;
  height: 56px;
  background: rgba(170, 80, 230, 0.35);
  border: 1px dashed #9c5ed4;
}

.placement-entity-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.placement-entity-name {
  color: #eee;
}

.placement-entity-sub {
  color: var(--color-text-muted);
  font-size: 11px;
}

.placement-hint {
  color: var(--color-text-muted);
  font-size: 11px;
  line-height: 1.3;
  margin-top: 6px;
}

.placement-section-label {
  color: var(--color-accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 10px;
  margin-bottom: 4px;
}

.placement-section-label:first-child {
  margin-top: 0;
}

.placement-section-empty {
  color: var(--color-text-muted);
  font-size: 11px;
  font-style: italic;
  padding: 4px 2px;
}
