/* see CLAUDE_notes.md */

.fm2d-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  height: 100%;
  line-height: 0;          /* no descender gap under the inline SVG */
  overflow: hidden;
}

.fm2d-mini-svg {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

/* Clickable thumbnails open the full-size viewer. */
.fm2d-mini-clickable {
  cursor: pointer;
  transition: opacity .15s, transform .15s;
}
.fm2d-mini-clickable:hover {
  opacity: .82;
}

/* While FattyModel2D/r06 is being fetched on the first click. */
.fm2d-mini-loading {
  cursor: progress;
  opacity: .55;
}

/* Optional framed presentation — opt in with class="fm2d-mini-card". */
.fm2d-mini-card {
  display: inline-block;
  border: 1px solid #e2e6f0;
  border-radius: 8px;
  padding: 8px;
  background: #ffffff;
  transition: border-color .15s, box-shadow .15s;
}
.fm2d-mini-card:hover {
  border-color: #5a9200;
  box-shadow: 0 2px 12px rgba(90, 146, 0, .12);
  opacity: 1;
}
