.preview {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
}

.name {
  font-size: 16px;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
}

.id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
}

.canvas {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  padding: 24px;
}

.artCanvas {
  image-rendering: pixelated;
  max-width: 100%;
  max-height: 100%;
}

.loading,
.error {
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
}

.error {
  color: #ff8080;
}

.noArt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
