.mesa-elo-model-preview {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 36px), 920px);
  margin: 16px 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: #202726;
}
.mesa-elo-model-preview[hidden] { display: none; }
#mesa-elo-model-canvas {
  display: block;
  width: 100%;
  height: clamp(280px, 52vw, 520px);
  border-radius: 10px;
  cursor: grab;
  touch-action: none;
}
#mesa-elo-model-canvas:active { cursor: grabbing; }
.mesa-elo-model-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.mesa-elo-model-actions p { flex: 1 1 320px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.mesa-elo-model-actions .button { margin-top: 10px; }
body.light .mesa-elo-model-preview { border-color: var(--line); background: #ebe5dc; }
.photo-render.mesa-elo-render { aspect-ratio: 4 / 5; background: #d8c6b0; }
.photo-render.mesa-elo-render > img { object-fit: contain; }
