/* =========================
   Set Gallery (The Mana Forge)
   ========================= */

/* Subtle meta toolbar (3-column) */
.set-gallery-section .set-gallery-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 14px 0;

  padding: 0;
  border: 0;
  background: transparent;
}

/* 3 columns */
.set-gallery-section .meta-left,
.set-gallery-section .meta-center,
.set-gallery-section .meta-right{
  flex: 1 1 0;
  display: flex;
  align-items: center;
}

.set-gallery-section .meta-left{ justify-content: flex-start; }
.set-gallery-section .meta-center{ justify-content: center; }
.set-gallery-section .meta-right{ justify-content: flex-end; }

/* Pagination inside toolbar: inline, no big bar */
.set-gallery-section .meta-center .pagination{
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  min-height: 0 !important;
  text-align: center;
  white-space: nowrap;
}

/* ===== Unified button style: pagination + back button ===== */
.set-gallery-section .page-link,
.set-gallery-section .btn-back{
  display: inline-block;
  margin: 0 5px;
  padding: 6px 10px;
  border-radius: 6px;

  text-decoration: none;
  font-weight: 700;

  color: #fff;
  border: 1px solid rgba(240, 84, 84, 0.70);
  background: rgba(0,0,0,0.18);
}

/* Prevent purple visited */
.set-gallery-section .page-link:visited,
.set-gallery-section .btn-back:visited{
  color: #fff;
}

/* Hover + active identical */
.set-gallery-section .page-link:hover,
.set-gallery-section .btn-back:hover,
.set-gallery-section .page-link.active{
  background: #f05454;
  border-color: #f05454;
  color: #fff;
}

.set-gallery-section .btn-back:active,
.set-gallery-section .page-link:active{
  transform: translateY(1px);
}

.set-gallery-section .page-ellipsis{
  color: #dcdcdc;
}

/* Release pill */
.set-gallery-section .release-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 6px 10px;
  border-radius: 8px;

  border: 1px solid rgba(240, 84, 84, 0.55);
  background: rgba(0,0,0,0.18);
  white-space: nowrap;
}

.set-gallery-section .release-pill .label{
  opacity: 0.75;
  font-size: 0.95em;
}

.set-gallery-section .release-pill .value{
  font-weight: 800;
}

/* Optional: placeholder blocks (if you ever use them) */
.set-placeholder{
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}

.set-placeholder-title{
  font-weight: 700;
  margin-bottom: 8px;
}

/* Mobile: stack toolbar nicely */
@media (max-width: 900px){
  .set-gallery-section .set-gallery-meta{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .set-gallery-section .meta-left,
  .set-gallery-section .meta-center,
  .set-gallery-section .meta-right{
    justify-content: center;
  }

  .set-gallery-section .meta-center .pagination{
    white-space: normal;
  }
}
