.gallery-try {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 18px;
  align-items: center;
  margin: 0 0 22px;
  padding: 15px 18px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.gallery-try[data-active] { border-color: var(--green); }
.gallery-try-copy, .gallery-try-actions, .gallery-try-progress, #gallery-try-pages {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gallery-try-copy { min-width: 0; }
.gallery-try-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--bg);
  color: var(--green);
}
.gallery-try-icon svg { width: 19px; height: 19px; }
.gallery-try h3 { font-size: 15px; line-height: 1.35; margin: 0 0 4px; }
.gallery-try p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.gallery-try-actions { flex-wrap: wrap; }
.gallery-try-actions button {
  white-space: nowrap;
  gap: 7px;
  font-size: 12px;
  padding: 9px 12px;
  min-height: 38px;
}
.gallery-try-actions button svg { display: block; width: 16px; height: 16px; }
.gallery-try-progress {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 9px;
  justify-content: space-between;
}
#gallery-try-pages { flex-shrink: 0; }
#gallery-try-pages button {
  font-size: 12px;
  padding: 4px 5px;
  color: var(--green);
  white-space: nowrap;
}
#gallery-try-pages button:disabled { opacity: .4; cursor: default; }
.gallery-try-actions button:disabled { opacity: .6; cursor: wait; }
.collection-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.collection-shortcuts .series-collection-link { margin: 0; }
.collection-shortcuts [data-collection-filter]:not([aria-pressed="true"]) { background: var(--paper); }
.atelier-site .editor-template-download span { white-space: nowrap; }
.editor-download-copy { display: grid; gap: 2px; text-align: start; line-height: 1.25; }
.editor-download-copy strong { font: inherit; }
.editor-download-copy small { color: var(--muted); font-size: 9px; }
.series-detail-callout .series-detail-instruction { margin-bottom: 0; }
.atelier-site .detail-art.detail-series-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: auto;
  min-height: 0;
  padding: 26px 24px;
}
.detail-series-main { width: 100%; display: grid; justify-items: center; gap: 6px; }
#detail-series-poster { max-width: 100%; }
.detail-series-main svg {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(55dvh, 560px);
  box-shadow: 0 8px 28px #20331c19;
}
.detail-series-main p { margin: 0; color: var(--muted); font-size: 12px; }
.detail-series-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  width: min(100%, 490px);
}
.detail-series-thumb {
  display: grid;
  gap: 4px;
  align-content: start;
  min-width: 0;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-align: center;
}
.detail-series-thumb[aria-pressed="true"] { border-color: var(--green); background: var(--paper); }
.detail-series-thumb svg { display: block; width: 100%; height: auto; }
.detail-series-thumb span { font-size: clamp(9px, 1vw, 12px); line-height: 1.4; }
.preview-crop-control label { display: grid; gap: 7px; font-size: 12px; }
.preview-crop-control input { width: 100%; accent-color: var(--green); }
.preview-crop-control output { color: var(--muted); font-size: 11px; }
.preview-export-notes { display: grid; gap: 3px; }
.preview-export-notes p { margin: 0; color: var(--muted); font-size: 11px; }
.preview-export-notes #preview-export-size { color: var(--ink); font-weight: 600; }
@media (max-width: 650px) {
  .gallery-try { grid-template-columns: 1fr; padding: 12px; }
  .gallery-try-progress { align-items: flex-start; flex-wrap: wrap; }
  .atelier-site .detail-art.detail-series-gallery { padding: 16px; }
  .detail-series-main svg { max-height: 45dvh; }
  .detail-series-thumb { padding: 3px; }
  .preview-crop-control { grid-column: 1 / -1; }
  .preview-export-notes { margin-bottom: 8px; }
}
