body {
  font-family: sans-serif;
  text-align: center;
  margin: 0 auto;
  max-width: 1200px;
  background: #f7f7f7;
}
h1 {
  margin-bottom: 1rem;
}
.main-layout {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 3vw;
  margin-bottom: 2rem;
}
.center-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 480px;
}
#characterCanvasContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  width: 512px;
  max-width: 100vw;
}
canvas {
  border: 2px solid #222;
  width: 512px;
  height: 1024px;
  max-width: 100vw;
  max-height: 95vh;
  background: #fff;
  box-shadow: 0 6px 40px #6666;
  display: block;
}
.feature-rows {
  width: 100%;
  margin: 2em auto 0 auto;
}
.feature-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.2em;
}
.feature-row h2 {
  display: inline-block;
  margin: 0 0 0.5em 0;
  font-size: 1.15em;
  margin-right: 0.5em;
}
#body-pickers img,
#hair-pickers img,
#face-pickers img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border: 3px solid #ddd;
  border-radius: 14px;
  cursor: pointer;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s, width 0.2s, height 0.2s;
  box-shadow: 0 2px 12px #ccc9;
}
.thumb-zoomed {
  z-index: 99;
  position: relative;
  width: 260px
