.mini-button {
  position: relative;
  z-index: 1;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255,255,255,.055);
  cursor: pointer;
}
.mini-button:hover { color: white; border-color: var(--stroke-bright); }
.compact-empty { min-height: 104px; }
.generation-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.generation-card {
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(5,8,14,.34);
}
.generation-card button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.generation-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: rgba(255,255,255,.03);
}
.generation-meta {
  padding: 8px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}
.gallery-download {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 0 8px 8px;
  border: 1px solid var(--stroke);
  border-radius: 9px;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.05);
  text-decoration: none;
  font-size: 10px;
}
.gallery-download:hover {
  border-color: var(--stroke-bright);
  background: rgba(255,255,255,.09);
}
.anatomy-label {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.anatomy-label.is-dragging { cursor: ew-resize; }
