.game-screen--pintura .game-body { padding-bottom: 10px; }

.paint-drawings {
  display: flex;
  gap: 9px;
  margin: 0 -2px 11px;
  padding: 4px 2px 7px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.paint-drawings::-webkit-scrollbar { display: none; }

.paint-drawing {
  flex: 0 0 76px;
  height: 94px;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 19px;
  padding: 0;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(46, 35, 95, .14);
  scroll-snap-align: center;
}

.paint-drawing img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.paint-drawing.active {
  border-color: #6750c9;
  outline: 3px solid #cfc4ff;
  transform: translateY(-2px);
}

.paint-tools {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 10px;
}

.paint-tools button,
.paint-sizes button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 16px;
  background: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(46, 35, 95, .14);
}

.paint-tools button.active,
.paint-sizes button.active {
  background: #6750c9;
  color: #fff;
  outline: 3px solid #cfc4ff;
}

.paint-stage {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 2 / 3;
  margin: 0 auto;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(47, 61, 115, .16);
  isolation: isolate;
}

.paint-canvas,
.paint-outline {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.paint-canvas {
  z-index: 2;
  background: transparent;
  mix-blend-mode: multiply;
  touch-action: none;
}

.paint-outline {
  z-index: 1;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.paint-bottom {
  display: grid;
  gap: 11px;
  padding-top: 12px;
}

.paint-colors {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.paint-color {
  width: 39px;
  height: 39px;
  border: 4px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 3px 7px rgba(38, 29, 77, .2);
}

.paint-color.active {
  outline: 3px solid #34246f;
  transform: scale(1.08);
}

.paint-sizes {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.paint-sizes button:nth-child(1) { font-size: .65rem; }
.paint-sizes button:nth-child(2) { font-size: 1rem; }
.paint-sizes button:nth-child(3) { font-size: 1.45rem; }

.paint-save {
  justify-self: center;
  min-width: min(100%, 270px);
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #6750c9, #8a68e8);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 5px 0 #463093, 0 10px 20px rgba(65, 47, 145, .18);
}

.paint-save:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #463093;
}

.paint-save:disabled { opacity: .68; }

@media (max-width: 410px) {
  .paint-drawing {
    flex-basis: 70px;
    height: 86px;
  }

  .paint-tools button,
  .paint-sizes button {
    width: 45px;
    height: 45px;
  }

  .paint-color {
    width: 36px;
    height: 36px;
  }
}
