.prize-gallery { margin-top: 24px; padding: clamp(20px, 3vw, 42px); }
.prize-gallery > h2 { margin: 0 0 26px; }
.prize-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
  align-items: start;
  max-width: 1240px;
}
.prize-gallery-card {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.prize-gallery-frame {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #ececec;
  background: #f4f4f4;
}
.prize-gallery-frame img {
  display: block;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  width: calc(100% - 48px) !important;
  height: calc(100% - 48px) !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: translate(-50%, -50%) !important;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .11));
}
.prize-gallery-caption {
  display: grid;
  gap: 5px;
  padding: 12px 2px 0;
  line-height: 1.4;
}
.prize-gallery-title { font-size: clamp(16px, 1.25vw, 19px); font-weight: 700; line-height: 1.25; color: #171717; }
.prize-gallery-artist { font-size: 16px; color: #34404f; }
.prize-gallery-meta { font-size: 14px; color: #798393; overflow-wrap: anywhere; }
.prize-gallery-dimensions { font-size: 12px; letter-spacing: .07em; color: #929bad; }
.prize-gallery-dialog {
  width: min(1100px, calc(100vw - 24px));
  height: min(82dvh, 740px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #fff;
  color: #171717;
}
.prize-gallery-dialog::backdrop { background: rgba(0, 0, 0, .88); }
.prize-gallery-dialog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr);
  height: 100%;
  min-height: 0;
}
.prize-gallery-stage {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  background: #141414;
  touch-action: none;
}
.prize-gallery-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(var(--gallery-zoom, 1));
  transform-origin: var(--gallery-origin, 50% 50%);
}
.prize-gallery-details { min-height: 0; overflow-y: auto; padding: clamp(24px, 3vw, 46px); overflow-wrap: anywhere; }
.prize-gallery-details h2 { margin: 8px 0 24px; }
.prize-gallery-details p { line-height: 1.5; }
.prize-gallery-controls { display: flex; gap: 14px; margin-top: 26px; }
.prize-gallery-controls button, .prize-gallery-close { cursor: pointer; border: 1px solid currentColor; background: #fff; color: inherit; font: inherit; }
.prize-gallery-controls button { width: 48px; height: 48px; font-size: 23px; }
.prize-gallery-close { position: absolute; z-index: 10; top: 10px; right: 10px; width: 40px; height: 40px; font-size: 25px; }
@media (max-width: 1200px) { .prize-gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .prize-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .prize-gallery-dialog { width: calc(100vw - 16px); height: min(82dvh, 680px); max-height: 82dvh; }
  .prize-gallery-dialog-grid { grid-template-columns: 1fr; grid-template-rows: minmax(0, 50%) minmax(0, 50%); }
  .prize-gallery-details { padding: 16px 20px; }
  .prize-gallery-details h2 { margin: 4px 0 12px; font-size: 25px; }
  .prize-gallery-details p { margin: 8px 0; }
}
@media (max-width: 560px) { .prize-gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } .prize-gallery { padding: 18px; } }
