.puzzle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.puzzle-card {
  position: relative;
}

.puzzle-card__image-wrap {
  position: relative;
  aspect-ratio: 0.78 / 1;
  border-radius: 22px;
  overflow: hidden;
  background: #efefef;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

.puzzle-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: filter 180ms ease, transform 180ms ease;
}

.puzzle-card__image-wrap.is-mature-guarded .puzzle-card__image {
  filter: blur(18px) saturate(0.65);
  transform: scale(1.04);
}

.puzzle-card__image-wrap.is-launch-locked .puzzle-card__launch {
  display: none;
}

.puzzle-card__content-guard {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.08) 0%, rgba(21, 21, 21, 0.42) 100%);
  color: #ffffff;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  cursor: pointer;
}

.puzzle-card__content-guard-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.puzzle-card__content-guard-action {
  font-size: 0.95rem;
}

.puzzle-card__launch {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.puzzle-card__piece-count {
  flex: 0 1 auto;
}

.puzzle-card__piece-count input {
  width: 88px;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #151515;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.puzzle-card__piece-count select {
  width: 144px;
  min-height: 42px;
  padding: 0 36px 0 14px;
  border: 0;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23151515' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3E%3C/svg%3E") calc(100% - 14px) 50% / 12px 8px no-repeat,
    rgba(255, 255, 255, 0.96);
  color: #151515;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.puzzle-card__play {
  width: 46px;
  min-width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #151515;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.puzzle-card__play svg {
  width: 18px;
  height: 18px;
  display: block;
}
