/* POM plugin store (/plugins). Everything else comes from ../v1/styles.css. */
.plg-main { padding-block: clamp(36px, 6vw, 72px); }
.plg-title { max-width: 22ch; }
.plg-note { color: var(--ink-3); font-size: 15px; }
.plg-grid { margin-top: 8px; }

.plg-card { display: flex; flex-direction: column; gap: 12px; }
.plg-head { display: flex; align-items: center; gap: 14px; }
.plg-icon {
  width: 48px; height: 48px; border-radius: 14px; flex: 0 0 auto;
  object-fit: cover; background: var(--accent-soft);
}
.plg-icon-fallback { background: linear-gradient(135deg, var(--blue), var(--teal)); }
.plg-name { margin: 0; }
.plg-desc { color: var(--ink-2); font-size: 14.5px; white-space: pre-line; }

/* The first screenshot is large enough to understand at a glance. The arrows
   turn this area into a carousel, and clicking it opens the full-screen viewer. */
.plg-shots {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 190px; margin: 2px 0 0; border-radius: 14px; overflow: hidden;
  background: var(--card-solid); border: 1px solid var(--line);
}
.plg-shots img {
  grid-column: 1 / -1; grid-row: 1; width: 100%; height: 190px; object-fit: contain;
  cursor: zoom-in; background: var(--card-solid);
}
.plg-gallery-card-arrow { z-index: 1; grid-row: 1; width: 34px; height: 34px; padding: 0; border: 0;
  border-radius: 999px; background: rgba(24,21,27,.72); color: #fff; font-size: 25px; line-height: 1; }
.plg-gallery-card-arrow:first-of-type { grid-column: 1; justify-self: start; margin-left: 8px; }
.plg-gallery-card-arrow:last-of-type { grid-column: 3; justify-self: end; margin-right: 8px; }
.plg-gallery-card-count { z-index: 1; grid-column: 2; grid-row: 1; align-self: end; justify-self: center;
  margin: 0 0 8px; padding: 2px 8px; border-radius: 999px; background: rgba(24,21,27,.72); color: #fff; font-size: 12px; }
.plg-price { margin: auto 0 0; font-size: 15px; font-weight: 700; color: var(--ink); }

.plg-lightbox { width: min(96vw, 1280px); max-width: none; height: min(94vh, 900px); max-height: none;
  padding: 18px; border: 0; border-radius: 22px; background: var(--panel); color: #fff; }
.plg-lightbox::backdrop { background: rgba(8, 15, 24, .88); }
.plg-lightbox-inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; }
.plg-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.plg-lightbox-bar .btn-row { margin: 0; }
.plg-lightbox .btn-outline { color: #fff; border-color: rgba(255,255,255,.45); }
.plg-lightbox-stage { min-height: 0; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 10px; }
#plg-lightbox-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; cursor: zoom-in; }
.plg-gallery-arrow { width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff; font-size: 32px; line-height: 1; }
.plg-lightbox-count { margin: 0; text-align: center; color: rgba(255,255,255,.72); font-size: 13px; }
@media (max-width: 640px) {
  .plg-shots, .plg-shots img { min-height: 150px; height: 150px; }
  .plg-lightbox { width: 100vw; height: 100vh; border-radius: 0; padding: 12px; }
  .plg-lightbox-bar { align-items: flex-start; }
  .plg-lightbox-stage { grid-template-columns: 36px 1fr 36px; gap: 4px; }
}
.plg-price .plg-note { font-size: 13px; font-weight: 400; display: block; margin-top: 2px; }
.plg-cta { margin: 0; }
.plg-footnote { margin-top: 44px; }
