/* Free Marketplace — premium poster cards (12-slot grid) */

.mp-grid.mp-grid--free-posters {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2.6vw, 18px);
}

@media (max-width: 1024px) {
  .mp-grid.mp-grid--free-posters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mp-card--free-poster {
    border-radius: 14px;
    background: linear-gradient(165deg, rgba(20, 20, 24, 0.96) 0%, rgba(10, 10, 12, 0.94) 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  }

  .mp-card--free-poster .mp-free-poster__body {
    padding: 10px 11px 12px;
    gap: 6px;
  }

  .mp-free-poster__badge {
    padding: 2px 8px;
    font-size: 8px;
    margin-bottom: 0;
  }

  .mp-free-poster__name {
    font-size: clamp(11px, 3.1vw, 13px);
    margin-bottom: 2px;
  }

  .mp-card--free-poster .mp-card__actions {
    margin-top: 6px;
    gap: 6px;
  }

  .mp-card--free-poster .mp-card__btn {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 9px;
    border-radius: 9px;
  }
}

@media (max-width: 480px) {
  .mp-grid.mp-grid--free-posters {
    gap: 8px;
  }
}

@media (min-width: 1025px) {
  .mp-grid.mp-grid--free-posters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2.6vw, 18px);
  }
}

@media (min-width: 1200px) {
  .mp-grid.mp-grid--free-posters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 22px);
  }
}

.mp-card--free-poster {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, var(--bg-panel) 48%);
}

.mp-card--free-poster:hover {
  border-color: rgba(255, 154, 77, 0.45);
}

.mp-card--free-poster .mp-card__media--poster {
  pointer-events: none;
  cursor: default;
}

.mp-card--free-poster .mp-card__media img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.mp-card--free-poster .mp-free-poster__body {
  padding: clamp(12px, 2vw, 16px) clamp(12px, 2vw, 18px) clamp(14px, 2.2vw, 18px);
  gap: 8px;
}

.mp-free-poster__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0a0c;
  background: linear-gradient(135deg, #ffb347 0%, #ff8a2a 100%);
  margin-bottom: 2px;
}

.mp-free-poster__name {
  margin: 0 0 4px;
  font-size: clamp(0.92rem, 2.2vw, 1.02rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.mp-card--free-poster .mp-card__actions {
  margin-top: 2px;
}

.page-free-marketplace .mp-posters-stack:not([hidden]) + .mp-grid,
.page-free-marketplace .mp-grid.mp-grid--free-posters {
  margin-top: clamp(8px, 1.2vw, 12px);
}

/* Free poster preview — no watermark overlays */
.mp-po-modal__inner--free .mp-po-modal__shield,
.mp-po-modal__inner--free .mp-po-watermark {
  display: none !important;
}
